mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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:
@@ -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).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user