]> TLD Linux GIT Repositories - packages/shadow.git/blobdiff - shadow.spec
- updated to 4.7
[packages/shadow.git] / shadow.spec
index ab458da3aa1e3f41e82c2bce32add93dc6f5370f..2a167bcc009d44bc2604e5c01d3c9df77cbdbe25 100644 (file)
@@ -1,27 +1,3 @@
-# TODO
-# - /etc/login.defs contains options valid only when PAM is disabled:
-# gpasswd -M chef_server chef_server
-#configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
-#configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
-#configuration error - unknown item 'MAIL_CHECK_ENAB' (notify administrator)
-#configuration error - unknown item 'OBSCURE_CHECKS_ENAB' (notify administrator)
-#configuration error - unknown item 'PORTTIME_CHECKS_ENAB' (notify administrator)
-#configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
-#configuration error - unknown item 'MOTD_FILE' (notify administrator)
-#configuration error - unknown item 'FTMP_FILE' (notify administrator)
-#configuration error - unknown item 'NOLOGINS_FILE' (notify administrator)
-#configuration error - unknown item 'ENV_HZ' (notify administrator)
-#configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
-#configuration error - unknown item 'SU_WHEEL_ONLY' (notify administrator)
-#configuration error - unknown item 'CRACKLIB_DICTPATH' (notify administrator)
-#configuration error - unknown item 'PASS_CHANGE_TRIES' (notify administrator)
-#configuration error - unknown item 'PASS_ALWAYS_WARN' (notify administrator)
-#configuration error - unknown item 'CHFN_AUTH' (notify administrator)
-#configuration error - unknown item 'ENVIRON_FILE' (notify administrator)
-# - sync pam files from pwdutils
-# - tcb support?
-# - ensure Conflicts with various packages (util-linux,sysvinit,coreutils) is up to date
-
 # Conditional build:
 %bcond_without selinux         # build without SE-Linux support
 %bcond_with    shared          # build with shared libshadow (linking with selinux is broken)
@@ -34,15 +10,13 @@ Summary(pl.UTF-8):  Narzędzia do obsługi mechanizmu ukrytych haseł
 Summary(pt_BR.UTF-8):  Utilitários para o arquivo de senhas Shadow
 Summary(tr.UTF-8):     Gölge parola dosyası araçları
 Name:          shadow
-Version:       4.6
-#BuildRequires:        useradd -g is broken, use pwdutils, or fix it:
-# http://zie.pg.gda.pl/mailman/pipermail/shadow/2006-September/000395.html
-Release:       0.1
+Version:       4.7
+Release:       1
 Epoch:         1
 License:       BSD
 Group:         Applications/System
 Source0:       https://github.com/shadow-maint/shadow/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: b491fecbf1232632c32ff8f1437fd60e
+# Source0-md5: f7ce18c8dfd05f1a009266cb604d58b7
 Source2:       %{name}-login.defs
 Source3:       %{name}.useradd
 Source10:      chage.pamd
@@ -59,9 +33,10 @@ Source20:    passwd.pamd
 Source21:      useradd.pamd
 Source22:      userdel.pamd
 Source23:      usermod.pamd
-Patch0:                %{name}-pld.patch
+Patch0:                %{name}-tld.patch
 # allow names with upper case letters or containing dot in the middle
 Patch1:                %{name}-goodname.patch
+Patch2:                pam-login-delay.patch
 URL:           https://github.com/shadow-maint/shadow
 BuildRequires: acl-devel
 BuildRequires: attr-devel
@@ -147,6 +122,7 @@ utilitários e senhas shadow em geral.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # NOTE: