- Update to current Linux-PAM snapshot

- Obsoletes pam_namespace-systemd.diff

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=209
This commit is contained in:
Thorsten Kukuk 2020-05-12 11:32:07 +00:00 committed by Git OBS Bridge
parent db3a5fbd69
commit 868d149bc4
7 changed files with 13 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c36209714f41cb58379be9330bf990e28affc0b51d89eab976a8b02ec5a9529
size 464040

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1f6ade473809f6c2b284426cee67f3d2162ce791f7b26c56c2f8928e9be9f8c
size 975768

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45c03e0c2b34263fbb0038c3045650dbc1d2a0e520e8c0283c3baef9d95bd7f0
size 464208

3
Linux-PAM-1.3.91.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa94b9495c0a7346a442528e6db1f8768fb224085f378eb40f1c08ec36f39fcc
size 976108

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 12 11:30:27 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Update to current Linux-PAM snapshot
- Obsoletes pam_namespace-systemd.diff
-------------------------------------------------------------------
Tue May 12 09:24:46 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -28,7 +28,7 @@
%define libpamc_so_version 0.82.1
Name: pam
#
Version: 1.3.90
Version: 1.3.91
Release: 0
Summary: A Security Tool that Provides Authentication for Applications
License: GPL-2.0-or-later OR BSD-3-Clause
@ -50,11 +50,7 @@ Patch0: fix-man-links.dif
Patch2: pam-limit-nproc.patch
Patch4: pam-hostnames-in-access_conf.patch
Patch5: use-correct-IP-address.patch
Patch6: pam_namespace-systemd.diff
BuildRequires: audit-devel
# Remove with next version update:
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: cracklib-devel
BuildRequires: flex
@ -77,8 +73,6 @@ BuildRequires: libselinux-devel
Requires(pre): group(shadow)
Requires(pre): user(root)
%endif
BuildRequires: autoconf
BuildRequires: automake
%description
PAM (Pluggable Authentication Modules) is a system security tool that
@ -135,11 +129,9 @@ cp -a %{SOURCE12} .
%patch2 -p1
#%patch4
#%patch5 -p1
%patch6 -p1
%build
bash ./pam-login_defs-check.sh
autoreconf -fiv
export CFLAGS="%{optflags} -DNDEBUG"
%configure \
--sbindir=/sbin \

View File

@ -1,13 +0,0 @@
diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am
index eacd5201..21e1b33a 100644
--- a/modules/pam_namespace/Makefile.am
+++ b/modules/pam_namespace/Makefile.am
@@ -18,7 +18,7 @@ TESTS = $(dist_check_SCRIPTS)
securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)
namespaceddir = $(SCONFIGDIR)/namespace.d
-servicedir = $(prefix)/lib/systemd
+servicedir = $(prefix)/lib/systemd/system
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
-DSECURECONF_DIR=\"$(SCONFIGDIR)/\" $(WARN_CFLAGS)