- apply patches{1,2,3}

- enable SHA512 in /etc/login.defs
This commit is contained in:
Peter Vrabec 2009-11-18 09:33:28 +00:00
parent cdd12ed1d1
commit 446ad2234a
3 changed files with 12 additions and 8 deletions

View File

@ -53,6 +53,6 @@ UMASK 077
# #
USERGROUPS_ENAB yes USERGROUPS_ENAB yes
# Use MD5 or DES to encrypt password? Red Hat use MD5 by default. # Use SHA512 to encrypt password.
MD5_CRYPT_ENAB yes ENCRYPT_METHOD SHA512

View File

@ -1,12 +1,12 @@
Summary: Utilities for managing accounts and shadow password files Summary: Utilities for managing accounts and shadow password files
Name: shadow-utils Name: shadow-utils
Version: 4.1.4.2 Version: 4.1.4.2
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 2 Epoch: 2
URL: http://pkg-shadow.alioth.debian.org/ URL: http://pkg-shadow.alioth.debian.org/
Source0: ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-%{version}.tar.bz2 Source0: ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-%{version}.tar.bz2
Source1: shadow-4.0.17-login.defs Source1: shadow-utils.login.defs
Source2: shadow-4.0.18.1-useradd Source2: shadow-utils.useradd
Patch0: shadow-4.1.4.2-redhat.patch Patch0: shadow-4.1.4.2-redhat.patch
Patch1: shadow-4.1.4.1-goodname.patch Patch1: shadow-4.1.4.1-goodname.patch
Patch2: shadow-4.1.4.2-leak.patch Patch2: shadow-4.1.4.2-leak.patch
@ -36,9 +36,9 @@ are used for managing group accounts.
%prep %prep
%setup -q -n shadow-%{version} %setup -q -n shadow-%{version}
%patch0 -p1 -b .redhat %patch0 -p1 -b .redhat
#%patch1 -p1 -b .goodname %patch1 -p1 -b .goodname
#%patch2 -p1 -b .leak %patch2 -p1 -b .leak
#%patch3 -p1 -b .fixes %patch3 -p1 -b .fixes
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8 iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
cp -f doc/HOWTO.utf8 doc/HOWTO cp -f doc/HOWTO.utf8 doc/HOWTO
@ -180,6 +180,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/vigr.8* %{_mandir}/man8/vigr.8*
%changelog %changelog
* Wed Nov 18 2009 Peter Vrabec <pvrabec@redhat.com> - 2:4.1.4.2-2
- apply patches{1,2,3}
- enable SHA512 in /etc/login.defs
* Mon Sep 07 2009 Peter Vrabec <pvrabec@redhat.com> - 2:4.1.4.2-1 * Mon Sep 07 2009 Peter Vrabec <pvrabec@redhat.com> - 2:4.1.4.2-1
- upgrade - upgrade