pthbs

Packaging Through Hashed Build Scripts
git clone https://ccx.te2000.cz/git/pthbs
Log | Files | Refs | Submodules | README

commit 871849f0a2bc26fec6d55815e796dfe7a07f086a
parent 5b13434289a8118d052db6f9cfd7ee7df47aadcf
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Thu, 22 Feb 2024 14:09:08 +0100

Add --static to libretls LDFLAGS

Diffstat:
Mpackages/default.environment | 2+-
Mpackages/libressl | 4++++
Mpackages/userspace.environment | 2+-
Mtemplates/pkg/libressl | 4++++
4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/packages/default.environment b/packages/default.environment @@ -14,7 +14,7 @@ #+s6-linux-init.163646f3a337341ddb9ce39a5fc8afbd3507c0c3c94bc8f4d0458c0cee753448 #+mdevd.1ccacf0514eeffea88fc8203b470398b95638632eae38f1048a6f3bf5754f6dd #+s6-dns.41e9bc09d7f62576c34aad13f3e57168c5052ec4674abbbb9d2ccf78ee0db6e0 -#+libressl.dbaae1cb36b86f78102a4701fa46380144d21763fd5bdd30741eb6876c26062f +#+libressl.31704cc96ed1bf7e685eda0046d8191f4352118d164d973b727c145b80e8571c #+s6-networking.15adf950be6728a030816bedd5b2283e78e41796cea59b614b22c44690dfd6fa #+zsh.f8b4dc59a1d38643db3a4ec70dca58f74f4c9407c809b0fc519402f0bcccfbdb #+pthbs-banginstall.089f7542767b49f891e4acbca5ddf214ee7f45ba958f866fdbc514d6f7e39276 diff --git a/packages/libressl b/packages/libressl @@ -61,7 +61,9 @@ check_static() { +export LDFLAGS="--static" autotools_static libressl-3.8.2 +check_static command/openssl check_static command/ocspcheck @@ -69,7 +71,9 @@ check_static command/ocspcheck cd "$pthbs_destdir/home/ccx/versions/$pthbs_package" find -type d -o -print | awk -F/ ' BEGIN { + x["./command/openssl"]=1 x["./command/ocspcheck"]=1 + x["./man/man1/openssl.1"]=1 } function r1(s) { diff --git a/packages/userspace.environment b/packages/userspace.environment @@ -14,7 +14,7 @@ #+s6-linux-init.163646f3a337341ddb9ce39a5fc8afbd3507c0c3c94bc8f4d0458c0cee753448 #+mdevd.1ccacf0514eeffea88fc8203b470398b95638632eae38f1048a6f3bf5754f6dd #+s6-dns.41e9bc09d7f62576c34aad13f3e57168c5052ec4674abbbb9d2ccf78ee0db6e0 -#+libressl.dbaae1cb36b86f78102a4701fa46380144d21763fd5bdd30741eb6876c26062f +#+libressl.31704cc96ed1bf7e685eda0046d8191f4352118d164d973b727c145b80e8571c #+s6-networking.15adf950be6728a030816bedd5b2283e78e41796cea59b614b22c44690dfd6fa #+zsh.f8b4dc59a1d38643db3a4ec70dca58f74f4c9407c809b0fc519402f0bcccfbdb #+pthbs-banginstall.089f7542767b49f891e4acbca5ddf214ee7f45ba958f866fdbc514d6f7e39276 diff --git a/templates/pkg/libressl b/templates/pkg/libressl @@ -4,11 +4,15 @@ {%- endblock %} {% block at_script %} +export LDFLAGS="--static" autotools_static libressl-3.8.2 +check_static command/openssl check_static command/ocspcheck {% endblock %} {% block genlinks_begin %} + x["./command/openssl"]=1 x["./command/ocspcheck"]=1 + x["./man/man1/openssl.1"]=1 {% endblock %}