From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] shadow-utils: Update to 4.4. Date: Fri, 07 Oct 2016 15:15:36 +0200 Message-ID: <1475846136-9493-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8990791935353931015==" List-Id: --===============8990791935353931015== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is a major update to the latest version of shadow-utils. * They are now hosted on github. * Adjust code to not generate manpages or binaries for a certain tools. * Drop support for SELinux. Fixes #11228. Signed-off-by: Stefan Schantl --- shadow-utils/shadow-utils.nm | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/shadow-utils/shadow-utils.nm b/shadow-utils/shadow-utils.nm index 378121e..11dcf28 100644 --- a/shadow-utils/shadow-utils.nm +++ b/shadow-utils/shadow-utils.nm @@ -4,13 +4,13 @@ ############################################################################= ### =20 name =3D shadow-utils -version =3D 4.2.1 -release =3D 2.1 +version =3D 4.4 +release =3D 1 thisapp =3D shadow-%{version} =20 maintainer =3D Michael Tremer groups =3D System/Base -url =3D http://pkg-shadow.alioth.debian.org/ +url =3D https://github.com/shadow-maint/shadow/ license =3D GPLv2+ summary =3D Utilities to deal with user accounts. =20 @@ -20,37 +20,46 @@ description format, plus programs for managing user and group accounts. end =20 -source_dl =3D http://pkg-shadow.alioth.debian.org/releases/ -sources =3D %{thisapp}.tar.xz +source_dl =3D https://github.com/shadow-maint/shadow/archive/%{version}.tar= .gz#/ =20 build requires + autoconf + automake audit-devel bison + docbook-xsl flex + gettext-devel gnome-doc-utils libacl-devel libattr-devel libcap-devel - libselinux-devel - libsemanage-devel + libtool end =20 configure_options +=3D \ --enable-shadowgrp \ + --enable-man \ --with-sha-crypt \ - --with-selinux \ --without-libcrack \ --without-libpam \ --disable-static \ --with-group-name-max-length=3D32 =20 prepare_cmds + autoreconf -vfi + # Do not build these files: for i in nologin chfn chgpasswd chpasswd chsh expiry gpasswd groups login \ logoutd passwd su; do \ + + # Do not generate any manpages for them. + find man -name Makefile.in -exec sed -i -e "/$i\.[1-9]\.xml/d" {} \;; \ + find man -name Makefile.in -exec sed -i -e "s/man1\/$i\.1/ /" {} \;; \ + + # Do not compile them. sed -i "s/$i\$(EXEEXT)//" src/Makefile.in; \ - find man -name Makefile.in -exec sed -i "s/$i\.1/ /" {} \;; \ done =20 sed -i src/Makefile.in \ --=20 2.7.4 --===============8990791935353931015==--