2
0
mirror of https://codeberg.org/kiss-community/repo synced 2025-03-27 00:02:44 -06:00

libressl: Add script to update ca-certificates.

This commit is contained in:
Dylan Araps 2019-09-02 16:13:54 +03:00
parent fba07e129a
commit 48c55d3c8f
5 changed files with 19 additions and 1 deletions

View File

@ -9,5 +9,7 @@ patch -p0 < getprogname-musl.patch
make
make DESTDIR="$1" install
install -Dm 755 update-certdata.sh "$1/etc/ssl"
# Remove majority of man pages (2700 files~).
rm -rf "$1/usr/share/man/man3"

View File

@ -1,2 +1,3 @@
c4c78167fae325b47aebd8beb54b6041d6f6a56b3743f4bd5d79b15642f9d5d4 libressl-2.9.2.tar.gz
b532a1587c6ba73f905db5021a4c6032d821b2e8b94155f762df250f8a6de811 getprogname-musl.patch
57cedb6745330bc52df27fd5e80a0c7c757ad36beb3fe16a709cdb990e96087a update-certdata.sh

View File

@ -0,0 +1,14 @@
#!/bin/sh -e
#
# update-certdata.sh
[ -w /etc/ssl ] || {
printf '%s\n' "${0##*/}: root required to update cert." >&2
exit 1
}
cd /etc/ssl && {
wget https://curl.haxx.se/ca/cacert.pem
mv -f cacert.pem cert.pem
printf '%s\n' "${0##*/}: updated cert.pm"
}

View File

@ -1,2 +1,3 @@
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.9.2.tar.gz
patches/getprogname-musl.patch
files/update-certdata.sh

View File

@ -1 +1 @@
2.9.2 1
2.9.2 2