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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75C3A1382C5 for ; Thu, 17 Dec 2020 12:47:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9ACDE0855; Thu, 17 Dec 2020 12:47:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90DDDE0855 for ; Thu, 17 Dec 2020 12:47:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6701E340DCE for ; Thu, 17 Dec 2020 12:47:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E968BBF for ; Thu, 17 Dec 2020 12:47:20 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1608209235.01bb29b094f8a66a7a0b791ff8ebb8e18f322c57.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_abl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/pam_abl/pam_abl-0.6.0.ebuild X-VCS-Directories: sys-auth/pam_abl/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 01bb29b094f8a66a7a0b791ff8ebb8e18f322c57 X-VCS-Branch: master Date: Thu, 17 Dec 2020 12:47:20 +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: 7ad69661-36f9-4c8e-be20-bc705df0945c X-Archives-Hash: dbef97b54aa37a386b487dfedfc7f0b9 commit: 01bb29b094f8a66a7a0b791ff8ebb8e18f322c57 Author: Mikle Kolyada gentoo org> AuthorDate: Thu Dec 17 12:34:44 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Thu Dec 17 12:47:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01bb29b0 sys-auth/pam_abl: port to EAPI=7 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Mikle Kolyada gentoo.org> sys-auth/pam_abl/pam_abl-0.6.0.ebuild | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/sys-auth/pam_abl/pam_abl-0.6.0.ebuild b/sys-auth/pam_abl/pam_abl-0.6.0.ebuild index 450c5c2e55b..d1dafd1016f 100644 --- a/sys-auth/pam_abl/pam_abl-0.6.0.ebuild +++ b/sys-auth/pam_abl/pam_abl-0.6.0.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 MY_PN="${PN/_/-}" MY_P="${MY_PN}-${PV}" -inherit flag-o-matic pam cmake-utils db-use multilib +inherit cmake db-use pam DESCRIPTION="PAM module for blacklisting hosts and users repeatedly failed authentication" HOMEPAGE="http://pam-abl.sourceforge.net/" @@ -15,7 +15,6 @@ SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" DEPEND=">=sys-libs/pam-0.78-r2 >=sys-libs/db-4.2.52_p2:=" @@ -31,20 +30,13 @@ src_configure() { -DDB_LINK_DIR=/usr/$(get_libdir) -DDB_LIBRARY=$(db_libname) ) - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install dodir $(getpam_mod_dir) mv "${D}"/usr/lib/security/*.so "${D}"/"$(getpam_mod_dir)" || die dodoc doc/*.txt README } - -pkg_preinst() { - if has_version "~${CATEGORY}/${PN}-0.5.0" ; then - ewarn "Note: the 0.5.0 release named the module 'pam-abl.so' by accident; this version" - ewarn "fixes that and uses 'pam_abl.so' again. Please update your config files." - fi -}