From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- net-analyzer/snortalog/Manifest | 1 + net-analyzer/snortalog/metadata.xml | 5 +++ net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild | 57 ++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 net-analyzer/snortalog/Manifest create mode 100644 net-analyzer/snortalog/metadata.xml create mode 100644 net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild (limited to 'net-analyzer/snortalog') diff --git a/net-analyzer/snortalog/Manifest b/net-analyzer/snortalog/Manifest new file mode 100644 index 000000000000..f2e1c3945ce6 --- /dev/null +++ b/net-analyzer/snortalog/Manifest @@ -0,0 +1 @@ +DIST snortalog_v2.4.3.tar 1324032 SHA256 aa8c47dd5c52277bedb3de310717dfe9f49ca19ededbdc81fbf130b1273ca40f SHA512 b4b8558865ae4d1ef932114f2a2fb5af7fb069f1b587955d9d489a31635e890fb0ed36ebcde19322ab0c0cae49734da08602e283bd731c769de527abf7d74d06 WHIRLPOOL e8fc7d17fa148016218b46add071548bb93a24db4dd26af3b069b9f8d55bbafdcd28a4eb2b68f86346f881b7171f5df81bfa235168496052c34776f6b005dfb3 diff --git a/net-analyzer/snortalog/metadata.xml b/net-analyzer/snortalog/metadata.xml new file mode 100644 index 000000000000..03aa50bab7e3 --- /dev/null +++ b/net-analyzer/snortalog/metadata.xml @@ -0,0 +1,5 @@ + + + +netmon + diff --git a/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild b/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild new file mode 100644 index 000000000000..3c7f51f357ad --- /dev/null +++ b/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +MY_P="${PN}_v${PV}" + +DESCRIPTION="a powerful perl script that summarizes snort logs" +HOMEPAGE="http://jeremy.chartier.free.fr/snortalog/" +SRC_URI="${HOMEPAGE}downloads/${PN}/${MY_P}.tar" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +IUSE="tk" + +RDEPEND=" + dev-lang/perl[ithreads] + dev-perl/HTML-HTMLDoc + virtual/perl-DB_File + virtual/perl-Getopt-Long + tk? ( dev-perl/perl-tk dev-perl/GDGraph ) +" + +S=${WORKDIR} + +src_prepare() { + edos2unix $(find conf/ modules/ -type f) ${PN}.* CHANGES + + # fix paths, erroneous can access message + sed -i \ + -e "s:\(modules/\):/usr/lib/snortalog/${PV}/\1:g" \ + -e 's:\($domains_file = "\)conf/\(domains\)\(".*\):\1/etc/snortalog/\2\3:' \ + -e 's:\($rules_file = "\)conf/\(rules\)\(".*\):\1/etc/snortalog/\2\3:' \ + -e 's:\($picts_dir ="\)picts\(".*\):\1/etc/snortalog/picts\2:' \ + -e 's:\($hw_file = "\)conf/\(hw\)\(".*\):\1/etc/snortalog/\2\3:' \ + -e 's:\($lang_file ="\)conf/\(lang\)\(".*\):\1/etc/snortalog/\2\3:' \ + -e 's:Can access:Cannot access:' \ + snortalog.pl || die +} + +src_install () { + dobin snortalog.pl + + insinto /etc/snortalog + doins conf/{domains,hw,lang,rules} + + insinto /etc/snortalog/picts + doins picts/* + + insinto /usr/lib/snortalog/${PV}/modules + doins -r modules/* + + dodoc CHANGES doc/snortalog_v2.2.1.pdf +} -- cgit v1.2.3-65-gdbad