diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/oinkmaster/Makefile | 33 | ||||
-rw-r--r-- | security/oinkmaster/distinfo | 1 | ||||
-rw-r--r-- | security/oinkmaster/files/patch-oinkmaster.pl | 11 | ||||
-rw-r--r-- | security/oinkmaster/pkg-comment | 1 | ||||
-rw-r--r-- | security/oinkmaster/pkg-descr | 6 | ||||
-rw-r--r-- | security/oinkmaster/pkg-plist | 4 |
7 files changed, 57 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 90f59879caa1..5d6117dd44ea 100644 --- a/security/Makefile +++ b/security/Makefile @@ -142,6 +142,7 @@ SUBDIR += nss SUBDIR += ocaml-cryptokit SUBDIR += oidentd + SUBDIR += oinkmaster SUBDIR += op SUBDIR += opencdk SUBDIR += opensc diff --git a/security/oinkmaster/Makefile b/security/oinkmaster/Makefile new file mode 100644 index 000000000000..cbd1256886a4 --- /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 000000000000..491eadabafd2 --- /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 000000000000..817342b53531 --- /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 000000000000..4a85b0601a32 --- /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 000000000000..56cc388f6926 --- /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 000000000000..9efccb89d6ef --- /dev/null +++ b/security/oinkmaster/pkg-plist @@ -0,0 +1,4 @@ +bin/oinkmaster +etc/oinkmaster.conf +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |