* [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_smb/, sys-auth/pam_smb/files/
@ 2020-12-12 21:57 Mikle Kolyada
0 siblings, 0 replies; only message in thread
From: Mikle Kolyada @ 2020-12-12 21:57 UTC (permalink / raw
To: gentoo-commits
commit: 77bfe9db0acb867e2e07094c0dc7b650c8bd4fe4
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 12 21:56:33 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Dec 12 21:56:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77bfe9db
sys-auth/pam_smb: port to EAPI=7
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch | 4 ++--
sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild | 14 +++++++++-----
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch b/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch
index 570655d8246..df8050442d6 100644
--- a/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch
+++ b/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch
@@ -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).
diff --git a/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild
index 16b55f2637e..d10331b793c 100644
--- a/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild
+++ b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r2.ebuild
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-12 21:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-12 21:57 [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_smb/, sys-auth/pam_smb/files/ Mikle Kolyada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox