Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pam for openSUSE:Factory checked in at 2021-02-22 14:22:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pam (Old) and /work/SRC/openSUSE:Factory/.pam.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pam" Mon Feb 22 14:22:42 2021 rev:110 rq:873577 version:1.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pam/pam.changes 2020-12-21 10:22:34.495936065 +0100 +++ /work/SRC/openSUSE:Factory/.pam.new.2378/pam.changes 2021-02-22 14:22:44.175571460 +0100 @@ -1,0 +2,10 @@ +Thu Feb 18 22:16:43 UTC 2021 - Thorsten Kukuk <ku...@suse.com> + +- Add missing conflicts for pam_unix-nis + +------------------------------------------------------------------- +Tue Feb 16 10:27:04 UTC 2021 - Thorsten Kukuk <ku...@suse.com> + +- Split out pam_unix module and build without NIS support + +------------------------------------------------------------------- New Changes file: --- /dev/null 2021-02-22 01:36:22.145178436 +0100 +++ /work/SRC/openSUSE:Factory/.pam.new.2378/pam_unix-nis.changes 2021-02-22 14:22:44.251571535 +0100 @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 18 22:16:58 UTC 2021 - Thorsten Kukuk <ku...@suse.com> + +- Add missing conflicts for pam_unix + +------------------------------------------------------------------- +Tue Feb 16 10:27:27 UTC 2021 - Thorsten Kukuk <ku...@suse.com> + +- Fix split provides and BuildRequires +- Makefile-pam_unix-nis.diff: Link pam_unix-nis.so against outside + pam library + +------------------------------------------------------------------- +Fri Feb 12 13:44:39 UTC 2021 - Thorsten Kukuk <ku...@suse.com> + +- standalone pam_unix with NIS support New: ---- Makefile-pam_unix-nis.diff pam_unix-nis.changes pam_unix-nis.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pam.spec ++++++ --- /var/tmp/diff_new_pack.InvQvY/_old 2021-02-22 14:22:44.807572077 +0100 +++ /var/tmp/diff_new_pack.InvQvY/_new 2021-02-22 14:22:44.811572081 +0100 @@ -81,12 +81,12 @@ Recommends: login_defs-support-for-pam >= 1.3.1 %if 0%{?suse_version} > 1320 BuildRequires: pkgconfig(libeconf) -BuildRequires: pkgconfig(libnsl) -BuildRequires: pkgconfig(libtirpc) %endif %if %{enable_selinux} BuildRequires: libselinux-devel %endif +Requires: pam_unix.so +Suggests: pam_unix %if 0%{?suse_version} >= 1330 Requires(pre): group(shadow) Requires(pre): user(root) @@ -97,6 +97,17 @@ allows system administrators to set authentication policies without having to recompile programs that do authentication. +%package -n pam_unix +Summary: PAM module for standard UNIX authentication +Group: System/Libraries +Provides: pam_unix.so +Conflicts: pam_unix-nis + +%description -n pam_unix +This package contains the pam_unix module, which does the standard +UNIX authentication against the passwd and shadow database. This +module does not contain NIS support. + %package extra Summary: PAM module to authenticate against a separate database Group: System/Libraries @@ -409,11 +420,6 @@ %{pamdir}/pam_timestamp.so %{pamdir}/pam_tty_audit.so %{pamdir}/pam_umask.so -%{pamdir}/pam_unix.so -%{pamdir}/pam_unix_acct.so -%{pamdir}/pam_unix_auth.so -%{pamdir}/pam_unix_passwd.so -%{pamdir}/pam_unix_session.so %{pamdir}/pam_usertype.so %{pamdir}/pam_warn.so %{pamdir}/pam_wheel.so @@ -428,6 +434,14 @@ %attr(0700,root,root) %{sbindir}/unix_update %{_unitdir}/pam_namespace.service +%files -n pam_unix +%defattr(-,root,root,755) +%{pamdir}/pam_unix.so +%{pamdir}/pam_unix_acct.so +%{pamdir}/pam_unix_auth.so +%{pamdir}/pam_unix_passwd.so +%{pamdir}/pam_unix_session.so + %files extra %defattr(-,root,root,755) %{pamdir}/pam_userdb.so ++++++ pam_unix-nis.spec ++++++ # # spec file for package pam # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %if !0%{?usrmerged} %define libdir /%{_lib} %define sbindir /sbin %define pamdir /%{_lib}/security %else %define libdir %{_libdir} %define sbindir %{_sbindir} # moving this to /usr needs fixing # several packages short of # https://github.com/linux-pam/linux-pam/issues/256 %define pamdir %{_libdir}/security %endif # %define enable_selinux 1 %define libpam_so_version 0.85.1 %define libpam_misc_so_version 0.82.1 %define libpamc_so_version 0.82.1 %if ! %{defined _distconfdir} %define _distconfdir %{_sysconfdir} %define config_noreplace 1 %endif Name: pam_unix-nis # Version: 1.5.1 Release: 0 Summary: PAM module for standard UNIX and NIS authentication License: GPL-2.0-or-later OR BSD-3-Clause Group: System/Libraries URL: http://www.linux-pam.org/ Source: Linux-PAM-%{version}.tar.xz Source9: baselibs.conf Patch: Makefile-pam_unix-nis.diff BuildRequires: pam-devel %if 0%{?suse_version} > 1320 BuildRequires: pkgconfig(libeconf) BuildRequires: pkgconfig(libnsl) BuildRequires: pkgconfig(libtirpc) %endif %if %{enable_selinux} BuildRequires: libselinux-devel %endif Provides: pam:/%{_lib}/security/pam_unix.so Provides: pam_unix.so Conflicts: pam_unix %description This package contains the pam_unix module, which does the standard UNIX authentication against the passwd and shadow database. This module has NIS support. %prep %setup -q -n Linux-PAM-%{version} %patch -p1 %build export CFLAGS="%{optflags} -DNDEBUG" %configure \ --includedir=%{_includedir}/security \ --docdir=%{_docdir}/pam \ --htmldir=%{_docdir}/pam/html \ --pdfdir=%{_docdir}/pam/pdf \ %if !0%{?usrmerged} --sbindir=/sbin \ --libdir=/%{_lib} \ %endif --enable-isadir=../..%{pamdir} \ --enable-securedir=%{pamdir} \ --enable-vendordir=%{_distconfdir} \ --enable-tally2 --enable-cracklib make -C modules/pam_unix %install mkdir -p %{buildroot}%{pamdir} install -m 755 modules/pam_unix/.libs/pam_unix.so %{buildroot}%{pamdir}/ for x in pam_unix_auth pam_unix_acct pam_unix_passwd pam_unix_session; do ln -f %{buildroot}%{pamdir}/pam_unix.so %{buildroot}%{pamdir}/$x.so done %files %license COPYING %{pamdir}/pam_unix.so %{pamdir}/pam_unix_acct.so %{pamdir}/pam_unix_auth.so %{pamdir}/pam_unix_passwd.so %{pamdir}/pam_unix_session.so %changelog ++++++ Makefile-pam_unix-nis.diff ++++++ diff -urN Linux-PAM-1.5.1.orig/modules/pam_unix/Makefile.in Linux-PAM-1.5.1/modules/pam_unix/Makefile.in --- Linux-PAM-1.5.1.orig/modules/pam_unix/Makefile.in 2020-11-25 17:57:14.000000000 +0100 +++ Linux-PAM-1.5.1/modules/pam_unix/Makefile.in 2021-02-12 14:33:38.159412343 +0100 @@ -155,7 +155,7 @@ $(am__cd) "$$dir" && rm -f $$files; }; \ } LTLIBRARIES = $(securelib_LTLIBRARIES) -pam_unix_la_DEPENDENCIES = $(top_builddir)/libpam/libpam.la +pam_unix_la_DEPENDENCIES = am_pam_unix_la_OBJECTS = bigcrypt.lo pam_unix_acct.lo pam_unix_auth.lo \ pam_unix_passwd.lo pam_unix_sess.lo support.lo passverify.lo \ yppasswd_xdr.lo md5_good.lo md5_broken.lo @@ -654,7 +654,7 @@ pam_unix_la_LDFLAGS = -no-undefined -avoid-version -module \ $(am__append_1) -pam_unix_la_LIBADD = $(top_builddir)/libpam/libpam.la \ +pam_unix_la_LIBADD = -lpam \ @LIBCRYPT@ @LIBSELINUX@ @TIRPC_LIBS@ @NSL_LIBS@ securelib_LTLIBRARIES = pam_unix.la ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.InvQvY/_old 2021-02-22 14:22:44.863572132 +0100 +++ /var/tmp/diff_new_pack.InvQvY/_new 2021-02-22 14:22:44.867572136 +0100 @@ -2,3 +2,7 @@ pam-extra pam-deprecated pam-devel +pam_unix + conflicts "pam_unix-nis-<targettype>" +pam_unix-nis + conflicts "pam_unix-<targettype>"