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

This commit is contained in:
2018-11-10 22:47:53 +02:00
parent d2638141ff
commit 7b787b5acb
4 changed files with 73 additions and 30 deletions

View File

@@ -1,29 +0,0 @@
#!/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