Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pam_wrapper for openSUSE:Factory checked in at 2026-01-05 14:50:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pam_wrapper (Old) and /work/SRC/openSUSE:Factory/.pam_wrapper.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pam_wrapper" Mon Jan 5 14:50:09 2026 rev:17 rq:1325206 version:1.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/pam_wrapper/pam_wrapper.changes 2024-07-31 13:28:40.886294298 +0200 +++ /work/SRC/openSUSE:Factory/.pam_wrapper.new.1928/pam_wrapper.changes 2026-01-05 14:50:11.598865280 +0100 @@ -1,0 +2,9 @@ +Sat Jan 3 15:28:16 UTC 2026 - Dirk Müller <[email protected]> + +- update to 1.1.8: + * version 1.1.8 (released 2025-06-11) + * Fixed compilation warnings for clang 20 + * Fixed some cmake issues +- add gpg validation + +------------------------------------------------------------------- Old: ---- pam_wrapper-1.1.7.tar.gz pam_wrapper-1.1.7.tar.gz.asc New: ---- pam_wrapper-1.1.8.tar.gz pam_wrapper-1.1.8.tar.gz.asc pam_wrapper.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pam_wrapper.spec ++++++ --- /var/tmp/diff_new_pack.qQCvFv/_old 2026-01-05 14:50:16.223057871 +0100 +++ /var/tmp/diff_new_pack.qQCvFv/_new 2026-01-05 14:50:16.239058538 +0100 @@ -1,7 +1,7 @@ # # spec file for package pam_wrapper # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ # ############################# NOTE ################################## Name: pam_wrapper -Version: 1.1.7 +Version: 1.1.8 Release: 0 Summary: A tool to test PAM applications and PAM modules License: GPL-3.0-or-later @@ -31,6 +31,7 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc Source2: %{name}-rpmlintrc +Source9: %{name}.keyring BuildRequires: cmake BuildRequires: doxygen BuildRequires: libcmocka-devel ++++++ pam_wrapper-1.1.7.tar.gz -> pam_wrapper-1.1.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/.gitlab-ci.yml new/pam_wrapper-1.1.8/.gitlab-ci.yml --- old/pam_wrapper-1.1.7/.gitlab-ci.yml 2024-07-23 09:44:36.000000000 +0200 +++ new/pam_wrapper-1.1.8/.gitlab-ci.yml 2025-06-12 08:44:27.000000000 +0200 @@ -3,7 +3,7 @@ GIT_DEPTH: 3 BUILD_IMAGES_PROJECT: cmocka/gitlab-build-images FEDORA_BUILD: buildenv-fedora - CENTOS7_BUILD: buildenv-centos7 + ROCKY8_BUILD: buildenv-rocky8 TUMBLEWEED_BUILD: buildenv-tumbleweed UBUNTU_BUILD: buildenv-ubuntu @@ -12,11 +12,11 @@ - test - analysis -centos7/x86_64: +rocky8/x86_64: stage: test - image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$CENTOS7_BUILD + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$ROCKY8_BUILD script: - - mkdir -p obj && cd obj && cmake3 + - mkdir -p obj && cd obj && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPICKY_DEVELOPER=ON -DUNIT_TESTING=ON .. && diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/CHANGELOG new/pam_wrapper-1.1.8/CHANGELOG --- old/pam_wrapper-1.1.7/CHANGELOG 2024-07-23 10:23:05.000000000 +0200 +++ new/pam_wrapper-1.1.8/CHANGELOG 2025-06-12 08:44:27.000000000 +0200 @@ -1,6 +1,10 @@ ChangeLog ========== +version 1.1.8 (released 2025-06-11) + * Fixed compilation warnings for clang 20 + * Fixed some cmake issues + version 1.1.7 (released 2023-07-23) * Fix installation of python module diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/CMakeLists.txt new/pam_wrapper-1.1.8/CMakeLists.txt --- old/pam_wrapper-1.1.7/CMakeLists.txt 2024-07-23 10:23:22.000000000 +0200 +++ new/pam_wrapper-1.1.8/CMakeLists.txt 2025-06-12 08:44:27.000000000 +0200 @@ -1,5 +1,5 @@ # Required cmake version -cmake_minimum_required(VERSION 3.5.0) +cmake_minimum_required(VERSION 3.20.0) cmake_policy(SET CMP0048 NEW) # Specify search path for CMake modules to be loaded by include() @@ -11,7 +11,7 @@ include(DefineCMakeDefaults) include(DefineCompilerFlags) -project(pam_wrapper VERSION 1.1.7 LANGUAGES C) +project(pam_wrapper VERSION 1.1.8 LANGUAGES C) # global needed variables set(APPLICATION_NAME ${PROJECT_NAME}) @@ -25,7 +25,7 @@ # Increment PATCH. set(LIBRARY_VERSION_MAJOR 0) set(LIBRARY_VERSION_MINOR 0) -set(LIBRARY_VERSION_PATCH 10) +set(LIBRARY_VERSION_PATCH 11) set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(LIBRARY_SOVERSION ${LIBRARY_VERSION_MAJOR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/CPackConfig.cmake new/pam_wrapper-1.1.8/CPackConfig.cmake --- old/pam_wrapper-1.1.7/CPackConfig.cmake 2024-07-23 07:37:40.000000000 +0200 +++ new/pam_wrapper-1.1.8/CPackConfig.cmake 2025-06-12 08:44:27.000000000 +0200 @@ -16,7 +16,7 @@ ### source generator set(CPACK_SOURCE_GENERATOR "TGZ") -set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build*;/obj*;tags;cscope.*;*.pyc") +set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]bare/;/[.]git/;/[.]clangd/;/[.]cache/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json;.*\.patch;*.pyc") set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") set(CPACK_PACKAGE_INSTALL_DIRECTORY "pam_wrapper") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/cmake/Modules/FindPythonSiteLibs.cmake new/pam_wrapper-1.1.8/cmake/Modules/FindPythonSiteLibs.cmake --- old/pam_wrapper-1.1.7/cmake/Modules/FindPythonSiteLibs.cmake 2024-07-23 07:37:40.000000000 +0200 +++ new/pam_wrapper-1.1.8/cmake/Modules/FindPythonSiteLibs.cmake 1970-01-01 01:00:00.000000000 +0100 @@ -1,56 +0,0 @@ -#.rst: -# FindPythonSiteLibs -# -------------- -# -# Find the location of python site libraries -# -# :: -# -# PYTHON_SITELIB = path to the sitelib install directory -# PYTHON_SITEINC = path to the siteinc install directory -# -# Note that these variable do not have a prefix set. So you should for example -# prepend the CMAKE_INSTALL_PREFIX. - -#============================================================================= -# Copyright 2015 Andreas Schneider <[email protected]> -# -# Distributed under the OSI-approved BSD License (the "License"); -# see accompanying file Copyright.txt for details. -# -# This software is distributed WITHOUT ANY WARRANTY; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# See the License for more information. -#============================================================================= -# (To distribute this file outside of CMake, substitute the full -# License text for the above reference.) - -if (PYTHON_EXECUTABLE) - ### PYTHON_SITELIB - execute_process( - COMMAND - ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True, prefix=''))" - OUTPUT_VARIABLE - PYTHON_SITELIB_OUTPUT_VARIABLE - RESULT_VARIABLE - PYTHON_SITELIB_RESULT_VARIABLE - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - if (NOT PYTHON_SITELIB_RESULT_VARIABLE) - file(TO_CMAKE_PATH "${PYTHON_SITELIB_OUTPUT_VARIABLE}" PYTHON_SITELIB) - endif () - - ### PYTHON_SITEINC - execute_process( - COMMAND - ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_inc; print(get_python_inc(plat_specific=True, prefix=''))" - OUTPUT_VARIABLE - PYTHON_SITEINC_OUTPUT_VARIABLE - RESULT_VARIABLE - PYTHON_SITEINC_RESULT_VARIABLE - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - if (NOT PYTHON_SITEINC_RESULT_VARIABLE) - file(TO_CMAKE_PATH "${PYTHON_SITEINC_OUTPUT_VARIABLE}" PYTHON_SITEINC) - endif () -endif (PYTHON_EXECUTABLE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/compile_commands.json new/pam_wrapper-1.1.8/compile_commands.json --- old/pam_wrapper-1.1.7/compile_commands.json 2026-01-05 14:50:16.755080029 +0100 +++ new/pam_wrapper-1.1.8/compile_commands.json 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -symbolic link to /home/asn/workspace/prj/oss/pam_wrapper/master/obj/compile_commands.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/src/modules/pam_matrix.c new/pam_wrapper-1.1.8/src/modules/pam_matrix.c --- old/pam_wrapper-1.1.7/src/modules/pam_matrix.c 2024-07-23 07:37:40.000000000 +0200 +++ new/pam_wrapper-1.1.8/src/modules/pam_matrix.c 2025-06-12 08:44:27.000000000 +0200 @@ -581,6 +581,7 @@ int argc, const char *argv[]) { struct pam_matrix_ctx pctx; + const void *pwd = NULL; int rv; (void) flags; /* unused */ @@ -594,11 +595,12 @@ } rv = pam_matrix_read_password(pamh, pctx.flags, PAM_AUTHTOK, "Password: ", - NULL, (const void **) &pctx.pli.password); + NULL, &pwd); if (rv != PAM_SUCCESS) { rv = PAM_AUTHINFO_UNAVAIL; goto done; } + pctx.pli.password = discard_const(pwd); /* Auth and get rid of the authtok */ rv = pam_matrix_auth(pamh, &pctx); @@ -763,6 +765,7 @@ { struct pam_matrix_ctx pctx; const char *old_pass; + const void *pwd = NULL; int rv; time_t *auth_stamp = NULL; const time_t *auth_stamp_out = NULL; @@ -780,11 +783,12 @@ rv = pam_matrix_read_password( pamh, pctx.flags, PAM_OLDAUTHTOK, "Old password: ", NULL, - (const void **) &pctx.pli.password); + &pwd); if (rv != PAM_SUCCESS) { rv = PAM_AUTHINFO_UNAVAIL; goto done; } + pctx.pli.password = discard_const(pwd); auth_stamp = malloc(sizeof(time_t)); if (auth_stamp == NULL) { @@ -824,11 +828,12 @@ PAM_AUTHTOK, "New Password :", "Verify New Password :", - (const void **) &pctx.pli.password); + &pwd); if (rv != PAM_SUCCESS) { rv = PAM_AUTHINFO_UNAVAIL; goto done; } + pctx.pli.password = discard_const(pwd); /* Write the new password to the db */ rv = pam_matrix_lib_items_put(pctx.passdb, &pctx.pli); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/src/python/python3/CMakeLists.txt new/pam_wrapper-1.1.8/src/python/python3/CMakeLists.txt --- old/pam_wrapper-1.1.7/src/python/python3/CMakeLists.txt 2024-07-23 10:22:39.000000000 +0200 +++ new/pam_wrapper-1.1.8/src/python/python3/CMakeLists.txt 2025-06-12 08:44:27.000000000 +0200 @@ -1,6 +1,6 @@ project(python3-pamtest C) -find_package(Python 3.6 COMPONENTS Development Interpreter) +find_package(Python 3.10 COMPONENTS Development Interpreter) # Allow to specify sitearch dir on the commandline if (NOT PYTHON_INSTALL_SITEARCH) set(PYTHON_INSTALL_SITEARCH ${Python_SITEARCH}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/tests/CMakeLists.txt new/pam_wrapper-1.1.8/tests/CMakeLists.txt --- old/pam_wrapper-1.1.7/tests/CMakeLists.txt 2024-07-23 09:44:36.000000000 +0200 +++ new/pam_wrapper-1.1.8/tests/CMakeLists.txt 2025-06-12 08:44:27.000000000 +0200 @@ -94,7 +94,7 @@ endif() if (RUN_PYTHON_TESTS) - find_package(Python 3.6 COMPONENTS Interpreter) + find_package(Python 3.10 COMPONENTS Interpreter) if (Python_Interpreter_FOUND) add_test(NAME py3pamtest_test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.7/tests/pypamtest_test.py new/pam_wrapper-1.1.8/tests/pypamtest_test.py --- old/pam_wrapper-1.1.7/tests/pypamtest_test.py 2024-07-23 07:37:40.000000000 +0200 +++ new/pam_wrapper-1.1.8/tests/pypamtest_test.py 2025-06-12 08:44:27.000000000 +0200 @@ -143,9 +143,9 @@ tc = pypamtest.TestCase(pypamtest.PAMTEST_AUTHENTICATE) self.assertRaisesRegex(pypamtest.PamTestError, - "Error \[2\]: Test case { pam_operation \[0\] " - "expected_rv \[0\] flags \[0\] } " - "returned \[\d\]", + r"Error \[2\]: Test case { pam_operation \[0\] " + r"expected_rv \[0\] flags \[0\] } " + r"returned \[\d\]", pypamtest.run_pamtest, "neo", "matrix_py", [tc], [ neo_password ])
