Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e5939e60da8fb3ab746dc67604530457cd444d1f
commit e5939e60da8fb3ab746dc67604530457cd444d1f Author: DeX77 <[email protected]> Date: Wed Mar 22 21:05:08 2017 +0100 openvpn-2.4.1-1-x86_64 * version bump diff --git a/source/network-extra/openvpn/FrugalBuild b/source/network-extra/openvpn/FrugalBuild index 7f9e13d..cb6d287 100644 --- a/source/network-extra/openvpn/FrugalBuild +++ b/source/network-extra/openvpn/FrugalBuild @@ -3,7 +3,7 @@ # Maintainer: DeX77 <[email protected]> pkgname=openvpn -pkgver=2.4.0 +pkgver=2.4.1 pkgrel=1 pkgdesc="A secure tunneling daemon" url="https://www.openvpn.net" @@ -12,9 +12,8 @@ makedepends=('ca-certificates') groups=('network-extra') archs=('i686' 'x86_64' 'arm') up2date="Flasttar https://openvpn.net/index.php/open-source/downloads.html" -source=(https://swupdate.openvpn.org/community/releases/$pkgname-$pkgver.tar.xz \ - [email protected]) -signatures=("${source[0]}.asc" "") +source=(https://swupdate.openvpn.org/community/releases/$pkgname-$pkgver.tar.xz) +signatures=("${source[0]}.asc") _F_systemd_units=(openvpn@=) _F_archive_grepv="alpha\|beta\|rc" Finclude systemd @@ -25,7 +24,7 @@ Fconfopts+=" --sysconfdir=/etc/openvpn \ --enable-systemd" build() { - Fbuild + SYSTEMD_UNIT_DIR="/lib/systemd/system" Fbuild Fmkdir {/etc,/var/run}/openvpn /usr/share/doc/$pkgname-$pkgver /var/lib/openvpn/chroot Fexec cp -ar sample/sample-{config-files,keys,scripts} $Fdestdir/usr/share/doc/$pkgname-$pkgver @@ -36,7 +35,6 @@ build() cat > $Fdestdir/etc/tmpfiles.d/openvpn.conf << EOF d $Flocalstatedir/run/openvpn 0755 root root - EOF - Ffile /lib/systemd/system/[email protected] Fgenscriptlet } diff --git a/source/network-extra/openvpn/[email protected] b/source/network-extra/openvpn/[email protected] deleted file mode 100644 index 210e749..0000000 --- a/source/network-extra/openvpn/[email protected] +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I -After=syslog.target network.target - -[Service] -Type=forking -PIDFile=/var/run/openvpn/%i.pid -ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf - -[Install] -WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
