aboutsummaryrefslogtreecommitdiff
path: root/core/libressl/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-03 10:28:09 +0300
committerCem Keylan <cem@ckyln.com>2020-09-03 10:28:09 +0300
commitb95712377fc9c4b4f34972b41826988bb5986b8b (patch)
tree5189059e3d1d37dee1007d0bb8caf8c8081655f7 /core/libressl/build
parent6c2c988e2cfeb0838089fc0303deed813e8d748c (diff)
downloadrepository-b95712377fc9c4b4f34972b41826988bb5986b8b.tar.gz
libressl: move back to core repository
Diffstat (limited to 'core/libressl/build')
-rwxr-xr-xcore/libressl/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/libressl/build b/core/libressl/build
new file mode 100755
index 00000000..86ade623
--- /dev/null
+++ b/core/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"