aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-06-14 04:39:52 +0800
committerantoine <antoine@FreeBSD.org>2013-06-14 04:39:52 +0800
commita994f801cbc40c4a7ad5789810789bb9d7476a0c (patch)
tree3b8d84cfc1f09ae70a5743706a76ce9ef629c9f0 /security
parentbf6029ab481765e5bb1456de80a182f267a93b08 (diff)
downloadfreebsd-ports-gnome-a994f801cbc40c4a7ad5789810789bb9d7476a0c.tar.gz
freebsd-ports-gnome-a994f801cbc40c4a7ad5789810789bb9d7476a0c.tar.zst
freebsd-ports-gnome-a994f801cbc40c4a7ad5789810789bb9d7476a0c.zip
- Fix a typo in PORT_OPTIONS conversion
- Create configuration directory we try to remove on uninstall
Diffstat (limited to 'security')
-rw-r--r--security/ipsec-tools/Makefile3
-rw-r--r--security/ipsec-tools/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index c5ff3852ecf3..62b24dc021f6 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -174,6 +174,7 @@ pre-configure:
.endif
post-install:
+ @${MKDIR} ${PREFIX}/etc/racoon
@if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && ${ECHO_CMD} 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"; \
@@ -181,7 +182,7 @@ post-install:
@${MKDIR} ${EXAMPLESDIR}
@${RM} -f ${WRKSRC}/src/racoon/samples/*.in
@${CP} -r ${WRKSRC}/src/racoon/samples/* ${EXAMPLESDIR}
-.if ${PORT_OPTIONS:MOCS}
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${DOCSDIR}
.endif
diff --git a/security/ipsec-tools/pkg-plist b/security/ipsec-tools/pkg-plist
index 30a492b8a3ce..f21af7189586 100644
--- a/security/ipsec-tools/pkg-plist
+++ b/security/ipsec-tools/pkg-plist
@@ -40,6 +40,7 @@ lib/libracoon.so.0
%%EXAMPLESDIR%%/roadwarrior/client/racoon.conf
%%EXAMPLESDIR%%/roadwarrior/server/racoon.conf
%%EXAMPLESDIR%%/roadwarrior/server/racoon.conf-radius
+@exec mkdir -p %D/etc/racoon
@dirrmtry etc/racoon
@dirrm include/racoon
@dirrm include/libipsec