aboutsummaryrefslogtreecommitdiffstats
path: root/security/oinkmaster
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2003-03-28 11:51:57 +0800
committerkevlo <kevlo@FreeBSD.org>2003-03-28 11:51:57 +0800
commit11f83344f4f902150e62e63b857170aa06a7b00c (patch)
tree60029640d687b59e999366c18e5c35aad76ad678 /security/oinkmaster
parentbb6566737c229eb39821e4c3ce10656331d88e08 (diff)
downloadfreebsd-ports-gnome-11f83344f4f902150e62e63b857170aa06a7b00c.tar.gz
freebsd-ports-gnome-11f83344f4f902150e62e63b857170aa06a7b00c.tar.zst
freebsd-ports-gnome-11f83344f4f902150e62e63b857170aa06a7b00c.zip
Update to version 0.7
PR: 50327 Submitted by: Jim Geovedi <jim@corebsd.or.id>
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;