summaryrefslogtreecommitdiff
path: root/security/isakmpd/files/patch-sa.c
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-09-10 08:22:59 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-09-10 08:22:59 +0000
commit7aba119cf1e387827bfff61763ac008b2d9a70fe (patch)
treee01b2713d082bc264e7674ecb7957e4f4cd6d9ea /security/isakmpd/files/patch-sa.c
parentIncrement PORTREVISION because of changed plist, forgotten in last commit. (diff)
- Fix the "duplicate script for target <...> ignored" warnings on -current
caused by ${WRKSRC}/Makefile. - Fix the "extra tokens at end of #else directive" warnings in ${WRKSRC}/sysdep/freebsd/sysdep-os.h on -current. - Fix some format strings in ${WRKSRC}/conf.c and ${WRKSRC}/sa.c for 64 bit systems (obtained from NetBSD). - Move the delta patching ${WRKSRC}/Makefile from patch-ab (priviously patching ${WRKSRC}/samples/Makefile and ${WRKSRC}/Makefile) to patch-aa (patching ${WRKSRC}/Makefile). - Build and install certpatch(8), a quite usefull tool to add subjectAltName identities to X.509 certificates. Submitted by: Marius Strobl <marius@alchemy.franken.de>
Notes
Notes: svn path=/head/; revision=88906
Diffstat (limited to 'security/isakmpd/files/patch-sa.c')
-rw-r--r--security/isakmpd/files/patch-sa.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/isakmpd/files/patch-sa.c b/security/isakmpd/files/patch-sa.c
new file mode 100644
index 000000000000..95052dac11a1
--- /dev/null
+++ b/security/isakmpd/files/patch-sa.c
@@ -0,0 +1,25 @@
+--- 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