From 66f2688256c33df52fe7f5a8f6a9584215e5e117 Mon Sep 17 00:00:00 2001 From: Munechika SUMIKAWA Date: Thu, 9 Aug 2001 18:30:10 +0000 Subject: [PATCH] Make buildable on 4-STABLE PR: ports/29507, ports/29535 Obtained from: NetBSD --- security/racoon/Makefile | 1 + security/racoon/files/patch-ae | 16 ++++++++++++++++ security/racoon/files/patch-af | 14 ++++++++++++++ security/racoon2/Makefile | 1 + security/racoon2/files/patch-ae | 16 ++++++++++++++++ security/racoon2/files/patch-af | 14 ++++++++++++++ 6 files changed, 62 insertions(+) create mode 100644 security/racoon/files/patch-ae create mode 100644 security/racoon/files/patch-af create mode 100644 security/racoon2/files/patch-ae create mode 100644 security/racoon2/files/patch-af diff --git a/security/racoon/Makefile b/security/racoon/Makefile index f3d83385357a..3756ab5d9319 100644 --- a/security/racoon/Makefile +++ b/security/racoon/Makefile @@ -7,6 +7,7 @@ PORTNAME= racoon PORTVERSION= 20010802a +PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/ diff --git a/security/racoon/files/patch-ae b/security/racoon/files/patch-ae new file mode 100644 index 000000000000..66fed09eb1c8 --- /dev/null +++ b/security/racoon/files/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.9 2001/08/02 12:44:18 itojun Exp $ + +--- ../libipsec/key_debug.c- Thu Aug 2 21:38:17 2001 ++++ ../libipsec/key_debug.c Thu Aug 2 21:38:44 2001 +@@ -392,9 +392,8 @@ + + printf("sadb_x_sa2{ mode=%u reqid=%u\n", + sa2->sadb_x_sa2_mode, sa2->sadb_x_sa2_reqid); +- printf(" reserved1=%u reserved2=%u sequence=%u }\n", +- sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2, +- sa2->sadb_x_sa2_sequence); ++ printf(" reserved1=%u reserved2=%u }\n", ++ sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2); + + return; + } diff --git a/security/racoon/files/patch-af b/security/racoon/files/patch-af new file mode 100644 index 000000000000..d4563bc11a42 --- /dev/null +++ b/security/racoon/files/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1 2001/08/02 12:44:18 itojun Exp $ + +--- ../libipsec/pfkey_dump.c- Thu Aug 2 21:38:21 2001 ++++ ../libipsec/pfkey_dump.c Thu Aug 2 21:38:34 2001 +@@ -299,8 +299,7 @@ + } + + /* replay windoe size & flags */ +- printf("\tseq=0x%08x replay=%u flags=0x%08x ", +- m_sa2->sadb_x_sa2_sequence, ++ printf("\treplay=%u flags=0x%08x ", + m_sa->sadb_sa_replay, + m_sa->sadb_sa_flags); + diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile index f3d83385357a..3756ab5d9319 100644 --- a/security/racoon2/Makefile +++ b/security/racoon2/Makefile @@ -7,6 +7,7 @@ PORTNAME= racoon PORTVERSION= 20010802a +PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/ diff --git a/security/racoon2/files/patch-ae b/security/racoon2/files/patch-ae new file mode 100644 index 000000000000..66fed09eb1c8 --- /dev/null +++ b/security/racoon2/files/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.9 2001/08/02 12:44:18 itojun Exp $ + +--- ../libipsec/key_debug.c- Thu Aug 2 21:38:17 2001 ++++ ../libipsec/key_debug.c Thu Aug 2 21:38:44 2001 +@@ -392,9 +392,8 @@ + + printf("sadb_x_sa2{ mode=%u reqid=%u\n", + sa2->sadb_x_sa2_mode, sa2->sadb_x_sa2_reqid); +- printf(" reserved1=%u reserved2=%u sequence=%u }\n", +- sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2, +- sa2->sadb_x_sa2_sequence); ++ printf(" reserved1=%u reserved2=%u }\n", ++ sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2); + + return; + } diff --git a/security/racoon2/files/patch-af b/security/racoon2/files/patch-af new file mode 100644 index 000000000000..d4563bc11a42 --- /dev/null +++ b/security/racoon2/files/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1 2001/08/02 12:44:18 itojun Exp $ + +--- ../libipsec/pfkey_dump.c- Thu Aug 2 21:38:21 2001 ++++ ../libipsec/pfkey_dump.c Thu Aug 2 21:38:34 2001 +@@ -299,8 +299,7 @@ + } + + /* replay windoe size & flags */ +- printf("\tseq=0x%08x replay=%u flags=0x%08x ", +- m_sa2->sadb_x_sa2_sequence, ++ printf("\treplay=%u flags=0x%08x ", + m_sa->sadb_sa_replay, + m_sa->sadb_sa_flags); +