summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2016-03-02- Emit warnings whenever a potentially dangerous operation is invoked by the ↵Lucio Andrés Illanes Albornoz (arab, vxp)5-3/+25
build scripts. Currently, this only includes rm_if_exists(). - Adds pedantic mode (-pt,) which additionally adds manual confirmation of each potentially dangerous operation.
2016-03-02Link bash againt ncursesw (reported by midipix.)Lucio Andrés Illanes Albornoz (arab, vxp)2-1/+119
2016-03-01- Fix tarball creation procedures and use xz(1) instead of bzip2(1).Lucio Andrés Illanes Albornoz (arab, vxp)3-10/+22
- Honour $ARG_NO_DOWNLOAD in fetch_git() (reported by daurnimator.) - Fix libressl installation issue (reported by noninc.)
2016-02-29Added more examples to build.usage.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+9
2016-02-29Fixed typo in build.usage.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-02-28Fixed libressl installation issue (reported by noninc.)Lucio Andrés Illanes Albornoz (arab, vxp)2-2/+8
2016-02-27Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+0
2016-02-27- Updated build.usage.Lucio Andrés Illanes Albornoz (arab, vxp)5-2/+40
- Successfully builds on Arch Linux 2016.02.01 (x64), added to TESTED_ON. - Adds 399.midipix_sh.build which puts the ...-strace-ntctty-chroot-bash script into $PREFIX. - Optionally pull in local patches named ${PKG_NAME}.local@${BUILD_HNAME}.local.patch.
2016-02-27- Followup to b947460aacf5861255b5d7f1e521b0daf30b3b11: don't exit 1, exit ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-3/+2
normally. - Fix typo in PKG_UTIL_LINUX_LDFLAGS_CONFIGURE_EXTRA preventing util-linux from being built under some circumstances (reported by noninc.) - Add pkg-config to CHECK_PREREQ_CMDS as packages depending on ncurses need this. (reported by noninc.)
2016-02-27Cygwin compatibility fix ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-0/+5
($PREFIX/libexec/gcc/${TARGET}/${PKG_CBB_VERSION}/liblto_plugin.{dll.a,so}.)
2016-02-27Followup to 0724e525c8f3144b7fc689e5762ee04202dbd715.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-02-27- Followup to b947460aacf5861255b5d7f1e521b0daf30b3b11.Lucio Andrés Illanes Albornoz (arab, vxp)2-2/+3
- Set V=99 when building util-linux.
2016-02-27Fix linking issue when building mpfr on Arch Linux due to libraryLucio Andrés Illanes Albornoz (arab, vxp)2-2/+5
pathname conflicts not properly handled by libtool. Since .la files need not be included in distribution tarballs, path fixups are applied to them directly. (see <http://www.metastatic.org/text/libtool.html>, reported by noninc.)
2016-02-27Adds -x (xtrace) and -X (xtrace and create debug tarball.)Lucio Andrés Illanes Albornoz (arab, vxp)4-17/+50
2016-02-27- Implements -c (clean) and -nd (no download (unless necessary.))Lucio Andrés Illanes Albornoz (arab, vxp)10-67/+121
- General cleanup; consistent build status files in $PREFIX, LICENSE -> LICENCE., fix libelf's pkg_libelf_install_post(), rotate status files and tarballs.
2016-02-27Replaced [ "x${... constructions w/ the equally portable [ "${....Lucio Andrés Illanes Albornoz (arab, vxp)6-31/+31
2016-02-27- Don't leak BUILD_IN_PROGRESS into $PWD.Lucio Andrés Illanes Albornoz (arab, vxp)2-23/+22
- Fixes -r.
2016-02-27Added TESTED_ON file. At present, build.sh has been tested on:Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
- Debian GNU/Linux v8.3 (stable) (jessie) (x64) - Cygwin64 CYGWIN_NT-6.3 (x86_64) - openSUSE 20150612 (Tumbleweed) (x86_64)
2016-02-27Add patch(1) as prerequisite command.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-02-27- build.{sh,subr } cleanup including Cygwin compatibility fixes and ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-87/+70
[gs]et_var_dyn(). - Replaced --build-{scripts,steps} w/ -r, --tarball w/ -t, and --help w/ -h. - Create BUILD_{FINISHED,STARTED}_AT_..., BUILD_IN_PROGRESS, and TARBALL_STARTED_AT files and BUILD_FINISHED_AT symlink in $PREFIX whenever appropriate.
2016-02-25Exclude src/midipix_build{,/*} from being included in tarballs.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
2016-02-25Followup to 392fefdbc69503caa750277d378222cf4597b752 (fixes Git and $MAKEFLAGS.)Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+5
2016-02-23Don't leak GITROOT_HEAD when logging build variables.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-02-23- Prepend local variable names w/ a function-unique prefix to prevent ↵Lucio Andrés Illanes Albornoz (arab, vxp)7-292/+280
collisions and leaks. - Implemented consistent build/configure/install variable handling with per-level [0123] defaults. Fixes lack of uniform CFLAGS (-g3 -O0) usage. The new build variables include: - {AR,CC,RANLIB}_{BUILD,CONFIGURE,INSTALL}, - {{C,LD,MAKE}FLAGS_{BUILD,CONFIGURE,INSTALL}}{,_EXTRA}, - CONFIGURE_ARGS{,_EXTRA}, ENV_VARS_EXTRA, LIBTOOL_MIDIPIX, and PREFIX_EXTRA.
2016-02-23- Fixed git, libressl, and ncurses.Lucio Andrés Illanes Albornoz (arab, vxp)8-86/+101
- Removed popt as only rsync required it. - Removed __PSX_DEFAULT_ROOT_DIRECTORY psxscl patch as chroot(8) can be used instead. - Swapped 204.psxscl.build with 205.ntcon.build.
2016-02-13Fixed rsync and util_linux, removed popt.Lucio Andrés Illanes Albornoz (arab, vxp)8-10/+50
2016-02-12Integrated OpenSSH v7.1p2.Lucio Andrés Illanes Albornoz (arab, vxp)4-20/+52
2016-02-12Define AR and RANLIB for 331.git.build (thanks Shiz.)Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
2016-02-12Integrated Git, presently built w/ NO_CURL=1.Lucio Andrés Illanes Albornoz (arab, vxp)3-2/+7
2016-02-12- Set PKG_NO_LIBTOOL_MIDIPIX for build level 2 packages in pkg.build.Lucio Andrés Illanes Albornoz (arab, vxp)4-3/+216
- Build util-linux with ${PREFIX_LVL3}/{include,lib} in the search path. - Integrated libressl, presently built with --disable-asm.
2016-02-12- Major cleanup in general.Lucio Andrés Illanes Albornoz (arab, vxp)49-313/+896
- Added --{build-{scripts,steps},help,tarball}. Variables can now be overriden on the command-line. - Integrated bzip2, dash, less, ncurses, popt, rsync, tar, util-linux, which, and xz; as there are no patches in portage/ for util-linux just yet, this presently requires integrated local patches. Git is included in build.vars only as it requires OpenSSL. - Include ntapi.local.patch and psxscl.local.patch in the repository.
2016-02-08Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-02-08Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-02-08- Explicitly pass {C,LD}FLAGS_PATH to the runtime (ntapi, psxscl,Lucio Andrés Illanes Albornoz (arab, vxp)17-122/+125
etc.) build scripts; everything now goes into $PREFIX_NATIVE except for the cross compiler and its dependencies, which go into $PREFIX_TARGET. - Replaced specific PREFIX variables w/ generic per-build level CFLAGS. - Merged 204.psxscl.build into pkg.build. - Generalised patching procedure into build.subr.
2016-02-07Clear all locale (7) environment variables before each build.Lucio Andrés Illanes Albornoz (arab, vxp)2-1/+7
2016-02-07Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)3-5/+7
2016-02-07Merged 300.coreutils.build with 101.gmp.build into pkg.build andLucio Andrés Illanes Albornoz (arab, vxp)32-175/+142
200.psxtypes.build with 204.psxscl.build.
2016-02-07Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)9-17/+32
2016-02-07- Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)31-17/+115
- Inserted dalist, ntapi, pemagine, psxtypes, psxscl, and ntctty in between build levels 1 (binutils...) and 2 (coreutils...) which is now build level 3. - Added SHA256 manifest for the upstream patches of bash, as verifying the signatures provided would tie in GnuPG as a dependency.
2016-02-07- Ensure global variable names are consistently capitalised and thatLucio Andrés Illanes Albornoz (arab, vxp)8-60/+68
no values are inherited when and wherever they should not be. - Remove pointless CFLAGS export in 007.gcc.full.build when doing a runtime or full build.
2016-02-07Apply all upstream patches for the bash version configured.Lucio Andrés Illanes Albornoz (arab, vxp)4-5/+16
2016-02-07- Replaced non-portable cp -a command lines w/ tar (1) invocations.Lucio Andrés Illanes Albornoz (arab, vxp)6-44/+80
- Provide CFLAGS for each build level and script consistently. - Create compressed distribution tarball at the end of a finished build. - Fix bug that prevented gzip and libz from being installed. - Followup to c497546f591a3cc128abda42d0026c46ffdd6c36.
2016-02-06- Moved log_msg() colour numbers into build.vars.Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+7
- Changed info level colour to yellow.
2016-02-06- Refactored package building procedure into build.vars.Lucio Andrés Illanes Albornoz (arab, vxp)9-94/+106
- Changed build directory name format to $[1}-{cross,native}-${TARGET}. - Fixed binutils.host DESTDIR and libelf installation bug.
2016-02-06Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+6
2016-02-06- Changed sha256sum (1) file verification logic to use dgst(1SSL) instead.Lucio Andrés Illanes Albornoz (arab, vxp)11-165/+178
- Removed support for particularly pathnames with whitespace or tab cha- racters. If you have whitespaces in your pathnames anyway, the script will methodically destroy every single file on your disk(s).
2016-02-06- Added sha256sum (1) file verification logic to parse_with_pkg_name(), ↵Lucio Andrés Illanes Albornoz (arab, vxp)8-62/+87
fetch(), and the respective build scripts (cheers sortie.) - Renamed ${..._VERSION} variables to ${PKG_..._VERSION} to prevent namespace collision (cheers drewrichardson.) - Use log_msg() in check_prereqs() in build.subr.
2016-02-06Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)2-16/+15
2016-02-06- Replaced local and >| instances w/ portable equivalent constructs.Lucio Andrés Illanes Albornoz (arab, vxp)6-4885/+76
- Fixed several bugs. - Remove build.log from the repository.
2016-02-05Merge branch 'master' of https://github.com/lalbornoz/midipix_buildLucio Andrés Illanes Albornoz (arab, vxp)0-0/+0