openvpn: update to 2.5.1.

This commit is contained in:
glaulher 2021-04-06 17:55:12 -03:00 committed by Érico Nogueira Rolim
parent ec7f44928f
commit 8c6bfae9f8
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openvpn'
pkgname=openvpn
version=2.5.0
revision=2
version=2.5.1
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable pkcs11) --disable-systemd
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.openvpn.net"
distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
checksum=029a426e44d656cb4e1189319c95fe6fc9864247724f5599d99df9c4c3478fbd
checksum=40930489c837c05f6153f38e1ebaec244431ef1a034e4846ff732d71d59ff194
build_options="mbedtls pkcs11"
build_options_default="pkcs11"
@ -21,6 +21,9 @@ desc_option_mbedtls="Build with mbedtls support"
desc_option_pkcs11="Enable support for PKCS#11"
vopt_conflict mbedtls pkcs11
# tests can't run in CI
make_check=extended
post_install() {
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}