pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/pulledpork



Module Name:    pkgsrc
Committed By:   nils
Date:           Thu Jun 15 18:37:31 UTC 2017

Added Files:
        pkgsrc/net/pulledpork: DESCR Makefile PLIST distinfo

Log Message:
Initial import of pulledpork, version 0.7.2, into pkgsrc.
PulledPork is a script for Snort and Suricata rule management.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/pulledpork/DESCR \
    pkgsrc/net/pulledpork/Makefile pkgsrc/net/pulledpork/PLIST \
    pkgsrc/net/pulledpork/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/pulledpork/DESCR
diff -u /dev/null pkgsrc/net/pulledpork/DESCR:1.1
--- /dev/null   Thu Jun 15 18:37:31 2017
+++ pkgsrc/net/pulledpork/DESCR Thu Jun 15 18:37:31 2017
@@ -0,0 +1,19 @@
+PulledPork is a script for Snort and Suricata rule management.
+
+Features and Capabilities :
+- Automated downloading, parsing, state modification and rule
+  modification for all of your snort rulesets.
+- Checksum verification for all major rule downloads
+- Automatic generation of updated sid-msg.map file
+- Capability to include your local.rules in sid-msg.map file
+- Capability to pull rules tarballs from custom urls
+- Complete Shared Object support
+- Complete IP Reputation List support
+- Capability to download multiple disparate rulesets at once
+- Maintains accurate changelog
+- Capability to HUP processes after rules download and process
+- Aids in tuning of rulesets
+- Verbose output so that you know EXACTLY what is happening
+- Minimal Perl Module dependencies
+- Support for Suricata, and ETOpen/ETPro rulesets
+- A sweet smokey flavor throughout the pork!
Index: pkgsrc/net/pulledpork/Makefile
diff -u /dev/null pkgsrc/net/pulledpork/Makefile:1.1
--- /dev/null   Thu Jun 15 18:37:31 2017
+++ pkgsrc/net/pulledpork/Makefile      Thu Jun 15 18:37:31 2017
@@ -0,0 +1,72 @@
+# $NetBSD: Makefile,v 1.1 2017/06/15 18:37:31 nils Exp $
+
+DISTNAME=      pulledpork-0.7.2
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=shirkdog/}
+
+MAINTAINER=    nils%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/shirkdog/pulledpork/
+COMMENT=       Script for Snort and Suricata rule management
+LICENSE=       gnu-gpl-v2
+
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+NO_BUILD=      yes
+USE_TOOLS+=    perl:run
+REPLACE_PERL+= pulledpork.pl
+REPLACE_PERL+= contrib/oink-conv.pl
+WRKSRC=                ${WRKDIR}/pulledpork-${PKGVERSION_NOREV}
+BUILD_DEFS+=   VARBASE
+
+# File/Find.pm is a part of lang/perl5
+# File/Basename.pm is a part of lang/perl5
+# File/Copy.pm is a part of lang/perl5
+DEPENDS+=      p5-Crypt-SSLeay-[0-9]*:../../security/p5-Crypt-SSLeay
+DEPENDS+=      p5-Sys-Syslog-[0-9]*:../../sysutils/p5-Sys-Syslog
+DEPENDS+=      p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
+DEPENDS+=      p5-File-Path-[0-9]*:../../devel/p5-File-Path
+DEPENDS+=      p5-Getopt-Long-[0-9]*:../../devel/p5-Getopt-Long
+DEPENDS+=      p5-Archive-Tar-[0-9]*:../../archivers/p5-Archive-Tar
+DEPENDS+=      p5-PathTools-[0-9]*:../../devel/p5-PathTools
+DEPENDS+=      p5-Data-Dumper-[0-9]*:../../devel/p5-Data-Dumper
+DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
+# LWP/Useragent.pm is part of www/p5-libwww
+DEPENDS+=      p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message
+# Request/Common.pm is part of www/p5-HTTP-Message
+# Status.pm is part of www/p5-HTTP-Message
+DEPENDS+=      p5-Carp-[0-9]*:../../devel/p5-Carp
+
+EGDIR=                 ${PREFIX}/share/examples/pulledpork
+PKG_SYSCONFSUBDIR=     pulledpork
+DOCDIR=                        share/doc/pulledpork
+INSTALLATION_DIRS+=    ${EGDIR} ${PKG_SYSCONFDIR} ${OWN_DIRS} ${DOCDIR} bin
+INSTALLATION_DIRS+=    share/pulledpork/contrib
+AUTO_MKDIRS=           yes
+USE_LANGUAGES=         # none
+
+CONF_FILES=    ${EGDIR}/disablesid.conf \
+               ${PKG_SYSCONFDIR}/disablesid.conf
+CONF_FILES+=   ${EGDIR}/dropsid.conf \
+               ${PKG_SYSCONFDIR}/dropsid.conf
+CONF_FILES+=   ${EGDIR}/enablesid.conf \
+               ${PKG_SYSCONFDIR}/enablesid.conf
+CONF_FILES+=   ${EGDIR}/modifysid.conf \
+               ${PKG_SYSCONFDIR}/modifysid.conf
+CONF_FILES+=   ${EGDIR}/pulledpork.conf \
+               ${PKG_SYSCONFDIR}/pulledpork.conf
+
+SUBST_CLASSES+=                install
+SUBST_STAGE.install=   pre-install
+SUBST_MESSAGE.install= correcting installation path
+SUBST_FILES.install=   ${WRKSRC}/etc/pulledpork.conf
+SUBST_SED.install=     -e 's,/usr/local,${PREFIX},g'
+SUBST_SED.install+=    -e 's,/var,${VARBASE},g'
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/pulledpork.pl ${DESTDIR}${PREFIX}/bin/pulledpork
+       ${INSTALL_SCRIPT} ${WRKSRC}/contrib/oink-conv.pl ${DESTDIR}${PREFIX}/share/pulledpork/
+       ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/pulledpork/
+       ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/pulledpork/
+       ${INSTALL_DATA} ${WRKSRC}/doc/README.* ${DESTDIR}${PREFIX}/share/doc/pulledpork/
+       ${INSTALL_DATA} ${WRKSRC}/etc/*.conf ${DESTDIR}${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/pulledpork/PLIST
diff -u /dev/null pkgsrc/net/pulledpork/PLIST:1.1
--- /dev/null   Thu Jun 15 18:37:31 2017
+++ pkgsrc/net/pulledpork/PLIST Thu Jun 15 18:37:31 2017
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/15 18:37:31 nils Exp $
+bin/pulledpork
+share/doc/pulledpork/LICENSE
+share/doc/pulledpork/README.CATEGORIES
+share/doc/pulledpork/README.CHANGES
+share/doc/pulledpork/README.RULESET
+share/doc/pulledpork/README.SHAREDOBJECTS
+share/doc/pulledpork/README.md
+share/examples/pulledpork/disablesid.conf
+share/examples/pulledpork/dropsid.conf
+share/examples/pulledpork/enablesid.conf
+share/examples/pulledpork/modifysid.conf
+share/examples/pulledpork/pulledpork.conf
+share/pulledpork/oink-conv.pl
+@pkgdir share/pulledpork/contrib
+@pkgdir etc/pulledpork
Index: pkgsrc/net/pulledpork/distinfo
diff -u /dev/null pkgsrc/net/pulledpork/distinfo:1.1
--- /dev/null   Thu Jun 15 18:37:31 2017
+++ pkgsrc/net/pulledpork/distinfo      Thu Jun 15 18:37:31 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/15 18:37:31 nils Exp $
+
+SHA1 (pulledpork-0.7.2.tar.gz) = 76d0fd0f8a84922d30eaed25930ec39b7030d17b
+RMD160 (pulledpork-0.7.2.tar.gz) = 021d71baa64c09f3524edb01b63bccc60ba77aa4
+SHA512 (pulledpork-0.7.2.tar.gz) = b227378dc298fdd2e422c459aad156dd58d7c3bb7eec8f0514501eecd80ab75b9bd7c476efcf8185ac2ee648a0f8bed91d9be9156fcf802585a35dc3c6468c67
+Size (pulledpork-0.7.2.tar.gz) = 41740 bytes



Home | Main Index | Thread Index | Old Index