New package: openvpn-2.3.0 (via pancake).
This commit is contained in:
parent
3032b7b7b9
commit
4b6e3eb397
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=OpenVPN connection to %i
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --cd /etc/openvpn
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'openvpn'
|
||||||
|
pkgname=openvpn
|
||||||
|
version=2.3.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-password-save --enable-iproute2 --enable-systemd"
|
||||||
|
short_desc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)"
|
||||||
|
maintainer="pancake <pancake@nopcode.org>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.openvpn.net"
|
||||||
|
distfiles="http://swupdate.openvpn.org/community/releases/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=4602a8d0f66dfa6ac10b7abfeba35260d7d4c570948f6eba5f8216ffa3a2c490
|
||||||
|
makedepends="openssl-devel lzo-devel pam-devel systemd-devel iproute2"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall ${FILESDIR}/openvpn@.service 644 usr/lib/systemd/system
|
||||||
|
vmkdir usr/share/examples/${pkgname}
|
||||||
|
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
|
||||||
|
|
||||||
|
rm -rf ${DESTDIR}/usr/include
|
||||||
|
}
|
Loading…
Reference in New Issue