- pam-login_defs-check.sh: adjust for new login.defs variable usages
pam_tally2 has been removed upstream, remove pam_tally2-removal.patch - Update to version 1.5.2 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=247
This commit is contained in:
parent
dc65a6a40a
commit
3aaba5773b
@ -12,7 +12,7 @@ grep -rh LOGIN_DEFS . |
|
||||
sed -n 's/^.*search_key *([A-Za-z_]*, *[A-Z_]*LOGIN_DEFS, *"\([A-Z0-9_]*\)").*$/\1/p' |
|
||||
LC_ALL=C sort -u >pam-login_defs-vars.lst
|
||||
|
||||
if test $(sha1sum pam-login_defs-vars.lst | sed 's/ .*$//') != 3c6e0020c31609690b69ef391654df930b74151d ; then
|
||||
if test $(sha1sum pam-login_defs-vars.lst | sed 's/ .*$//') != e9750fd874b9b55fc151d424ae048050e3858d57 ; then
|
||||
|
||||
echo "does not match!" >&2
|
||||
echo "Checksum is: $(sha1sum pam-login_defs-vars.lst | sed 's/ .*$//')" >&2
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 10 10:08:28 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- pam-login_defs-check.sh: adjust for new login.defs variable usages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 11:51:30 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||
|
||||
@ -19,6 +24,8 @@ Mon Sep 6 11:51:30 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||
* Multiple minor bug fixes, portability fixes, documentation
|
||||
improvements, and translation updates.
|
||||
|
||||
pam_tally2 has been removed upstream, remove pam_tally2-removal.patch
|
||||
|
||||
pam_cracklib has been removed from the upstream sources. This
|
||||
obsoletes pam-pam_cracklib-add-usersubstr.patch and
|
||||
pam_cracklib-removal.patch.
|
||||
|
8
pam.spec
8
pam.spec
@ -57,8 +57,6 @@ Patch4: pam-hostnames-in-access_conf.patch
|
||||
Patch5: pam-xauth_ownership.patch
|
||||
Patch8: pam-bsc1177858-dont-free-environment-string.patch
|
||||
Patch12: pam_umask-usergroups-login_defs.patch
|
||||
# https://github.com/linux-pam/linux-pam/commit/e842a5fc075002f46672ebcd8e896624f1ec8068
|
||||
# Patch101: revert-check_shadow_expiry.diff
|
||||
BuildRequires: audit-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
@ -116,9 +114,7 @@ a Berkeley DB database.
|
||||
%package doc
|
||||
Summary: Documentation for Pluggable Authentication Modules
|
||||
Group: Documentation/HTML
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
PAM (Pluggable Authentication Modules) is a system security tool that
|
||||
@ -149,10 +145,9 @@ cp -a %{SOURCE12} .
|
||||
%patch5 -p1
|
||||
%patch8 -p1
|
||||
%patch12 -p1
|
||||
# %%patch101 -p1
|
||||
|
||||
%build
|
||||
# bash ./pam-login_defs-check.sh
|
||||
bash ./pam-login_defs-check.sh
|
||||
export CFLAGS="%{optflags}"
|
||||
%if !%{with debug}
|
||||
CFLAGS="$CFLAGS -DNDEBUG"
|
||||
@ -253,7 +248,6 @@ done
|
||||
%dir %{_pam_secconfdir}
|
||||
%dir %{_pam_secconfdir}/limits.d
|
||||
%dir %{_prefix}/lib/motd.d
|
||||
%ghost %dir %{_rundir}/motd.d
|
||||
%if %{defined config_noreplace}
|
||||
%config(noreplace) %{_pam_confdir}/other
|
||||
%config(noreplace) %{_pam_confdir}/common-*
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 10 10:23:13 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 1.5.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 13:40:54 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
%endif
|
||||
Name: pam_unix-nis
|
||||
#
|
||||
Version: 1.5.1
|
||||
Version: 1.5.2
|
||||
Release: 0
|
||||
Summary: PAM module for standard UNIX and NIS authentication
|
||||
License: GPL-2.0-or-later OR BSD-3-Clause
|
||||
@ -36,7 +36,6 @@ URL: http://www.linux-pam.org/
|
||||
Source: Linux-PAM-%{version}.tar.xz
|
||||
Source9: baselibs.conf
|
||||
Patch: Makefile-pam_unix-nis.diff
|
||||
Patch1: revert-check_shadow_expiry.diff
|
||||
BuildRequires: pam-devel
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: pkgconfig(libeconf)
|
||||
@ -58,7 +57,6 @@ module has NIS support.
|
||||
%prep
|
||||
%setup -q -n Linux-PAM-%{version}
|
||||
%patch -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -DNDEBUG"
|
||||
@ -69,8 +67,7 @@ export CFLAGS="%{optflags} -DNDEBUG"
|
||||
--pdfdir=%{_docdir}/pam/pdf \
|
||||
--enable-isadir=../..%{_pam_moduledir} \
|
||||
--enable-securedir=%{_pam_moduledir} \
|
||||
--enable-vendordir=%{_distconfdir} \
|
||||
--enable-tally2
|
||||
--enable-vendordir=%{_distconfdir}
|
||||
make -C modules/pam_unix
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user