From 5493bbb91f0b77ae9d4eb422021fe6e1e1cbef34 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Tue, 20 Apr 2004 09:36:09 +0000 Subject: Initial import of oinkmaster-0.8, from pkgsrc-wip packaged by Adrian Portelli with minor changes by me. Oinkmaster is simple Perl script released under the BSD license to help you update/manage your Snort 2.0+ rules and comment out the unwanted ones after each update (among other things). It will tell you exactly what had changed since the last update, hence giving you good control of your rules. Oinkmaster can be used to manage the official rules from www.snort.org, but can just as well be used for managing your homemade rules and distribute them between sensors. --- net/oinkmaster/DESCR | 7 +++++++ net/oinkmaster/MESSAGE | 14 ++++++++++++++ net/oinkmaster/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ net/oinkmaster/PLIST | 8 ++++++++ net/oinkmaster/distinfo | 4 ++++ 5 files changed, 75 insertions(+) create mode 100644 net/oinkmaster/DESCR create mode 100644 net/oinkmaster/MESSAGE create mode 100644 net/oinkmaster/Makefile create mode 100644 net/oinkmaster/PLIST create mode 100644 net/oinkmaster/distinfo (limited to 'net/oinkmaster') diff --git a/net/oinkmaster/DESCR b/net/oinkmaster/DESCR new file mode 100644 index 00000000000..36a95ea135f --- /dev/null +++ b/net/oinkmaster/DESCR @@ -0,0 +1,7 @@ +Oinkmaster is simple Perl script released under the BSD license to help you +update/manage your Snort 2.0+ rules and comment out the unwanted ones after +each update (among other things). It will tell you exactly what had changed +since the last update, hence giving you good control of your rules. +Oinkmaster can be used to manage the official rules from www.snort.org, but +can just as well be used for managing your homemade rules and distribute +them between sensors. diff --git a/net/oinkmaster/MESSAGE b/net/oinkmaster/MESSAGE new file mode 100644 index 00000000000..291dfbbc8cb --- /dev/null +++ b/net/oinkmaster/MESSAGE @@ -0,0 +1,14 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2004/04/20 09:36:09 xtraeme Exp $ + +You will receive two false positives about classification.config and +reference.config as oinkmaster expects these files to be in +${PREFIX}/share/snort/rules. To resolve this enter the following +commands: + + ln -s ${PKG_SYSCONFDIR}/snort/classification.config \ + ${PREFIX}/share/snort/rules/classification.config + ln -s ${PKG_SYSCONFDIR}/snort/reference.config \ + ${PREFIX}/share/snort/rules/reference.config + +=========================================================================== diff --git a/net/oinkmaster/Makefile b/net/oinkmaster/Makefile new file mode 100644 index 00000000000..c711e645972 --- /dev/null +++ b/net/oinkmaster/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/20 09:36:09 xtraeme Exp $ + +DISTNAME= oinkmaster-0.8 +CATEGORIES= net +MASTER_SITES= ftp://ftp.it.su.se/pub/users/andreas/oinkmaster/ \ + http://www.algonet.se/~nitzer/oinkmaster/ + +MAINTAINER= adrianp@stindustries.net +HOMEPAGE= http://www.algonet.se/~nitzer/oinkmaster/ +COMMENT= Manage snort rule updates + +DEPENDS+= wget>=1.00:../../net/wget + +USE_PKGINSTALL= yes +USE_BUILDLINK3= yes +USE_PERL5= yes +NO_BUILD= yes + +CONF_FILES= ${PREFIX}/share/examples/oinkmaster/oinkmaster.conf \ + ${PKG_SYSCONFDIR}/oinkmaster.conf + +REPLACE_PERL+= ${WRKSRC}/oinkmaster.pl + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/oinkmaster + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/oinkmaster + + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/oinkmaster + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/oinkmaster + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/oinkmaster + ${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf \ + ${PREFIX}/share/examples/oinkmaster + ${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${PREFIX}/bin/oinkmaster + +SUBST_CLASSES= pub +SUBST_STAGE.pub= post-patch +SUBST_FILES.pub= oinkmaster.pl oinkmaster.conf +SUBST_SED.pub= -e "s|/usr/local|${PREFIX}|g" \ + -e "s|/usr/local/etc|${PKG_SYSCONFDIR}|g" +SUBST_MESSAGE.pub= "Fixing harcoded PATH." + +.include "../../mk/bsd.pkg.mk" diff --git a/net/oinkmaster/PLIST b/net/oinkmaster/PLIST new file mode 100644 index 00000000000..89370715adf --- /dev/null +++ b/net/oinkmaster/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/20 09:36:09 xtraeme Exp $ +bin/oinkmaster +share/doc/oinkmaster/INSTALL +share/doc/oinkmaster/LICENSE +share/doc/oinkmaster/README +share/examples/oinkmaster/oinkmaster.conf +@dirrm share/examples/oinkmaster +@dirrm share/doc/oinkmaster diff --git a/net/oinkmaster/distinfo b/net/oinkmaster/distinfo new file mode 100644 index 00000000000..dca5879fb18 --- /dev/null +++ b/net/oinkmaster/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/20 09:36:09 xtraeme Exp $ + +SHA1 (oinkmaster-0.8.tar.gz) = 48895c46392f7ac7d5ced26ccb9fb9776e7b6ce4 +Size (oinkmaster-0.8.tar.gz) = 31725 bytes -- cgit v1.2.3