diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-04-21 23:01:35 +1100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-05-07 09:55:22 +0200 |
commit | bb01d60a9212281ed6bdb95e1f5ddc8ffda35e00 (patch) | |
tree | 803ca07e80bad7a26586708b35478dc3f0ce34e6 /net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild | |
parent | media-sound/cantata: Port to PERL_FEATURES (diff) | |
download | gentoo-bb01d60a9212281ed6bdb95e1f5ddc8ffda35e00.tar.gz gentoo-bb01d60a9212281ed6bdb95e1f5ddc8ffda35e00.tar.bz2 gentoo-bb01d60a9212281ed6bdb95e1f5ddc8ffda35e00.zip |
net-analyzer/snortalog: Port to PERL_FEATURES
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild')
-rw-r--r-- | net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild b/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild deleted file mode 100644 index 960612b2f88f..000000000000 --- a/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}_v${PV}" - -inherit edos2unix - -DESCRIPTION="A powerful perl script that summarizes snort logs" -HOMEPAGE="http://jeremy.chartier.free.fr/snortalog/" -SRC_URI="http://jeremy.chartier.free.fr/snortalog/downloads/${PN}/${MY_P}.tar" -S="${WORKDIR}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" -IUSE="tk" - -RDEPEND=" - dev-lang/perl[ithreads] - dev-perl/GDGraph - dev-perl/HTML-HTMLDoc - virtual/perl-DB_File - virtual/perl-Getopt-Long - tk? ( dev-perl/Tk ) -" - -src_prepare() { - default - - local convert=$(find conf/ modules/ -type f || die) - convert+=( ${PN}.* CHANGES ) - - local item - for item in ${convert[@]} ; do - edos2unix "${item}" - done - - # 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 -} |