Hello community,

here is the log from the commit of package pam-python for openSUSE:Factory 
checked in at 2017-10-06 11:04:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam-python (Old)
 and      /work/SRC/openSUSE:Factory/.pam-python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam-python"

Fri Oct  6 11:04:35 2017 rev:2 rq:531741 version:1.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam-python/pam-python.changes    2017-06-01 
16:31:21.642746061 +0200
+++ /work/SRC/openSUSE:Factory/.pam-python.new/pam-python.changes       
2017-10-06 11:04:41.426090993 +0200
@@ -1,0 +2,5 @@
+Thu Oct 05 14:18:33 UTC 2017 - [email protected]
+
+- Adding not_null_argument_for_strcmp.patch
+
+-------------------------------------------------------------------

New:
----
  not_null_argument_for_strcmp.patch

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

Other differences:
------------------
++++++ pam-python.spec ++++++
--- /var/tmp/diff_new_pack.oTdeKu/_old  2017-10-06 11:04:42.245966992 +0200
+++ /var/tmp/diff_new_pack.oTdeKu/_new  2017-10-06 11:04:42.245966992 +0200
@@ -15,17 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           pam-python
 Version:        1.0.6
 Release:        0
 Summary:        PAM module that allows PAM modules to be written in Python
 License:        AGPL-3.0
 Group:          Productivity/Security
-URL:            http://pam-python.sourceforge.net/
+Url:            http://pam-python.sourceforge.net/
 Source:         pam-python-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build 
+BuildRequires:  pam-devel
 BuildRequires:  python-devel
-BuildRequires:  pam-devel python-sphinx
+BuildRequires:  python-sphinx
+Patch:          not_null_argument_for_strcmp.patch
 
 %description
 pam_python is a PAM module that runs the Python interpreter, and so
@@ -33,6 +36,7 @@
 
 %prep
 %setup
+%patch -p1
 
 %build
 make

++++++ not_null_argument_for_strcmp.patch ++++++
--- pam-python-1.0.6/src/pam_python.c   2016-08-27 14:27:10.000000000 +0200
+++ pam-python-1.0.6/src/pam_python.c   2017-10-05 14:06:51.377228092 +0200
@@ -2226,6 +2226,10 @@
     goto error_exit;
   }
   dot = strrchr(user_module_name, '.');
+  #ifndef dot
+   *dot = '\0';
+  #endif
+
   if (dot != 0 || strcmp(dot, ".py") == 0)
     *dot = '\0';
   *user_module = PyModule_New(user_module_name);

Reply via email to