X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=shadow.spec;h=8031d8cf7d1a448b657456ddab71145bef60177d;hb=482ae6ebc51c096b837c9d8f40c5c40a9d599e5f;hp=ab458da3aa1e3f41e82c2bce32add93dc6f5370f;hpb=a9f467efba7d0653cbb5c452d37632ba210bc346;p=packages%2Fshadow.git diff --git a/shadow.spec b/shadow.spec index ab458da..8031d8c 100644 --- a/shadow.spec +++ b/shadow.spec @@ -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.8 +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: 723ebb19b06e2f52d9ed7f0653483851 Source2: %{name}-login.defs Source3: %{name}.useradd Source10: chage.pamd @@ -59,9 +33,11 @@ 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 +Patch3: paths.patch URL: https://github.com/shadow-maint/shadow BuildRequires: acl-devel BuildRequires: attr-devel @@ -147,6 +123,8 @@ utilitários e senhas shadow em geral. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build # NOTE: