[Midnightbsd-cvs] mports: mports/security: This port is useful for setting up rules for

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Sep 24 10:04:01 EDT 2008


Log Message:
-----------
This port is useful for setting up rules for snort. Might as well add it too

Modified Files:
--------------
    mports/security:
        Makefile (r1.82 -> r1.83)

Added Files:
-----------
    mports/security/oinkmaster:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.82
retrieving revision 1.83
diff -L security/Makefile -L security/Makefile -u -r1.82 -r1.83
--- security/Makefile
+++ security/Makefile
@@ -45,6 +45,7 @@
     SUBDIR += nmap
     SUBDIR += nmapfe
     SUBDIR += nss
+    SUBDIR += oinkmaster
     SUBDIR += opencdk
     SUBDIR += openct
     SUBDIR += opensc
--- /dev/null
+++ 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://oinkmaster.sourceforge.net/
--- /dev/null
+++ security/oinkmaster/Makefile
@@ -0,0 +1,47 @@
+# Ports collection makefile for:	oinkmaster
+# Date created:			September 24, 2008
+# Whom:				laffer1
+#
+# $MidnightBSD: mports/security/oinkmaster/Makefile,v 1.1 2008/09/24 14:03:59 laffer1 Exp $
+# $FreeBSD: ports/security/oinkmaster/Makefile,v 1.14 2008/06/06 14:00:58 edwin Exp $
+#
+
+PORTNAME=	oinkmaster
+PORTVERSION=	2.0
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Help you update your snort rules after each update
+LICENSE=	bsd3
+
+RUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget
+
+NO_BUILD=	yes
+USE_PERL5_RUN=	yes
+
+PLIST_FILES=	bin/oinkmaster etc/oinkmaster.conf.sample
+
+.if !defined(NOPORTDOCS)
+PORTDOCS=	README
+.endif
+
+MAN1=		oinkmaster.1
+MANCOMPRESSED=	no
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' \
+		-e 's,"tPf","tf",' \
+		${WRKSRC}/oinkmaster.pl
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${PREFIX}/bin/oinkmaster
+	${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${PREFIX}/etc/oinkmaster.conf.sample
+	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ security/oinkmaster/distinfo
@@ -0,0 +1,3 @@
+MD5 (oinkmaster-2.0.tar.gz) = d2a1b56f51cf40e919c63206ca4ec8f8
+SHA256 (oinkmaster-2.0.tar.gz) = 3d52f0426aa7c81b122cef22b80d708d8bb8337537e48754a065804f46c46162
+SIZE (oinkmaster-2.0.tar.gz) = 80111


More information about the Midnightbsd-cvs mailing list