summaryrefslogtreecommitdiffstats
path: root/security/oinkmaster
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-28 16:41:30 +0000
committerijliao <ijliao@FreeBSD.org>2003-01-28 16:41:30 +0000
commit659fba4d60ab295cf9ee241f1989396fd41da739 (patch)
treee9d919f497f50f63bfea58c1e8804e908b260aaa /security/oinkmaster
parent0f0f2e7c928c6a22d0e973f38d2bbf826d26f1d5 (diff)
downloadFreeBSD-ports-659fba4d60ab295cf9ee241f1989396fd41da739.zip
FreeBSD-ports-659fba4d60ab295cf9ee241f1989396fd41da739.tar.gz
add oinkmaster 0.6
Help you update your snort rules after each update
Diffstat (limited to 'security/oinkmaster')
-rw-r--r--security/oinkmaster/Makefile33
-rw-r--r--security/oinkmaster/distinfo1
-rw-r--r--security/oinkmaster/files/patch-oinkmaster.pl11
-rw-r--r--security/oinkmaster/pkg-comment1
-rw-r--r--security/oinkmaster/pkg-descr6
-rw-r--r--security/oinkmaster/pkg-plist4
6 files changed, 56 insertions, 0 deletions
diff --git a/security/oinkmaster/Makefile b/security/oinkmaster/Makefile
new file mode 100644
index 0000000..cbd1256
--- /dev/null
+++ b/security/oinkmaster/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+# Ports collection makefile for: oinkmaster
+# Date created: Jan 28, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= oinkmaster
+PORTVERSION= 0.6
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.it.su.se/pub/users/andreas/oinkmaster/
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
+
+USE_REINPLACE= yes
+NO_BUILD= yes
+USE_PERL5_RUN= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/oinkmaster.pl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${PREFIX}/bin/oinkmaster
+ ${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${PREFIX}/etc
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/oinkmaster/distinfo b/security/oinkmaster/distinfo
new file mode 100644
index 0000000..491eada
--- /dev/null
+++ b/security/oinkmaster/distinfo
@@ -0,0 +1 @@
+MD5 (oinkmaster-0.6.tar.gz) = d447739b8f507282d6c13d951f347cf2
diff --git a/security/oinkmaster/files/patch-oinkmaster.pl b/security/oinkmaster/files/patch-oinkmaster.pl
new file mode 100644
index 0000000..817342b
--- /dev/null
+++ b/security/oinkmaster/files/patch-oinkmaster.pl
@@ -0,0 +1,11 @@
+--- 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;
diff --git a/security/oinkmaster/pkg-comment b/security/oinkmaster/pkg-comment
new file mode 100644
index 0000000..4a85b06
--- /dev/null
+++ b/security/oinkmaster/pkg-comment
@@ -0,0 +1 @@
+Help you update your snort rules after each update
diff --git a/security/oinkmaster/pkg-descr b/security/oinkmaster/pkg-descr
new file mode 100644
index 0000000..56cc388
--- /dev/null
+++ b/security/oinkmaster/pkg-descr
@@ -0,0 +1,6 @@
+Oinkmaster is simple Perl script released under the BSD license to help you
+update your Snort 1.9+ rules and comment out the unwanted ones after each
+update. It will tell you exactly what had changed since the last update,
+hence giving you good control of your rules.
+
+WWW: http://nitzer.dhs.org/oinkmaster/
diff --git a/security/oinkmaster/pkg-plist b/security/oinkmaster/pkg-plist
new file mode 100644
index 0000000..9efccb8
--- /dev/null
+++ b/security/oinkmaster/pkg-plist
@@ -0,0 +1,4 @@
+bin/oinkmaster
+etc/oinkmaster.conf
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud