diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-09 19:17:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-09 19:17:24 +0300 |
commit | 03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch) | |
tree | 81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /core/libressl | |
download | repository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz |
secondary commit
Diffstat (limited to 'core/libressl')
-rwxr-xr-x | core/libressl/build | 10 | ||||
-rw-r--r-- | core/libressl/checksums | 2 | ||||
-rwxr-xr-x | core/libressl/files/update-certdata.sh | 14 | ||||
-rwxr-xr-x | core/libressl/post-install | 3 | ||||
-rw-r--r-- | core/libressl/sources | 2 | ||||
-rw-r--r-- | core/libressl/version | 1 |
6 files changed, 32 insertions, 0 deletions
diff --git a/core/libressl/build b/core/libressl/build new file mode 100755 index 00000000..efe55abb --- /dev/null +++ b/core/libressl/build @@ -0,0 +1,10 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --sysconfdir=/etc + +make +make DESTDIR="$1" install + +install -Dm 755 update-certdata.sh "$1/etc/ssl" diff --git a/core/libressl/checksums b/core/libressl/checksums new file mode 100644 index 00000000..5d28022d --- /dev/null +++ b/core/libressl/checksums @@ -0,0 +1,2 @@ +df7b172bf79b957dd27ef36dcaa1fb162562c0e8999e194aa8c1a3df2f15398e libressl-3.0.2.tar.gz +57cedb6745330bc52df27fd5e80a0c7c757ad36beb3fe16a709cdb990e96087a update-certdata.sh diff --git a/core/libressl/files/update-certdata.sh b/core/libressl/files/update-certdata.sh new file mode 100755 index 00000000..0c333e7a --- /dev/null +++ b/core/libressl/files/update-certdata.sh @@ -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" +} diff --git a/core/libressl/post-install b/core/libressl/post-install new file mode 100755 index 00000000..c12dca76 --- /dev/null +++ b/core/libressl/post-install @@ -0,0 +1,3 @@ +#!/bin/sh + +/etc/ssl/update-certdata.sh diff --git a/core/libressl/sources b/core/libressl/sources new file mode 100644 index 00000000..3746774e --- /dev/null +++ b/core/libressl/sources @@ -0,0 +1,2 @@ +https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.0.2.tar.gz +files/update-certdata.sh diff --git a/core/libressl/version b/core/libressl/version new file mode 100644 index 00000000..b0b71c8f --- /dev/null +++ b/core/libressl/version @@ -0,0 +1 @@ +3.0.2 1 |