Hello community, here is the log from the commit of package pam_wrapper for openSUSE:Factory checked in at 2016-06-09 16:12:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pam_wrapper (Old) and /work/SRC/openSUSE:Factory/.pam_wrapper.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pam_wrapper" Changes: -------- --- /work/SRC/openSUSE:Factory/pam_wrapper/pam_wrapper.changes 2016-02-26 22:19:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pam_wrapper.new/pam_wrapper.changes 2016-06-09 16:16:22.000000000 +0200 @@ -1,0 +2,7 @@ +Tue May 31 06:58:44 UTC 2016 - asn@cryptomilk.org + +- Update to version 1.0.2 + * Fixed pam_wrapper on some BSDs + * Fixed simple conversation in libpamtest + +------------------------------------------------------------------- Old: ---- pam_wrapper-1.0.1.tar.gz New: ---- pam_wrapper-1.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pam_wrapper.spec ++++++ --- /var/tmp/diff_new_pack.BLejw3/_old 2016-06-09 16:16:23.000000000 +0200 +++ /var/tmp/diff_new_pack.BLejw3/_new 2016-06-09 16:16:23.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pam_wrapper # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ ############################# NOTE ################################## Name: pam_wrapper -Version: 1.0.1 +Version: 1.0.2 Release: 0 Summary: A tool to test PAM applications and PAM modules @@ -39,8 +39,8 @@ BuildRequires: doxygen BuildRequires: libcmocka-devel BuildRequires: pam-devel -BuildRequires: python-devel BuildRequires: pkg-config +BuildRequires: python-devel Recommends: pkg-config Recommends: cmake @@ -60,7 +60,7 @@ %package -n libpamtest0 Summary: A tool to test PAM applications and PAM modules -License: GPL-3.0+ +Group: Development/Libraries/C and C++ Requires: pam_wrapper = %{version}-%{release} %description -n libpamtest0 @@ -69,9 +69,9 @@ %package -n libpamtest-devel Summary: A tool to test PAM applications and PAM modules -License: GPL-3.0+ -Requires: pam_wrapper = %{version}-%{release} +Group: Development/Libraries/C and C++ Requires: libpamtest0 = %{version}-%{release} +Requires: pam_wrapper = %{version}-%{release} Recommends: pkg-config Recommends: cmake @@ -83,16 +83,16 @@ %package -n libpamtest-devel-doc Summary: The libpamtest API documentation -License: GPL-3.0+ +Group: Development/Libraries/C and C++ %description -n libpamtest-devel-doc Documentation for libpamtest development. %package -n python-libpamtest Summary: A python wrapper for libpamtest -License: GPL-3.0+ -Requires: pam_wrapper = %{version}-%{release} +Group: Development/Libraries/C and C++ Requires: libpamtest0 = %{version}-%{release} +Requires: pam_wrapper = %{version}-%{release} %description -n python-libpamtest If you plan to develop python tests for a PAM module, you can use this ++++++ pam_wrapper-1.0.1.tar.gz -> pam_wrapper-1.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.0.1/CMakeLists.txt new/pam_wrapper-1.0.2/CMakeLists.txt --- old/pam_wrapper-1.0.1/CMakeLists.txt 2016-01-18 11:11:16.000000000 +0100 +++ new/pam_wrapper-1.0.2/CMakeLists.txt 2016-05-24 08:00:43.000000000 +0200 @@ -8,7 +8,7 @@ set(APPLICATION_VERSION_MAJOR "1") set(APPLICATION_VERSION_MINOR "0") -set(APPLICATION_VERSION_PATCH "1") +set(APPLICATION_VERSION_PATCH "2") set(APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}") @@ -22,7 +22,7 @@ set(LIBRARY_VERSION "0.0.2") set(LIBRARY_SOVERSION "0") -set(PAMTEST_LIBRARY_VERSION "0.0.1") +set(PAMTEST_LIBRARY_VERSION "0.0.2") set(PAMTEST_LIBRARY_SOVERSION "0") # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.0.1/ChangeLog new/pam_wrapper-1.0.2/ChangeLog --- old/pam_wrapper-1.0.1/ChangeLog 2016-01-18 11:11:16.000000000 +0100 +++ new/pam_wrapper-1.0.2/ChangeLog 2016-05-24 08:00:21.000000000 +0200 @@ -1,6 +1,10 @@ ChangeLog ========== +version 1.0.2 (released 2016-05-24) + * Fixed pam_wrapper on some BSDs + * Fixed simple conversation in libpamtest + version 1.0.1 (released 2016-01-18) * Fixed issue with audit_open() and sshd * Fixed several issues found by Coverity diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.0.1/pam_wrapper.pc.cmake new/pam_wrapper-1.0.2/pam_wrapper.pc.cmake --- old/pam_wrapper-1.0.1/pam_wrapper.pc.cmake 2015-12-10 16:38:34.000000000 +0100 +++ new/pam_wrapper-1.0.2/pam_wrapper.pc.cmake 2016-05-23 09:24:23.000000000 +0200 @@ -1,3 +1,5 @@ +modules=@LIB_INSTALL_DIR@/pam_wrapper + Name: @APPLICATION_NAME@ Description: The pam_wrapper library Version: @APPLICATION_VERSION@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.0.1/src/libpamtest.c new/pam_wrapper-1.0.2/src/libpamtest.c --- old/pam_wrapper-1.0.1/src/libpamtest.c 2016-01-15 10:55:14.000000000 +0100 +++ new/pam_wrapper-1.0.2/src/libpamtest.c 2016-05-23 09:24:23.000000000 +0200 @@ -294,9 +294,12 @@ } } - if (response) { + if (response && ri > 0) { *response = reply; + } else { + free(reply); } + return PAM_SUCCESS; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.0.1/src/pam_wrapper.c new/pam_wrapper-1.0.2/src/pam_wrapper.c --- old/pam_wrapper-1.0.1/src/pam_wrapper.c 2016-01-18 11:11:16.000000000 +0100 +++ new/pam_wrapper-1.0.2/src/pam_wrapper.c 2016-05-23 09:24:23.000000000 +0200 @@ -1518,6 +1518,15 @@ return -1; } +/* Disable BSD auditing */ +int cannot_audit(int x); +int cannot_audit(int x) +{ + (void) x; + + return 1; +} + /**************************** * DESTRUCTOR ***************************/