- boo#1048645:

Set suid bit for newuidmap and newgimap

- Revert the changes for bsc#1023895 back
  Pulls in too many deps into ring0.
  Next version of shadow plans to have no conditional man pages.

OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=38
This commit is contained in:
Michael Vetter 2017-09-14 08:23:12 +00:00 committed by Git OBS Bridge
parent e4491e0a36
commit e81ef12b85
2 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Sep 14 08:18:27 UTC 2017 - mvetter@suse.com
- boo#1048645:
Set suid bit for newuidmap and newgimap
-------------------------------------------------------------------
Thu Sep 14 08:17:08 UTC 2017 - mvetter@suse.com
- Revert the changes for bsc#1023895 back
Pulls in too many deps into ring0.
Next version of shadow plans to have no conditional man pages.
-------------------------------------------------------------------
Fri Sep 8 11:41:13 UTC 2017 - mvetter@suse.com

View File

@ -46,15 +46,11 @@ Patch11: useradd-mkdirs.patch
Patch18: shadow-4.1.5.1-pam_group.patch
Patch20: disable_new_audit_function.patch
BuildRequires: audit-devel > 2.3
BuildRequires: docbook-xsl-stylesheets
BuildRequires: docbook_4
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libselinux-devel
BuildRequires: libsemanage-devel
BuildRequires: pam-devel
BuildRequires: xml2po
BuildRequires: xsltproc
BuildRequires: xz
Requires: group(root)
Requires: user(root)
@ -103,8 +99,7 @@ export LDFLAGS="-pie"
--with-selinux \
--without-libcrack \
--disable-shared \
--with-group-name-max-length=32 \
--enable-man
--with-group-name-max-length=32
make
%install
@ -233,8 +228,8 @@ rm -rf %{buildroot}%{_mandir}/{??,??_??}
%verify(not mode) %attr(4755,root,shadow) %{_bindir}/gpasswd
%verify(not mode) %attr(4755,root,root) %{_bindir}/newgrp
%verify(not mode) %attr(4755,root,shadow) %{_bindir}/passwd
%verify(not mode) %attr(0755,root,shadow) %{_bindir}/newgidmap
%verify(not mode) %attr(0755,root,shadow) %{_bindir}/newuidmap
%verify(not mode) %attr(4755,root,shadow) %{_bindir}/newgidmap
%verify(not mode) %attr(4755,root,shadow) %{_bindir}/newuidmap
%{_bindir}/lastlog
%{_bindir}/sg
%{_sbindir}/groupadd