aboutsummaryrefslogtreecommitdiff
path: root/core/libressl/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-03-17 23:11:00 +0300
committerCem Keylan <cem@ckyln.com>2021-03-17 23:11:00 +0300
commit0eb2cfd673b31710177592473c5f32d1c3810455 (patch)
tree2262f9f6104c393e20be64e9be5b68717c393e9d /core/libressl/build
parentaad5dd7d3aff5b5520879cb9b6aa5a57ca220538 (diff)
downloadrepository-0eb2cfd673b31710177592473c5f32d1c3810455.tar.gz
libressl: move to core
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"