aboutsummaryrefslogtreecommitdiff
path: root/extra/libressl/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-11 01:59:57 +0300
committerCem Keylan <cem@ckyln.com>2020-06-11 01:59:57 +0300
commit5351806cde46a6d7b28c22cc69d1da6378da63ec (patch)
treeddc6b6c568928dd54b000b5fe88b1be5b094a3a0 /extra/libressl/build
parent29b6f84458ec6bad399d5246bbdba9303061f27c (diff)
downloadrepository-5351806cde46a6d7b28c22cc69d1da6378da63ec.tar.gz
libressl: move to extra
Diffstat (limited to 'extra/libressl/build')
-rwxr-xr-xextra/libressl/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/libressl/build b/extra/libressl/build
new file mode 100755
index 00000000..86ade623
--- /dev/null
+++ b/extra/libressl/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc
+
+make
+make DESTDIR="$1" install
+
+install -Dm 755 update-certdata.sh "$1/etc/ssl"
+
+# Link ca-certificates to cert.pem
+ln -sfv ../cert.pem "$1/etc/ssl/certs/ca-certificates.crt"