summaryrefslogtreecommitdiffhomepage
path: root/pkg.build
AgeCommit message (Collapse)AuthorFilesLines
2016-09-18build.vars: adds prerequisite dependencies; john: disable on nt32; musl: ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
remove obsolete patch.
2016-09-11Fix {debug,release}-dependent stripping behaviour when building John the ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
Ripper, netcat, pkg-cron and OpenSSH (via midipix.)
2016-07-20Additionally install lib{dalist,ntapi,ntcon,pemagine,psxscl}.so to ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+18
${PREFIX_MINIPIX}.
2016-07-20- Drops {bash,coreutils}_host in favour of dynamically-linked ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
${PREFIX_MINIPIX} binaries and libraries. - Manually install ncursesw {bin,lib,share}/ files to ${PREFIX_MINIPIX}.
2016-07-11Followup to <672107a200f15d952f2d8c3750e8c58be5035ee3>.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-07-11Replaces rm_if_exists() [-m] [-c] w/ secure_rm(), insecure_mkdir(), and ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-7/+9
secure_cd(). secure_{rm,cd}() verify whether all pathnames supplied are rooted beneath ${PREFIX_ROOT}.
2016-07-11Adds ${PKG_GIT_BRANCH}; correctly handle Git branches.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-07-11- Build slibtool_host in build level 0 and slibtool in build level 1.Lucio Andrés Illanes Albornoz (arab, vxp)1-30/+31
- Fetch lazy in 006.musl.full.build. - Infer the default number of make(1) jobs to run simultaneously from /proc/cpuinfo. - Merges <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/> into bash-4.3.local.patch. - Print all attributes off SGR at the start of a message in log_msg(). - Simplify 009.gcc.full.build and fetch{,_git}(). - Only create library archives for shared objects that have actually been installed. - Only invoke git-clone(1) and wget(1) in fetch{_git,}() when necessary.
2016-07-10Adds inputproto v2.3.2, kbproto v1.0.7, xcb v1.12, xcb-proto v1.12, ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
xextproto v7.3.0, xproto v7.0.29, xtrans v1.1, libpthread-stubs v0.3, libX11 v1.6.3, and libXau v1.0.8.
2016-07-10Adds pseudo-build step `diff.'Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+15
2016-07-10Adds procps-ng v3.3.12-e0784ddaed30d095bb1d9a8ad6b5a23d10a212c4.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+11
2016-07-10Followup to <820be1bcb38273c0c7adc44b4a474c08273cdf61>.Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+5
2016-07-10Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-16/+3
2016-07-10General cleanup; user-visible changes: -a nt{32,64}, -b {debug,release}.Lucio Andrés Illanes Albornoz (arab, vxp)1-102/+146
2016-06-30Remove dependency on portage and config.sub patches.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+8
2016-06-23Git v2.9.0: use the supplied configure.ac script to build.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+15
- Call autoconf in ${PKG_SUBDIR} if ${PKG_AUTOCONF} is set; additionally copies config.sub to ${PKG_SUBDIR}/build-aux if the latter is present.
2016-06-23Use ${PKG_TARGET} in pkg.build.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+2
2016-06-23- Adds and integrates pkgconf_host and pkgconf; fixes Irssi and otherLucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
packages that depend on pkg-config(1) and makes their build variables significantly less hacky (apk_tools, irssi, nano, ncurses, ncursestw ncursesw, and pacman.) pkgconf_host installs a ${TARGET}-pkg-config wrapper script that passes --define-variable=prefix=${PREFIX_NATIVE} when cross-compiling. - Adds -i flag to insert a link to pkg.build for a new build script and automatically rename build scripts with higher consecutive build levels. - Consistently quote [(1) operands correctly wherever necessary. - Reorganise build level 3 script levels: 1) 300-319: library dependencies, ordered by dependencies and alphabetically, 2) 320-389: leaf packages, ordered alphabetically.
2016-06-22Followup to <836421ff2082d16f04f2ef08af38ec4f8e2c62f3>.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
2016-06-22Adds .gdbhistory to .gitignore.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+5
Apply ../${PKG_SUBDIR}.local.patch and ../${PKG_SUBDIR}.local@${BUILD_HNAME}.patch diff files if present.
2016-06-15Adds nc (netcat) v110 and ${PKG_SUBDIR_CREATE} (create and untar(1)Lucio Andrés Illanes Albornoz (arab, vxp)1-7/+10
into ${PKG_SUBDIR}.) Fix libpsxscl.log pathname in midipix.sh (via Elieux.)
2016-06-11Provide workaround for glib-2.46.2 build failure w/ slibtool byLucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
forcing usage of libtool w/o the `make LIBTOOL=[ ... ]' hack. Fixes related glib-2.46.2 32-bit build failure in <95162014754fca037510884f5a3c0c73988cd902>.
2016-06-09Followup to <c288dfb0f33ef4a713680190b5b2e2ca69cfb171>:Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+15
- Disable linking bash and coreutils statically until the necessary fixes to psxstub and psxscl have been committed upstream. Replace non-portable `tar -axf' invokations with {bunzip2,gunzip,xz} -d | tar -xf - depending on the ${PKG_FNAME} file extension.
2016-06-09Adds and integrates slibtool:Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
- 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-26Followup to last commit.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
2016-05-26Adds mksh vR52c (via Redfoxmoon) and tcsh v6.19.00.Lucio Andrés Illanes Albornoz (arab, vxp)1-9/+13
2016-03-09Adds libfetch and apk-tools.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
2016-03-08Followup to last commit: adds $PKG_AUTOGEN and copies config.sub.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
2016-03-08Adds libarchive and pacman.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
2016-03-07Adds zsh v5.2.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+7
2016-03-06- Force non-widec ncurses build.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+17
- 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-0/+1
- 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-02-28Fixed libressl installation issue (reported by noninc.)Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+5
2016-02-27- Updated build.usage.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
- 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-27Fix linking issue when building mpfr on Arch Linux due to libraryLucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
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-27- Implements -c (clean) and -nd (no download (unless necessary.))Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+0
- 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)1-2/+2
2016-02-23- Prepend local variable names w/ a function-unique prefix to prevent ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-93/+67
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-0/+5
- 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-3/+5
2016-02-12Integrated OpenSSH v7.1p2.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+7
2016-02-12Integrated Git, presently built w/ NO_CURL=1.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2016-02-12- Set PKG_NO_LIBTOOL_MIDIPIX for build level 2 packages in pkg.build.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
- 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-55/+106
- 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)1-40/+48
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-1/+3
2016-02-07Merged 300.coreutils.build with 101.gmp.build into pkg.build andLucio Andrés Illanes Albornoz (arab, vxp)1-0/+76
200.psxtypes.build with 204.psxscl.build.