SHA256
1
0
forked from pool/pam

- revert-check_shadow_expiry.diff: revert wrong

CRYPT_SALT_METHOD_LEGACY check.

- revert-check_shadow_expiry.diff: revert wrong
  CRYPT_SALT_METHOD_LEGACY check.

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=242
This commit is contained in:
2021-07-13 13:43:07 +00:00
committed by Git OBS Bridge
parent 089ed3e485
commit 0fc7ab76cc
5 changed files with 48 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ Patch10: pam-bsc1181443-make-nofile-unlimited-mean-nr_open.patch
Patch11: bsc1184358-prevent-LOCAL-from-being-resolved.patch
# https://github.com/linux-pam/linux-pam/commit/e842a5fc075002f46672ebcd8e896624f1ec8068
Patch100: pam_securetty-don-t-complain-about-missing-config.patch
Patch101: revert-check_shadow_expiry.diff
BuildRequires: audit-devel
BuildRequires: bison
BuildRequires: cracklib-devel
@@ -172,6 +173,7 @@ cp -a %{SOURCE12} .
%patch10 -p1
%patch11 -p1
%patch100 -p1
%patch101 -p1
%build
bash ./pam-login_defs-check.sh
@@ -191,7 +193,7 @@ CFLAGS="$CFLAGS -DNDEBUG"
--enable-debug \
%endif
--enable-tally2 --enable-cracklib
make %{?_smp_mflags}
%make_build
gcc -fwhole-program -fpie -pie -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE %{optflags} -I%{_builddir}/Linux-PAM-%{version}/libpam/include %{SOURCE10} -o %{_builddir}/unix2_chkpwd -L%{_builddir}/Linux-PAM-%{version}/libpam/.libs -lpam
%check