]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
shadow-utils: Use capabilites and remove more unused binaries
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 20 Mar 2023 11:04:14 +0000 (12:04 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:40 +0000 (18:25 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
shadow-utils/shadow-utils.nm

index 1b3be3674af7ccf2f53dc650935b33c813292598..fcc4fd5fdc871970153f951f5fd68daedaf0c9a6 100644 (file)
@@ -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