Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package google-guest-oslogin for 
openSUSE:Factory checked in at 2022-02-09 20:39:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-guest-oslogin (Old)
 and      /work/SRC/openSUSE:Factory/.google-guest-oslogin.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "google-guest-oslogin"

Wed Feb  9 20:39:24 2022 rev:13 rq:952744 version:20220205.00

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/google-guest-oslogin/google-guest-oslogin.changes    
    2021-12-08 00:00:47.223526957 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-guest-oslogin.new.1898/google-guest-oslogin.changes
      2022-02-09 20:40:34.338572914 +0100
@@ -1,0 +2,10 @@
+Tue Feb  8 15:47:52 UTC 2022 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to version 20220205.00 (bsc#1195437, bsc#1195438)
+  * Fix build for EL9. (#82)
+- from version 20211213.00
+  * Reauth error (#81)
+- Rename Source0 field to Source
+- Update URL in Source field to point to upstream tarball
+
+-------------------------------------------------------------------

Old:
----
  google-guest-oslogin-20211013.00.tar.gz

New:
----
  google-guest-oslogin-20220205.00.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ google-guest-oslogin.spec ++++++
--- /var/tmp/diff_new_pack.hkllWv/_old  2022-02-09 20:40:34.742573881 +0100
+++ /var/tmp/diff_new_pack.hkllWv/_new  2022-02-09 20:40:34.746573890 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package google-guest-oslogin
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           google-guest-oslogin
-Version:        20211013.00
+Version:        20220205.00
 Release:        0
 Summary:        Google Cloud Guest OS Login
 License:        Apache-2.0
 Group:          System/Daemons
 URL:            https://github.com/GoogleCloudPlatform/guest-oslogin
-Source0:        %{name}-%{version}.tar.gz
+Source:         %{url}/archive/%{version}/%{name}-%{version}.tar.gz
 Requires:       openssh
 Requires:       pam
 Requires(post): glibc

++++++ google-guest-oslogin-20211013.00.tar.gz -> 
google-guest-oslogin-20220205.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/guest-oslogin-20211013.00/packaging/google-compute-engine-oslogin.spec 
new/guest-oslogin-20220205.00/packaging/google-compute-engine-oslogin.spec
--- old/guest-oslogin-20211013.00/packaging/google-compute-engine-oslogin.spec  
2021-10-13 02:28:59.000000000 +0200
+++ new/guest-oslogin-20220205.00/packaging/google-compute-engine-oslogin.spec  
2022-01-13 23:21:03.000000000 +0100
@@ -33,12 +33,7 @@
 BuildRequires:  json-c-devel
 BuildRequires:  pam-devel
 BuildRequires:  policycoreutils
-
-%if 0%{?rhel} == 6
-Requires: crontabs
-%else
 BuildRequires: systemd
-%endif
 
 Requires: boost-regex
 Requires: json-c
@@ -58,11 +53,7 @@
 
 %install
 rm -rf %{buildroot}
-%if 0%{?rhel} == 6
-make install DESTDIR=%{buildroot} LIBDIR=/%{_lib} VERSION=%{version} 
INSTALL_SELINUX=y INSTALL_CRON=y
-%else
 make install DESTDIR=%{buildroot} LIBDIR=/%{_lib} VERSION=%{version} 
INSTALL_SELINUX=y
-%endif
 
 %files
 %doc
@@ -80,16 +71,11 @@
 %{_mandir}/man8/libnss_oslogin.so.2.8.gz
 %{_mandir}/man8/nss-cache-oslogin.8.gz
 %{_mandir}/man8/libnss_cache_oslogin.so.2.8.gz
-%if 0%{?rhel} == 6
-%config(noreplace) /etc/cron.d/%{name}
-%else
 /lib/systemd/system/google-oslogin-cache.service
 /lib/systemd/system/google-oslogin-cache.timer
 /lib/systemd/system-preset/90-google-compute-engine-oslogin.preset
-%endif
 
 %post
-%if 0%{?rhel} != 6
 if [ $1 -eq 1 ]; then
   # Initial installation
   systemctl enable google-oslogin-cache.timer >/dev/null 2>&1 || :
@@ -99,15 +85,8 @@
     systemctl start google-oslogin-cache.timer >/dev/null 2>&1 || :
   fi
 fi
-%endif
 
 /sbin/ldconfig
-if [ $1 -gt 1 ]; then  # This is an upgrade.
-  if semodule -l | grep -qi oslogin.el6; then
-    echo "Removing old SELinux module for OS Login."
-    semodule -r oslogin.el6
-  fi
-fi
 
 echo "Installing SELinux module for OS Login."
 semodule -i /usr/share/selinux/packages/oslogin.pp
@@ -116,12 +95,11 @@
 fi
 
 %preun
-%if 0%{?rhel} != 6
 %systemd_preun google-oslogin-cache.timer
-%endif
 
+# This is only relevant on EL7.
+%if 0%{?rhel} == 7
 %postun
-%if 0%{?rhel} != 6
 %systemd_postun
 %endif
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/guest-oslogin-20211013.00/src/pam/pam_oslogin_login.cc 
new/guest-oslogin-20220205.00/src/pam/pam_oslogin_login.cc
--- old/guest-oslogin-20211013.00/src/pam/pam_oslogin_login.cc  2021-10-13 
02:28:59.000000000 +0200
+++ new/guest-oslogin-20220205.00/src/pam/pam_oslogin_login.cc  2022-01-13 
23:21:03.000000000 +0100
@@ -279,6 +279,9 @@
 
   if (!ParseJsonToKey(response, "status", &status)
       || status != "AUTHENTICATED") {
+    if (ParseJsonToKey(response, "rejectionReason", &status) && 
!status.empty()) {
+      pam_error(pamh, status.c_str());
+    }
     return PAM_PERM_DENIED;
   }
 

Reply via email to