NetworkManager-l2tp: update to 1.20.12.

This commit is contained in:
Đoàn Trần Công Danh 2024-03-27 19:49:37 +07:00 committed by Đoàn Trần Công Danh
parent 45ea6723e5
commit 494c43133d
1 changed files with 6 additions and 14 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'NetworkManager-l2tp'
pkgname=NetworkManager-l2tp
version=1.8.6
revision=4
version=1.20.12
revision=1
build_style=gnu-configure
configure_args="--runstatedir=/run"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="glib-devel gtk+3-devel libglib-devel libnma-devel openssl-devel
configure_args="--runstatedir=/run --with-gtk4"
hostmakedepends="pkg-config gettext glib-devel gtk4-devel libxml2"
makedepends="gtk+3-devel gtk4-devel libglib-devel libnma-devel openssl-devel
libsecret-devel nss-devel ppp-devel"
depends="strongswan xl2tpd ppp"
short_desc="NetworkManager VPN plugin for L2TP/IPsec"
@ -13,12 +13,4 @@ maintainer="Douglas Kosovic <doug@uq.edu.au>"
license="GPL-2.0-or-later"
homepage="https://github.com/nm-l2tp/NetworkManager-l2tp"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=e345263c440ef8f48bcd95661d7772ffdbdd65e37d0a3eca813a542a3357ac23
# Automatically determine the pppd plugin dir location, but will need to
# revbump this package whenever version of ppp package is updated.
do_configure() {
PPP_VERSION=$(awk '/VERSION/{print $3}' ${XBPS_CROSS_BASE}/usr/include/pppd/patchlevel.h)
./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
}
checksum=22d99e3fb0b5ea026303d39e7329f387c11ba9c59b035360d10e075b1dfea0cc