From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31D7A158093 for ; Sat, 2 Jul 2022 18:48:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAE21E0855; Sat, 2 Jul 2022 18:48:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF1EEE0855 for ; Sat, 2 Jul 2022 18:48:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C14DA341C6B for ; Sat, 2 Jul 2022 18:48:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7C44536 for ; Sat, 2 Jul 2022 16:19:33 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1656778764.c6f38c1a4c71a0d984bf8fc0b8a88b93f5661176.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-firewall/psad/psad-2.4.6-r1.ebuild net-firewall/psad/psad-2.4.6.ebuild X-VCS-Directories: net-firewall/psad/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: c6f38c1a4c71a0d984bf8fc0b8a88b93f5661176 X-VCS-Branch: master Date: Sat, 2 Jul 2022 16:19:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff6349f4-c88a-4b83-8d91-ead7e9afd703 X-Archives-Hash: 13e151dcc6e9217421e1354a2b09065c commit: c6f38c1a4c71a0d984bf8fc0b8a88b93f5661176 Author: David Seifert gentoo org> AuthorDate: Sat Jul 2 16:19:24 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Jul 2 16:19:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f38c1a net-firewall/psad: update EAPI 6 -> 8 Signed-off-by: David Seifert gentoo.org> .../{psad-2.4.6.ebuild => psad-2.4.6-r1.ebuild} | 41 ++++++++++------------ 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/net-firewall/psad/psad-2.4.6.ebuild b/net-firewall/psad/psad-2.4.6-r1.ebuild similarity index 69% rename from net-firewall/psad/psad-2.4.6.ebuild rename to net-firewall/psad/psad-2.4.6-r1.ebuild index 7a4da9029e17..d9125b0b0558 100644 --- a/net-firewall/psad/psad-2.4.6.ebuild +++ b/net-firewall/psad/psad-2.4.6-r1.ebuild @@ -1,19 +1,18 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -#PERL_EXPORT_PHASE_FUNCTIONS=no +EAPI=8 + inherit perl-module toolchain-funcs DESCRIPTION="Port Scanning Attack Detection daemon" -SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2" HOMEPAGE="https://www.cipherdyne.org/psad/" +SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~alpha amd64 ~arm64 ppc ~sparc x86" -DEPEND="virtual/perl-ExtUtils-MakeMaker" RDEPEND=" dev-perl/Bit-Vector dev-perl/Date-Calc @@ -23,11 +22,10 @@ RDEPEND=" net-misc/whois virtual/logger virtual/mailx - virtual/perl-Storable -" -PATCHES=( - "${FILESDIR}"/${PN}-2.2.4-var-run.patch -) + virtual/perl-Storable" +BDEPEND="virtual/perl-ExtUtils-MakeMaker" + +PATCHES=( "${FILESDIR}"/${PN}-2.2.4-var-run.patch ) src_prepare() { default @@ -45,10 +43,10 @@ src_prepare() { src_configure() { default - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die - SRC_PREP="no" perl-module_src_configure + local d + for d in IPTables-Parse IPTables-ChainMgr; do + cd "${S}"/deps/${d} || die + perl-module_src_configure done } @@ -56,9 +54,9 @@ src_compile() { tc-export CC default - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die + local d + for d in IPTables-Parse IPTables-ChainMgr; do + cd "${S}"/deps/${d} || die perl-module_src_compile done } @@ -66,7 +64,6 @@ src_compile() { src_install() { newbin misc/pscan psad-pscan - insinto /usr dosbin kmsgsd psad psadwatchd newsbin fwcheck_psad.pl fwcheck_psad @@ -85,9 +82,9 @@ src_install() { insinto /etc/psad/snort_rules doins deps/snort_rules/* - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die + local d + for d in IPTables-Parse IPTables-ChainMgr; do + cd "${S}"/deps/${d} || die perl-module_src_install done }