diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2016-12-30 15:11:15 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-12-31 23:34:41 +0100 |
commit | 70caeee6034888ddd8ce1c44cc6643b5de96b220 (patch) | |
tree | fd68930a46dc687893cb2af49a309c36ce882e46 /main/openvpn | |
parent | 9c00c387aff6f08e67ea684e7db8e1cf63c9f1ec (diff) | |
download | aports-70caeee6034888ddd8ce1c44cc6643b5de96b220.tar.bz2 aports-70caeee6034888ddd8ce1c44cc6643b5de96b220.tar.xz |
main/openvpn: upgrade to 2.4.0
Diffstat (limited to 'main/openvpn')
-rw-r--r-- | main/openvpn/APKBUILD | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/main/openvpn/APKBUILD b/main/openvpn/APKBUILD index c808e2ff23..8800bd6b59 100644 --- a/main/openvpn/APKBUILD +++ b/main/openvpn/APKBUILD @@ -1,12 +1,13 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openvpn -pkgver=2.3.14 +pkgver=2.4.0 pkgrel=0 pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)" url="http://openvpn.sourceforge.net/" arch="all" license="custom" -subpackages="$pkgname-dev $pkgname-doc $pkgname-auth-pam:pam" +subpackages="$pkgname-doc $pkgname-dev $pkgname-auth-pam:pam" depends="iproute2" makedepends="libressl-dev lzo-dev linux-pam-dev linux-headers" install="$pkgname.pre-install" @@ -16,20 +17,10 @@ source="http://swupdate.openvpn.net/community/releases/$pkgname-$pkgver.tar.gz openvpn.up openvpn.down " - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -41,13 +32,11 @@ build() { --enable-password-save \ --enable-iproute2 \ || return 1 - make || return 1 - make -C "$_builddir"/src/plugins/down-root || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 # install samples @@ -73,17 +62,17 @@ pam() { "$subpkgdir"/usr/lib/openvpn/plugins/ } -md5sums="5797885e15c48fd9ef1c7fde7552aed5 openvpn-2.3.14.tar.gz +md5sums="e4b3932000a17d782b72e094752619ec openvpn-2.4.0.tar.gz 5098518a5749197148132593072e1b3b openvpn.initd 9eca88cac6294027ec1bb7be74185c3a openvpn.confd dc72fecd1a1bcef937603057cd6574b1 openvpn.up 4e9e45e1041ac6708c090af3468cb79d openvpn.down" -sha256sums="2b55b93424e489ab8b78d0ed75e8f992ab34052cd666bc4d6a41441919143b97 openvpn-2.3.14.tar.gz +sha256sums="f21db525b3c03a9bbd0a7ab6d0e4fbaf8902f238bf53b8bc4e04f834e4e7caa4 openvpn-2.4.0.tar.gz fcb9f5e224dc3e73fddf537a15dd9c3c018002d499fa6a4680e747f42bb99609 openvpn.initd 330149a83684ddabe413d134d4c8efad4c88b18c2ab67165014deff5f7fffad2 openvpn.confd 848da0929c37b2112769232fbbdf61961b6107c6726d4b74d1ceb034b39ad5dd openvpn.up 972a368b57daf60e3a679e3c80dd9a0cba15d0c66421e4218967d83dcddd9c80 openvpn.down" -sha512sums="0ec9483be5b1b7ea6c670c724369c5bed799a9f81375c0c4b3f34fa1ebcd4bff60e37668bbbcab6f1d6d66a807da719e44ee11c2c12f2eb7a3277936549f7bd1 openvpn-2.3.14.tar.gz +sha512sums="4996a52cb912f2ad60a90f32420541f0636c03cc250c2c6687dc5594fe77d6629dc59c13dd2c52e09c9ff4eb39c6afbbb381204b6b5a7c8b27ac3c8b711dd2ad openvpn-2.4.0.tar.gz 8a4080b7784faa156aa0775f7b73fe5c054707270af2a3139150629450ad0f1f5954dce5fc850f1bfd7b93bcc47ed4bc9b22159c536874698c78d81ba99338a7 openvpn.initd 982ade883afbe2e656a9cbbe36c31c0e8b4f7bbbe5b63df9f7b834f02a9153032fb7445c85d3e91f62c68a7ddd13c3afbf420fb71cdd13d9c4b69f867bdd9f37 openvpn.confd f904d6125ed1ddb48ea632c3b290a7a4a7a7436be0d46b323fc8c92f919f9d076fdc78ff7bed0dd65675f0bc3559e531e372b805fc11ef287efeeb4d54fe52f4 openvpn.up |