aboutsummaryrefslogtreecommitdiffstats
path: root/testing/anytun
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 07:25:19 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 07:25:24 +0000
commit2b0c48acbae952caae1eb1ab40b50d742087055b (patch)
tree44caab6c07ddc332c7410fc4a30ada6c1fdff167 /testing/anytun
parent8067852f7e000d6a6bb5ebbbb9e20327b54da37e (diff)
downloadaports-2b0c48acbae952caae1eb1ab40b50d742087055b.tar.bz2
aports-2b0c48acbae952caae1eb1ab40b50d742087055b.tar.xz
testing/anytun: upgrade to 0.3.6
Diffstat (limited to 'testing/anytun')
-rw-r--r--testing/anytun/APKBUILD12
-rw-r--r--testing/anytun/fix-werror-compile-flags.patch15
2 files changed, 23 insertions, 4 deletions
diff --git a/testing/anytun/APKBUILD b/testing/anytun/APKBUILD
index 67333c6ff6..d4cb1f2536 100644
--- a/testing/anytun/APKBUILD
+++ b/testing/anytun/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=anytun
-pkgver=0.3.5
+pkgver=0.3.6
pkgrel=0
pkgdesc="Secure anycast tunneling protocol implementation for flexible and fault-tolerant VPNs"
url="http://www.anytun.org"
@@ -14,6 +14,7 @@ install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.anytun.org/download/$pkgname-$pkgver.tar.gz
boost-mt.patch
+ fix-werror-compile-flags.patch
$pkgname.initd"
_builddir="$srcdir"/$pkgname-$pkgver/src
@@ -46,12 +47,15 @@ package() {
install -Dm 755 "$srcdir"/$pkgname.initd "${pkgdir}"/etc/init.d/$pkgname
}
-md5sums="beb1a6f84c2997a052d2446337404603 anytun-0.3.5.tar.gz
+md5sums="90683b03a3f438639c5f2de0730dcf5e anytun-0.3.6.tar.gz
d7220eae296c814ee100d8ca1f5cf19a boost-mt.patch
+3122d09abb4d8f24043e11bdbf5b8229 fix-werror-compile-flags.patch
d429ba9feaaf15bb268b811eccc71862 anytun.initd"
-sha256sums="97f88c9a5ba0eedc3a10fd202d526af8817966ae2eac103738aaef60edb4dea7 anytun-0.3.5.tar.gz
+sha256sums="afef9ba3002df9d1bd2eba2ec2ab9a9551a0822bfa9664bfbc3c97a6e2e313a8 anytun-0.3.6.tar.gz
31dca9b29da41ed338d12ff96171b1f2a84013f689af0965c2d97f2fbcf0b499 boost-mt.patch
+a07966d0866dc18b88682fffa3892535ed6422cb1200c7bdbeec2a019a8a34b4 fix-werror-compile-flags.patch
f2390be3b27d2a208e4d77bf776d62c2dd9a92a79a30e5394188b82af6f55037 anytun.initd"
-sha512sums="9bfa6bcb86ba77cb3f16b447a9fd7ecd241cf64e4ed8b5f509ab1a945defa20a2c3906f8c0a9be81261f35cc2b4dbac7686cf82a510e35e2a2bd79dd6d0f8d9d anytun-0.3.5.tar.gz
+sha512sums="470bec0ed96fd8cd7921d8a110272578020b666e8852c9e52a88da9957b2d641cd2b43cc8c9e453331a9f848282ea4516e304d71add6fea71a7ce3e6d76117b1 anytun-0.3.6.tar.gz
e19522a26529bb16591ed724d499c3b7fd7060e937eadc93f7719c29aaa604b953c59b94024efe2227331741ba5bbde084619dd42071cf086ef803906e6678a7 boost-mt.patch
+f9705cf1879a8f50bc53fae04b48a88baa9aa5f7f1035b0ec737bdacaa21007da76b8985e1b9cba05936c9dc94200cb3c4ff39492755c8f219e42ee73ecf1431 fix-werror-compile-flags.patch
a31455058e0ac60ed9457c79eea789ce19ba49abc200b59c0d8390eb0c3b6f09813177f9b679fb8ac69ac7b0be862e4604d19298ae4cd79925511fff3963e93d anytun.initd"
diff --git a/testing/anytun/fix-werror-compile-flags.patch b/testing/anytun/fix-werror-compile-flags.patch
new file mode 100644
index 0000000000..919a74b24e
--- /dev/null
+++ b/testing/anytun/fix-werror-compile-flags.patch
@@ -0,0 +1,15 @@
+diff --git a/src/configure b/src/configure
+index 65a0c74..357628e 100755
+--- a/src/configure
++++ b/src/configure
+@@ -217,8 +217,8 @@ if [ -n "$ERRORS" ] && [ $EBUILD_COMPAT -ne 1 ]; then
+ fi
+
+ if [ $USE_CLANG -eq 0 ]; then
+- CXXFLAGS='-g -Wall -Werror -Wno-error=unused-variable -O2'
+- LDFLAGS='-g -Wall -Werror -O2'
++ CXXFLAGS='-g -Wall -Wno-error=unused-variable -O2'
++ LDFLAGS='-g -Wall -O2'
+ COMPILER='g++'
+ else
+ CXXFLAGS='-g -O2'