From: Stefan Schantl Date: Mon, 20 Mar 2023 11:04:14 +0000 (+0100) Subject: shadow-utils: Use capabilites and remove more unused binaries X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85964a3c4b77aa08ab783e13ac14fed52179cee8;p=ipfire-3.x.git shadow-utils: Use capabilites and remove more unused binaries Signed-off-by: Stefan Schantl --- diff --git a/shadow-utils/shadow-utils.nm b/shadow-utils/shadow-utils.nm index 1b3be3674..fcc4fd5fd 100644 --- a/shadow-utils/shadow-utils.nm +++ b/shadow-utils/shadow-utils.nm @@ -5,7 +5,7 @@ name = shadow-utils version = 4.13 -release = 1 +release = 2 thisapp = shadow-%{version} groups = System/Base @@ -51,14 +51,12 @@ build --with-yescrypt \ --without-audit \ --without-selinux \ - --without-su - - # This should be enabled, but our environment currently does not support this - configure_options += --without-fcaps + --without-su \ + --with-fcaps install_cmds rm -vf \ - %{BUILDROOT}/{%{bindir},%{sbindir},%{mandir}/*}/{chfn,chsh,login,logoutd,newgrp,nologin,sg,vigr,vipw}* + %{BUILDROOT}/{%{bindir},%{sbindir},%{mandir}/*}/{chage,chfn,chsh,expiry,login,logoutd,newgrp,nologin,sg,vigr,vipw}* end end