diff options
Diffstat (limited to 'main/openvpn/APKBUILD')
-rw-r--r-- | main/openvpn/APKBUILD | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/main/openvpn/APKBUILD b/main/openvpn/APKBUILD index a8f1e18ff2..bd751f3111 100644 --- a/main/openvpn/APKBUILD +++ b/main/openvpn/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openvpn -pkgver=2.0.9 -pkgrel=2 +pkgver=2.1.1 +pkgrel=0 pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)" url="http://openvpn.sourceforge.net/" license="custom" @@ -10,17 +10,12 @@ depends="iproute2" makedepends="openssl-dev lzo-dev" install= source="http://$pkgname.net/release/$pkgname-$pkgver.tar.gz - openvpn-2.0.9-persistent.patch openvpn.initd " +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir"/$pkgname-$pkgver - for i in ../*.patch; do - msg "Applying $i..." - patch -p1 < $i || return 1 - done - + cd "$_builddir" ./configure --prefix=/usr \ --mandir=/usr/share/man \ --enable-ssl \ @@ -29,10 +24,13 @@ build() { --enable-iproute2 make || return 1 - cd plugin/down-root make || return 1 cd ../.. +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 @@ -54,8 +52,6 @@ build() { # install init.d install -Dm755 ../openvpn.initd "$pkgdir"/etc/init.d/openvpn - } -md5sums="60745008b90b7dbe25fe8337c550fec6 openvpn-2.0.9.tar.gz -a9075ceb8552980519132cc27fda85ac openvpn-2.0.9-persistent.patch -793184e36ad09b22cdb19b4294131508 openvpn.initd" +md5sums="b273ed2b5ec8616fb9834cde8634bce7 openvpn-2.1.1.tar.gz +020376f1e7ed6b4adbe20cf5ff774856 openvpn.initd" |