summaryrefslogtreecommitdiffstats
path: root/main/ipsec-tools/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-09 14:45:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-09 14:45:25 +0000
commit770bfbbb3473fc0574bd47944aea00a7eb53caf3 (patch)
treefb35f0089953cb892de92d8275337d3f3d73bec1 /main/ipsec-tools/APKBUILD
parent58c4a2ed5b63919fd9a7d78a14bd2b93eca96b05 (diff)
downloadaports-770bfbbb3473fc0574bd47944aea00a7eb53caf3.tar.bz2
aports-770bfbbb3473fc0574bd47944aea00a7eb53caf3.tar.xz
main/ipsec-tools: initial contact fix
Reset remote node contacted state if all related security associates are purged. Fixes issues with unstable internet connections.
Diffstat (limited to 'main/ipsec-tools/APKBUILD')
-rw-r--r--main/ipsec-tools/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/ipsec-tools/APKBUILD b/main/ipsec-tools/APKBUILD
index ef2e24923..4a5203d98 100644
--- a/main/ipsec-tools/APKBUILD
+++ b/main/ipsec-tools/APKBUILD
@@ -2,7 +2,7 @@
pkgname=ipsec-tools
pkgver=0.8_alpha20090903
_myver=0.8-alpha20090903
-pkgrel=2
+pkgrel=3
pkgdesc="User-space IPsec tools for various IPsec implementations"
url="http://ipsec-tools.sourceforge.net/"
license="BSD"
@@ -14,6 +14,7 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$_myver.tar.gz
racoon.confd
50-reverse-connect.patch
60-debug-quick.patch
+ initial-contact-fix.diff
"
build() {
@@ -22,6 +23,8 @@ build() {
msg "Applying $i..."
patch -p1 -i $i || return 1
done
+ patch -p0 -i "$srcdir"/initial-contact-fix.diff || return 1
+
sed -i 's:-Werror::g' configure
./configure --prefix=/usr \
@@ -48,4 +51,5 @@ md5sums="8ec28d4e89c0f5e49ae2caa7463fbcfd ipsec-tools-0.8-alpha20090903.tar.gz
860e8ca1d8c793dc3055b94fd88f02a3 racoon.initd
2d00250cf72da7f2f559c91b65a48747 racoon.confd
13bda94a598aabf593280e04ea16065d 50-reverse-connect.patch
-baa13d7f0f48955c792f7fcd42a8587a 60-debug-quick.patch"
+baa13d7f0f48955c792f7fcd42a8587a 60-debug-quick.patch
+fa96631e4471096d93af0e74968f6d16 initial-contact-fix.diff"