Revert "LibreSSL does not work properly for me, trying good old OpenSSL"

This reverts commit 7b787b5acb.
This commit is contained in:
2018-11-10 23:52:03 +02:00
parent f4806532d4
commit 1e89c4ad20
4 changed files with 30 additions and 73 deletions

29
pkgs/libressl/build.sh Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
pkgname="libressl"
pkgver="2.8.2"
src="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${pkgver}.tar.gz"
prepare () {
[ -f "${pkgname}-src.tar.gz" ] || curl -o "${pkgname}-src.tar.gz" "${src}"
tar -C "${srcdir}" -xvf "${pkgname}-src.tar.gz"
}
build () {
cd "${srcdir}/libressl-${pkgver}"
mkdir build && cd build
../configure \
--prefix=/usr \
--with-openssldir=/etc/ssl
make
}
package () {
cd "${srcdir}/libressl-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}
. ../common.sh