2013-02-04 13:39:30 +00:00
|
|
|
# Template file for 'openvpn'
|
|
|
|
pkgname=openvpn
|
2013-05-04 15:51:06 +00:00
|
|
|
version=2.3.1
|
2013-02-04 13:39:30 +00:00
|
|
|
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"
|
2013-05-04 15:51:06 +00:00
|
|
|
checksum=bd2d7d85b39d4586bcdb74b36eb48d0ac4ab1e6812654c719b04826fdc70fb3c
|
2013-02-04 13:39:30 +00:00
|
|
|
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
|
|
|
|
}
|
2013-04-14 03:01:48 +00:00
|
|
|
|
|
|
|
openvpn_package() {
|
|
|
|
pkg_install() {
|
2013-05-04 15:51:06 +00:00
|
|
|
vmove all
|
2013-04-14 03:01:48 +00:00
|
|
|
}
|
|
|
|
}
|