openvpn: build against OpenSSL, re-enable pcks11
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
# Template file for 'openvpn'
|
# Template file for 'openvpn'
|
||||||
pkgname=openvpn
|
pkgname=openvpn
|
||||||
version=2.5.0
|
version=2.5.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="$(vopt_enable pkcs11) --disable-systemd
|
configure_args="$(vopt_enable pkcs11) --disable-systemd
|
||||||
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
|
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="$(vopt_if mbedtls mbedtls-devel libressl-devel) lzo-devel pam-devel
|
makedepends="$(vopt_if mbedtls mbedtls-devel openssl-devel) lzo-devel pam-devel
|
||||||
$(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel"
|
$(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel"
|
||||||
short_desc="Easy-to-use, robust, and highly configurable VPN"
|
short_desc="Easy-to-use, robust, and highly configurable VPN"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
@@ -16,7 +16,7 @@ distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar
|
|||||||
checksum=029a426e44d656cb4e1189319c95fe6fc9864247724f5599d99df9c4c3478fbd
|
checksum=029a426e44d656cb4e1189319c95fe6fc9864247724f5599d99df9c4c3478fbd
|
||||||
|
|
||||||
build_options="mbedtls pkcs11"
|
build_options="mbedtls pkcs11"
|
||||||
build_options_default="mbedtls"
|
build_options_default="pkcs11"
|
||||||
desc_option_mbedtls="Build with mbedtls support"
|
desc_option_mbedtls="Build with mbedtls support"
|
||||||
desc_option_pkcs11="Enable support for PKCS#11"
|
desc_option_pkcs11="Enable support for PKCS#11"
|
||||||
vopt_conflict mbedtls pkcs11
|
vopt_conflict mbedtls pkcs11
|
||||||
|
|||||||
Reference in New Issue
Block a user