openvpn: update to 2.6.2.
This commit is contained in:
parent
9617831999
commit
b62c3cec37
|
@ -1,20 +1,24 @@
|
|||
# Template file for 'openvpn'
|
||||
pkgname=openvpn
|
||||
version=2.5.7
|
||||
version=2.6.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="$(vopt_enable pkcs11) --disable-systemd
|
||||
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="$(vopt_if mbedtls mbedtls-devel openssl-devel) lzo-devel pam-devel
|
||||
$(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel"
|
||||
makedepends="$(vopt_if mbedtls mbedtls-devel openssl-devel) libcap-ng-devel
|
||||
liblz4-devel libnl3-devel lzo-devel pam-devel
|
||||
$(vopt_if pkcs11 pkcs11-helper-devel)"
|
||||
checkdepends="cmocka-devel"
|
||||
short_desc="Easy-to-use, robust, and highly configurable VPN"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://www.openvpn.net"
|
||||
changelog="https://raw.githubusercontent.com/OpenVPN/openvpn/release/${version%.*}/Changes.rst"
|
||||
distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
|
||||
checksum=313bca7e996a4f59ef9940dd87c6c4b9168064db9be6cabebd37cd65f13759ed
|
||||
distfiles="http://build.openvpn.net/downloads/releases/openvpn-${version}.tar.gz"
|
||||
checksum=42d561a9af150b21bc914e3b7aa09f88013d2ffa6d5ce75a025a3b34caa948d4
|
||||
# t_net.sh fails on CI.
|
||||
make_check=ci-skip
|
||||
|
||||
build_options="mbedtls pkcs11"
|
||||
build_options_default="pkcs11"
|
||||
|
@ -22,8 +26,6 @@ desc_option_mbedtls="Build with mbedtls support"
|
|||
desc_option_pkcs11="Enable support for PKCS#11"
|
||||
vopt_conflict mbedtls pkcs11
|
||||
|
||||
make_check=ci-skip
|
||||
|
||||
post_install() {
|
||||
vmkdir usr/share/examples/${pkgname}
|
||||
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
|
||||
|
|
Loading…
Reference in New Issue