summaryrefslogtreecommitdiffhomepage
path: root/build.vars
AgeCommit message (Collapse)AuthorFilesLines
2016-06-09Adds and integrates slibtool:Lucio Andrés Illanes Albornoz (arab, vxp)1-10/+24
- Adds ${PKG_SLIBTOOL}. - pkg.build: export ${MAKE} as `make LIBTOOL=${PKG_SLIBTOOL}'. - binutils{_host,}: use slibtool-static. - git: add NEEDS_SSL_WITH_CURL=1 to ${PKG_GIT_MAKEFLAGS_BUILD_EXTRA}. - pacman-5.0.1: add `LIBALPM_LIBS=-lssl -lbz2 -llzma -lz' to ${PKG_PACMAN_ENV_VARS_EXTRA}; Makefile.am patch. Introduces 32-bit (i686-nt32-midipix) support, selected by ARCH=nt32 and defaulting to 64-bit builds: - Create ${PREFIX_TARGET}/lib. - Remove ${PREFIX_TARGET} when cleaning the prefix if -c has been specified. - Set ${HOST_NATIVE}, ${TARGET}, and ${TARBALL_{SRC_,}FNAME_PREFIX} from ${ARCH}. - pkg.build: use ${TARGET}-dlltool instead of x86_64-nt64-midipix-dlltool. - glib-2.46.2: broken at present. - libffi-3.2.1/src/x86/win32.S: fix symbol prefix. - musl-1.1.12/arch/nt32/bits/syscall.h: copied from musl-1.1.12/arch/nt64/bits/syscall.h. - perl-5.22.1: Set --target from ${TARGET}. Bug fixes: - psxstub: make {_,__}so_entry_point weak symbols to express preference for the real psxscl shared object. - bash-4.3: fix lib/intl/libgnuintl.h issue. - libarchive-3.1.2: import FreeBSD-SA-16:23.libarchive and FreeBSD-SA-16:22.libarchive security fixes. Include all directories beneath ${WORKDIR} in the source tarball. Updated TODO list at the end of README.
2016-05-28Build the runtime components w/ --strict (adds -Wall -Werror -Wextra -Wundef ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
to CFLAGS) (via midipix.)
2016-05-26- Adds README to the repository and $PREFIX after a successful build.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
- Replaces SHA-256 message digest w/ PGP signatures.
2016-05-26Adds mksh vR52c (via Redfoxmoon) and tcsh v6.19.00.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+12
2016-05-25- Followup to <ffcc9c6a9dfeb481fb342accb71579ae5478ea74>.Lucio Andrés Illanes Albornoz (arab, vxp)1-12/+17
- Fix pseudo-local variable leaks in build.subr. - Log $PKG_* environment variables prior to building w/ pkg.build. - Always build musl w/ -g2 -O0. - Remove obsolete export CFLAGS=${CFLAGS_LVL${BUILD_LVL}} command from build.sh. - Handle bin/libpsxscl.{last,log} in midipix.sh. - Add autoconf to $CHECK_PREREQ_CMDS. - Include `Create `Midipix mintty shell' shortcut.vbs' in the tarball. - Changes the $PKG_ENV_VARS_EXTRA variable name-value pair separator from `,' to `:'. - Link bash and coreutils statically. - Changes the level 2 package --prefix to `', installing to DESTDIR=$PREFIX_LVL2.
2016-04-23Adds python v3.5.1 (via Redfoxmoon and Shiz.)Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+6
2016-04-22- Followup to last commit:Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
- Don't parallelise the perl build as libdummy.so must be built before building {cpan,ext}/. - Iteratively append ${PKG_CFLAGS_CONFIGURE} to ccflags when building perl as environment variables aren't considered by the configure script. - Add missing build step `build_dir' to build.usage. - Force the perk prefix to /usr rather than the default value of /usr/local.
2016-04-21- Adds perl via perl-cross, Redfoxmoon, and ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+5
<https://github.com/lalbornoz/perl-cross>. - Ensure ${PREFIX}/usr and ${PREFIX_NATIVE}/usr are symbolic links to `.'
2016-03-18Create sha256sum(1) sums when creating tarballs.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-03-09Adds libfetch and apk-tools.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+16
2016-03-08Followup to last commit: adds $PKG_AUTOGEN and copies config.sub.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2016-03-08Adds libarchive and pacman.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+15
2016-03-08- Fix curl shared object linking.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
- Move git ahead of curl to build w/ Curl support.
2016-03-07Adds zsh v5.2.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+6
2016-03-07- Added sha256sum for dash.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+7
- Added curl.
2016-03-07Create source tarball when and after creating distribution tarball.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
2016-03-06- Force non-widec ncurses build.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+14
- Fix $PREFIX_NATIVE/lib.bak exclusion in tarball creation. - Create lib.a files for all shared objects linked. - Fix bzip2 shared object installation.
2016-03-06- Adds glib2, irssi, and libffi.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+18
- Fixes signal handling wrt. build status files. - Simplify tarball creation procedure. - Forcibly remove all \*.la files from $PREFIX_LVL3/lib after each installation build step.
2016-03-05- Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-23/+10
- Replaced -[LI]${PREFIX_LVL3}/{lib,include} w/ --sysroot ${PREFIX_LVL3}.
2016-03-05- Replaced ncursesw w/ separate ncurses{,{t,}w} builds.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+23
-Integrated hexcurse and nano.
2016-03-02- Emit warnings whenever a potentially dangerous operation is invoked by the ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
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)1-1/+1
2016-03-01- Fix tarball creation procedures and use xz(1) instead of bzip2(1).Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+1
- Honour $ARG_NO_DOWNLOAD in fetch_git() (reported by daurnimator.) - Fix libressl installation issue (reported by noninc.)
2016-02-28Fixed libressl installation issue (reported by noninc.)Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2016-02-27- Followup to b947460aacf5861255b5d7f1e521b0daf30b3b11: don't exit 1, exit ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+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-27- Followup to b947460aacf5861255b5d7f1e521b0daf30b3b11.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
- Set V=99 when building util-linux.
2016-02-27Adds -x (xtrace) and -X (xtrace and create debug tarball.)Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
2016-02-27- Implements -c (clean) and -nd (no download (unless necessary.))Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+10
- General cleanup; consistent build status files in $PREFIX, LICENSE -> LICENCE., fix libelf's pkg_libelf_install_post(), rotate status files and tarballs.
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)1-107/+110
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)1-3/+2
- 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)1-6/+17
2016-02-12Integrated OpenSSH v7.1p2.Lucio Andrés Illanes Albornoz (arab, vxp)1-16/+23
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)1-1/+5
2016-02-12- Set PKG_NO_LIBTOOL_MIDIPIX for build level 2 packages in pkg.build.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+7
- 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)1-8/+76
- 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-08- Explicitly pass {C,LD}FLAGS_PATH to the runtime (ntapi, psxscl,Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+6
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-07Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2016-02-07Merged 300.coreutils.build with 101.gmp.build into pkg.build andLucio Andrés Illanes Albornoz (arab, vxp)1-0/+8
200.psxtypes.build with 204.psxscl.build.
2016-02-07Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+8
2016-02-07- Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+8
- 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-07Apply all upstream patches for the bash version configured.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
2016-02-07- Replaced non-portable cp -a command lines w/ tar (1) invocations.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+12
- 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)1-0/+3
- Changed info level colour to yellow.
2016-02-06- Refactored package building procedure into build.vars.Lucio Andrés Illanes Albornoz (arab, vxp)1-9/+37
- Changed build directory name format to $[1}-{cross,native}-${TARGET}. - Fixed binutils.host DESTDIR and libelf installation bug.
2016-02-06- Changed sha256sum (1) file verification logic to use dgst(1SSL) instead.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+6
- 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)1-19/+36
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-05Initial commitlalbornoz1-0/+36