public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Marcel Lorenz <marcel.lorenz@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] shadow: update to 4.5
Date: Thu, 08 Jun 2017 22:00:52 +0200	[thread overview]
Message-ID: <20170608200052.8680-1-marcel.lorenz@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2507 bytes --]

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/shadow.html

Signed-off-by: Marcel Lorenz <marcel.lorenz(a)ipfire.org>
---
 lfs/shadow | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/lfs/shadow b/lfs/shadow
index c445dd3..0f0ba9e 100644
--- a/lfs/shadow
+++ b/lfs/shadow
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2017  IPFire Team  <info(a)ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 4.2.1
+VER        = 4.5
 
 THISAPP    = shadow-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 2bfafe7d4962682d31b5eba65dba4fc8
+$(DL_FILE)_MD5 = c350da50c2120de6bb29177699d89fe3
 
 install : $(TARGET)
 
@@ -71,6 +71,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/shadow-4.2.1-suppress_installation_of_groups.patch
+	cd $(DIR_APP) && find man -name Makefile.in -exec sed -i 's/groups\.1 / /'   {} \;
+	cd $(DIR_APP) && find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
+	cd $(DIR_APP) && find man -name Makefile.in -exec sed -i 's/passwd\.5 / /'   {} \;
+	cd $(DIR_APP) && sed -i -e 's@#ENCRYPT_METHOD DES(a)ENCRYPT_METHOD SHA512@' -e 's@/var/spool/mail@/var/mail@' etc/login.defs
+	cd $(DIR_APP) && sed -i 's/1000/999/' etc/useradd
 	cd $(DIR_APP) && ./configure --libdir=/lib	\
 				--sysconfdir=/etc	\
 				--enable-shared		\
@@ -87,7 +92,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	install -m 644 $(DIR_SRC)/config/shadow/limits /etc/limits
 	install -m 644 $(DIR_SRC)/config/shadow/login.access /etc/login.access
 	install -m 644 $(DIR_SRC)/config/shadow/login.defs /etc/login.defs
-
 	touch /etc/shadow
 	chmod 600 /etc/shadow
 	pwconv
-- 
2.9.3


                 reply	other threads:[~2017-06-08 20:00 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=20170608200052.8680-1-marcel.lorenz@ipfire.org \
    --to=marcel.lorenz@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