sys-auth/pam_smb: port to EAPI=7

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2020-12-13 00:56:33 +03:00
parent 93c0441ba0
commit 77bfe9db0a
2 changed files with 11 additions and 7 deletions
@@ -1,6 +1,6 @@
diff -Nurp pam_smb-2.0.0_rc6.orig/configure pam_smb-2.0.0_rc6/configure
--- configure 2006-03-17 15:02:01.000000000 +0000
+++ configure 2006-03-17 15:02:01.000000000 +0000
--- a/configure 2006-03-17 15:02:01.000000000 +0000
+++ b/configure 2006-03-17 15:02:01.000000000 +0000
@@ -1486,7 +1486,7 @@ else
# results, and the version is kept in special file).
+9 -5
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
inherit eutils pam
inherit pam toolchain-funcs
MY_P=${P/_rc/-rc}
@@ -16,7 +16,6 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE=""
DEPEND=">=sys-libs/pam-0.75"
RDEPEND="${DEPEND}"
@@ -24,13 +23,18 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}/10-pam_smb-bash-3.1.patch"
default
eapply "${FILESDIR}/10-pam_smb-bash-3.1.patch"
}
src_configure() {
econf --disable-root-only
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
dopammod pamsmbm/pam_smb_auth.so
dosbin pamsmbd/pamsmbd