aboutsummaryrefslogtreecommitdiff
path: root/security/oinkmaster
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2003-03-28 03:51:57 +0000
committerKevin Lo <kevlo@FreeBSD.org>2003-03-28 03:51:57 +0000
commit5355be32198c56a594a4cc24d923b26d8f4845aa (patch)
tree540f662b1a0c24227d070108e88110093d87de6a /security/oinkmaster
parenta3b39570662e5afd65d50810681db390a95898a7 (diff)
downloadports-5355be32198c56a594a4cc24d923b26d8f4845aa.tar.gz
ports-5355be32198c56a594a4cc24d923b26d8f4845aa.zip
Update to version 0.7
PR: 50327 Submitted by: Jim Geovedi <jim@corebsd.or.id>
Notes
Notes: svn path=/head/; revision=77573
Diffstat (limited to 'security/oinkmaster')
-rw-r--r--security/oinkmaster/Makefile8
-rw-r--r--security/oinkmaster/distinfo2
-rw-r--r--security/oinkmaster/files/patch-oinkmaster.pl11
3 files changed, 6 insertions, 15 deletions
diff --git a/security/oinkmaster/Makefile b/security/oinkmaster/Makefile
index 5b78c1442a49..e6f29c4e0efe 100644
--- a/security/oinkmaster/Makefile
+++ b/security/oinkmaster/Makefile
@@ -7,11 +7,11 @@
#
PORTNAME= oinkmaster
-PORTVERSION= 0.6
+PORTVERSION= 0.7
CATEGORIES= security
MASTER_SITES= ftp://ftp.it.su.se/pub/users/andreas/oinkmaster/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jim@corebsd.or.id
COMMENT= Help you update your snort rules after each update
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
@@ -21,7 +21,9 @@ NO_BUILD= yes
USE_PERL5_RUN= yes
post-patch:
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/oinkmaster.pl
+ @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g;\
+ s,\./oinkmaster.conf,${PREFIX}/etc/oinkmaster.conf,g' \
+ ${WRKSRC}/oinkmaster.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${PREFIX}/bin/oinkmaster
diff --git a/security/oinkmaster/distinfo b/security/oinkmaster/distinfo
index 491eadabafd2..1581bdd5b268 100644
--- a/security/oinkmaster/distinfo
+++ b/security/oinkmaster/distinfo
@@ -1 +1 @@
-MD5 (oinkmaster-0.6.tar.gz) = d447739b8f507282d6c13d951f347cf2
+MD5 (oinkmaster-0.7.tar.gz) = 73c4bb4d559d0c26eebba18b6eae88d3
diff --git a/security/oinkmaster/files/patch-oinkmaster.pl b/security/oinkmaster/files/patch-oinkmaster.pl
deleted file mode 100644
index 817342b53531..000000000000
--- a/security/oinkmaster/files/patch-oinkmaster.pl
+++ /dev/null
@@ -1,11 +0,0 @@
---- oinkmaster.pl.orig Wed Jan 29 00:33:49 2003
-+++ oinkmaster.pl Wed Jan 29 00:35:50 2003
-@@ -20,7 +20,7 @@
- sub clean_exit;
-
- my $version = 'Oinkmaster v0.6 by Andreas Östling <andreaso@it.su.se>';
--my $config_file = "./oinkmaster.conf";
-+my $config_file = "%%PREFIX%%/etc/oinkmaster.conf";
- my $tmpdir = "/tmp/oinkmaster.$$";
- my $outfile = "snortrules.tar.gz";
- my $verbose = 0;