aboutsummaryrefslogtreecommitdiffstats
path: root/main/ipsec-tools
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-12-13 11:23:30 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-12-13 11:24:31 +0200
commit6f4b9f635fd54aa08ea8e90f52e3f824ad42dda4 (patch)
tree8dfb4dcd7035f3bd4e9a54b811a17aec0e2af4af /main/ipsec-tools
parent9b70ec32d12fb853a39d1612a75d96c1065c038b (diff)
downloadaports-6f4b9f635fd54aa08ea8e90f52e3f824ad42dda4.tar.bz2
aports-6f4b9f635fd54aa08ea8e90f52e3f824ad42dda4.tar.xz
main/ipsec-tools: add patch to execute phase1 dead hook on initial-contact
Diffstat (limited to 'main/ipsec-tools')
-rw-r--r--main/ipsec-tools/90-dead-on-initial-contact.patch11
-rw-r--r--main/ipsec-tools/APKBUILD6
2 files changed, 15 insertions, 2 deletions
diff --git a/main/ipsec-tools/90-dead-on-initial-contact.patch b/main/ipsec-tools/90-dead-on-initial-contact.patch
new file mode 100644
index 0000000000..9554ae3d32
--- /dev/null
+++ b/main/ipsec-tools/90-dead-on-initial-contact.patch
@@ -0,0 +1,11 @@
+--- a/src/racoon/isakmp_inf.c 15 Mar 2011 13:20:14 -0000 1.47
++++ b/src/racoon/isakmp_inf.c 10 Aug 2011 08:42:20 -0000
+@@ -1248,6 +1248,8 @@
+ if (f_local)
+ return 0;
+
++ script_hook(iph1, SCRIPT_PHASE1_DEAD);
++
+ #if 0
+ loc = racoon_strdup(saddrwop2str(iph1->local));
+ rem = racoon_strdup(saddrwop2str(iph1->remote));
diff --git a/main/ipsec-tools/APKBUILD b/main/ipsec-tools/APKBUILD
index 99804bce51..9076efd534 100644
--- a/main/ipsec-tools/APKBUILD
+++ b/main/ipsec-tools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ipsec-tools
pkgver=0.8.0
-pkgrel=3
+pkgrel=4
pkgdesc="User-space IPsec tools for various IPsec implementations"
url="http://ipsec-tools.sourceforge.net/"
arch="all"
@@ -16,6 +16,7 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
50-reverse-connect.patch
70-defer-isakmp-ident-handling.patch
75-racoonctl-rcvbuf.patch
+ 90-dead-on-initial-contact.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -62,4 +63,5 @@ md5sums="c9a318cdbc0946f4e51464866d529739 ipsec-tools-0.8.0.tar.gz
79b919ab23080f54dc3e7686877ca6bd 20-grekey-support.patch
f97205eea3dc68d2437a2ad8720f4520 50-reverse-connect.patch
94773c94233e14cdce0fa02ff780a43e 70-defer-isakmp-ident-handling.patch
-2d5d24c4a3684a38584f88720f71c7d6 75-racoonctl-rcvbuf.patch"
+2d5d24c4a3684a38584f88720f71c7d6 75-racoonctl-rcvbuf.patch
+1d0d8ef21c65138d40f902502412da9c 90-dead-on-initial-contact.patch"