Commit 5b0ed71c authored by Jakub Jirutka's avatar Jakub Jirutka 🇺🇦
Browse files

community/connman: build l2tp and vpnc plugins

parent 3786c4c1
......@@ -8,12 +8,14 @@ url="https://01.org/connman"
arch="all"
license="GPL-2.0-only"
makedepends="autoconf automake dbus-dev glib-dev iptables-dev libnftnl-dev libtool
readline-dev libmnl-dev openvpn wpa_supplicant"
readline-dev libmnl-dev openvpn ppp-dev vpnc wpa_supplicant xl2tpd"
install="$pkgname.post-upgrade"
subpackages="
$pkgname-iptables
$pkgname-nftables
$pkgname-l2tp
$pkgname-openvpn
$pkgname-vpnc
$pkgname-wireguard
$pkgname-dev
$pkgname-doc
......@@ -51,6 +53,8 @@ _build() {
--enable-nmcompat \
--enable-wireguard \
--enable-openvpn \
--enable-l2tp \
--enable-vpnc \
"$@"
make
}
......@@ -96,6 +100,14 @@ nftables() {
install -D -m 755 src/connmand "$subpkgdir"/usr/sbin/connmand
}
l2tp() {
pkgdesc="L2TP VPN plugin for ConnMan"
depends="$pkgname=$pkgver-r$pkgrel xl2tpd"
amove usr/lib/connman/plugins-vpn/l2tp.so
amove usr/lib/connman/scripts/libppp-plugin.so
}
openvpn() {
pkgdesc="OpenVPN plugin for ConnMan"
depends="$pkgname=$pkgver-r$pkgrel openvpn"
......@@ -105,6 +117,13 @@ openvpn() {
amove usr/lib/connman/scripts/openvpn-script
}
vpnc() {
pkgdesc="IPsec (Cisco/Juniper) VPN plugin for ConnMan"
depends="$pkgname=$pkgver-r$pkgrel vpnc"
amove usr/lib/connman/plugins-vpn/vpnc.so
}
wireguard() {
pkgdesc="WireGuard VPN plugin for ConnMan"
depends="$pkgname=$pkgver-r$pkgrel"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment