parent
35e5114655
commit
1d866a70e4
2 changed files with 32 additions and 1 deletions
31
srcpkgs/shadow/patches/fix-suidubins-assignments.patch
Normal file
31
srcpkgs/shadow/patches/fix-suidubins-assignments.patch
Normal file
|
@ -0,0 +1,31 @@
|
|||
From 61abb4645cb0c4911eea0a7ce63a9c7d37cabe8f Mon Sep 17 00:00:00 2001
|
||||
From: Wolfgang Bumiller <wry.git@bumiller.com>
|
||||
Date: Sat, 5 Nov 2016 15:51:13 +0100
|
||||
Subject: [PATCH] buildsys: fix suidubins assignments
|
||||
|
||||
These assignments were pasted as is into the Makefile and
|
||||
ended up as part of a rule. (Usually the .PRECIOUS rule
|
||||
which is why the build system never attempted to execute it
|
||||
as commands, hiding the problem.)
|
||||
|
||||
Signed-off-by: Wolfgang Bumiller <wry.git@bumiller.com>
|
||||
Reported-by: Rahel A <ra00177@surrey.ac.uk>
|
||||
---
|
||||
src/Makefile.am | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- src/Makefile.am.orig
|
||||
+++ src/Makefile.am
|
||||
@@ -54,10 +54,10 @@ noinst_PROGRAMS = id sulogin
|
||||
suidbins = su
|
||||
suidubins = chage chfn chsh expiry gpasswd newgrp passwd
|
||||
if ACCT_TOOLS_SETUID
|
||||
- suidubins += chage chgpasswd chpasswd groupadd groupdel groupmod newusers useradd userdel usermod
|
||||
+suidubins += chage chgpasswd chpasswd groupadd groupdel groupmod newusers useradd userdel usermod
|
||||
endif
|
||||
if ENABLE_SUBIDS
|
||||
- suidubins += newgidmap newuidmap
|
||||
+suidubins += newgidmap newuidmap
|
||||
endif
|
||||
|
||||
if WITH_TCB
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'shadow'
|
||||
pkgname=shadow
|
||||
version=4.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--bindir=/usr/bin --sbindir=/usr/bin
|
||||
--libdir=/usr/lib --enable-shared --disable-static
|
||||
|
|
Loading…
Reference in a new issue