summaryrefslogtreecommitdiff
path: root/security/isakmpd
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-02-08 17:06:26 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-02-08 17:06:26 +0000
commit29e312f193319e327839c53a20345c94ff6e73fb (patch)
treec0f8dc86e6b6bbc8140f274dfd46317aebc13be2 /security/isakmpd
parent07f0e22466bb2fd54c8b3cf9dc2a515041ba636a (diff)
downloadpkgsrc-29e312f193319e327839c53a20345c94ff6e73fb.tar.gz
fix some format strings for 64 bit systems so this can build with -Werror
Diffstat (limited to 'security/isakmpd')
-rw-r--r--security/isakmpd/distinfo4
-rw-r--r--security/isakmpd/patches/patch-af11
-rw-r--r--security/isakmpd/patches/patch-ag27
3 files changed, 41 insertions, 1 deletions
diff --git a/security/isakmpd/distinfo b/security/isakmpd/distinfo
index ffccf37083a..c6c4dbdb21f 100644
--- a/security/isakmpd/distinfo
+++ b/security/isakmpd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2002/11/18 12:07:41 martti Exp $
+$NetBSD: distinfo,v 1.12 2003/02/08 17:06:26 dmcmahill Exp $
SHA1 (isakmpd-20021118.tar.gz) = 806ed2f922ccc31c9bf9d4eeec90bddc34995565
Size (isakmpd-20021118.tar.gz) = 348169 bytes
@@ -6,3 +6,5 @@ SHA1 (patch-aa) = 22903f2d4ba4f92f716920a121d861550bd8bc51
SHA1 (patch-ab) = f30c790f42d72866e95092848e102e4c3728365c
SHA1 (patch-ad) = 8c477b99fd3d82ccb52b01374450295cc25244c0
SHA1 (patch-ae) = 5b7488fb50f2b3970c05e7dcfcf9979a05cb5719
+SHA1 (patch-af) = 5ef6311e2b065ee0ac61bdbd48f38d76291d68dc
+SHA1 (patch-ag) = f0af67b96e2f72333e79486495ce6abf1b31b9c1
diff --git a/security/isakmpd/patches/patch-af b/security/isakmpd/patches/patch-af
new file mode 100644
index 00000000000..415705b3bf8
--- /dev/null
+++ b/security/isakmpd/patches/patch-af
@@ -0,0 +1,11 @@
+$NetBSD: patch-af,v 1.1 2003/02/08 17:06:26 dmcmahill Exp $
+
+--- conf.c.orig Mon Nov 18 06:58:04 2002
++++ conf.c Sat Feb 8 11:39:43 2003
+@@ -254,5 +254,5 @@
+ if (!section)
+ {
+- log_print ("conf_parse_line: %d: malloc (%d) failed", ln, i);
++ log_print ("conf_parse_line: %d: malloc (%ld) failed", ln, (long) i);
+ return;
+ }
diff --git a/security/isakmpd/patches/patch-ag b/security/isakmpd/patches/patch-ag
new file mode 100644
index 00000000000..01b1fc472dc
--- /dev/null
+++ b/security/isakmpd/patches/patch-ag
@@ -0,0 +1,27 @@
+$NetBSD: patch-ag,v 1.1 2003/02/08 17:06:26 dmcmahill Exp $
+
+--- sa.c.orig Wed Nov 13 04:31:38 2002
++++ sa.c Sat Feb 8 12:04:21 2003
+@@ -440,6 +440,6 @@
+ LOG_DBG ((cls, level, "%s: msgid %08x refcnt %d", header,
+ decode_32 (sa->message_id), sa->refcnt));
+- LOG_DBG ((cls, level, "%s: life secs %llu kb %llu", header, sa->seconds,
+- sa->kilobytes));
++ LOG_DBG ((cls, level, "%s: life secs %llu kb %llu", header, (long long unsigned) sa->seconds,
++ (long long unsigned) sa->kilobytes));
+ for (proto = TAILQ_FIRST (&sa->protos); proto;
+ proto = TAILQ_NEXT (proto, link))
+@@ -1040,5 +1040,5 @@
+ LOG_DBG ((LOG_TIMER, 95,
+ "sa_setup_expirations: SA %p soft timeout in %llu seconds",
+- sa, seconds));
++ sa, (long long unsigned) seconds));
+ expiration.tv_sec += seconds;
+ sa->soft_death
+@@ -1058,5 +1058,5 @@
+ LOG_DBG ((LOG_TIMER, 95,
+ "sa_setup_expirations: SA %p hard timeout in %llu seconds",
+- sa, sa->seconds));
++ sa, (long long unsigned) sa->seconds));
+ expiration.tv_sec += sa->seconds;
+ sa->death