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 415aa73341f79bee0d914fe60cbdcce4412f695d
parent a3f91f1098d5c9127fc679d0ff32b0b7aa9bde81
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Thu, 15 Jun 2023 01:39:20 +0200

Update generated packages

Diffstat:
Apackages/mdevd | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apackages/s6 | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apackages/s6-dns | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apackages/s6-linux-init | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apackages/s6-linux-utils | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apackages/s6-networking | 68++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apackages/s6-portable-utils | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Apackages/s6-rc | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 530 insertions(+), 0 deletions(-)

diff --git a/packages/mdevd b/packages/mdevd @@ -0,0 +1,66 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#+execline.bf7abe6c42100f6d10de8fce4c9b6d2879887b8e629bdda60214781680292eb6 +#@git:d9f63961ec01dc02131ad0967734ae1a058b27b8:mdevd + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd 'mdevd' + +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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/s6 b/packages/s6 @@ -0,0 +1,67 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#+execline.bf7abe6c42100f6d10de8fce4c9b6d2879887b8e629bdda60214781680292eb6 +#@git:3e7acf5c35999492e7feeaa59616510bf9cc51ac:s6 +#@sha256:627d1273036dc35239ba9dd1da45132e3bfce1ab8171dd27dc7952cdf09b698e:s6_clone3_newpid.patch + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd s6 +patch -up 1 -i ../s6_clone3_newpid.patch +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) CFLAGS=-DWANT_CLONE_NEWPID +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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/s6-dns b/packages/s6-dns @@ -0,0 +1,65 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#@git:4d081d9c2657ef40e770145f21328d37035dd774:s6-dns + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd 's6-dns' + +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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/s6-linux-init b/packages/s6-linux-init @@ -0,0 +1,67 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#+execline.bf7abe6c42100f6d10de8fce4c9b6d2879887b8e629bdda60214781680292eb6 +#+s6.8c7aebd121449a138cb2901fdf5f4d28c08e4ebf547094fdf3b20366eab17b3d +#@git:42a91a98b780759257862642c764c2102237fea6:s6-linux-init + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd 's6-linux-init' + +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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/s6-linux-utils b/packages/s6-linux-utils @@ -0,0 +1,65 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#@git:964442539c3b5b7f6f13a17cbf391843ec93ce6f:s6-linux-utils + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd 's6-linux-utils' + +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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/s6-networking b/packages/s6-networking @@ -0,0 +1,68 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#+execline.bf7abe6c42100f6d10de8fce4c9b6d2879887b8e629bdda60214781680292eb6 +#+s6.8c7aebd121449a138cb2901fdf5f4d28c08e4ebf547094fdf3b20366eab17b3d +#+s6-dns.5fd84dae00e72969ebeb48aeaddfe4ed717127d66fd1c73413f071419f1df3b9 +#@git:68db8af7c26461d4477f482ecbc279729fa911e4:s6-networking + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd 's6-networking' + +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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/s6-portable-utils b/packages/s6-portable-utils @@ -0,0 +1,65 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#@git:536eea15284be9a257b6f97f971e0d8d4a7e437b:s6-portable-utils + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd 's6-portable-utils' + +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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/s6-rc b/packages/s6-rc @@ -0,0 +1,67 @@ +#!/usr/bin/env pthbs-build +#+* +#+musl-cross-make.174caae2eabc9cd58859ace659c02352f121b4021e96cf6381632129988e39ec +#+gnu-make.1591841d61749dff544266ed7ceaf40631698486319b221a0dbb1bd0b2297ac9 +#+busybox.db62e4a9ea0f78c45e803fb9350b99b1b860457bb4b165ed18f11fb198375458 +#+skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab +#+execline.bf7abe6c42100f6d10de8fce4c9b6d2879887b8e629bdda60214781680292eb6 +#+s6.8c7aebd121449a138cb2901fdf5f4d28c08e4ebf547094fdf3b20366eab17b3d +#@git:b79282b3746ff67c3c0df8aa32814b3688b91d4f:s6-rc + +: ${JOBS:=1} + +prefix=/home/ccx/versions/$pthbs_package +cd 's6-rc' + +./configure \ + --prefix="$prefix" \ + --dynlibdir="${prefix}/library.so" \ + --bindir="${prefix}/command" \ + --libdir="${prefix}/library" \ + --shebangdir="${prefix}/command" \ + --with-sysdeps='/home/ccx/versions/skalibs.45af710fd510dbca710416233602d6e38c7a07378270a33c909682d48ca297ab/sysdeps' \ + --with-include="$pthbs_build_environment/include" \ + --with-lib="$pthbs_build_environment/library" \ + --with-dynlib="$pthbs_build_environment/library.so" \ + --disable-shared --enable-static --enable-allstatic --enable-static-libc --absolute-paths + +make -j${JOBS:-1} -l$((1+${JOBS:-1})) +make DESTDIR="$pthbs_destdir" install + +cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" +find -type d -o -print | awk -F/ ' +BEGIN { +} + +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 +} +$1!="."{exit 1} + + +$2 == "share" && $3 ~ /^(info|man)$/ { link(r1($0)); next } +$2 == "bin" { link(s1("command", $0)); next } +$2 == "include" { link($0); next } +$2 == "library.so" { link($0); next } +$2 == "lib" { link(s1("library.so", $0)); next } +$2 == "library" { link($0); next } + +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