pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/ipsec-tools/patches Fix minor LP64 problems
details: https://anonhg.NetBSD.org/pkgsrc/rev/c094026f116a
branches: trunk
changeset: 483328:c094026f116a
user: manu <manu%pkgsrc.org@localhost>
date: Wed Nov 10 16:53:51 2004 +0000
description:
Fix minor LP64 problems
diffstat:
security/ipsec-tools/patches/patch-aa | 25 +++++++++++++++++++++++++
security/ipsec-tools/patches/patch-ab | 14 ++++++++++++++
2 files changed, 39 insertions(+), 0 deletions(-)
diffs (47 lines):
diff -r b91ab85d1245 -r c094026f116a security/ipsec-tools/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ipsec-tools/patches/patch-aa Wed Nov 10 16:53:51 2004 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1 2004/11/10 16:53:51 manu Exp $
+--- src/racoon/ipsec_doi.c.orig 2004-11-10 19:03:38.000000000 +0100
++++ src/racoon/ipsec_doi.c 2004-11-10 19:03:39.000000000 +0100
+@@ -350,9 +350,9 @@
+ authmethod = s->authmethod;
+ #endif
+ plog(LLV_DEBUG, LOCATION, NULL, "Compared: DB:Peer\n");
+ plog(LLV_DEBUG, LOCATION, NULL, "(lifetime = %ld:%ld)\n",
+- s->lifetime, tsap->lifetime);
++ (long)s->lifetime, (long)tsap->lifetime);
+ plog(LLV_DEBUG, LOCATION, NULL, "(lifebyte = %zu:%zu)\n",
+ s->lifebyte, tsap->lifebyte);
+ plog(LLV_DEBUG, LOCATION, NULL, "enctype = %s:%s\n",
+ s_oakley_attr_v(OAKLEY_ATTR_ENC_ALG,
+@@ -3820,9 +3820,9 @@
+ plog(LLV_ERROR, LOCATION, NULL,
+ "lifetime mismatched "
+ "in a proposal, "
+ "prev:%ld curr:%u.\n",
+- pp->lifetime, t);
++ (long)pp->lifetime, t);
+ goto end;
+ }
+ break;
+ case IPSECDOI_ATTR_SA_LD_TYPE_KB:
diff -r b91ab85d1245 -r c094026f116a security/ipsec-tools/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ipsec-tools/patches/patch-ab Wed Nov 10 16:53:51 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2004/11/10 16:53:51 manu Exp $
+--- src/racoon/remoteconf.c.orig 2004-11-10 19:04:19.000000000 +0100
++++ src/racoon/remoteconf.c 2004-11-10 19:04:26.000000000 +0100
+@@ -544,9 +544,9 @@
+ prop->prop_no, prop->trns_no,
+ saddr2str(prop->rmconf->remote));
+ plog(LLV_INFO, LOCATION, NULL, "\tproposal {\n");
+ plog(LLV_INFO, LOCATION, NULL, "\t\tlifetime time %lu sec;\n",
+- prop->lifetime);
++ (long)prop->lifetime);
+ plog(LLV_INFO, LOCATION, NULL, "\t\tlifetime bytes %zd;\n",
+ prop->lifebyte);
+ plog(LLV_INFO, LOCATION, NULL, "\t\tdh_group %s;\n",
+ alg_oakley_dhdef_name(prop->dh_group));
Home |
Main Index |
Thread Index |
Old Index