aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-01 20:46:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-01 20:46:04 +0000
commitf9c8c8996270f261cab1187dcff676f2f62ff630 (patch)
tree8965b52ad8eedcec57104823e865b1d74474ad42 /testing
parentd62675e787825343df9e740d56b46af11475a0f9 (diff)
downloadaports-f9c8c8996270f261cab1187dcff676f2f62ff630.tar.bz2
aports-f9c8c8996270f261cab1187dcff676f2f62ff630.tar.xz
testing/openvpn: upgrade to 2.1.1
Diffstat (limited to 'testing')
-rw-r--r--testing/openvpn/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/testing/openvpn/APKBUILD b/testing/openvpn/APKBUILD
index 365b639352..bd751f3111 100644
--- a/testing/openvpn/APKBUILD
+++ b/testing/openvpn/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openvpn
-pkgver=2.1_rc19
-pkgrel=1
+pkgver=2.1.1
+pkgrel=0
pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)"
url="http://openvpn.sourceforge.net/"
license="custom"
@@ -13,9 +13,9 @@ source="http://$pkgname.net/release/$pkgname-$pkgver.tar.gz
openvpn.initd
"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
-
+ cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-ssl \
@@ -24,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
@@ -49,7 +52,6 @@ build() {
# install init.d
install -Dm755 ../openvpn.initd "$pkgdir"/etc/init.d/openvpn
-
}
-md5sums="ba2ee667a8b7606b125b7d32f47ca578 openvpn-2.1_rc19.tar.gz
+md5sums="b273ed2b5ec8616fb9834cde8634bce7 openvpn-2.1.1.tar.gz
020376f1e7ed6b4adbe20cf5ff774856 openvpn.initd"