aboutsummaryrefslogtreecommitdiff
path: root/security/pulledpork
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2010-08-03 19:03:38 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2010-08-03 19:03:38 +0000
commit4f9cda86cfde24ae5492f7d7d2c628718febbcda (patch)
tree688c344c79977408a19868c0c882cebd55df9583 /security/pulledpork
parentcc7d1cb5fc77d0fab281e06776d333fd6a7b3f79 (diff)
downloadports-4f9cda86cfde24ae5492f7d7d2c628718febbcda.tar.gz
ports-4f9cda86cfde24ae5492f7d7d2c628718febbcda.zip
- enable LICENSE framework (thanks to swell.k _at_ gmail.com)
Approved by: glarkin (mentor)
Notes
Notes: svn path=/head/; revision=258714
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: