From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] shadow-utils: Update to 4.4.
Date: Fri, 07 Oct 2016 15:15:36 +0200 [thread overview]
Message-ID: <1475846136-9493-1-git-send-email-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2442 bytes --]
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 <stefan.schantl(a)ipfire.org>
---
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 @@
###############################################################################
name = shadow-utils
-version = 4.2.1
-release = 2.1
+version = 4.4
+release = 1
thisapp = shadow-%{version}
maintainer = Michael Tremer <michael.tremer(a)ipfire.org>
groups = System/Base
-url = http://pkg-shadow.alioth.debian.org/
+url = https://github.com/shadow-maint/shadow/
license = GPLv2+
summary = Utilities to deal with user accounts.
@@ -20,37 +20,46 @@ description
format, plus programs for managing user and group accounts.
end
-source_dl = http://pkg-shadow.alioth.debian.org/releases/
-sources = %{thisapp}.tar.xz
+source_dl = https://github.com/shadow-maint/shadow/archive/%{version}.tar.gz#/
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
configure_options += \
--enable-shadowgrp \
+ --enable-man \
--with-sha-crypt \
- --with-selinux \
--without-libcrack \
--without-libpam \
--disable-static \
--with-group-name-max-length=32
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
sed -i src/Makefile.in \
--
2.7.4
reply other threads:[~2016-10-07 13:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475846136-9493-1-git-send-email-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox