pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/oinkmaster Initial import of oinkmaster-0.8, from ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be445c3e50a5
branches:  trunk
changeset: 473465:be445c3e50a5
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Apr 20 09:36:09 2004 +0000

description:
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.

diffstat:

 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(+), 0 deletions(-)

diffs (95 lines):

diff -r 4b5cc1f90c1e -r be445c3e50a5 net/oinkmaster/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oinkmaster/DESCR      Tue Apr 20 09:36:09 2004 +0000
@@ -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 -r 4b5cc1f90c1e -r be445c3e50a5 net/oinkmaster/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oinkmaster/MESSAGE    Tue Apr 20 09:36:09 2004 +0000
@@ -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 -r 4b5cc1f90c1e -r be445c3e50a5 net/oinkmaster/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oinkmaster/Makefile   Tue Apr 20 09:36:09 2004 +0000
@@ -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@localhost
+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 -r 4b5cc1f90c1e -r be445c3e50a5 net/oinkmaster/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oinkmaster/PLIST      Tue Apr 20 09:36:09 2004 +0000
@@ -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 -r 4b5cc1f90c1e -r be445c3e50a5 net/oinkmaster/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/oinkmaster/distinfo   Tue Apr 20 09:36:09 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index