# Maintainer: PktSurf app=openvpn version=2.4.9 build=1sml homepage="https://openvpn.net/" download="https://github.com/OpenVPN/openvpn/archive/refs/tags/v$version.tar.gz" desc="Full-featured SSL-based VPN suite" requires="lzo lz4 openssl iproute2" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc/openvpn \ --enable-iproute2 \ --disable-plugin-auth-pam make make install DESTDIR=$pkg cp COPY* $pkgdocs/ preprunitservice -s openvpn -d mkfinalpkg } sha512sums=" 7415874cef32156e0384c6b21a370e7416afa4140087ceebae23e02b13da1ee38a7049236bb890ec4f33fb183e5f48c6d9d29663c5accc0ddedc77f998c6bebf openvpn-2.4.9.tar.lz "