summaryrefslogtreecommitdiffhomepage
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-12-03build.sh: correctly check for ${ARG_TARBALL}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-58/+85
2017-11-29build.sh: always print std{out,err} logs given ${ARG_XTRACE} (-x.)Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+4
etc/build.usage: updated. subr/ex_pkg_dispatch.subr: set -o xtrace within child process given ${ARG_XTRACE} (-x.) subr/ex_setup_args.subr: set ${ARG_VERBOSE2} (-vv) given ${ARG_XTRACE} (-x.)
2017-11-28build.sh: log build target {start,finish}.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
vars/build.vars, etc/build.usage: adds {host,native}_toolchain_deps.
2017-11-22build.sh:-R: always print/don't print std{out,err} logs for failed packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+14
build.sh:-vv: always print/don't print stdout logs for successfully built packages. subr/ex_rtl_fileop.subr:ex_build_fileop(): log at vvvo (-vvv.) subr/ex_rtl_log.subr, vars/env.vars: removes [vw]arn, separates info & {vnfo,vvfo,vvvo}. var/env.vars:${CLEAR_ENV_VARS_EXCEPT}: adds ARG_VERBOSE[23].
2017-11-22build.sh, etc/build.usage, subr/ex_setup_args.subr: adds -vvv and -vv.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
subr/ex_rtl_log.subr:ex_log_msg(): adds vvvo and vvfo.
2017-11-22build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic.Lucio Andrés Illanes Albornoz (arab, vxp)1-18/+16
subr/ex_pkg_dispatch.subr: dispatch background jobs w/ redirected std{err,out} & FIFO. subr/ex_pkg_state.subr:ex_pkg_state_init(): trap(1) signals to abort build. vars/{gcc,musl}.vars: don't exit(1) from within package subroutine.
2017-11-22subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*.Lucio Andrés Illanes Albornoz (arab, vxp)1-35/+37
2017-11-21build.sh, subr/{build,pre_state}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-11-21build.sh: ensure ${BUILD_SCRIPT_RC} is set correctly.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
2017-11-21{build.sh,subr/pre_setup_args.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-46/+6
subr/pre_setup_env.subr: set -o noglob.
2017-11-21build.sh: update copyright & email legend.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-21{build.sh,subr/pkg_setup_dispatch.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-62/+1
2017-11-21Refactors build steps along the sequence {setup,fetch,configure,build,install}.Lucio Andrés Illanes Albornoz (arab, vxp)1-21/+17
subr/mode_check_updates.subr: seperated into check_updates.sh. subr/post_{copy_etc,sha256sums,tarballs}.subr: absorbed into `dist' target.
2017-11-20vars/{build,env}.vars: diet, pt. II.Lucio Andrés Illanes Albornoz (arab, vxp)1-7/+10
vars/build.vars: install w/ `DESTDIR=<prefix> PREFIX= prefix=' by default. vars/build.vars:cmake: build w/ -g0 -O2. vars/cmake.vars: build using cmake_host. vars/pkgconf_host.vars: remove & don't install ${PREFIX}/bin/pkg-config link to avoid confusing host packages. vars/{apr_util,chainport}.vars: replaced w/ corresponding ${PKG_BUILD_STEPS}. patches/perl-5.22.1.local.patch: pass -L. -lperl when linking. patches/smallbasic.local.patch: don't call pcre-config. subr/pkg_autoconf.subr, vars/{lib{caca,udns},toilet}.vars: always install config.sub after bootstrap. subr/pkg_disabled.subr: always silently finish disabled packages. subr/pkg_setup_{env,vars}.subr: split. subr/pkg_{build,install}.subr: always pass LIBTOOL=${PKG_SLIBTOOL:=slibtool}. subr/pkg_{{build,work}_dir,extract,setup_env}.subr: infer ${PKG_BUILD_DIR} from ${PKG_SUBDIR} given the absence of configure{,.{ac,in}}.
2017-10-04vars/build.vars: adds `dev_packages' target and `dev' meta-target comprising ↵Lucio Andrés Illanes Albornoz1-1/+1
devroot and the former. build.sh, subr/build.subr: adds `dev' meta-target.
2017-09-06build.sh, subr/{post_strip,pkg_{install_pre,strip}.subr: strip(1) after ↵Lucio Andrés Illanes Albornoz1-1/+1
install for each package to save disk space. vars/build.vars, vars/install_....vars: install coreutils_flavour_minipix w/ newly added ${TARGET}-install-strip to save disk space.
2017-06-06build.sh, etc/build.usage: adds --debug-minipix: override default behaviour ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
of strip(1)ping minipix/bin/*. subr/post_strip.subr: strip(1) minipix/bin/* unless --debug-minipix was specified (via midipix.) vars/build.vars: adds `minipix' target individually and as part of `world' encompassing all minipix-flavoured packages.
2017-06-01build.sh, subr/pre_build_files.subr: log list of failed build scripts when ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+10
using relaxed mode (-R).
2017-05-30build.sh, etc/build.usage: adds -[46]: force IPv[46] when downloading.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
subr/pre_setup_env.subr: prepend -4 or -6 to ${WGET_ARGS} when -[46] was specified.
2017-04-15build.sh, etc/build.usage: adds -R: [i]gnore build failures and continue ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
building (relaxed mode) (via midipix.)
2017-02-16build.sh: unset ${PKG_NAME_FLAVOUR} across individual packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
2017-02-15build.sh: set ${PKG_NAME_PARENT} for `flavoured' packages.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
subr/build.subr: fix bug in log_env_vars(). subr/pkg_setup_env.subr: inherit and log variables from parent packages when processing `flavoured' packages. vars/build.vars: replaces minipix packages w/ {bash,coreutils}_flavour_minipix, which are statically linked and installed to ${PREFIX_MINIPIX}. vars/musl.vars: don't install libc.so to ${PREFIX_MINIPIX}/lib.
2017-02-06build.sh: always build all steps for packages in the `INVARIANTS' target.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
subr/post_sha256sums.subr: use relative pathnames in SHA256SUMS.
2017-02-06build.sh: call post_sha256sums() before calling post_tarballs().Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
subr/post_sha256sums.subr: compute SHA256SUMs only if !${BUILD_SCRIPT_RC} && ${ARG_TARBALL}. subr/post_tarballs.subr: cleanup; include SHA256SUMS in dist tarball.
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+11
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-02-06build.sh, subr/post_sha256sums.subr: compile ${PREFIX}/SHA256SUMS over ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
eXecutable files in ${PREFIX_NATIVE}/{bin,lib} (via midipix.)
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+6
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-14/+14
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-7/+7
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-29/+39
2017-02-05build.sh: only build packages that haven't been .finish'ed yet.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
2017-02-05build.sh: fix typo.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-02-05build.sh, subr/{build,mode_check_updates}.subr: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-54/+33
2017-02-03build.sh, subr/{build,pre_*}.subr: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-42/+4
2017-02-03build.sh, etc/build.usage, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-73/+49
2017-02-03build.sh, subr/pre_{prereqs,subdirs}.subr: moved prereqs/subdirs code into ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-82/+15
subr/pre_*.subr. subr/rtl.subr: move subst_tgts() back.
2017-02-03build.sh: create dirs/symlinks via install_files().Lucio Andrés Illanes Albornoz (arab, vxp)1-28/+17
subr/{pkg_install,rtl}.subr: moved pkgp_install_files() to rtl.subr.
2017-02-03build.sh, subr/pkg_setup_env.subr: renamed build step `setup' to `setup_env.'Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-02-03vars/build.vars, patches/httpd-2.4.25.local.patch: preliminarily adds httpd ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
v2.4.25 (via Redfoxmoon) (not built by default.) build.sh, subr/{pkg_{build_dir,distclean,setup},rtl}.subr: adds `distclean' build step between setup and configure. vars/apr{,_util}.vars: provide ${PREFIX}/bin/${PKG_TARGET}-ap[ru]-1-config to facilitate building Apache.
2017-02-01subr/build.subr, build.sh: merged into build.sh.Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+112
subr/{pkg,rtl}.subr: merged into subr/rtl.subr.
2017-02-01build.sh, subr/*: reorganised as subr/{check,mode,pkg,post}_*.subr.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+6
2017-01-30build.sh: 2nd refactoring pt. I.Lucio Andrés Illanes Albornoz (arab, vxp)1-10/+41
build/{gcc,musl}.*.build: refactored into vars/{gcc,musl}.*.build. build/pkg.build: merged w/ build.sh (structurally) and refactored into subr/pkg_*.subr (implementations.) patches/gcc_native_x86_64_w64_mingw32.local.patch: fix wrong filename. subr/build.subr: merges source_scripts() into build.sh. subr/pkg.subr: accept either of ${PKG_..._{URL,VERSION}} when checking for missing entries in var/build.vars. vars/build.vars: adds vars for {gcc,musl}_*. vars/psxstub.vars: convert to pkg_..._all(); call pkg_fetch().
2017-01-26vars/build.vars, build/gcc.*.mingw_w64.build: adds gcc.*.mingw_w64.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-01-20build.sh, vars/build.vars: rename `init' target to `invariants,' whose ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+6
packages are always built. etc/build.usage: excluded from -h screen.
2017-01-20build.sh: fetch ${GITROOT}/ports/chainport during `init' target and apply ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
patches found within. build/pkg.build, etc/build.usage, vars/{build,chainport}.vars: adds newly introduced `init' target. patches/{binutils,gmp,lib{elf,ffi}}-*.patch: moved to chainport repository.
2016-12-14Updates file, libz, npth, Xproto, xtrans, libX11, Xrender, dash, diffutils, ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+4
dos2unix, gawk, grep, make, man-db, mksh, openssh, patch, tar, The Silver Searcher, whois, and zsh. build.sh, etc/build.usage: adds -i (ignore SHA256 hash mismatches.) build.sh, build/pkg.build, subr/pkg.subr: skip `clean' build target unless explicitly specified. patches/man-db-2.7.6.1.local.patch: added.
2016-12-08build.sh, subr/pkg.subr: fix -r ALL.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2