2013-02-04 13:39:30 +00:00
|
|
|
# Template file for 'openvpn'
|
|
|
|
pkgname=openvpn
|
2014-05-03 09:47:18 +00:00
|
|
|
version=2.3.4
|
2013-02-04 13:39:30 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-password-save --enable-iproute2 --enable-systemd"
|
2014-05-03 09:47:18 +00:00
|
|
|
hostmakedepends="iproute2"
|
|
|
|
makedepends="openssl-devel lzo-devel pam-devel systemd-devel iproute2"
|
2013-02-04 13:39:30 +00:00
|
|
|
short_desc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)"
|
2014-05-03 09:47:18 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-04 13:39:30 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.openvpn.net"
|
|
|
|
distfiles="http://swupdate.openvpn.org/community/releases/${pkgname}-${version}.tar.gz"
|
2014-05-03 09:47:18 +00:00
|
|
|
checksum=af506d5f48568fa8d2f2435cb3fad35f9a9a8f263999ea6df3ba296960cec85a
|
2013-02-04 13:39:30 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|