libtls: ship /etc/ssl/cert.pem
This commit is contained in:
parent
99929f3faf
commit
ee34f60ecb
@ -1,11 +1,12 @@
|
||||
# Template file for 'libtls'
|
||||
pkgname=libtls
|
||||
version=3.2.4
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="libressl-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="$(vopt_enable asm)"
|
||||
hostmakedepends="automake libtool"
|
||||
depends="ca-certificates"
|
||||
short_desc="Version of the TLS/crypto stack forked from OpenSSL"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="OpenSSL, ISC"
|
||||
@ -48,9 +49,11 @@ pre_configure() {
|
||||
do_install() {
|
||||
make -C tls install DESTDIR="$DESTDIR"
|
||||
make -C apps/nc install DESTDIR="$DESTDIR"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# libtls expects certs linked to /etc/ssl/cert.pem
|
||||
# instead of OpenSSL's /etc/ssl/certs.pem
|
||||
# Create a symlink for now while awaiting discussion.
|
||||
vmkdir etc/ssl
|
||||
ln -s certs.pem ${DESTDIR}/etc/ssl/cert.pem
|
||||
vlicense COPYING
|
||||
if [ "$build_option_asm" ]; then
|
||||
vlicense libressl-portable-asm-${_lssl_asm_ver}/LICENSE.cryptogams
|
||||
|
Loading…
x
Reference in New Issue
Block a user