aboutsummaryrefslogtreecommitdiffstats
path: root/security/racoon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/racoon/Makefile')
-rw-r--r--security/racoon/Makefile8
1 files changed, 7 insertions, 1 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>