summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2004-12-16 21:41:26 +0000
committerPeter Johanson <latexer@gentoo.org>2004-12-16 21:41:26 +0000
commit5aa96fab8a8b42183d1569429de1f1f53847ace2 (patch)
tree83b88808359db7263414e23775ff57fe8d14881e /net-firewall/ipsec-tools/files
parentfix for -O3 & P4 (diff)
downloadhistorical-5aa96fab8a8b42183d1569429de1f1f53847ace2.tar.gz
historical-5aa96fab8a8b42183d1569429de1f1f53847ace2.tar.bz2
historical-5aa96fab8a8b42183d1569429de1f1f53847ace2.zip
Bump to new release. Add my self to the maintainers list.
Diffstat (limited to 'net-firewall/ipsec-tools/files')
-rw-r--r--net-firewall/ipsec-tools/files/digest-ipsec-tools-0.41
-rw-r--r--net-firewall/ipsec-tools/files/ipsec-tools-0.4-gcc34.diff31
2 files changed, 32 insertions, 0 deletions
diff --git a/net-firewall/ipsec-tools/files/digest-ipsec-tools-0.4 b/net-firewall/ipsec-tools/files/digest-ipsec-tools-0.4
new file mode 100644
index 000000000000..0855393d1461
--- /dev/null
+++ b/net-firewall/ipsec-tools/files/digest-ipsec-tools-0.4
@@ -0,0 +1 @@
+MD5 dceea3b72328a580cf156d74cbee6f80 ipsec-tools-0.4.tar.gz 915420
diff --git a/net-firewall/ipsec-tools/files/ipsec-tools-0.4-gcc34.diff b/net-firewall/ipsec-tools/files/ipsec-tools-0.4-gcc34.diff
new file mode 100644
index 000000000000..7f6caec6b2f0
--- /dev/null
+++ b/net-firewall/ipsec-tools/files/ipsec-tools-0.4-gcc34.diff
@@ -0,0 +1,31 @@
+diff -aur ipsec-tools-0.4-orig/src/racoon/sockmisc.c ipsec-tools-0.4/src/racoon/sockmisc.c
+--- ipsec-tools-0.4-orig/src/racoon/sockmisc.c 2004-11-16 11:15:42.000000000 -0500
++++ ipsec-tools-0.4/src/racoon/sockmisc.c 2004-12-16 14:42:25.543888328 -0500
+@@ -834,7 +834,7 @@
+ if (saddr == NULL)
+ return NULL;
+
+- GETNAMEINFO(saddr, addr, NULL);
++ GETNAMEINFO_NULL(saddr, addr);
+ snprintf(buf, sizeof(buf), "%s", addr);
+
+ return buf;
+diff -aur ipsec-tools-0.4-orig/src/racoon/var.h ipsec-tools-0.4/src/racoon/var.h
+--- ipsec-tools-0.4-orig/src/racoon/var.h 2004-06-11 12:00:17.000000000 -0400
++++ ipsec-tools-0.4/src/racoon/var.h 2004-12-16 14:42:14.983493752 -0500
+@@ -82,6 +82,15 @@
+ } \
+ } while (0);
+
++#define GETNAMEINFO_NULL(x, y) \
++do { \
++ if (getnameinfo((x), sysdep_sa_len(x), (y), sizeof(y), NULL, 0, \
++ NIFLAGS) != 0) { \
++ if (y) \
++ strncpy((y), "(invalid)", sizeof(y)); \
++ } \
++} while (0);
++
+ #include <sys/queue.h>
+ #ifndef LIST_FOREACH
+ #define LIST_FOREACH(elm, head, field) \