Date: Thu, 13 Jun 2013 20:39:52 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320838 - head/security/ipsec-tools Message-ID: <201306132039.r5DKdqc1003592@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Thu Jun 13 20:39:52 2013 New Revision: 320838 URL: http://svnweb.freebsd.org/changeset/ports/320838 Log: - Fix a typo in PORT_OPTIONS conversion - Create configuration directory we try to remove on uninstall Modified: head/security/ipsec-tools/Makefile head/security/ipsec-tools/pkg-plist Modified: head/security/ipsec-tools/Makefile ============================================================================== --- head/security/ipsec-tools/Makefile Thu Jun 13 20:30:47 2013 (r320837) +++ head/security/ipsec-tools/Makefile Thu Jun 13 20:39:52 2013 (r320838) @@ -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 Modified: head/security/ipsec-tools/pkg-plist ============================================================================== --- head/security/ipsec-tools/pkg-plist Thu Jun 13 20:30:47 2013 (r320837) +++ head/security/ipsec-tools/pkg-plist Thu Jun 13 20:39:52 2013 (r320838) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306132039.r5DKdqc1003592>