summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install.subr
AgeCommit message (Collapse)AuthorFilesLines
2020-05-15subr/rtl_list.subr:rtl_l{assign,first}(): initial implementation.Lucio Andrés Illanes Albornoz1-2/+2
subr/pkg_install.subr:pkg_install(): use rtl_lassign().
2020-05-15subr/rtl.subr:rtl_set_IFS_nl(): initial implementation.Lucio Andrés Illanes Albornoz1-3/+3
subr/pkg_install.subr:pkgp_install_perms(): use rtl_set_IFS_nl(). subr/rtl_complex.subr:rtl_filter_vars(): use rtl_set_IFS_nl().
2020-05-15Optionally install ${PKG_DESTDIR_HOST} into ${PREFIX}.Lucio Andrés Illanes Albornoz1-20/+30
vars/libxslt.vars:pkg_libxslt_install_make_post(): install ${PREFIX}/bin/xslt-config into ${PKG_DESTDIR_HOST}/bin.
2020-03-24subr/{ex_pkg_env,pkg_install,rtl_list}.subr: reference ${IFS} w/ explicit ↵Lucio Andrés Illanes Albornoz1-1/+1
default value (via midipix.)
2020-03-19subr/{pkg_install,rtl_fetch}.subr, ↵Lucio Andrés Illanes Albornoz1-11/+2
subr/rtl_complex.subr:rtl_flock_acquire(): split.
2020-03-15Set -o nounset in addition to +o errexit -o nounset.Lucio Andrés Illanes Albornoz1-2/+2
groups/000.host_tools.group:libtool_host:${PKG_LIBTOOL}: build w/ `none'. subr/build_init.subr:buildp_init_getopts(): set ${DEFAULT_BUILD_CPUS} prior to ex_pkg_load_vars() call. subr/pkg_{build,install_make}.subr: only pass `LIBTOOL=${PKG_LIBTOOL}' if set and not `none'. vars/libtool_host.vars: removes obsolete vars file.
2020-03-15General cleanup.Lucio Andrés Illanes Albornoz1-2/+2
2020-03-02subr/pkg_install.subr: serialise simultaneous installation to ${PKG_PREFIX} ↵Lucio Andrés Illanes Albornoz1-1/+1
w/ flock(1).
2020-03-02subr/pkg_install.subr: serialise simultaneous installation to ${PKG_PREFIX} ↵Lucio Andrés Illanes Albornoz1-0/+14
w/ flock(1).
2020-03-02subr/pkg_install.subr: remove -D pkg remnants.Lucio Andrés Illanes Albornoz1-3/+0
2020-03-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz1-17/+33
dist/dist_digest.dist: removes obsolete dist file. etc/{build.usage,README.md}: updated. groups/000.host_tools.group:{autoconf,automake,gettext_tiny,install_strip,libtool,m4}_host: moved from groups/010.host_deps.group. groups/221.native_packages_dev.group:lua: moved from groups/231.native_packages_etc.group. groups/221.native_packages_dev.group:lua:${PKG_FORCE_AUTORECONF}: set. groups/231.native_packages_etc.group:{mlogin,tdnf}:${PKG_FORCE_AUTORECONF}: set. groups/241.native_packages_inet.group:nullmailer:${PKG_FORCE_AUTORECONF}: set. groups/251.native_packages_lib.group:lib{asr,gpg_error}:${PKG_FORCE_AUTORECONF}: set. midipix.env, etc/README.md, subr/pkg_configure_autotools.subr: adds FORCE_NO_AUTORECONF. subr/rtl_fileop.subr: adds ch{mod,own} fileops. vars/{check_updates,jamvm,lib{asr,gpg_error},lua,mlogin,tdnf}.vars: removes obsolete vars file.
2020-02-26General cleanup, pt. II.Lucio Andrés Illanes Albornoz1-2/+2
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz1-21/+18
2019-01-19build.sh, etc/build.usage, subr/*: merges {-[ptz],--rpm} into -D ↵Lucio Andrés Illanes Albornoz1-1/+1
{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 Albornoz1-1/+1
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 Albornoz1-2/+1
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:dist: adds mpackage (master.)Lucio Andrés Illanes Albornoz1-1/+2
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-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-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: split from subr/pkg_install.subr.Lucio Andrés Illanes Albornoz (arab, vxp)1-37/+0
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)1-0/+28
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.
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-10etc/build.usage, subr/build_args.subr: adds -C build[,dest[,src]] (clean ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+5
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/pkg_install.subr, vars/dist_{etc,minipix_dist}.vars: explicitly pass ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
--overwrite to tar(1).
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-28vars/build.vars, etc/build.usage: split build targets.Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+3
subr/pkg_install.subr, vars/env.vars: removes ${PKG_PREFIX_EXTRA}. etc/config.cache: adds util_linux.
2017-11-22subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-21subr/pkg_*.subr, vars/{apr,git}.vars: supply & reference ${PKG_DESTDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+8
2017-11-21Refactors build steps along the sequence {setup,fetch,configure,build,install}.Lucio Andrés Illanes Albornoz (arab, vxp)1-112/+5
subr/mode_check_updates.subr: seperated into check_updates.sh. subr/post_{copy_etc,sha256sums,tarballs}.subr: absorbed into `dist' target.
2017-11-20subr/pkg_{autoconf,configure,patch}.subr: reference ${PKG_BASE_DIR} instead ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-18/+21
of ${WORKDIR}. subr/pkg_build_dir.subr: {build,install} packages nested within ${PKG_BUILD_DIR}/. subr/pkg_distclean.subr: removed from repository. subr/pkg_{extract,fetch}.subr: {extract,fetch} within ${PKG_BASE_DIR}. subr/pkg_install.subr: install to ../destdir to facilitate post-installation processing. subr/pkg_setup_env.subr: set & create ${PKG_BASE_DIR}. subr/pre_subdirs.subr: always create ${PREFIX}/bin. vars/build.vars: consistently use ${PKG_{PREFIX,MAKE_INSTALL_VNAME,MAKEFLAGS_INSTALL}}. vars/env.vars, *: cleanup.
2017-11-20vars/{build,env}.vars: diet, pt. II.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+5
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-11-19subr/pkg_install.subr:pkgp_install_dlltool(): va-yehi ken.Lucio Andrés Illanes Albornoz (arab, vxp)1-21/+43
subr/build.subr:build_fileop(): include -L when testing pathnames for existence. vars/build.vars: adds `host_packages' target comprised of all host packages. vars/build.vars:lib_packages: adds w32lib (via Redfoxmoon.)
2017-10-29subr/pkg_install.subr:pkgp_install_dlltool(): restrict find(1) to ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
*.so.[0-9]*, etc. pp.
2017-10-29subr/pkg_install.subr:pkgp_install_dlltool(): pass basename of ${_so_fname} ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+2
to ${PKG_TARGET}-mdso (via midipix.) subr/pkg_install.subr:pkgp_install_dlltool(): don't skip ${_so_fname} even if -e ${PKG_PREFIX}/lib/${_so_fname##*/}.
2017-10-28subr/pkg_install.subr:pkgp_install_dlltool(): skip library archives already ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
present.
2017-10-28subr/pkg_install.subr:pkgp_install_dlltool(): fix typo.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-10-27subr/pkg_install.subr:pkgp_install_dlltool(): don't pass -printf to find(1) ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
and correctly check for the existence of the target library archive.
2017-10-26subr/pkg_install.subr:pkgp_install_dlltool(): generate library archives via ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-16/+19
{perk,mdso} (via midipix.) subr/pkg_install.subr:pkgp_install_dlltool(): correctly infer {so,lib} file names.
2017-03-08subr/pkg_install.subr: don't perk shared objects that are symlinks to /dev/null.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-02-09subr/pkg_install.subr: force exec_prefix=${prefix} if unset in pkg-config ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+2
files (.pc) prior to installing.