diff --git a/openvpn/.signature b/openvpn/.signature index b02e956a8..910314337 100644 --- a/openvpn/.signature +++ b/openvpn/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF338Xw1hdTCRlJyTCqOnB1Gw3bQw7rCe0VTPU7l7nEGgWGP/Gp85M3KSoaozb15bC+eYuSP8/PRP61M3HJtILbAU= -SHA256 (Pkgfile) = dbdf48ea0d6786bf54ea49d8be91969ceb3ffd2fd0be885146095705daff0c1b +RWSagIOpLGJF36W9L5jpOLi8g6iToJA3OauF87bI1kmw8Vky89T7fzD5LSSv8uy+ZBvxW469R1OAhloY75bVpMKCnEwcifL6HgE= +SHA256 (Pkgfile) = 0fff2d55cb9fdb74d90ea1f13d029e2f66bdfd1df455178aadbc5aff2ff099cd SHA256 (.footprint) = 3bfb73d36a30e2f37c10812ea6b713190e9187368f14336e5fe9e69c0fccef3b SHA256 (openvpn-2.5.0.tar.xz) = 029a426e44d656cb4e1189319c95fe6fc9864247724f5599d99df9c4c3478fbd SHA256 (openvpn) = 8f0b3932f074600cab2db334b33a7528ddcb4d1380e546f7d8103708413e89b0 diff --git a/openvpn/Pkgfile b/openvpn/Pkgfile index cf02b3cea..7211216df 100644 --- a/openvpn/Pkgfile +++ b/openvpn/Pkgfile @@ -1,23 +1,26 @@ -# Description: VPN Client -# URL: http://www.openvpn.net -# Maintainer: Thomas Penteker, tek at serverop dot de -# Depends on: lzo +# Description: A Secure TCP/UDP Tunneling Daemon +# URL: https://www.openvpn.net +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: linux-pam lzo name=openvpn version=2.5.0 release=1 -source=(http://swupdate.openvpn.net/community/releases/$name-$version.tar.xz \ - openvpn) +source=(https://swupdate.openvpn.net/community/releases/$name-$version.tar.xz + openvpn) build() { - install -D -m 755 openvpn $PKG/etc/rc.d/openvpn cd $name-$version + sed -i '/^CONFIGURE_DEFINES=/s/set/env/g' configure.ac + autoreconf --force --install + ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --enable-iproute2 \ - --disable-plugin-auth-pam + --enable-iproute2 make make DESTDIR=$PKG install - rm -r $PKG/usr/share + + rm -r $PKG/usr/share/doc + install -D -m 755 doc/openvpn.8 $PKG/usr/share/man/man8/openvpn.8 + install -D -m 755 $SRC/openvpn $PKG/etc/rc.d/openvpn }