diff options
Diffstat (limited to 'net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild')
-rw-r--r-- | net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild b/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild index 18e2cd14b905..960612b2f88f 100644 --- a/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild +++ b/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild @@ -1,17 +1,19 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils +EAPI=7 MY_P="${PN}_v${PV}" -DESCRIPTION="a powerful perl script that summarizes snort logs" +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" @@ -24,10 +26,16 @@ RDEPEND=" tk? ( dev-perl/Tk ) " -S=${WORKDIR} - src_prepare() { - edos2unix $(find conf/ modules/ -type f) ${PN}.* CHANGES + 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 \ |