pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import pulledpork-0.7.2 as wip/pulledpork.
Module Name: pkgsrc-wip
Committed By: Nils Ratusznik <nils%NetBSD.org@localhost>
Pushed By: nils
Date: Thu Apr 27 19:56:19 2017 +0200
Changeset: 95ebe2172640cba838f4529f65f2344606312b6c
Added Files:
pulledpork/DESCR
pulledpork/Makefile
pulledpork/PLIST
pulledpork/distinfo
Log Message:
Import pulledpork-0.7.2 as wip/pulledpork.
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!
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=95ebe2172640cba838f4529f65f2344606312b6c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
pulledpork/DESCR | 19 ++++++++++++++
pulledpork/Makefile | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++
pulledpork/PLIST | 16 ++++++++++++
pulledpork/distinfo | 6 +++++
4 files changed, 113 insertions(+)
diffs:
diff --git a/pulledpork/DESCR b/pulledpork/DESCR
new file mode 100644
index 0000000000..d8c9800122
--- /dev/null
+++ b/pulledpork/DESCR
@@ -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 --git a/pulledpork/Makefile b/pulledpork/Makefile
new file mode 100644
index 0000000000..960afe1f37
--- /dev/null
+++ b/pulledpork/Makefile
@@ -0,0 +1,72 @@
+# $NetBSD$
+
+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]*:../../wip/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 --git a/pulledpork/PLIST b/pulledpork/PLIST
new file mode 100644
index 0000000000..a176b6479f
--- /dev/null
+++ b/pulledpork/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+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 --git a/pulledpork/distinfo b/pulledpork/distinfo
new file mode 100644
index 0000000000..933599769e
--- /dev/null
+++ b/pulledpork/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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