Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pam_dbus for openSUSE:Factory 
checked in at 2021-08-20 16:57:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam_dbus (Old)
 and      /work/SRC/openSUSE:Factory/.pam_dbus.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam_dbus"

Fri Aug 20 16:57:40 2021 rev:5 rq:913024 version:0.2.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam_dbus/pam_dbus.changes        2020-07-27 
17:49:47.583548402 +0200
+++ /work/SRC/openSUSE:Factory/.pam_dbus.new.1899/pam_dbus.changes      
2021-08-20 16:57:47.438881215 +0200
@@ -1,0 +2,5 @@
+Thu Aug 19 07:35:01 UTC 2021 - Dr. Werner Fink <wer...@suse.de>
+
+- Extend patch pam_dbus-0.2.1.3.dif to silent the module usage
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pam_dbus.spec ++++++
--- /var/tmp/diff_new_pack.ShJqkb/_old  2021-08-20 16:57:48.298879907 +0200
+++ /var/tmp/diff_new_pack.ShJqkb/_new  2021-08-20 16:57:48.302879901 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package pam_dbus
 #
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) specCURRENT_YEAR SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,16 +13,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define         commit 1d32154
 Name:           pam_dbus
 Version:        0.2.1.3
 Release:        0
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Summary:        PAM module asking the logged in user for confirmation
-Url:            
http://git.nomeata.de/?p=darcs-mirror-pam-dbus.debian.git;a=summary
+URL:            
http://git.nomeata.de/?p=darcs-mirror-pam-dbus.debian.git;a=summary
 Group:          Productivity/Networking
 Source0:        
http://git.nomeata.de/?p=darcs-mirror-pam-dbus.debian.git;a=snapshot;h=1d32154;sf=tgz#/%{name}-%{version}.tar.gz
 Source1:        pam_dbus.8

++++++ pam_dbus-0.2.1.3.dif ++++++
--- /var/tmp/diff_new_pack.ShJqkb/_old  2021-08-20 16:57:48.322879870 +0200
+++ /var/tmp/diff_new_pack.ShJqkb/_new  2021-08-20 16:57:48.322879870 +0200
@@ -1,6 +1,7 @@
 ---
  data/pam_dbus.conf |    3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
+ src/pam_dbus.c     |   12 ++++++++++++
+ 2 files changed, 13 insertions(+), 2 deletions(-)
 
 --- data/pam_dbus.conf
 +++ data/pam_dbus.conf 2017-07-11 08:43:18.343905071 +0000
@@ -14,3 +15,36 @@
      <allow own="de.nomeata.pam_dbus"/>
    </policy>
    <policy user="root">
+--- src/pam_dbus.c
++++ src/pam_dbus.c     2021-08-19 07:33:23.113478347 +0000
+@@ -24,6 +24,7 @@
+ #include <glib.h>
+ #include <dbus/dbus.h>
+ #include <dbus/dbus-glib.h>
++#include <syslog.h>
+ 
+ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *ph, int flags, int argc, 
const char **argv) {
+   DBusGConnection *connection;
+@@ -32,7 +33,9 @@ PAM_EXTERN int pam_sm_authenticate(pam_h
+ 
+   gboolean login_ok;
+   
++#if !GLIB_CHECK_VERSION (2,35,0)
+   g_type_init ();
++#endif
+ 
+   error = NULL;
+   connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
+@@ -78,3 +81,12 @@ PAM_EXTERN int pam_sm_authenticate(pam_h
+ 
+   return login_ok ? PAM_SUCCESS : PAM_AUTH_ERR;
+ }
++
++PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc 
__attribute__((unused)), const
++                              char **argv __attribute__((unused))) {
++  int rc = ((flags & PAM_ESTABLISH_CRED) ? PAM_SUCCESS :
++      (flags & PAM_REINITIALIZE_CRED) ? PAM_SUCCESS :
++      (flags & PAM_REFRESH_CRED) ? PAM_SUCCESS :
++      (flags & PAM_DELETE_CRED) ? PAM_SUCCESS : PAM_SUCCESS);
++  return rc;    
++}

Reply via email to