diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2019-12-01 13:49:42 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2019-12-01 13:49:42 -0800 |
commit | e3c042d5752bdab78fbf5caa05307a100483026d (patch) | |
tree | 850a06705c0a0329e4906ec142b9db5ddf274eb6 /sys-apps/shadow | |
parent | app-office/calligraplan: Drop 3.2.0 (diff) | |
download | gentoo-e3c042d5752bdab78fbf5caa05307a100483026d.tar.gz gentoo-e3c042d5752bdab78fbf5caa05307a100483026d.tar.bz2 gentoo-e3c042d5752bdab78fbf5caa05307a100483026d.zip |
sys-apps/shadow-4.8-r1: Revbump, install in /usr as well as /
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r-- | sys-apps/shadow/files/shadow-4.8-revert-bin-merge.patch | 15 | ||||
-rw-r--r-- | sys-apps/shadow/shadow-4.8-r1.ebuild (renamed from sys-apps/shadow/shadow-4.8.ebuild) | 13 |
2 files changed, 25 insertions, 3 deletions
diff --git a/sys-apps/shadow/files/shadow-4.8-revert-bin-merge.patch b/sys-apps/shadow/files/shadow-4.8-revert-bin-merge.patch new file mode 100644 index 000000000000..08382fcb9500 --- /dev/null +++ b/sys-apps/shadow/files/shadow-4.8-revert-bin-merge.patch @@ -0,0 +1,15 @@ +diff --git a/src/Makefile.am b/src/Makefile.am +index 97839741..ff153d92 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -2,8 +2,8 @@ + EXTRA_DIST = \ + .indent.pro + +-ubindir = ${bindir} +-usbindir = ${sbindir} ++ubindir = ${prefix}/bin ++usbindir = ${prefix}/sbin + suidperms = 4755 + sgidperms = 2755 + diff --git a/sys-apps/shadow/shadow-4.8.ebuild b/sys-apps/shadow/shadow-4.8-r1.ebuild index 11bb45bfd040..615a53c7676d 100644 --- a/sys-apps/shadow/shadow-4.8.ebuild +++ b/sys-apps/shadow/shadow-4.8-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit libtool pam +inherit autotools libtool pam DESCRIPTION="Utilities to deal with user accounts" HOMEPAGE="https://github.com/shadow-maint/shadow" @@ -41,12 +41,13 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-4.1.3-dots-in-usernames.patch" + "${FILESDIR}/shadow-4.8-revert-bin-merge.patch" ) src_prepare() { default - #eautoreconf - elibtoolize + eautoreconf + #elibtoolize } src_configure() { @@ -119,6 +120,12 @@ src_install() { doins "${FILESDIR}"/default/useradd if use split-usr ; then + # move passwd to / to help recover broke systems #64441 + # We cannot simply remove this or else net-misc/scponly + # and other tools will break because of hardcoded passwd + # location + dodir /bin + mv "${ED}"/usr/bin/passwd "${ED}"/bin/ || die dosym ../../bin/passwd /usr/bin/passwd fi |