pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/pulledpork Initial import of pulledpork, version 0...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9d4a44e67ffa
branches: trunk
changeset: 363783:9d4a44e67ffa
user: nils <nils%pkgsrc.org@localhost>
date: Thu Jun 15 18:37:31 2017 +0000
description:
Initial import of pulledpork, version 0.7.2, into pkgsrc.
PulledPork is a script for Snort and Suricata rule management.
diffstat:
net/pulledpork/DESCR | 19 ++++++++++++
net/pulledpork/Makefile | 72 +++++++++++++++++++++++++++++++++++++++++++++++++
net/pulledpork/PLIST | 16 ++++++++++
net/pulledpork/distinfo | 6 ++++
4 files changed, 113 insertions(+), 0 deletions(-)
diffs (129 lines):
diff -r ecb33e5a98e5 -r 9d4a44e67ffa net/pulledpork/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pulledpork/DESCR Thu Jun 15 18:37:31 2017 +0000
@@ -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!
diff -r ecb33e5a98e5 -r 9d4a44e67ffa net/pulledpork/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pulledpork/Makefile Thu Jun 15 18:37:31 2017 +0000
@@ -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"
diff -r ecb33e5a98e5 -r 9d4a44e67ffa net/pulledpork/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pulledpork/PLIST Thu Jun 15 18:37:31 2017 +0000
@@ -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
diff -r ecb33e5a98e5 -r 9d4a44e67ffa net/pulledpork/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pulledpork/distinfo Thu Jun 15 18:37:31 2017 +0000
@@ -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