aboutsummaryrefslogtreecommitdiffstats
path: root/security/pulledpork
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2010-08-04 03:03:38 +0800
committerohauer <ohauer@FreeBSD.org>2010-08-04 03:03:38 +0800
commit488ba52353e309558a76b19c799e3e7f0939cd1c (patch)
tree79472e243e897863cf8b1eb5f3296b9db0f45cb8 /security/pulledpork
parent74adbd4eaf8d7880dea3e2ae581ce1ad34c536fb (diff)
downloadfreebsd-ports-gnome-488ba52353e309558a76b19c799e3e7f0939cd1c.tar.gz
freebsd-ports-gnome-488ba52353e309558a76b19c799e3e7f0939cd1c.tar.zst
freebsd-ports-gnome-488ba52353e309558a76b19c799e3e7f0939cd1c.zip
- enable LICENSE framework (thanks to swell.k _at_ gmail.com)
Approved by: glarkin (mentor)
Diffstat (limited to 'security/pulledpork')
-rw-r--r--security/pulledpork/Makefile24
-rw-r--r--security/pulledpork/files/pkg-message.in2
2 files changed, 12 insertions, 14 deletions
diff --git a/security/pulledpork/Makefile b/security/pulledpork/Makefile
index 191df37157b4..bc6ec4928f5b 100644
--- a/security/pulledpork/Makefile
+++ b/security/pulledpork/Makefile
@@ -17,21 +17,19 @@ COMMENT= Script to update snort-2.8+ rules
RUN_DEPENDS= ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
p5-Crypt-SSLeay>=0.57:${PORTSDIR}/security/p5-Crypt-SSLeay
-#LICENSE= GPLv2
+LICENSE= GPLv2
NO_BUILD= yes
USE_PERL5_RUN= yes
-PLIST_DIRS= etc/pulledpork
+PLIST_DIRS= %%ETCDIR%%
PLIST_FILES= bin/pulledpork.pl \
- ${PLIST_DIRS}/disablesid.conf.sample \
- ${PLIST_DIRS}/dropsid.conf.sample \
- ${PLIST_DIRS}/enablesid.conf.sample \
- ${PLIST_DIRS}/pulledpork.conf.sample
+ %%ETCDIR%%/disablesid.conf.sample \
+ %%ETCDIR%%/dropsid.conf.sample \
+ %%ETCDIR%%/enablesid.conf.sample \
+ %%ETCDIR%%/pulledpork.conf.sample
-CONFIG_DIR= ${PREFIX}/${PLIST_DIRS}
SUB_FILES= pkg-message
-SUB_LIST= CONFIGDIR=${CONFIG_DIR}
.include <bsd.port.pre.mk>
@@ -53,12 +51,12 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pulledpork.pl ${PREFIX}/bin
- @${MKDIR} -m 750 ${CONFIG_DIR}
+ @${MKDIR} -m 750 ${ETCDIR}
# pulledpork.conf contains the snort user registration key, do not install world readable
- ${INSTALL_DATA} -m 440 ${WRKSRC}/etc/pulledpork.conf ${CONFIG_DIR}/pulledpork.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/etc/disablesid.conf ${CONFIG_DIR}/disablesid.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/etc/dropsid.conf ${CONFIG_DIR}/dropsid.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/etc/enablesid.conf ${CONFIG_DIR}/enablesid.conf.sample
+ ${INSTALL_DATA} -m 440 ${WRKSRC}/etc/pulledpork.conf ${ETCDIR}/pulledpork.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/etc/disablesid.conf ${ETCDIR}/disablesid.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/etc/dropsid.conf ${ETCDIR}/dropsid.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/etc/enablesid.conf ${ETCDIR}/enablesid.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/security/pulledpork/files/pkg-message.in b/security/pulledpork/files/pkg-message.in
index 9049be80925b..abf9f13bb5f1 100644
--- a/security/pulledpork/files/pkg-message.in
+++ b/security/pulledpork/files/pkg-message.in
@@ -1,7 +1,7 @@
=====================================================================
In order to use pulled pork, adjust the config files located in
-%%CONFIGDIR%%/
+%%ETCDIR%%
Important Note: