From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Lorenz To: development@lists.ipfire.org Subject: [PATCH] shadow: update to 4.5 Date: Thu, 08 Jun 2017 22:00:52 +0200 Message-ID: <20170608200052.8680-1-marcel.lorenz@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7484031990393080016==" List-Id: --===============7484031990393080016== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://www.linuxfromscratch.org/blfs/view/svn/postlfs/shadow.html Signed-off-by: Marcel Lorenz --- 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 = # # = # # 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 @@ =20 include Config =20 -VER =3D 4.2.1 +VER =3D 4.5 =20 THISAPP =3D shadow-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D 2bfafe7d4962682d31b5eba65dba4fc8 +$(DL_FILE)_MD5 =3D c350da50c2120de6bb29177699d89fe3 =20 install : $(TARGET) =20 @@ -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=3D/lib \ --sysconfdir=3D/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 --=20 2.9.3 --===============7484031990393080016==--