aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-10-16 21:02:15 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-10-16 21:02:15 +0000
commitf5b03a109828868daf29692541ffc011d1fb1fc9 (patch)
tree24b942e5d5382eed20e8e5f49ce8c648c2a59f73 /security
parentd94079c78ea1fc61fa39c35c0afb80378346d767 (diff)
downloadports-f5b03a109828868daf29692541ffc011d1fb1fc9.tar.gz
ports-f5b03a109828868daf29692541ffc011d1fb1fc9.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/racoon/Makefile8
-rw-r--r--security/racoon/distinfo2
-rw-r--r--security/racoon/files/patch-aa12
-rw-r--r--security/racoon/files/patch-ac4
-rw-r--r--security/racoon/pkg-plist1
-rw-r--r--security/racoon2/Makefile8
-rw-r--r--security/racoon2/distinfo2
-rw-r--r--security/racoon2/files/patch-aa12
-rw-r--r--security/racoon2/files/patch-ac4
-rw-r--r--security/racoon2/pkg-plist1
10 files changed, 36 insertions, 18 deletions
diff --git a/security/racoon/Makefile b/security/racoon/Makefile
index f501a13b3362..e89dff031eb0 100644
--- a/security/racoon/Makefile
+++ b/security/racoon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= racoon
-PORTVERSION= 20000719a
+PORTVERSION= 20001017b
CATEGORIES= security net
MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/
@@ -35,4 +35,10 @@ pre-patch:
pre-configure:
(cd ${WRKSRC}/../libipsec; make)
+post-install:
+ @if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && echo ipsec` ]; then \
+ ${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \
+ ${ECHO_MSG} " You must build the kernel if you want to run racoon on the host"; \
+ fi ;
+
.include <bsd.port.mk>
diff --git a/security/racoon/distinfo b/security/racoon/distinfo
index cf033ab09c55..70887e90d945 100644
--- a/security/racoon/distinfo
+++ b/security/racoon/distinfo
@@ -1 +1 @@
-MD5 (racoon-20000719a.tar.gz) = 9b859010376e3749bd9a06771e169d05
+MD5 (racoon-20001017b.tar.gz) = 929afe3ea8b28782f4f5a2f628920d8b
diff --git a/security/racoon/files/patch-aa b/security/racoon/files/patch-aa
index d599760fbf0f..b9e78afe4ac3 100644
--- a/security/racoon/files/patch-aa
+++ b/security/racoon/files/patch-aa
@@ -1,6 +1,6 @@
---- ../libipsec/Makefile- Mon Jun 12 00:02:28 2000
-+++ ../libipsec/Makefile Mon Jun 12 00:02:49 2000
-@@ -25,9 +25,10 @@
+--- ../libipsec/Makefile.orig Sun Jun 11 23:54:31 2000
++++ ../libipsec/Makefile Tue Oct 17 01:06:10 2000
+@@ -25,12 +25,13 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
@@ -13,4 +13,8 @@
+OPSYS!= uname -s
LIB= ipsec
- CFLAGS+=-g
+-CFLAGS+=-g
++CFLAGS+=-g -I.
+ .if (${OPSYS} != "NetBSD")
+ CFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6
+ .else
diff --git a/security/racoon/files/patch-ac b/security/racoon/files/patch-ac
index 9e710b341251..ee9eba403dd1 100644
--- a/security/racoon/files/patch-ac
+++ b/security/racoon/files/patch-ac
@@ -4,8 +4,8 @@
cat >> $CONFIG_STATUS <<EOF
--CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf samples/remote.conf"}
-+CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf samples/remote.conf racoon.8"}
+-CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf"}
++CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf racoon.8"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
diff --git a/security/racoon/pkg-plist b/security/racoon/pkg-plist
index b2a7d83559af..cc5cf19440ff 100644
--- a/security/racoon/pkg-plist
+++ b/security/racoon/pkg-plist
@@ -1,5 +1,4 @@
sbin/racoon
etc/racoon/psk.txt.dist
etc/racoon/racoon.conf.dist
-etc/racoon/remote.conf.dist
@dirrm etc/racoon
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile
index f501a13b3362..e89dff031eb0 100644
--- a/security/racoon2/Makefile
+++ b/security/racoon2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= racoon
-PORTVERSION= 20000719a
+PORTVERSION= 20001017b
CATEGORIES= security net
MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/
@@ -35,4 +35,10 @@ pre-patch:
pre-configure:
(cd ${WRKSRC}/../libipsec; make)
+post-install:
+ @if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && echo ipsec` ]; then \
+ ${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \
+ ${ECHO_MSG} " You must build the kernel if you want to run racoon on the host"; \
+ fi ;
+
.include <bsd.port.mk>
diff --git a/security/racoon2/distinfo b/security/racoon2/distinfo
index cf033ab09c55..70887e90d945 100644
--- a/security/racoon2/distinfo
+++ b/security/racoon2/distinfo
@@ -1 +1 @@
-MD5 (racoon-20000719a.tar.gz) = 9b859010376e3749bd9a06771e169d05
+MD5 (racoon-20001017b.tar.gz) = 929afe3ea8b28782f4f5a2f628920d8b
diff --git a/security/racoon2/files/patch-aa b/security/racoon2/files/patch-aa
index d599760fbf0f..b9e78afe4ac3 100644
--- a/security/racoon2/files/patch-aa
+++ b/security/racoon2/files/patch-aa
@@ -1,6 +1,6 @@
---- ../libipsec/Makefile- Mon Jun 12 00:02:28 2000
-+++ ../libipsec/Makefile Mon Jun 12 00:02:49 2000
-@@ -25,9 +25,10 @@
+--- ../libipsec/Makefile.orig Sun Jun 11 23:54:31 2000
++++ ../libipsec/Makefile Tue Oct 17 01:06:10 2000
+@@ -25,12 +25,13 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
@@ -13,4 +13,8 @@
+OPSYS!= uname -s
LIB= ipsec
- CFLAGS+=-g
+-CFLAGS+=-g
++CFLAGS+=-g -I.
+ .if (${OPSYS} != "NetBSD")
+ CFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6
+ .else
diff --git a/security/racoon2/files/patch-ac b/security/racoon2/files/patch-ac
index 9e710b341251..ee9eba403dd1 100644
--- a/security/racoon2/files/patch-ac
+++ b/security/racoon2/files/patch-ac
@@ -4,8 +4,8 @@
cat >> $CONFIG_STATUS <<EOF
--CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf samples/remote.conf"}
-+CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf samples/remote.conf racoon.8"}
+-CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf"}
++CONFIG_FILES=\${CONFIG_FILES-"Makefile samples/psk.txt samples/racoon.conf racoon.8"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
diff --git a/security/racoon2/pkg-plist b/security/racoon2/pkg-plist
index b2a7d83559af..cc5cf19440ff 100644
--- a/security/racoon2/pkg-plist
+++ b/security/racoon2/pkg-plist
@@ -1,5 +1,4 @@
sbin/racoon
etc/racoon/psk.txt.dist
etc/racoon/racoon.conf.dist
-etc/racoon/remote.conf.dist
@dirrm etc/racoon