summaryrefslogtreecommitdiffhomepage
path: root/subr
AgeCommit message (Collapse)AuthorFilesLines
2019-01-19build.sh:buildp_dispatch(): correctly call ex_pkg_dispatch().Lucio Andrés Illanes Albornoz1-1/+3
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): only set ${${_pkgs_found_vname}} if non-zero.
2019-01-19subr/pkg_install_strip.subr:pkg_install_strip(): exclude non-native packages.Lucio Andrés Illanes Albornoz1-1/+2
2019-01-19build.sh, subr/build_checks.subr, vars/midipix.vars: removes ↵Lucio Andrés Illanes Albornoz2-45/+15
${DEFAULT_CHECK_PREREQ_{CMDS,FILES{,_DYNAMIC},PERL_MODULES}}. etc/build.usage: update target list. subr/build_checks.subr: merges remaining checks into subr/build_init.subr.
2019-01-19build.sh, etc/build.usage, subr/ex_pkg_dispatch.subr: adds -r LAST.Lucio Andrés Illanes Albornoz2-7/+24
subr/ex_rtl_state.subr: adds ex_rtl_state_clear(). vars/midipix.vars: adds ${DEFAULT_BUILD_LAST_FAILED_PKG_FNAME}.
2019-01-19build.sh, etc/build.usage, subr/build_args.subr: replaces -x w/ -vvv.Lucio Andrés Illanes Albornoz3-20/+20
subr/ex_rtl_{fileop,log}.subr, vars/env.vars: log file operations at -vvvv.
2019-01-19subr/pkg_configure_autotools.subr:pkg_configure_autotools(): invoke scripts ↵Lucio Andrés Illanes Albornoz1-1/+1
w/ /bin/sh. vars/midipix.vars:${DEFAULT_{LOG_ENV_VARS,CLEAR_ENV_VARS_EXCEPT}}: removes SHELL.
2019-01-19etc/build.usage, subr/build_{args,checks}.subr: merges -c into -C as -C prefix.Lucio Andrés Illanes Albornoz7-34/+35
etc/build.usage, subr/build_{args,init}.subr: merges -[46N] into -F as ipv4|ipv6|offline. subr/ex_rtl_fetch.subr: honour ${{ARG_FETCH_FORCE,DEFAULT_GIT_ARGS}}. subr/pkg_install_strip.subr: correctly strip non-release build binaries. subr/pkg_install_strip.subr:pkg_install_strip(): honour ${ARG_DEBUG_MINIPIX}. vars/env.vars, subr/pkg_fetch_{download,git,wget}.subr: merges fetch_{git,wget} into fetch_download. vars/midipix.vars: adds ${DEFAULT_GIT_ARGS}. vars/{musl,python[23]{,_host}}.vars: updated concerning fetch_download.
2019-01-19etc/build.usage, subr/build_args.subr: -D {t{bz2,gz,xz},zipdist} implies -D ↵Lucio Andrés Illanes Albornoz1-0/+8
minipix.
2019-01-19etc/{build.usage,README}: fix typo.Lucio Andrés Illanes Albornoz1-13/+3
subr/ex_rtl_log.subr:ex_rtl_log_msg(): minor cleanup.
2019-01-19build.sh, etc/build.usage, subr/*: merges {-[ptz],--rpm} into -D ↵Lucio Andrés Illanes Albornoz5-64/+45
{minipix,pkg,rpm,t{bz2,gz,xz},zipdist}. subr/{build_args,pkg_clean}.subr: cleanup ${ARG_CLEAN_BUILDS} usage. vars/build.vars:dist: merged into invariants. vars/invariants_minipix.vars: adapted from vars/dist_minipix_dist.vars. vars/{invariants_tarballs,midipix}.vars: don't produce source tarballs.
2019-01-19subr/pkg_install.subr:pkg_install(): fix typo.Lucio Andrés Illanes Albornoz2-2/+3
subr/pkg_install_rpm.subr:pkg_install_rpm(): reintroduce rpmbuild check.
2019-01-19subr/pkg_install{,_rpm}.subr: honour ${PKG_{PKGLIST,RPM}_DISABLE}.Lucio Andrés Illanes Albornoz2-4/+2
vars/build.vars:host_tools: moves mpackage from dist as mpackage_host. vars/build.vars:{ntctty,psxscl{,_strace},ptycon}: specify ${PKG_SRC_TARBALL_DISABLE:=1}. vars/build.vars:minipix: specify ${{PKGLIST,RPM}=1}. vars/dist_etc.vars: removed. vars/env.vars: adds {PKGLIST,RPM,SRC_TARBALL}_DISABLE. vars/invariants_tarballs.vars:pkgp_dist_tarball_src(): honour ${PKG_SRC_TARBALL_DISABLE}. vars/invariants_zipdist.vars: ensure build directories for packages in the pkglist.native exist. vars/{invariants_zipdist,mpackage_host}.vars: {reference,provide} mpackage/ symlink.
2019-01-18vars/build.vars:invariants: adds invariants_zipdist.Lucio Andrés Illanes Albornoz1-1/+2
etc/build.usage, subr/build_args.subr: adds -z. vars/invariants_tarballs.vars:pkgp_dist_tarball_src(): only include package build directories. vars/invariants_zipdist.vars: added. vars/midipix.vars: adds ${DEFAULT_ZIPDIST_FNAME_PREFIX}.
2019-01-18vars/build.vars:dist: adds mpackage (master.)Lucio Andrés Illanes Albornoz2-2/+4
subr/pkg_install.subr:pkg_install(): exclude mpackage from package list files. subr/pkg_install_rpm.subr:pkg_install_rpm(): exclude mpackage from RPM generation.
2018-12-23subr/build_init.subr:build_init(): rename build logs from previous builds w/ ↵Lucio Andrés Illanes Albornoz1-2/+6
appended modification time postfix. subr/build_init.subr:build_init(): turn ${DEFAULT_BUILD_LOG_LAST_FNAME} into symbolic link to last previous build log.
2018-10-14subr/pkg_install.subr: don't amend pkglist.* w/ minipix packages (via midipix.)Lucio Andrés Illanes Albornoz1-5/+7
2018-06-07subr/pkg_install.subr: derive pkglist.${PKG_BUILD_TYPE} items from ↵Lucio Andrés Illanes Albornoz1-1/+4
${PKG_BASE_DIR} instead of ${PKG_NAME} (via midipix.)
2018-05-31subr/build_init.subr, etc/build.usage: additionally source ↵Lucio Andrés Illanes Albornoz1-1/+1
${HOME}/.midipix_build.vars.
2018-05-21subr/pkg_install.subr:pkg_install(): create & append `${PKG_NAME}\n' to ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+4
${PREFIX}/pkglist.${PKG_BUILD_TYPE} (via midipix.)
2018-05-14subr/pkg_install_rpm.subr: prefer ${PKG_URL} over ${PKG_URLS_GIT}, don't ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-9/+5
accept unknown versions.
2018-05-14subr/build_init.subr, vars/build.vars: move LD_LIBRARY_PATH+=${PREFIX}/bin ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
export.
2018-05-14subr/pkg_install_rpm.subr: split from subr/pkg_install.subr.Lucio Andrés Illanes Albornoz (arab, vxp)2-37/+61
subr/pkg_install_rpm.subr: correctly determine ${PKG_VERSION} and ${PKG_URL}. vars/env.vars:${DEFAULT_BUILD_STEPS}: adds install_rpm after install.
2018-05-14subr/pkg_install.subr: fixup ${PKG_VERSION} for rpmbuild(8).Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+9
2018-05-14subr/pkg_install.subr: additionally install rpmbuild(8) spec files.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2018-05-14subr/pkg_install.subr: fix %install script & %files list.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+5
2018-05-14subr/pkg_install.subr: default to `Unknown' if ${PKG_URLS_GIT} is unset or ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
empty.
2018-05-14subr/pkg_install.subr: default to ${PKG_URLS_GIT} if ${PKG_URL} is unset or ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
empty.
2018-05-14subr/pkg_install.subr: default to `Unknown' if ${PKG_VERSION} is unset or empty.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+6
2018-05-14subr/pkg_install.subr: only build RPM when rpmbuild(8) is available.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
2018-05-14Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm.Lucio Andrés Illanes Albornoz (arab, vxp)3-0/+32
2018-05-09subr/build_init.subr:build_init(): set permissive umask (022.)Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2018-05-09subr/pkg_install.subr: correctly check for {absence,presence} of [ugo]+x.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+2
2018-05-09pkg_install.subr: set permission bits 0{644,755} on files and 0755 on ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
directories in ${PKG_DESTDIR}, resp.
2018-04-30Correctly (zero-)initialise all locals.Lucio Andrés Illanes Albornoz23-39/+39
2018-04-05subr/build_{checks,init}.subr: move --as-needed exit check in order to ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-6/+6
prevent clobbering build.log.
2018-04-01subr/build_checks.subr: don't build given --as-needed and no new commits to ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-0/+7
midipix_build since the last build. etc/build.usage, subr/build_args.subr: adds --as-needed. vars/build.vars:dist_target: adds dist_gitref. vars/dist_gitref.vars: print git-rev-parse(1) HEAD to ${PREFIX}/build.gitref.
2018-02-25Fixes transient mintty build failures (via katex.)Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+3
subr/ex_rtl_fetch.subr:exp_rtl_fetch_url_git(): correctly handle Git URL branch suffixes.
2018-01-27subr/ex_rtl_fetch.subr:ex_rtl_fetch_url_wget(): clarify hash mismatch error ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
message.
2017-12-22subr/pkg_install.subr: force directory and non-executable/executable file ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+8
permissions bits {0700,0600,0700}, resp.
2017-12-22build.sh:fail_pkg: terminate pending builds given build failure, -P, and ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-5/+6
absence of -R. etc/build.usage: clarify the consequences of parallelising builds to guide the perplexed and to confuse the people of the tribe of certainty into enlightenment (or not?) subr/ex_pkg_dispatch.subr:exp_pkg_dispatch(): moved traps. subr/ex_pkg_exec.subr:ex_pkg_exec(): forcibly pkill(1) child processes on failure.
2017-12-22build.sh, subr/build_args.subr, etc/build.usage: remove meta-targets & fix ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
target.. argument spec(s). vars/build.vars: removes meta-targets, adds ${ALL_TARGETS}.
2017-12-22subr/ex_rtl_install.subr: prepend ${_prefix} to source pathname as well.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
vars/build.vars:dash_minipix: copy bin/sh instead of symlinking.
2017-12-15subr/build_init.subr:build_init(): don't unset ${DEFAULT_...} environment ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
variables. vars/midipix.vars:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: remove implied environment variable names.
2017-12-15subr/build_init.subr:build_init(): don't unset ${PKG_...} environment variables.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+9
2017-12-14vars/build.vars:apr{,_util}: explicitly mark dependency.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
subr/pkg_clean.subr: defer cleaning packages w/ dependencies. vars/env.vars:${DEFAULT_BUILD_VARS}: adds DEPS_{BASE,PARENT}.
2017-12-10subr/pkg_clean.subr: correctly rm(1) ${PKG_BASE_DIR}/${PKG_SUBDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-10subr/build_init.subr:build_init(): always rm(1) ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}.
2017-12-10etc/build.usage, subr/build_args.subr: adds -C build[,dest[,src]] (clean ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-3/+33
subdirs) and -p (create package tarballs). subr/pkg_clean.subr: given -C, clean build, dest, and/or src. subr/pkg_install.subr: given -p, create gzip(1)-compressed package tarball at ${PKG_BASE_DIR}/${PKG_NAME}.tgz. vars/env.vars:${DEFAULT_BUILD_STEPS}: adds `clean' post-install.
2017-12-06subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): don't launch new jobs if at ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-10/+12
least one package failed.
2017-12-06vars/build.vars:host_packages_deps: adds python3_host v3.5.1 & ${PKG_PYTHON}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
vars/env.vars, subr/pkg_configure.subr: process ${PKG_PYTHON}. vars/python3_host.vars: create ${PREFIX}/bin/python ${LD_LIBRARY_PATH} wrapper.