mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 01:27:02 +02:00
libtls: ship /etc/ssl/cert.pem
This commit is contained in:
parent
99929f3faf
commit
ee34f60ecb
1 changed files with 7 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue