aboutsummaryrefslogtreecommitdiff
path: root/extra/libressl/build
diff options
context:
space:
mode:
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"