nm-openvpn

This commit is contained in:
milisbir 2018-08-16 18:04:56 +03:00
parent 58df1cbd62
commit 01b3e0836c
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Tanım: NetworkManager OpenVPN Eklentisi
# URL: https://wiki.gnome.org/Projects/NetworkManager
# Paketçi: milisarge
# Gerekler: networkmanager intltool python3 git libsecret openvpn
# Grup: ağ
isim=networkmanager-openvpn
surum=1.8.4
devir=1
kaynak=(https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/-/archive/$surum/NetworkManager-openvpn-$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd network-manager-openvpn
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="$PKG" install
echo 'u nm-openvpn - "NetworkManager OpenVPN"' | install -Dm644 /dev/stdin "$PKG/usr/lib/sysusers.d/$isim.conf"
}