pthbs_genpkgpy

Template engine for producing packages for pthbs written using Python and Jinja
git clone https://ccx.te2000.cz/git/pthbs_genpkgpy
Log | Files | Refs | Submodules | README

commit c1606f775ade975085a72eec694726f590c18c67
parent 31f9be642834aaa2d55ad3b0e8be0baabce443ba
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Mon, 25 Sep 2023 14:09:34 +0200

update packages/

Diffstat:
Mpackages/bison | 13+++++++------
Mpackages/bootstrap.environment | 4++--
Mpackages/busybox | 7++++---
Mpackages/busybox-diffutils | 2+-
Mpackages/busybox:bootstrap | 7+++++--
Mpackages/default.environment | 39++++++++++++++++++++-------------------
Mpackages/diffutils | 11++++++-----
Mpackages/elf.h | 2+-
Mpackages/elfutils | 18++++++++++--------
Mpackages/execline | 10+++++-----
Mpackages/flex | 11++++++-----
Mpackages/gmp | 11++++++-----
Mpackages/gnu-make | 7++++---
Mpackages/gnu-make:bootstrap | 1+
Apackages/libelf-compat | 70++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpackages/libelf.h | 2+-
Mpackages/linux | 26+++++++++++++++-----------
Mpackages/m4 | 9+++++----
Mpackages/mdevd | 12++++++------
Mpackages/mpc | 13+++++++------
Mpackages/mpfr | 11++++++-----
Mpackages/musl-cross-make | 4++--
Apackages/netbsd-curses | 79+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpackages/patch | 11++++++-----
Mpackages/popt | 11++++++-----
Mpackages/rsync | 13+++++++------
Mpackages/s6 | 14+++++++-------
Mpackages/s6-dns | 10+++++-----
Mpackages/s6-linux-init | 14+++++++-------
Mpackages/s6-linux-utils | 10+++++-----
Mpackages/s6-networking | 16++++++++--------
Mpackages/s6-portable-utils | 10+++++-----
Mpackages/s6-rc | 14+++++++-------
Mpackages/skalibs | 6+++---
Mpackages/userspace.environment | 37+++++++++++++++++++------------------
Apackages/zsh | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36 files changed, 457 insertions(+), 181 deletions(-)

diff --git a/packages/bison b/packages/bison @@ -1,11 +1,11 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 -#+flex.fdc6111b32ac49e49152f89944f079e837d1438cfae07c32425b2efed2627ea2 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c +#+flex.2f957a1b131f67ad011a162bb2351579236bf3dc1a209abe1b661d1403c4c7a5 #@untar:-J:sha256:9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2:. autotools() { @@ -13,6 +13,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/bootstrap.environment b/packages/bootstrap.environment @@ -1,3 +1,3 @@ -#+busybox.0c5b3de146349594ee1583a8dc0655866f06098d920df23486793197459190af -#+gnu-make.329a190d1bd26882fec363e2c526cec925121e8bec09ff27f813a4757e99f74c +#+busybox.fad51f588bfae3a2228c40316784ec621fcccdcc87788e85b4aa24a6d685dd27 +#+gnu-make.3d2c4be858e305bbf33223eedde87f66a34ab1df0a316c4e7e5bf4efa2cd6291 #+musl-cross-make.6cb863941ec71737e8d15f654be7f64f5e1d1b3578e28f61419c5e7ce58f77c6 \ No newline at end of file diff --git a/packages/busybox b/packages/busybox @@ -1,8 +1,8 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.329a190d1bd26882fec363e2c526cec925121e8bec09ff27f813a4757e99f74c -#+busybox.0c5b3de146349594ee1583a8dc0655866f06098d920df23486793197459190af +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3d2c4be858e305bbf33223eedde87f66a34ab1df0a316c4e7e5bf4efa2cd6291 +#+busybox.fad51f588bfae3a2228c40316784ec621fcccdcc87788e85b4aa24a6d685dd27 #@git:aa4d303a3139107919f73cece4eaf85a7dc75db6:busybox #@sha256:955edd28faae9dd665f002c85466eef58ef8fd36d76d1f39eb974e22933478ab:busybox/.config @@ -22,6 +22,7 @@ cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" echo false | ./command/busybox --list >/dev/null # test if it works ./command/busybox --list | awk ' /^(cmp|diff)$/ {next} # provided by diffutils +/^(reset|clear)$/ {next} # provided by netbsd-curses { print "./command/busybox\t./command/" $0 } END { print "./command/busybox\t./command/busybox" } ' >.install-links.new diff --git a/packages/busybox-diffutils b/packages/busybox-diffutils @@ -1,6 +1,6 @@ #!/usr/bin/env pthbs-build #+* -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f mkdir -p "$pthbs_destdir/home/ccx/versions/$pthbs_package" cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" diff --git a/packages/busybox:bootstrap b/packages/busybox:bootstrap @@ -1,11 +1,14 @@ #!/usr/bin/env pthbs-build -#+* +#@pragma:nosandbox +#@pragma:nopath +#+musl-cross-make.6cb863941ec71737e8d15f654be7f64f5e1d1b3578e28f61419c5e7ce58f77c6 +#+gnu-make.3d2c4be858e305bbf33223eedde87f66a34ab1df0a316c4e7e5bf4efa2cd6291 #@git:aa4d303a3139107919f73cece4eaf85a7dc75db6:busybox #@sha256:9ee52091d7a41e7e492d508574573fbebe64155d85a07980128f21105eaad1e2:busybox/.config : ${JOBS:=1} mcm=/home/ccx/versions/musl-cross-make.6cb863941ec71737e8d15f654be7f64f5e1d1b3578e28f61419c5e7ce58f77c6 -make=/home/ccx/versions/gnu-make.329a190d1bd26882fec363e2c526cec925121e8bec09ff27f813a4757e99f74c +make=/home/ccx/versions/gnu-make.3d2c4be858e305bbf33223eedde87f66a34ab1df0a316c4e7e5bf4efa2cd6291 export PATH="$mcm/bin:$make/command:$PATH" export CC="$mcm/bin/x86_64-linux-musl-gcc" diff --git a/packages/default.environment b/packages/default.environment @@ -1,18 +1,19 @@ -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+diffutils.3bbd32d7e2b601fe8a437ccc136368dcee8bfa8321c09da72bce74fbae93c76a -#+patch.2f492b2e8f1005f80e5497b10c663d81a5d1df7fd9af971afec3be80ef7a533e -#+flex.fdc6111b32ac49e49152f89944f079e837d1438cfae07c32425b2efed2627ea2 -#+bison.372e82db1aec567c979634140cc1e7d6f22420d8f8843b4403c69ceef59503fd -#+rsync.3fb5fe534346f4080f2f392897030872d9dae9d813fa60e31c74b48f0e63eff6 -#+execline.73427773d57bd0b423f617e1617a70f736192e23173213158a3aea52527ce3a5 -#+s6.f670a72613b66173f5144ad6472353d9a725b881e7f7be7a120c0cc90b179963 -#+s6-rc.cb92a013d16e7a100c8a67dfe818f4a7ff74e7cd95842d81b39fa05e5e71625d -#+s6-portable-utils.e11860648c2c9e100be6ac6938896ec93d015534a236c9464cfb9f102b02895d -#+s6-linux-utils.a84a6626894503e5e8a769ef7e86e8f6b8068d2939fdb7fad9a93050eb33b6f9 -#+s6-linux-init.3b34d2f164c3be0552d8ada7a66bfbb829c575bc34cbc8675170104587faff9d -#+mdevd.464eb51b6faace9d54a032e007052460e113e80c88caead840cf5e95742bb363 -#+s6-dns.c472812921610505c7293a4ca8ff6ce20b7da6f414cb8e31dfbe48acb12eb888 -#+s6-networking.11eacacb7d23237332247abb2bdbdfcdad3a1d7e86f68fd9c63bcbd3f681d77f -#+linux.2f87a0f6d5aa4f0f708a5539aa9cf317e7c804e0cee2f1a8f55e19a34bc4a976- \ No newline at end of file +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+diffutils.cefaff2fce5e212c465e420b4c12ebe919732b429224ee7184f03d5f9b690795 +#+patch.5009a36f27088275d30f4314c68f26e491343e7eb640f21b3fa194e478f0bd14 +#+flex.2f957a1b131f67ad011a162bb2351579236bf3dc1a209abe1b661d1403c4c7a5 +#+bison.53499d4a7d6e5b1103e2bc20c57c0aec19d95acf6edc718480f63c42bf05ea58 +#+rsync.7255fc204881514faafa59f7b7f78dd992b2711dcf9be8886c8a32b03bc52057 +#+execline.0ecf1224330632cf67e469ce0d49cf5632c6c88da37a0ea748457fcb802e4c54 +#+s6.96761c32dde7d3ee4610a741dec5373f0835f3d846f67776ad9699c4911f3f10 +#+s6-rc.4872f137a3255c7b3ec7b8212c611aaafdd949625e9bce34aa50bff634d54a72 +#+s6-portable-utils.29636ef6bb7aa1d7cae6b9c8531014273abd51b16b63aff69b31ae66b4a29c74 +#+s6-linux-utils.25031b1a4b959a7a28ea4141090b1399420329f85b50d6f905f43deb2c6d872b +#+s6-linux-init.4402bdbed9ed834c1d11e7e75120a48bb908d4dde7d238c85c77b0eb56ae221e +#+mdevd.b8212bebb9cb2b009f10357b358501789c2b33f5917f544391ec3e425e3e9716 +#+s6-dns.1fc33e454e4223762ec3ecb16a57fa087dfb77c41ef9a2192fe6374e275b437a +#+s6-networking.e4d23d3b419702d6796f46ffe4e07604efe95f9a0ccb3ca3bfa958da368b3a96 +#+zsh.9c6a726ac5a89adc856604f20459c949f6237b1c812f74ab5141056029f80eb4 +#+linux.8eedd5ac58030045509e8362bc29f7ed41dd467d3994202f933726cef5800bbc+ \ No newline at end of file diff --git a/packages/diffutils b/packages/diffutils @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c #@untar:-J:sha256:90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e:. autotools() { @@ -12,6 +12,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/elf.h b/packages/elf.h @@ -1,6 +1,6 @@ #!/usr/bin/env pthbs-build #+* -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f #@sha256:a6ffb38364effd623e135b206ec97ff9e6826a1f285e349a3633df55db38bc9e:elf.h installdir="$pthbs_destdir//home/ccx/versions/$pthbs_package" diff --git a/packages/elfutils b/packages/elfutils @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c #@untar:-j:sha256:39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8:. autotools() { @@ -12,6 +12,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ @@ -42,17 +43,18 @@ autotools() { export CFLAGS="-D_GNU_SOURCE -Wno-error -Wno-null-dereference" -export LDFLAGS="-static" +export LDFLAGS="-static -L/home/ccx/versions/musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c/lib" autotools elfutils-0.189 \ - --enable-static --disable-shared --disable-nls \ + --disable-nls \ --disable-werror \ --program-prefix=eu- \ --enable-deterministic-archives \ --disable-nls \ --disable-libdebuginfod \ --disable-debuginfod \ - --without-zstd + --without-zstd \ + --without-argp cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" diff --git a/packages/execline b/packages/execline @@ -1,9 +1,9 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 #@git:85315b3e709f65781dd221fd3f13d3a989a748d4:execline : ${JOBS:=1} @@ -17,7 +17,7 @@ cd 'execline' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/flex b/packages/flex @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c #@untar:-z:sha256:e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995:. autotools() { @@ -12,6 +12,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/gmp b/packages/gmp @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c #@untar:-j:sha256:5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2:. autotools() { @@ -12,6 +12,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/gnu-make b/packages/gnu-make @@ -1,8 +1,8 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.329a190d1bd26882fec363e2c526cec925121e8bec09ff27f813a4757e99f74c -#+busybox.0c5b3de146349594ee1583a8dc0655866f06098d920df23486793197459190af +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3d2c4be858e305bbf33223eedde87f66a34ab1df0a316c4e7e5bf4efa2cd6291 +#+busybox.fad51f588bfae3a2228c40316784ec621fcccdcc87788e85b4aa24a6d685dd27 #@untar:-z:sha256:dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3:. autotools() { @@ -10,6 +10,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/gnu-make:bootstrap b/packages/gnu-make:bootstrap @@ -7,6 +7,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/libelf-compat b/packages/libelf-compat @@ -0,0 +1,70 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#@git:3e7acf5c35999492e7feeaa59616510bf9cc51ac:s6 +#@sha256:627d1273036dc35239ba9dd1da45132e3bfce1ab8171dd27dc7952cdf09b698e:s6_clone3_newpid.patch +#@untar:-j:sha256:4496d6cec9644cda8006ead15e17e500629ce30fe85ab2f2052a77ba43a1358d:. + +: ${JOBS:=1} +cd libelf-compat-0.152c001 + +sed -i 's@HEADERS = src/libelf.h@HEADERS = src/libelf.h src/gelf.h@' Makefile +prefix=/home/ccx/versions/$pthbs_package +make -j${JOBS:-1} -l$((1+${JOBS:-1})) prefix="$prefix" bindir="$prefix/command" includedir="$prefix/include" libdir="$prefix/library" DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + x["./library/libelf.a"]=1 + x["./include/libelf.h"]=1 + x["./include/gelf.h"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(|\..*)$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } + +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links diff --git a/packages/libelf.h b/packages/libelf.h @@ -1,6 +1,6 @@ #!/usr/bin/env pthbs-build #+* -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f #@sha256:9be2e5a97b3fcbc60dedb71967667b9a21d562dbfdaa7f9f74f4b3d9cbb5df86:include/dwarf.h #@sha256:0991a992f75396056c7d7f698fa7e87be24349ae85a195060d46e6a61881d97b:include/gelf.h #@sha256:3b20df1d58f9a445785503415aea1188d33159327c2edab3d370dbd37bc4845e:include/libelf.h diff --git a/packages/linux b/packages/linux @@ -1,23 +1,26 @@ #!/usr/bin/env pthbs-build #+* -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+diffutils.3bbd32d7e2b601fe8a437ccc136368dcee8bfa8321c09da72bce74fbae93c76a -#+patch.2f492b2e8f1005f80e5497b10c663d81a5d1df7fd9af971afec3be80ef7a533e -#+flex.fdc6111b32ac49e49152f89944f079e837d1438cfae07c32425b2efed2627ea2 -#+bison.372e82db1aec567c979634140cc1e7d6f22420d8f8843b4403c69ceef59503fd -#+rsync.3fb5fe534346f4080f2f392897030872d9dae9d813fa60e31c74b48f0e63eff6 -#+elfutils.f56cf9e1fd7cbf9af9e1c364ae7ee9f241a96d48f565f5a85522efa8c6169372 +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+diffutils.cefaff2fce5e212c465e420b4c12ebe919732b429224ee7184f03d5f9b690795 +#+patch.5009a36f27088275d30f4314c68f26e491343e7eb640f21b3fa194e478f0bd14 +#+flex.2f957a1b131f67ad011a162bb2351579236bf3dc1a209abe1b661d1403c4c7a5 +#+bison.53499d4a7d6e5b1103e2bc20c57c0aec19d95acf6edc718480f63c42bf05ea58 +#+rsync.7255fc204881514faafa59f7b7f78dd992b2711dcf9be8886c8a32b03bc52057 +#+libelf-compat.4821fa1be1fcd56ced865c9bea4547578886f36a5437b2165364a6855c9e6bf1 #@untar:-J:sha256:2ca1f17051a430f6fed1196e4952717507171acfd97d96577212502703b25deb:. #@sha256:d9b01e4dac3dd140c394227603c8b3339bb2f1e10c97afd3607d84e3003ec75a:patch-6.1.34.xz -#@sha256:f33d82840d1db22114e18626b64922fa1a3b539a2dee6847528ecc1b17b7b659:linux.config +#@sha256:cb8081499f316acdc7b31b486b8d68afd68094db8f420aba0eab2c3e8de13888:linux.config +#@sha256:ff3ddd131d73fee6838b11a6c4773bdb85c5f60fdd4b9ac4120ced021c341417:noobjtool.patch +export CFLAGS="-L$pthbs_build_environment/library -L$pthbs_build_environment/library.so" export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" cd linux-6.1 unxz -c < ../patch-6.1.34.xz | patch -p1 -N +patch -p1 -N <../noobjtool.patch cp -v ../linux.config .config linux64 make -j${JOBS:-1} -l$((1+${JOBS:-1})) olddefconfig diff -u ../linux.config .config || true @@ -26,7 +29,8 @@ linux64 make -j${JOBS:-1} -l$((1+${JOBS:-1})) installdir="$pthbs_destdir//home/ccx/versions/$pthbs_package" mkdir -p "$installdir" cp -v .config "$installdir/config" -mv linux-6.1/Documentation "$installdir/doc" +mkdir -p "$installdir/doc" +mv Documentation/* "$installdir/doc" linux64 make modules_install install \ INSTALL_MOD_PATH="$installdir" \ INSTALL_MOD_STRIP=1 \ diff --git a/packages/m4 b/packages/m4 @@ -1,9 +1,9 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 #@untar:-z:sha256:3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70:. autotools() { @@ -11,6 +11,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/mdevd b/packages/mdevd @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 -#+execline.73427773d57bd0b423f617e1617a70f736192e23173213158a3aea52527ce3a5 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 +#+execline.0ecf1224330632cf67e469ce0d49cf5632c6c88da37a0ea748457fcb802e4c54 #@git:d9f63961ec01dc02131ad0967734ae1a058b27b8:mdevd : ${JOBS:=1} @@ -18,7 +18,7 @@ cd 'mdevd' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/mpc b/packages/mpc @@ -1,11 +1,11 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 -#+gmp.34e49828c7cac171a1423bce88e69e4656e1f0d001ec368c6f8aebf64d24d362 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c +#+gmp.cf378cad86518203d95e5c3b6669fc9e50a7bc87af25d2028154e037357c96c3 #@untar:-z:sha256:6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e:. autotools() { @@ -13,6 +13,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/mpfr b/packages/mpfr @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c #@untar:-z:sha256:c05e3f02d09e0e9019384cdd58e0f19c64e6db1fd6f5ecf77b4b1c61ca253acc:. autotools() { @@ -12,6 +12,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/musl-cross-make b/packages/musl-cross-make @@ -1,8 +1,8 @@ #!/usr/bin/env pthbs-build #+* #+musl-cross-make.6cb863941ec71737e8d15f654be7f64f5e1d1b3578e28f61419c5e7ce58f77c6 -#+gnu-make.329a190d1bd26882fec363e2c526cec925121e8bec09ff27f813a4757e99f74c -#+busybox.0c5b3de146349594ee1583a8dc0655866f06098d920df23486793197459190af +#+gnu-make.3d2c4be858e305bbf33223eedde87f66a34ab1df0a316c4e7e5bf4efa2cd6291 +#+busybox.fad51f588bfae3a2228c40316784ec621fcccdcc87788e85b4aa24a6d685dd27 #@git:fe915821b652a7fa37b34a596f47d8e20bc72338:musl-cross-make #@sha256:ab66fc2d1c3ec0359b8e08843c9f33b63e8707efdff5e4cc5c200eae24722cbf:musl-cross-make/sources/binutils-2.33.1.tar.xz #@sha256:75d5d255a2a273b6e651f82eecfabf6cbcd8eaeae70e86b417384c8f4a58d8d3:musl-cross-make/sources/config.sub diff --git a/packages/netbsd-curses b/packages/netbsd-curses @@ -0,0 +1,79 @@ +#!/usr/bin/env pthbs-build +#+* +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#@git:5874f9b1ced9c29d7d590d95e254b252f657a160:curses + +export CFLAGS="-L$pthbs_build_environment/library -L$pthbs_build_environment/library.so" +export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" +export CPATH="$pthbs_build_environment/include" + +cd curses +prefix=/home/ccx/versions/$pthbs_package +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +cat << EOF > config.mak +PREFIX=$prefix +PREFIX="$prefix" +BINDIR="$prefix/command" +INCDIR="$prefix/include" +LIBDIR="$prefix/library" +MANDIR="$prefix/man" +DESTDIR="$pthbs_destdir" +EOF + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make install-static + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + x["./library/libncurses.a"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(|\..*)$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } + +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links diff --git a/packages/patch b/packages/patch @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c #@untar:-J:sha256:ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd:. autotools() { @@ -12,6 +12,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/popt b/packages/popt @@ -1,10 +1,10 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c #@untar:-z:sha256:c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9:. autotools() { @@ -12,6 +12,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/rsync b/packages/rsync @@ -1,11 +1,11 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+busybox-diffutils.81ac0da91ac0e1a160e637ba1a6f81cd28d67d2569e364fa6022c38f9fb9ced1 -#+m4.9e9c8c134130bad6cbec312b9f687565134a1428e5a8eddf61edb4e54cd72b18 -#+popt.709738f17f861849ae9299e63be1f32a037dcfca969b6786d3e5016a00a7f672 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c +#+popt.0083b234eb54c76f99629b99d920be6e69136e660074172cb5b5ca090112b70b #@untar:-z:sha256:4e7d9d3f6ed10878c58c5fb724a67dacf4b6aac7340b13e488fb2dc41346f2bb:. autotools() { @@ -13,6 +13,7 @@ autotools() { shift export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" prefix=/home/ccx/versions/$pthbs_package ./configure -C \ --prefix="$prefix" \ diff --git a/packages/s6 b/packages/s6 @@ -1,11 +1,11 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+patch.2f492b2e8f1005f80e5497b10c663d81a5d1df7fd9af971afec3be80ef7a533e -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 -#+execline.73427773d57bd0b423f617e1617a70f736192e23173213158a3aea52527ce3a5 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+patch.5009a36f27088275d30f4314c68f26e491343e7eb640f21b3fa194e478f0bd14 +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 +#+execline.0ecf1224330632cf67e469ce0d49cf5632c6c88da37a0ea748457fcb802e4c54 #@git:3e7acf5c35999492e7feeaa59616510bf9cc51ac:s6 #@sha256:627d1273036dc35239ba9dd1da45132e3bfce1ab8171dd27dc7952cdf09b698e:s6_clone3_newpid.patch @@ -20,7 +20,7 @@ patch -up 1 -i ../s6_clone3_newpid.patch --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/s6-dns b/packages/s6-dns @@ -1,9 +1,9 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 #@git:4d081d9c2657ef40e770145f21328d37035dd774:s6-dns : ${JOBS:=1} @@ -17,7 +17,7 @@ cd 's6-dns' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/s6-linux-init b/packages/s6-linux-init @@ -1,11 +1,11 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 -#+execline.73427773d57bd0b423f617e1617a70f736192e23173213158a3aea52527ce3a5 -#+s6.f670a72613b66173f5144ad6472353d9a725b881e7f7be7a120c0cc90b179963 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 +#+execline.0ecf1224330632cf67e469ce0d49cf5632c6c88da37a0ea748457fcb802e4c54 +#+s6.96761c32dde7d3ee4610a741dec5373f0835f3d846f67776ad9699c4911f3f10 #@git:42a91a98b780759257862642c764c2102237fea6:s6-linux-init : ${JOBS:=1} @@ -19,7 +19,7 @@ cd 's6-linux-init' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/s6-linux-utils b/packages/s6-linux-utils @@ -1,9 +1,9 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 #@git:964442539c3b5b7f6f13a17cbf391843ec93ce6f:s6-linux-utils : ${JOBS:=1} @@ -17,7 +17,7 @@ cd 's6-linux-utils' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/s6-networking b/packages/s6-networking @@ -1,12 +1,12 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 -#+execline.73427773d57bd0b423f617e1617a70f736192e23173213158a3aea52527ce3a5 -#+s6.f670a72613b66173f5144ad6472353d9a725b881e7f7be7a120c0cc90b179963 -#+s6-dns.c472812921610505c7293a4ca8ff6ce20b7da6f414cb8e31dfbe48acb12eb888 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 +#+execline.0ecf1224330632cf67e469ce0d49cf5632c6c88da37a0ea748457fcb802e4c54 +#+s6.96761c32dde7d3ee4610a741dec5373f0835f3d846f67776ad9699c4911f3f10 +#+s6-dns.1fc33e454e4223762ec3ecb16a57fa087dfb77c41ef9a2192fe6374e275b437a #@git:68db8af7c26461d4477f482ecbc279729fa911e4:s6-networking : ${JOBS:=1} @@ -20,7 +20,7 @@ cd 's6-networking' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/s6-portable-utils b/packages/s6-portable-utils @@ -1,9 +1,9 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 #@git:536eea15284be9a257b6f97f971e0d8d4a7e437b:s6-portable-utils : ${JOBS:=1} @@ -17,7 +17,7 @@ cd 's6-portable-utils' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/s6-rc b/packages/s6-rc @@ -1,11 +1,11 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941 -#+execline.73427773d57bd0b423f617e1617a70f736192e23173213158a3aea52527ce3a5 -#+s6.f670a72613b66173f5144ad6472353d9a725b881e7f7be7a120c0cc90b179963 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06 +#+execline.0ecf1224330632cf67e469ce0d49cf5632c6c88da37a0ea748457fcb802e4c54 +#+s6.96761c32dde7d3ee4610a741dec5373f0835f3d846f67776ad9699c4911f3f10 #@git:b79282b3746ff67c3c0df8aa32814b3688b91d4f:s6-rc : ${JOBS:=1} @@ -19,7 +19,7 @@ cd 's6-rc' --bindir="${prefix}/command" \ --libdir="${prefix}/library" \ --shebangdir="${prefix}/command" \ - --with-sysdeps='/home/ccx/versions/skalibs.58eaddd64a60467d4d0f4fc24b7c798cd29961e49d0401ffa24f4e2e226e4941/sysdeps' \ + --with-sysdeps='/home/ccx/versions/skalibs.e3bc84062f5ffc0886c308d5c62adb7f99a1fa95b0ecf50e119401d883c64e06/sysdeps' \ --with-include="$pthbs_build_environment/include" \ --with-lib="$pthbs_build_environment/library" \ --with-dynlib="$pthbs_build_environment/library.so" \ diff --git a/packages/skalibs b/packages/skalibs @@ -1,8 +1,8 @@ #!/usr/bin/env pthbs-build #+* -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f #@git:c555cd2ba1682f90fb5344d2865713fcd0f3c3e1:skalibs : ${JOBS:=1} diff --git a/packages/userspace.environment b/packages/userspace.environment @@ -1,17 +1,18 @@ -#+busybox.1d697e10ac79dcb268f26e1081c5328e0a5b5f143bfa785a4d3b851e64e8ef88 -#+gnu-make.927b5fcd350df4ae9c434435f17f0fd13cc8d4f03e2ed2b66f0db3cd8656d032 -#+musl-cross-make.6d069307e4052bc04fe497697ecbfcb0e15062ea70c8c2a77978d3c431e148ca -#+diffutils.3bbd32d7e2b601fe8a437ccc136368dcee8bfa8321c09da72bce74fbae93c76a -#+patch.2f492b2e8f1005f80e5497b10c663d81a5d1df7fd9af971afec3be80ef7a533e -#+flex.fdc6111b32ac49e49152f89944f079e837d1438cfae07c32425b2efed2627ea2 -#+bison.372e82db1aec567c979634140cc1e7d6f22420d8f8843b4403c69ceef59503fd -#+rsync.3fb5fe534346f4080f2f392897030872d9dae9d813fa60e31c74b48f0e63eff6 -#+execline.73427773d57bd0b423f617e1617a70f736192e23173213158a3aea52527ce3a5 -#+s6.f670a72613b66173f5144ad6472353d9a725b881e7f7be7a120c0cc90b179963 -#+s6-rc.cb92a013d16e7a100c8a67dfe818f4a7ff74e7cd95842d81b39fa05e5e71625d -#+s6-portable-utils.e11860648c2c9e100be6ac6938896ec93d015534a236c9464cfb9f102b02895d -#+s6-linux-utils.a84a6626894503e5e8a769ef7e86e8f6b8068d2939fdb7fad9a93050eb33b6f9 -#+s6-linux-init.3b34d2f164c3be0552d8ada7a66bfbb829c575bc34cbc8675170104587faff9d -#+mdevd.464eb51b6faace9d54a032e007052460e113e80c88caead840cf5e95742bb363 -#+s6-dns.c472812921610505c7293a4ca8ff6ce20b7da6f414cb8e31dfbe48acb12eb888 -#+s6-networking.11eacacb7d23237332247abb2bdbdfcdad3a1d7e86f68fd9c63bcbd3f681d77f- \ No newline at end of file +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+diffutils.cefaff2fce5e212c465e420b4c12ebe919732b429224ee7184f03d5f9b690795 +#+patch.5009a36f27088275d30f4314c68f26e491343e7eb640f21b3fa194e478f0bd14 +#+flex.2f957a1b131f67ad011a162bb2351579236bf3dc1a209abe1b661d1403c4c7a5 +#+bison.53499d4a7d6e5b1103e2bc20c57c0aec19d95acf6edc718480f63c42bf05ea58 +#+rsync.7255fc204881514faafa59f7b7f78dd992b2711dcf9be8886c8a32b03bc52057 +#+execline.0ecf1224330632cf67e469ce0d49cf5632c6c88da37a0ea748457fcb802e4c54 +#+s6.96761c32dde7d3ee4610a741dec5373f0835f3d846f67776ad9699c4911f3f10 +#+s6-rc.4872f137a3255c7b3ec7b8212c611aaafdd949625e9bce34aa50bff634d54a72 +#+s6-portable-utils.29636ef6bb7aa1d7cae6b9c8531014273abd51b16b63aff69b31ae66b4a29c74 +#+s6-linux-utils.25031b1a4b959a7a28ea4141090b1399420329f85b50d6f905f43deb2c6d872b +#+s6-linux-init.4402bdbed9ed834c1d11e7e75120a48bb908d4dde7d238c85c77b0eb56ae221e +#+mdevd.b8212bebb9cb2b009f10357b358501789c2b33f5917f544391ec3e425e3e9716 +#+s6-dns.1fc33e454e4223762ec3ecb16a57fa087dfb77c41ef9a2192fe6374e275b437a +#+s6-networking.e4d23d3b419702d6796f46ffe4e07604efe95f9a0ccb3ca3bfa958da368b3a96 +#+zsh.9c6a726ac5a89adc856604f20459c949f6237b1c812f74ab5141056029f80eb4+ \ No newline at end of file diff --git a/packages/zsh b/packages/zsh @@ -0,0 +1,103 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.6b51ffb677cb4f036686cda813695293f70e827cbabfc81d623c42961f93187c +#+gnu-make.3f7fc26fd89f68ca6f816688c80515b019776e41ba016b5156683b68617d80de +#+busybox.74796beee7ee14b0d53a5576d0ec2e2938b951dd9864c233dbc5eb299e47330f +#+busybox-diffutils.e74cf9b745d42af5035febc4e092aef016491fc16a5fb4fdc8d09b25f38cbcb7 +#+m4.1548d17bbfec335a425a5676c2c3fc00c6e63e08a93cbdfc8e38139f281b1a0c +#+netbsd-curses.5a3fc6f9dbdd52cf6b5b48ffb984acf2a2cdca17768101ba080a1b4a882be9ef +#@git:73d317384c9225e46d66444f93b46f0fbe7084ef:zsh +#@untar:-J:sha256:9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5:. + +autotools() { + cd "$1" + shift + export LD_LIBRARY_PATH="$pthbs_build_environment/library:$pthbs_build_environment/library.so" + export CPATH="$pthbs_build_environment/include" + export CFLAGS="-L$pthbs_build_environment/library" + prefix=/home/ccx/versions/$pthbs_package + ./configure -C \ + --prefix="$prefix" \ + --build="$(${CC:-gcc} -dumpmachine)" \ + --bindir="$prefix/command" \ + --sbindir="$prefix/command" \ + --infodir="$prefix/info" \ + --localedir="$prefix/locale" \ + --mandir="$prefix/man" \ + --libdir="$prefix/library" \ + --docdir="$prefix/doc/zsh" \ + --localstatedir='/home/ccx/.local/var' \ + "$@" + # --libexecdir=DIR program executables [EPREFIX/libexec] + # --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + # --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + # --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] + # --includedir=DIR C header files [PREFIX/include] + # --oldincludedir=DIR C header files for non-gcc [/usr/include] + # --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + # --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + + # ac_cv_func_malloc_0_nonnull=yes \ + # ac_cv_func_realloc_0_nonnull=yes + make -j${JOBS:-1} -l$((1+${JOBS:-1})) + make DESTDIR="$pthbs_destdir" install +} + + + +autotools zsh-5.9 --disable-dynamic --disable-locale + + + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { + x["./command/zsh"]=1 +} + +function r1(s) { + sub("^[.]/[^/]*", ".", s) + return s +} +function s1(repl, s) { + sub("^[.]/[^/]*", "./"repl, s) + return s +} +function link(src) { + x[$0]=0 + printf "%s\t%s\n", $0, src + printf "genlinks >>%s\t%s<<\n", $0, src >>"/dev/stderr" +} +$1!="."{exit 1} + + +$2 == "command" { link($0); next } +$2 == "bin" { link(s1("command", $0)); next } + +$2 == "library.so" { link($0); next } +$2 == "library" { link($0); next } +$2 == "lib" && $NF ~ /\.l?a$/ { link(s1("library", $0)); next } +$2 == "lib" && $NF ~ /\.so(|\..*)$/ { link(s1("library.so", $0)); next } + +$2 == "share" && $3 ~ /^(info|man|doc|icons|terminfo)$/ { link(r1($0)); next } + +$2 == "man" { link($0); next } +$2 == "info" { link($0); next } +$2 == "doc" { link($0); next } +$2 == "icons" { link($0); next } +$2 == "terminfo" { link($0); next } + +$2 == "include" { link($0); next } + +{ printf "genlinks ##%s## skipped\n", $0 >>"/dev/stderr" } + +END { + for(fname in x) { printf "DEBUG: x[\"%s\"]=\"%s\"\n", fname, x[fname] >"/dev/stderr" } + for(fname in x) { + if(x[fname]) { + printf "ERROR: missing expected file \"%s\"\n", fname >"/dev/stderr" + exit 3 + } + } +}' >.install-links.new +mv .install-links.new .install-links