1 |
commit: 3e71cbd8a3a3b45fe6858e5837c2e7535ea3a158 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 16 10:47:57 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 16 10:48:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e71cbd8 |
7 |
|
8 |
sys-apps/shadow: Revbump to re-add split-usr |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/shadow/{shadow-4.7-r1.ebuild => shadow-4.7-r2.ebuild} | 9 ++++++++- |
14 |
1 file changed, 8 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sys-apps/shadow/shadow-4.7-r1.ebuild b/sys-apps/shadow/shadow-4.7-r2.ebuild |
17 |
similarity index 95% |
18 |
rename from sys-apps/shadow/shadow-4.7-r1.ebuild |
19 |
rename to sys-apps/shadow/shadow-4.7-r2.ebuild |
20 |
index c0735c920ae..2ca144b20bf 100644 |
21 |
--- a/sys-apps/shadow/shadow-4.7-r1.ebuild |
22 |
+++ b/sys-apps/shadow/shadow-4.7-r2.ebuild |
23 |
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/shadow-maint/shadow/releases/download/${PV}/${P}.tar |
24 |
LICENSE="BSD GPL-2" |
25 |
SLOT="0" |
26 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" |
27 |
-IUSE="acl audit +cracklib nls pam selinux skey xattr" |
28 |
+IUSE="acl audit +cracklib nls pam selinux skey split-usr xattr" |
29 |
# Taken from the man/Makefile.am file. |
30 |
LANGS=( cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW ) |
31 |
|
32 |
@@ -109,6 +109,13 @@ src_install() { |
33 |
insopts -m0600 |
34 |
doins "${FILESDIR}"/default/useradd |
35 |
|
36 |
+ if use split-usr ; then |
37 |
+ # move passwd to / to help recover broke systems #64441 |
38 |
+ dodir /bin |
39 |
+ mv "${ED}"/usr/bin/passwd "${ED}"/bin/ || die |
40 |
+ dosym ../../bin/passwd /usr/bin/passwd |
41 |
+ fi |
42 |
+ |
43 |
cd "${S}" || die |
44 |
insinto /etc |
45 |
insopts -m0644 |