openSUSE Commits
Threads by month
- ----- 2024 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2024
- 1 participants
- 1521 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package health-checker for openSUSE:Factory checked in at 2024-07-31 13:28:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/health-checker (Old)
and /work/SRC/openSUSE:Factory/.health-checker.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "health-checker"
Wed Jul 31 13:28:34 2024 rev:25 rq:1190440 version:1.11+git20240730.5dafd6a
Changes:
--------
--- /work/SRC/openSUSE:Factory/health-checker/health-checker.changes 2024-06-21 16:02:27.248411978 +0200
+++ /work/SRC/openSUSE:Factory/.health-checker.new.7232/health-checker.changes 2024-07-31 13:28:42.354354591 +0200
@@ -1,0 +2,6 @@
+Tue Jul 30 09:58:30 UTC 2024 - iforster(a)suse.com
+
+- Update to version 1.11+git20240730.5dafd6a:
+ * Add rpm db consistency plugin
+
+-------------------------------------------------------------------
Old:
----
health-checker-1.10+git20240111.cb84209.tar.xz
New:
----
health-checker-1.11+git20240730.5dafd6a.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ health-checker.spec ++++++
--- /var/tmp/diff_new_pack.xPUHt2/_old 2024-07-31 13:28:43.406397797 +0200
+++ /var/tmp/diff_new_pack.xPUHt2/_new 2024-07-31 13:28:43.406397797 +0200
@@ -19,7 +19,7 @@
%define _dracutmoduledir %(pkg-config --variable=dracutmodulesdir dracut)
Name: health-checker
-Version: 1.10+git20240111.cb84209
+Version: 1.11+git20240730.5dafd6a
Release: 0
Summary: Service for verifying that important services are running
License: GPL-2.0-only
@@ -120,6 +120,7 @@
%dir %{_libexecdir}/health-checker/
%{_libexecdir}/health-checker/btrfs-subvolumes-mounted.sh
%{_libexecdir}/health-checker/logind.sh
+%{_libexecdir}/health-checker/rpmdb-consistency.sh
%{_libexecdir}/health-checker/tmp.sh
%{_sbindir}/health-checker
%{_mandir}/man8/health-checker.8%{?ext_man}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.xPUHt2/_old 2024-07-31 13:28:43.438399111 +0200
+++ /var/tmp/diff_new_pack.xPUHt2/_new 2024-07-31 13:28:43.442399275 +0200
@@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
- <param name="version">1.10</param>
- <param name="versionformat">1.10+git%cd.%h</param>
+ <param name="version">1.11</param>
+ <param name="versionformat">1.11+git%cd.%h</param>
<param name="url">https://github.com/openSUSE/health-checker.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.xPUHt2/_old 2024-07-31 13:28:43.462400097 +0200
+++ /var/tmp/diff_new_pack.xPUHt2/_new 2024-07-31 13:28:43.466400262 +0200
@@ -1,7 +1,7 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/health-checker.git</param>
- <param name="changesrevision">cb84209fd0bc4a9e05d96b85e0a60f90209f3e06</param></service>
+ <param name="changesrevision">5dafd6a1983a5675c222466011d21842d75e6fb6</param></service>
</servicedata>
(No newline at EOF)
++++++ health-checker-1.10+git20240111.cb84209.tar.xz -> health-checker-1.11+git20240730.5dafd6a.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.10+git20240111.cb84209/NEWS new/health-checker-1.11+git20240730.5dafd6a/NEWS
--- old/health-checker-1.10+git20240111.cb84209/NEWS 2024-01-11 17:11:06.000000000 +0100
+++ new/health-checker-1.11+git20240730.5dafd6a/NEWS 2024-07-30 11:54:25.000000000 +0200
@@ -2,6 +2,14 @@
Copyright (C) 2017-2020 Thorsten Kukuk et al.
+Version 1.11
+* Add RPM database consistency plugin
+* Messages are printed with a severity prefix now
+* Fix various typos
+* Add missing rule for health-checker.service.8
+* Remove HTML output of man pages (the man pages are rendered by a
+ common service on manpages.opensuse.org now)
+
Version 1.10
* Fix Btrfs subvolume check if subvol starts with '-'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.10+git20240111.cb84209/configure.ac new/health-checker-1.11+git20240730.5dafd6a/configure.ac
--- old/health-checker-1.10+git20240111.cb84209/configure.ac 2024-01-11 17:11:06.000000000 +0100
+++ new/health-checker-1.11+git20240730.5dafd6a/configure.ac 2024-07-30 11:54:25.000000000 +0200
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(health-checker, 1.10)
+AC_INIT(health-checker, 1.11)
AM_INIT_AUTOMAKE
AC_PREFIX_DEFAULT(/usr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.10+git20240111.cb84209/plugins/Makefile.am new/health-checker-1.11+git20240730.5dafd6a/plugins/Makefile.am
--- old/health-checker-1.10+git20240111.cb84209/plugins/Makefile.am 2024-01-11 17:11:06.000000000 +0100
+++ new/health-checker-1.11+git20240730.5dafd6a/plugins/Makefile.am 2024-07-30 11:54:25.000000000 +0200
@@ -6,6 +6,6 @@
plugin_SCRIPTS = health-check-tester.sh etcd.sh etc-overlayfs.sh \
rebootmgr.sh btrfs-subvolumes-mounted.sh crio.sh kubelet.sh \
- tmp.sh logind.sh
+ tmp.sh logind.sh rpmdb-consistency.sh
EXTRA_DIST = template.sh ${SCRIPTS}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.10+git20240111.cb84209/plugins/rpmdb-consistency.sh new/health-checker-1.11+git20240730.5dafd6a/plugins/rpmdb-consistency.sh
--- old/health-checker-1.10+git20240111.cb84209/plugins/rpmdb-consistency.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/health-checker-1.11+git20240730.5dafd6a/plugins/rpmdb-consistency.sh 2024-07-30 11:54:25.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+run_checks() {
+ zypper --no-refresh --quiet verify --dry-run
+ test $? -ne 0 && exit 1
+}
+
+case "$1" in
+ check)
+ run_checks
+ ;;
+ *)
+ echo "Usage: $0 {check|stop}"
+ exit 1
+ ;;
+esac
+
+exit 0
1
0
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 2024-07-31 13:28:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam_wrapper (Old)
and /work/SRC/openSUSE:Factory/.pam_wrapper.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pam_wrapper"
Wed Jul 31 13:28:32 2024 rev:16 rq:1190427 version:1.1.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/pam_wrapper/pam_wrapper.changes 2023-02-28 12:48:33.460447511 +0100
+++ /work/SRC/openSUSE:Factory/.pam_wrapper.new.7232/pam_wrapper.changes 2024-07-31 13:28:40.886294298 +0200
@@ -1,0 +2,8 @@
+Tue Jul 23 07:48:44 UTC 2024 - Andreas Schneider <asn(a)cryptomilk.org>
+
+- Update to version 1.1.7
+ https://gitlab.com/cwrap/pam_wrapper/-/blob/pam_wrapper-1.1.7/CHANGELOG
+- Removed pam_wrapper-fix-cmocka-1.1.6+-support.patch
+- Make pam_wrapper-devel-doc a noarch package
+
+-------------------------------------------------------------------
Old:
----
pam_wrapper-1.1.4.tar.gz
pam_wrapper-1.1.4.tar.gz.asc
pam_wrapper-fix-cmocka-1.1.6+-support.patch
New:
----
pam_wrapper-1.1.7.tar.gz
pam_wrapper-1.1.7.tar.gz.asc
BETA DEBUG BEGIN:
Old: https://gitlab.com/cwrap/pam_wrapper/-/blob/pam_wrapper-1.1.7/CHANGELOG
- Removed pam_wrapper-fix-cmocka-1.1.6+-support.patch
- Make pam_wrapper-devel-doc a noarch package
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pam_wrapper.spec ++++++
--- /var/tmp/diff_new_pack.xW0U6G/_old 2024-07-31 13:28:41.586323048 +0200
+++ /var/tmp/diff_new_pack.xW0U6G/_new 2024-07-31 13:28:41.590323213 +0200
@@ -1,7 +1,7 @@
#
# spec file for package pam_wrapper
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,9 +22,8 @@
# Do NOT create library package or a devel package!
#
############################# NOTE ##################################
-%bcond_without python2
Name: pam_wrapper
-Version: 1.1.4
+Version: 1.1.7
Release: 0
Summary: A tool to test PAM applications and PAM modules
License: GPL-3.0-or-later
@@ -32,7 +31,6 @@
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
-Patch0: pam_wrapper-fix-cmocka-1.1.6+-support.patch
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: libcmocka-devel
@@ -42,9 +40,6 @@
BuildRequires: pkgconfig(python3)
Recommends: cmake
Recommends: pkgconfig
-%if %{with python2}
-BuildRequires: pkgconfig(python2)
-%endif
%description
This component of cwrap allows you to either test your PAM (Linux-PAM
@@ -81,20 +76,11 @@
%package -n libpamtest-devel-doc
Summary: The libpamtest API documentation
+BuildArch: noarch
%description -n libpamtest-devel-doc
Documentation for libpamtest development.
-%package -n python2-libpamtest
-Summary: A python wrapper for libpamtest
-Requires: libpamtest0 = %{version}-%{release}
-Requires: pam_wrapper = %{version}-%{release}
-
-%description -n python2-libpamtest
-If you plan to develop python tests for a PAM module, you can use this
-library, which simplifies testing of modules. This subpackage includes
-the header files for libpamtest
-
%package -n python3-libpamtest
Summary: A python wrapper for libpamtest
Requires: libpamtest0 = %{version}-%{release}
@@ -112,17 +98,14 @@
# CMAKE_SKIP_RPATH:BOOL=OFF is required to run the tests!
%cmake \
-DUNIT_TESTING=ON \
- -DCMAKE_SKIP_RPATH:BOOL=OFF
+ -DCMAKE_SKIP_RPATH:BOOL=OFF \
+ -DPYTHON_INSTALL_SITEARCH=%{python3_sitearch}
%cmake_build
%cmake_build doc
%install
%cmake_install
-%if %{without python2}
-rm -rf %{python2_sitearch}/pypamtest.so
-%endif
-
%check
%ctest
@@ -165,11 +148,6 @@
%files -n libpamtest-devel-doc
%doc build/doc/html
-%if %{with python2}
-%files -n python2-libpamtest
-%{python2_sitearch}/pypamtest.so
-%endif
-
%files -n python3-libpamtest
%{python3_sitearch}/pypamtest.so
++++++ pam_wrapper-1.1.4.tar.gz -> pam_wrapper-1.1.7.tar.gz ++++++
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/libpamtest.c.50591A3CF2F16696.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/libpamtest.c.50591A3CF2F16696.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/libpamtest.h.5D17FC28842DB9A6.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/libpamtest.h.5D17FC28842DB9A6.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/pam_chatty.c.20FD0B741C24D56B.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/pam_chatty.c.20FD0B741C24D56B.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/pam_get_items.c.0EF57BF2FB557FDA.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/pam_get_items.c.0EF57BF2FB557FDA.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/pam_matrix.c.06B52DD1FD84DDA5.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/pam_matrix.c.06B52DD1FD84DDA5.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/pam_set_items.c.4EB3C1ADFA19BBB6.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/pam_set_items.c.4EB3C1ADFA19BBB6.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/pam_wrapper.c.88B9874C29C542E9.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/pam_wrapper.c.88B9874C29C542E9.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/pwrap_compat.h.61E8526BE3F084B4.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/pwrap_compat.h.61E8526BE3F084B4.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/pypamtest.c.6EAB1E75E1074FD7.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/pypamtest.c.6EAB1E75E1074FD7.idx differ
Binary files old/pam_wrapper-1.1.4/.cache/clangd/index/test_pam_wrapper.c.0DFC22A2864C2D78.idx and new/pam_wrapper-1.1.7/.cache/clangd/index/test_pam_wrapper.c.0DFC22A2864C2D78.idx differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/.clang-format new/pam_wrapper-1.1.7/.clang-format
--- old/pam_wrapper-1.1.4/.clang-format 1970-01-01 01:00:00.000000000 +0100
+++ new/pam_wrapper-1.1.7/.clang-format 2024-07-23 09:44:36.000000000 +0200
@@ -0,0 +1,33 @@
+# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
+AlignAfterOpenBracket: Align
+AlignEscapedNewlines: Left
+AllowAllArgumentsOnNextLine: true
+AllowAllParametersOfDeclarationOnNextLine: false
+AllowShortFunctionsOnASingleLine: Empty
+AllowShortIfStatementsOnASingleLine: false
+AlwaysBreakAfterReturnType: None
+BasedOnStyle: LLVM
+BinPackArguments: false
+BinPackParameters: false
+BraceWrapping:
+ AfterEnum: false
+ AfterFunction: true
+ AfterStruct: false
+ AfterUnion: false
+ AfterExternBlock: true
+ BeforeElse: false
+ BeforeWhile: false
+ AfterControlStatement: MultiLine
+BreakBeforeBinaryOperators: None
+BreakBeforeBraces: Custom
+ColumnLimit: 80
+ContinuationIndentWidth: 8
+IndentCaseLabels: false
+IndentGotoLabels: false
+IndentWidth: 8
+PenaltyBreakAssignment: 200
+PenaltyBreakBeforeFirstCallParameter: 100
+PenaltyReturnTypeOnItsOwnLine: 1000
+SortIncludes: false
+UseTab: true
+WhitespaceSensitiveMacros: ['DEBUG']
Binary files old/pam_wrapper-1.1.4/.clangd/index/libpamtest.c.50591A3CF2F16696.idx and new/pam_wrapper-1.1.7/.clangd/index/libpamtest.c.50591A3CF2F16696.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/libpamtest.h.5D17FC28842DB9A6.idx and new/pam_wrapper-1.1.7/.clangd/index/libpamtest.h.5D17FC28842DB9A6.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/pam_chatty.c.20FD0B741C24D56B.idx and new/pam_wrapper-1.1.7/.clangd/index/pam_chatty.c.20FD0B741C24D56B.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/pam_get_items.c.0EF57BF2FB557FDA.idx and new/pam_wrapper-1.1.7/.clangd/index/pam_get_items.c.0EF57BF2FB557FDA.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/pam_matrix.c.06B52DD1FD84DDA5.idx and new/pam_wrapper-1.1.7/.clangd/index/pam_matrix.c.06B52DD1FD84DDA5.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/pam_set_items.c.4EB3C1ADFA19BBB6.idx and new/pam_wrapper-1.1.7/.clangd/index/pam_set_items.c.4EB3C1ADFA19BBB6.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/pam_wrapper.c.88B9874C29C542E9.idx and new/pam_wrapper-1.1.7/.clangd/index/pam_wrapper.c.88B9874C29C542E9.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/pwrap_compat.h.61E8526BE3F084B4.idx and new/pam_wrapper-1.1.7/.clangd/index/pwrap_compat.h.61E8526BE3F084B4.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/pypamtest.c.6EAB1E75E1074FD7.idx and new/pam_wrapper-1.1.7/.clangd/index/pypamtest.c.6EAB1E75E1074FD7.idx differ
Binary files old/pam_wrapper-1.1.4/.clangd/index/test_pam_wrapper.c.0DFC22A2864C2D78.idx and new/pam_wrapper-1.1.7/.clangd/index/test_pam_wrapper.c.0DFC22A2864C2D78.idx differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/.editorconfig new/pam_wrapper-1.1.7/.editorconfig
--- old/pam_wrapper-1.1.4/.editorconfig 1970-01-01 01:00:00.000000000 +0100
+++ new/pam_wrapper-1.1.7/.editorconfig 2024-07-23 09:44:36.000000000 +0200
@@ -0,0 +1,23 @@
+root = true
+
+[*]
+charset = utf-8
+max_line_length = 80
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{c,h}]
+indent_style = tab
+indent_size = 8
+tab_width = 8
+
+[*.cmake]
+indent_style = space
+indent_size = 4
+tab_width = 4
+
+[CMake*]
+indent_style = space
+indent_size = 4
+tab_width = 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/.git new/pam_wrapper-1.1.7/.git
--- old/pam_wrapper-1.1.4/.git 1970-01-01 01:00:00.000000000 +0100
+++ new/pam_wrapper-1.1.7/.git 2024-07-23 07:37:40.000000000 +0200
@@ -0,0 +1 @@
+gitdir: /home/asn/workspace/prj/oss/pam_wrapper/.bare/worktrees/master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/.gitlab-ci.yml new/pam_wrapper-1.1.7/.gitlab-ci.yml
--- old/pam_wrapper-1.1.4/.gitlab-ci.yml 2021-10-28 10:37:33.000000000 +0200
+++ new/pam_wrapper-1.1.7/.gitlab-ci.yml 2024-07-23 09:44:36.000000000 +0200
@@ -1,3 +1,4 @@
+---
variables:
GIT_DEPTH: 3
BUILD_IMAGES_PROJECT: cmocka/gitlab-build-images
@@ -6,18 +7,22 @@
TUMBLEWEED_BUILD: buildenv-tumbleweed
UBUNTU_BUILD: buildenv-ubuntu
+stages:
+ - build
+ - test
+ - analysis
+
centos7/x86_64:
+ stage: test
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$CENTOS7_BUILD
script:
- - mkdir -p obj && cd obj && cmake3
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON .. &&
- make -j$(nproc) && ctest --output-on-failure
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake3
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -25,18 +30,17 @@
- obj/
fedora/x86_64:
+ stage: test
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_INSTALL_PREFIX=/tmp/local
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON .. &&
- make -j$(nproc) && ctest --output-on-failure && make install
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_INSTALL_PREFIX=/tmp/local
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure && make install
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -44,17 +48,16 @@
- obj/
fedora/address-sanitizer:
+ stage: build
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_BUILD_TYPE=AddressSanitizer
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON .. &&
- make -j$(nproc) && ctest --output-on-failure
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_BUILD_TYPE=AddressSanitizer
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -62,17 +65,16 @@
- obj/
fedora/undefined-sanitizer:
+ stage: analysis
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_BUILD_TYPE=UndefinedSanitizer
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON ..
- && make -j$(nproc) && ctest --output-on-failure
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_BUILD_TYPE=UndefinedSanitizer
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON ..
+ && make -j$(nproc) && ctest --output-on-failure
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -80,32 +82,31 @@
- obj/
fedora/csbuild:
+ stage: analysis
variables:
GIT_DEPTH: 20
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- - |
- if [[ -z "$CI_COMMIT_BEFORE_SHA" ]]; then
- export CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~15")
- fi
-
- # Check if the commit exists in this branch
- # This is not the case for a force push
- git branch --contains $CI_COMMIT_BEFORE_SHA 2>/dev/null || export CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~15")
-
- export CI_COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA"
-
- - csbuild
- --build-dir=obj-csbuild
- --prep-cmd="cmake -DCMAKE_BUILD_TYPE=Debug -DPICKY_DEVELOPER=ON -DUNIT_TESTING=ON @SRCDIR@"
- --build-cmd "make clean && make -j$(nproc)"
- --git-commit-range $CI_COMMIT_RANGE
- --color
- --print-current --print-fixed
- tags:
- - shared
+ - |
+ if [[ -z "$CI_COMMIT_BEFORE_SHA" ]]; then
+ export CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~15")
+ fi
+
+ # Check if the commit exists in this branch
+ # This is not the case for a force push
+ git branch --contains $CI_COMMIT_BEFORE_SHA 2>/dev/null || export CI_COMMIT_BEFORE_SHA=$(git rev-parse "${CI_COMMIT_SHA}~15")
+
+ export CI_COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA"
+
+ - csbuild
+ --build-dir=obj-csbuild
+ --prep-cmd="cmake -DCMAKE_BUILD_TYPE=Debug -DPICKY_DEVELOPER=ON -DUNIT_TESTING=ON @SRCDIR@"
+ --build-cmd "make clean && make -j$(nproc)"
+ --git-commit-range $CI_COMMIT_RANGE
+ --color
+ --print-current --print-fixed
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -113,41 +114,41 @@
- obj-csbuild/
freebsd/x86_64:
+ stage: test
image:
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON .. &&
- make && ctest --output-on-failure
+ - mkdir -p obj-freebsd && cd obj-freebsd && cmake
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON .. &&
+ make && ctest --output-on-failure
tags:
- - freebsd
+ - freebsd
except:
- - tags
+ - tags
only:
- - branches@cwrap/pam_wrapper
- - branches@cryptomilk/pam_wrapper
+ - branches@cwrap/pam_wrapper
+ - branches@cryptomilk/pam_wrapper
artifacts:
expire_in: 1 week
when: on_failure
paths:
- - obj/
+ - obj-freebsd/
# pam_wrapper stopped to work with the latest OpenPAM version, this is a
# bigger effort to investigate.
allow_failure: true
tumbleweed/x86_64/gcc:
+ stage: test
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$TUMBLEWEED_BUILD
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON .. &&
- make -j$(nproc) && ctest --output-on-failure
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -155,18 +156,17 @@
- obj/
tumbleweed/x86_64/gcc7:
+ stage: test
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$TUMBLEWEED_BUILD
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON .. &&
- make -j$(nproc) && ctest --output-on-failure
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -176,18 +176,17 @@
# PICKY_DEVELOPER IS OFF
# => https://github.com/python/cpython/pull/19133
tumbleweed/x86_64/clang:
+ stage: test
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$TUMBLEWEED_BUILD
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
- -DPICKY_DEVELOPER=OFF
- -DUNIT_TESTING=ON .. &&
- make -j$(nproc) && ctest --output-on-failure
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
+ -DPICKY_DEVELOPER=OFF
+ -DUNIT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -197,20 +196,19 @@
# PICKY_DEVELOPER IS OFF
# => https://github.com/python/cpython/pull/19133
tumbleweed/static-analysis:
+ stage: analysis
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$TUMBLEWEED_BUILD
script:
- - export CCC_CC=clang
- - export CCC_CXX=clang++
- - mkdir -p obj && cd obj && scan-build cmake
- -DCMAKE_BUILD_TYPE=Debug
- -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
- -DPICKY_DEVELOPER=OFF
- -DUNIT_TESTING=ON .. &&
- scan-build --status-bugs -o scan make -j$(nproc)
- tags:
- - shared
+ - export CCC_CC=clang
+ - export CCC_CXX=clang++
+ - mkdir -p obj && cd obj && scan-build cmake
+ -DCMAKE_BUILD_TYPE=Debug
+ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
+ -DPICKY_DEVELOPER=OFF
+ -DUNIT_TESTING=ON .. &&
+ scan-build --status-bugs -o scan make -j$(nproc)
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
@@ -218,17 +216,16 @@
- obj/scan
ubuntu/x86_64:
+ stage: test
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$UBUNTU_BUILD
script:
- - mkdir -p obj && cd obj && cmake
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DPICKY_DEVELOPER=ON
- -DUNIT_TESTING=ON .. &&
- make -j$(nproc) && ctest --output-on-failure
- tags:
- - shared
+ - mkdir -p obj && cd obj && cmake
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DPICKY_DEVELOPER=ON
+ -DUNIT_TESTING=ON .. &&
+ make -j$(nproc) && ctest --output-on-failure
except:
- - tags
+ - tags
artifacts:
expire_in: 1 week
when: on_failure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/CHANGELOG new/pam_wrapper-1.1.7/CHANGELOG
--- old/pam_wrapper-1.1.4/CHANGELOG 2021-10-28 10:37:33.000000000 +0200
+++ new/pam_wrapper-1.1.7/CHANGELOG 2024-07-23 10:23:05.000000000 +0200
@@ -1,6 +1,18 @@
ChangeLog
==========
+version 1.1.7 (released 2023-07-23)
+ * Fix installation of python module
+
+version 1.1.6 (released 2023-07-23)
+ * Improve config dir creation if we have pam_start_confdir()
+ * Fixed PAM_WRAPPER_DISABLE_DEEPBIND
+ * Directly fail if we can't create the config dir
+
+version 1.1.5 (released 2023-08-08)
+ * Fixed building with Python 3.12
+ * Removed Python 2 support
+
version 1.1.4 (released 2020-10-28)
* NOTE: pam_wrapper stopped working with the latest OpenPAM on FreeBSD 12.
Help is needed to add back support.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/CMakeLists.txt new/pam_wrapper-1.1.7/CMakeLists.txt
--- old/pam_wrapper-1.1.4/CMakeLists.txt 2021-10-28 10:37:33.000000000 +0200
+++ new/pam_wrapper-1.1.7/CMakeLists.txt 2024-07-23 10:23:22.000000000 +0200
@@ -11,7 +11,7 @@
include(DefineCMakeDefaults)
include(DefineCompilerFlags)
-project(pam_wrapper VERSION 1.1.4 LANGUAGES C)
+project(pam_wrapper VERSION 1.1.7 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 7)
+set(LIBRARY_VERSION_PATCH 10)
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.4/CompilerChecks.cmake new/pam_wrapper-1.1.7/CompilerChecks.cmake
--- old/pam_wrapper-1.1.4/CompilerChecks.cmake 2021-10-28 10:37:33.000000000 +0200
+++ new/pam_wrapper-1.1.7/CompilerChecks.cmake 2024-07-23 07:37:40.000000000 +0200
@@ -32,7 +32,8 @@
add_c_compiler_flag("-Wpointer-arith" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Werror=pointer-arith" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Wdeclaration-after-statement" SUPPORTED_COMPILER_FLAGS)
- add_c_compiler_flag("-Werror=declaration-after-statement" SUPPORTED_COMPILER_FLAGS)
+ # Not compatible with Python 3.12 headers
+ #add_c_compiler_flag("-Werror=declaration-after-statement" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Wreturn-type" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Werror=return-type" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Wuninitialized" SUPPORTED_COMPILER_FLAGS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/cmake/Modules/FindCMocka.cmake new/pam_wrapper-1.1.7/cmake/Modules/FindCMocka.cmake
--- old/pam_wrapper-1.1.4/cmake/Modules/FindCMocka.cmake 2020-01-31 14:16:24.000000000 +0100
+++ new/pam_wrapper-1.1.7/cmake/Modules/FindCMocka.cmake 1970-01-01 01:00:00.000000000 +0100
@@ -1,49 +0,0 @@
-# - Try to find CMocka
-# Once done this will define
-#
-# CMOCKA_ROOT_DIR - Set this variable to the root installation of CMocka
-#
-# Read-Only variables:
-# CMOCKA_FOUND - system has CMocka
-# CMOCKA_INCLUDE_DIR - the CMocka include directory
-# CMOCKA_LIBRARIES - Link these to use CMocka
-# CMOCKA_DEFINITIONS - Compiler switches required for using CMocka
-#
-#=============================================================================
-# Copyright (c) 2011-2012 Andreas Schneider <asn(a)cryptomilk.org>
-#
-# 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.
-#=============================================================================
-#
-
-find_path(CMOCKA_INCLUDE_DIR
- NAMES
- cmocka.h
- PATHS
- ${CMOCKA_ROOT_DIR}/include
-)
-
-find_library(CMOCKA_LIBRARY
- NAMES
- cmocka
- PATHS
- ${CMOCKA_ROOT_DIR}/include
-)
-
-if (CMOCKA_LIBRARY)
- set(CMOCKA_LIBRARIES
- ${CMOCKA_LIBRARIES}
- ${CMOCKA_LIBRARY}
- )
-endif (CMOCKA_LIBRARY)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(CMocka DEFAULT_MSG CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR)
-
-# show the CMOCKA_INCLUDE_DIR and CMOCKA_LIBRARIES variables only in the advanced view
-mark_as_advanced(CMOCKA_INCLUDE_DIR CMOCKA_LIBRARIES)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/compile_commands.json new/pam_wrapper-1.1.7/compile_commands.json
--- old/pam_wrapper-1.1.4/compile_commands.json 2024-07-31 13:28:41.678326827 +0200
+++ new/pam_wrapper-1.1.7/compile_commands.json 2024-07-31 13:28:41.686327155 +0200
@@ -1 +1 @@
-symbolic link to /home/asn/workspace/projects/pam_wrapper/obj/compile_commands.json
+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.4/doc/pam_matrix.8 new/pam_wrapper-1.1.7/doc/pam_matrix.8
--- old/pam_wrapper-1.1.4/doc/pam_matrix.8 2015-12-10 16:38:34.000000000 +0100
+++ new/pam_wrapper-1.1.7/doc/pam_matrix.8 2024-07-23 07:37:40.000000000 +0200
@@ -34,7 +34,7 @@
pam_matrix\&.so [\&...]
.SH "DESCRIPTION"
.sp
-Testing PAM application often requires to set up an authentication backend with as little effort as possible\&. The \fBpam_matrix\fR module allows to authenticate against a key\-value text file, provided by an option or with an environment variable\&.
+Testing PAM application often requires to set up an authentication backend with as little effort as possible\&. The \fBpam_matrix\fR module allows one to authenticate against a key\-value text file, provided by an option or with an environment variable\&.
.SH "IMPORTANT"
.sp
pam_matrix is a \fBtest tool\fR\&. It should be considered completely insecure and never used outside test environments! As you\(cqll see when reading description of the options and actions, many of them don\(cqt make any sense in the real world and were added just to make tests possible\&.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/doc/pam_matrix.8.txt new/pam_wrapper-1.1.7/doc/pam_matrix.8.txt
--- old/pam_wrapper-1.1.4/doc/pam_matrix.8.txt 2015-12-10 16:38:34.000000000 +0100
+++ new/pam_wrapper-1.1.7/doc/pam_matrix.8.txt 2024-07-23 07:37:40.000000000 +0200
@@ -14,7 +14,7 @@
DESCRIPTION
-----------
Testing PAM application often requires to set up an authentication backend with
-as little effort as possible. The *pam_matrix* module allows to authenticate
+as little effort as possible. The *pam_matrix* module allows one to authenticate
against a key-value text file, provided by an option or with an environment
variable.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/src/modules/pam_matrix.c new/pam_wrapper-1.1.7/src/modules/pam_matrix.c
--- old/pam_wrapper-1.1.4/src/modules/pam_matrix.c 2020-03-20 15:01:55.000000000 +0100
+++ new/pam_wrapper-1.1.7/src/modules/pam_matrix.c 2024-07-23 07:37:40.000000000 +0200
@@ -33,6 +33,10 @@
#include <time.h>
#include <stdint.h>
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
#ifndef discard_const
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/src/pam_wrapper.c new/pam_wrapper-1.1.7/src/pam_wrapper.c
--- old/pam_wrapper-1.1.4/src/pam_wrapper.c 2021-06-25 10:12:16.000000000 +0200
+++ new/pam_wrapper-1.1.7/src/pam_wrapper.c 2024-07-23 09:44:36.000000000 +0200
@@ -336,7 +336,7 @@
#ifdef RTLD_DEEPBIND
const char *env_preload = getenv("LD_PRELOAD");
- const char *env_deepbind = getenv("UID_WRAPPER_DISABLE_DEEPBIND");
+ const char *env_deepbind = getenv("PAM_WRAPPER_DISABLE_DEEPBIND");
bool enable_deepbind = true;
/* Don't do a deepbind if we run with libasan */
@@ -749,6 +749,7 @@
static int p_rmdirs(const char *path);
+#ifndef HAVE_PAM_START_CONFDIR
static void pwrap_clean_stale_dirs(const char *dir)
{
size_t len = strlen(dir);
@@ -816,20 +817,18 @@
return;
}
+#endif /* HAVE_PAM_START_CONFDIR */
#ifdef HAVE_PAM_START_CONFDIR
static void pwrap_init(void)
{
- char tmp_config_dir[] = "/tmp/pam.X";
- size_t len = strlen(tmp_config_dir);
+ const char *tmpdir = getenv("TMPDIR");
+ char *tmp_config_dir = NULL;
const char *env;
- struct stat sb;
int rc;
- unsigned i;
ssize_t ret;
FILE *pidfile;
char pidfile_path[1024] = { 0 };
- char letter;
if (!pam_wrapper_enabled()) {
return;
@@ -839,62 +838,33 @@
return;
}
- /*
- * The name is selected to match/replace /etc/pam.d
- * We start from a random alphanum trying letters until
- * an available directory is found.
- */
- letter = 48 + (getpid() % 70);
- for (i = 0; i < 127; i++) {
- if (isalpha(letter) || isdigit(letter)) {
- tmp_config_dir[len - 1] = letter;
-
- rc = lstat(tmp_config_dir, &sb);
- if (rc == 0) {
- PWRAP_LOG(PWRAP_LOG_TRACE,
- "Check if pam_wrapper dir %s is a "
- "stale directory",
- tmp_config_dir);
- pwrap_clean_stale_dirs(tmp_config_dir);
- } else if (rc < 0) {
- if (errno != ENOENT) {
- continue;
- }
- break; /* found */
- }
- }
+ PWRAP_LOG(PWRAP_LOG_DEBUG, "Initialize pam_wrapper");
- letter++;
- letter %= 127;
+ if (tmpdir == NULL || strlen(tmpdir) == 0 ||
+ strlen(tmpdir) >= PATH_MAX - 12)
+ {
+ tmpdir = "/tmp";
}
- if (i == 127) {
- PWRAP_LOG(PWRAP_LOG_ERROR,
- "Failed to find a possible path to create "
- "pam_wrapper config dir: %s",
- tmp_config_dir);
+ rc = asprintf(&pwrap.config_dir, "%s/pam.XXXXXX", tmpdir);
+ if (rc <= 0) {
+ PWRAP_LOG(PWRAP_LOG_ERROR, "Failed to create path");
exit(1);
}
- PWRAP_LOG(PWRAP_LOG_DEBUG, "Initialize pam_wrapper");
-
- pwrap.config_dir = strdup(tmp_config_dir);
- if (pwrap.config_dir == NULL) {
+ tmp_config_dir = mkdtemp(pwrap.config_dir);
+ if (tmp_config_dir == NULL) {
PWRAP_LOG(PWRAP_LOG_ERROR,
- "No memory");
+ "Failed to create temporary directory based "
+ "on template: %s",
+ pwrap.config_dir);
exit(1);
}
+
PWRAP_LOG(PWRAP_LOG_TRACE,
"pam_wrapper config dir: %s",
tmp_config_dir);
- rc = mkdir(pwrap.config_dir, 0755);
- if (rc != 0) {
- PWRAP_LOG(PWRAP_LOG_ERROR,
- "Failed to create pam_wrapper config dir: %s - %s",
- tmp_config_dir, strerror(errno));
- }
-
/* Create file with the PID of the the process */
ret = snprintf(pidfile_path, sizeof(pidfile_path),
"%s/pid", pwrap.config_dir);
@@ -1121,6 +1091,7 @@
PWRAP_LOG(PWRAP_LOG_ERROR,
"Failed to create pam_wrapper config dir: %s - %s",
tmp_config_dir, strerror(errno));
+ exit(1);
}
/* Create file with the PID of the the process */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/src/python/CMakeLists.txt new/pam_wrapper-1.1.7/src/python/CMakeLists.txt
--- old/pam_wrapper-1.1.4/src/python/CMakeLists.txt 2021-10-28 10:37:33.000000000 +0200
+++ new/pam_wrapper-1.1.7/src/python/CMakeLists.txt 2024-07-23 07:37:40.000000000 +0200
@@ -1,10 +1,9 @@
project(pypamtest C)
-add_subdirectory(python2)
add_subdirectory(python3)
if (WITH_WNO_CAST_FUNCTION_TYPE)
set_source_files_properties(pypamtest.c
- DIRECTORY python2 python3
+ DIRECTORY python3
PROPERTIES COMPILE_OPTIONS "-Wno-cast-function-type")
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/src/python/python2/CMakeLists.txt new/pam_wrapper-1.1.7/src/python/python2/CMakeLists.txt
--- old/pam_wrapper-1.1.4/src/python/python2/CMakeLists.txt 2020-03-20 15:01:55.000000000 +0100
+++ new/pam_wrapper-1.1.7/src/python/python2/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,45 +0,0 @@
-project(python2-pamtest C)
-
-if (NOT PYTHON2_LIBRARY)
- unset(PYTHON_EXECUTABLE CACHE)
- unset(PYTHON_INCLUDE_DIR CACHE)
- unset(PYTHON_LIBRARY CACHE)
- unset(PYTHON_SITELIB CACHE)
- unset(PYTHONLIBS_FOUND CACHE)
- unset(PYTHONLIBS_VERSION_STRING CACHE)
-
- find_package(PythonLibs 2)
- find_package(PythonInterp 2)
- find_package(PythonSiteLibs 2)
-
- if (PYTHONLIBS_FOUND)
- set(PYTHON2_EXECUTABLE ${PYTHON_EXECUTABLE} CACHE FILEPATH "PYTHON2_EXECUTABLE")
- set(PYTHON2_INCLUDE_DIR ${PYTHON_INCLUDE_DIR})
- set(PYTHON2_LIBRARY ${PYTHON_LIBRARY})
- set(PYTHON2_SITELIB ${PYTHON_SITELIB})
- endif()
-
- unset(PYTHON_EXECUTABLE CACHE)
- unset(PYTHON_INCLUDE_DIR CACHE)
- unset(PYTHON_LIBRARY CACHE)
- unset(PYTHON_SITELIB CACHE)
- unset(PYTHONLIBS_FOUND CACHE)
- unset(PYTHONLIBS_VERSION_STRING CACHE)
-endif()
-
-if (PYTHON2_INCLUDE_DIR AND PYTHON2_LIBRARY AND PYTHON2_SITELIB)
- include_directories(${CMAKE_BINARY_DIR})
- include_directories(${pam_wrapper-headers_DIR})
- include_directories(${PYTHON2_INCLUDE_DIR})
-
- python_add_module(python2-pamtest ${pypamtest_SOURCE_DIR}/pypamtest.c)
- target_link_libraries(python2-pamtest pamtest::pamtest ${PYTHON2_LIBRARY})
- target_compile_options(python2-pamtest
- PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
- set_target_properties(python2-pamtest PROPERTIES OUTPUT_NAME "pypamtest")
-
- install(TARGETS
- python2-pamtest
- DESTINATION
- ${CMAKE_INSTALL_PREFIX}/${PYTHON2_SITELIB})
-endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/src/python/python3/CMakeLists.txt new/pam_wrapper-1.1.7/src/python/python3/CMakeLists.txt
--- old/pam_wrapper-1.1.4/src/python/python3/CMakeLists.txt 2020-03-20 15:01:55.000000000 +0100
+++ new/pam_wrapper-1.1.7/src/python/python3/CMakeLists.txt 2024-07-23 10:22:39.000000000 +0200
@@ -1,45 +1,26 @@
project(python3-pamtest C)
-if (NOT PYTHON3_LIBRARY)
- unset(PYTHON_EXECUTABLE CACHE)
- unset(PYTHON_INCLUDE_DIR CACHE)
- unset(PYTHON_LIBRARY CACHE)
- unset(PYTHON_SITELIB CACHE)
- unset(PYTHONLIBS_FOUND CACHE)
- unset(PYTHONLIBS_VERSION_STRING CACHE)
-
- find_package(PythonLibs 3)
- find_package(PythonInterp 3)
- find_package(PythonSiteLibs 3)
-
- if (PYTHONLIBS_FOUND)
- set(PYTHON3_LIBRARY ${PYTHON_LIBRARY})
- set(PYTHON3_INCLUDE_DIR ${PYTHON_INCLUDE_DIR})
- set(PYTHON3_SITELIB ${PYTHON_SITELIB})
- set(PYTHON3_EXECUTABLE ${PYTHON_EXECUTABLE} CACHE FILEPATH "PYTHON3_EXECUTABLE")
- endif()
-
- unset(PYTHON_EXECUTABLE CACHE)
- unset(PYTHON_INCLUDE_DIR CACHE)
- unset(PYTHON_LIBRARY CACHE)
- unset(PYTHON_SITELIB CACHE)
- unset(PYTHONLIBS_FOUND CACHE)
- unset(PYTHONLIBS_VERSION_STRING CACHE)
+find_package(Python 3.6 COMPONENTS Development Interpreter)
+# Allow to specify sitearch dir on the commandline
+if (NOT PYTHON_INSTALL_SITEARCH)
+ set(PYTHON_INSTALL_SITEARCH ${Python_SITEARCH})
endif()
-if (PYTHON3_INCLUDE_DIR AND PYTHON3_LIBRARY AND PYTHON3_SITELIB)
- include_directories(${CMAKE_BINARY_DIR})
- include_directories(${pam_wrapper-headers_DIR})
- include_directories(${PYTHON3_INCLUDE_DIR})
-
- python_add_module(python3-pamtest ${pypamtest_SOURCE_DIR}/pypamtest.c)
- target_link_libraries(python3-pamtest pamtest::pamtest ${PYTHON3_LIBRARY})
+if (Python_Development_FOUND)
+ add_library(python3-pamtest
+ MODULE ${pypamtest_SOURCE_DIR}/pypamtest.c)
target_compile_options(python3-pamtest
PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
- set_target_properties(python3-pamtest PROPERTIES OUTPUT_NAME "pypamtest")
+ target_include_directories(python3-pamtest
+ PRIVATE
+ ${pam_wrapper_BINARY_DIR}
+ ${pam_wrapper-headers_DIR})
+ target_link_libraries(python3-pamtest PRIVATE pamtest::pamtest Python::Python)
+ set_property(TARGET python3-pamtest PROPERTY PREFIX "")
+ set_property(TARGET python3-pamtest PROPERTY OUTPUT_NAME "pypamtest")
install(TARGETS
python3-pamtest
DESTINATION
- ${CMAKE_INSTALL_PREFIX}/${PYTHON3_SITELIB})
+ ${PYTHON_INSTALL_SITEARCH})
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/tests/CMakeLists.txt new/pam_wrapper-1.1.7/tests/CMakeLists.txt
--- old/pam_wrapper-1.1.4/tests/CMakeLists.txt 2020-03-20 15:01:55.000000000 +0100
+++ new/pam_wrapper-1.1.7/tests/CMakeLists.txt 2024-07-23 09:44:36.000000000 +0200
@@ -1,5 +1,9 @@
project(tests C)
+if (TARGET cmocka::cmocka)
+ set(CMOCKA_LIBRARY cmocka::cmocka)
+endif()
+
set(PAM_MATRIX_PATH "${CMAKE_BINARY_DIR}/src/modules/pam_matrix.so")
configure_file(services/matrix.in ${CMAKE_CURRENT_BINARY_DIR}/services/matrix @ONLY)
@@ -90,20 +94,12 @@
endif()
if (RUN_PYTHON_TESTS)
- if (PYTHON2_EXECUTABLE)
- add_test(NAME
- py2pamtest_test
- COMMAND
- ${PYTHON2_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/pypamtest_test.py)
-
- add_cmocka_test_environment(py2pamtest_test)
- endif()
-
- if (PYTHON3_EXECUTABLE)
+ find_package(Python 3.6 COMPONENTS Interpreter)
+ if (Python_Interpreter_FOUND)
add_test(NAME
py3pamtest_test
COMMAND
- ${PYTHON3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/pypamtest_test.py)
+ ${Python_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/pypamtest_test.py)
add_cmocka_test_environment(py3pamtest_test)
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pam_wrapper-1.1.4/tests/pypamtest_test.py new/pam_wrapper-1.1.7/tests/pypamtest_test.py
--- old/pam_wrapper-1.1.4/tests/pypamtest_test.py 2021-04-07 09:20:58.000000000 +0200
+++ new/pam_wrapper-1.1.7/tests/pypamtest_test.py 2024-07-23 07:37:40.000000000 +0200
@@ -20,7 +20,7 @@
if sys.hexversion >= 0x3000000:
self.modpath = os.path.join(os.getcwd(), "../src/python/python3")
else:
- self.modpath = os.path.join(os.getcwd(), "../src/python/python2")
+ self.assertTrue(False)
self.system_path = sys.path[:]
sys.path = [ self.modpath ]
@@ -142,12 +142,12 @@
neo_password = "wrong_secret"
tc = pypamtest.TestCase(pypamtest.PAMTEST_AUTHENTICATE)
- self.assertRaisesRegexp(pypamtest.PamTestError,
- "Error \[2\]: Test case { pam_operation \[0\] "
- "expected_rv \[0\] flags \[0\] } "
- "returned \[\d\]",
- pypamtest.run_pamtest,
- "neo", "matrix_py", [tc], [ neo_password ])
+ self.assertRaisesRegex(pypamtest.PamTestError,
+ "Error \[2\]: Test case { pam_operation \[0\] "
+ "expected_rv \[0\] flags \[0\] } "
+ "returned \[\d\]",
+ pypamtest.run_pamtest,
+ "neo", "matrix_py", [tc], [ neo_password ])
if __name__ == "__main__":
error = 0
++++++ pam_wrapper-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.xW0U6G/_old 2024-07-31 13:28:41.738329291 +0200
+++ /var/tmp/diff_new_pack.xW0U6G/_new 2024-07-31 13:28:41.742329455 +0200
@@ -5,8 +5,6 @@
# Learn more at http://cwrap.org
#
addFilter("shlib-policy-name-error")
-addFilter("shared-lib-calls-exit")
addFilter("shlib-fixed-dependency")
-addFilter("shlib-policy-missing-suffix")
addFilter("devel-file-in-non-devel-package")
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package p11-kit for openSUSE:Factory checked in at 2024-07-31 13:28:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/p11-kit (Old)
and /work/SRC/openSUSE:Factory/.p11-kit.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "p11-kit"
Wed Jul 31 13:28:30 2024 rev:47 rq:1190394 version:0.25.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/p11-kit/p11-kit.changes 2023-11-22 18:54:23.559100573 +0100
+++ /work/SRC/openSUSE:Factory/.p11-kit.new.7232/p11-kit.changes 2024-07-31 13:28:38.062178310 +0200
@@ -1,0 +2,7 @@
+Fri Jul 26 15:15:20 UTC 2024 - Martin Jambor <mjambor(a)suse.com>
+
+- Added a backport of an upstream commit in p11-kit-d938f4a8a3a2.patch
+ to avoid passing an incompatible pointer type to a function which is
+ an error by default in GCC 14.
+
+-------------------------------------------------------------------
New:
----
p11-kit-d938f4a8a3a2.patch
BETA DEBUG BEGIN:
New:
- Added a backport of an upstream commit in p11-kit-d938f4a8a3a2.patch
to avoid passing an incompatible pointer type to a function which is
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ p11-kit.spec ++++++
--- /var/tmp/diff_new_pack.y0iLT9/_old 2024-07-31 13:28:38.562198847 +0200
+++ /var/tmp/diff_new_pack.y0iLT9/_new 2024-07-31 13:28:38.566199010 +0200
@@ -1,7 +1,7 @@
#
# spec file for package p11-kit
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
Source1: https://github.com/p11-glue/%{name}/releases/download/%{version}/p11-kit-%{…
Source98: https://p11-glue.github.io/p11-glue/%{name}/%{name}-release-keyring.gpg#/%{…
Source99: baselibs.conf
+Patch1: p11-kit-d938f4a8a3a2.patch
BuildRequires: gtk-doc
%if 0%{?suse_version} >= 1600
BuildRequires: libtasn1-tools
++++++ p11-kit-d938f4a8a3a2.patch ++++++
From d938f4a8a3a2f371e0a3bc1404a384b4b1f61020 Mon Sep 17 00:00:00 2001
From: Daiki Ueno <ueno(a)gnu.org>
Date: Sat, 2 Dec 2023 09:24:01 +0900
Subject: [PATCH] import-object: Avoid integer truncation on 32-bit platforms
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The build fails when compiling for 32-bit platforms with
-Werror=incompatible-pointer-types:
CFLAGS="-m32 -march=i686 -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion" setarch i686 -- meson setup _build
setarch i686 -- meson compile -C _build -v
...
../p11-kit/import-object.c: In function ‘add_attrs_pubkey_rsa’:
../p11-kit/import-object.c:223:62: error: passing argument 3 of ‘p11_asn1_read’ from incompatible pointer type [-Werror=incompatible-pointer-types]
223 | attr_modulus.pValue = p11_asn1_read (asn, "modulus", &attr_modulus.ulValueLen);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int *
Reported by Sam James in:
https://github.com/p11-glue/p11-kit/issues/608
Signed-off-by: Daiki Ueno <ueno(a)gnu.org>
---
p11-kit/import-object.c | 30 +++++++++++++++++++++++++++---
1 file changed, 27 insertions(+), 3 deletions(-)
diff --git a/p11-kit/import-object.c b/p11-kit/import-object.c
index feee0765..fb47b964 100644
--- a/p11-kit/import-object.c
+++ b/p11-kit/import-object.c
@@ -55,6 +55,7 @@
#endif
#include <assert.h>
+#include <limits.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
@@ -201,6 +202,7 @@ add_attrs_pubkey_rsa (CK_ATTRIBUTE *attrs,
CK_ATTRIBUTE attr_encrypt = { CKA_ENCRYPT, &tval, sizeof (tval) };
CK_ATTRIBUTE attr_modulus = { CKA_MODULUS, };
CK_ATTRIBUTE attr_exponent = { CKA_PUBLIC_EXPONENT, };
+ size_t len = 0;
pubkey = p11_asn1_read (info, "subjectPublicKey", &pubkey_len);
if (pubkey == NULL) {
@@ -220,17 +222,31 @@ add_attrs_pubkey_rsa (CK_ATTRIBUTE *attrs,
goto cleanup;
}
- attr_modulus.pValue = p11_asn1_read (asn, "modulus", &attr_modulus.ulValueLen);
+ attr_modulus.pValue = p11_asn1_read (asn, "modulus", &len);
if (attr_modulus.pValue == NULL) {
p11_message (_("failed to obtain modulus"));
goto cleanup;
}
+#if ULONG_MAX < SIZE_MAX
+ if (len > ULONG_MAX) {
+ p11_message (_("failed to obtain modulus"));
+ goto cleanup;
+ }
+#endif
+ attr_modulus.ulValueLen = len;
- attr_exponent.pValue = p11_asn1_read (asn, "publicExponent", &attr_exponent.ulValueLen);
+ attr_exponent.pValue = p11_asn1_read (asn, "publicExponent", &len);
if (attr_exponent.pValue == NULL) {
p11_message (_("failed to obtain exponent"));
goto cleanup;
}
+#if ULONG_MAX < SIZE_MAX
+ if (len > ULONG_MAX) {
+ p11_message (_("failed to obtain exponent"));
+ goto cleanup;
+ }
+#endif
+ attr_exponent.ulValueLen = len;
result = p11_attrs_build (attrs, &attr_key_type, &attr_encrypt, &attr_modulus, &attr_exponent, NULL);
if (result == NULL) {
@@ -260,12 +276,20 @@ add_attrs_pubkey_ec (CK_ATTRIBUTE *attrs,
CK_ATTRIBUTE attr_key_type = { CKA_KEY_TYPE, &key_type, sizeof (key_type) };
CK_ATTRIBUTE attr_ec_params = { CKA_EC_PARAMS, };
CK_ATTRIBUTE attr_ec_point = { CKA_EC_POINT, };
+ size_t len = 0;
- attr_ec_params.pValue = p11_asn1_read (info, "algorithm.parameters", &attr_ec_params.ulValueLen);
+ attr_ec_params.pValue = p11_asn1_read (info, "algorithm.parameters", &len);
if (attr_ec_params.pValue == NULL) {
p11_message (_("failed to obtain EC parameters"));
goto cleanup;
}
+#if ULONG_MAX < SIZE_MAX
+ if (len > ULONG_MAX) {
+ p11_message (_("failed to obtain EC parameters"));
+ goto cleanup;
+ }
+#endif
+ attr_ec_params.ulValueLen = len;
/* subjectPublicKey is read as BIT STRING value which contains
* EC point data. We need to DER encode this data as OCTET STRING.
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package git for openSUSE:Factory checked in at 2024-07-31 13:28:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/git (Old)
and /work/SRC/openSUSE:Factory/.git.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "git"
Wed Jul 31 13:28:28 2024 rev:314 rq:1190389 version:2.46.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/git/git.changes 2024-07-22 17:14:50.601684801 +0200
+++ /work/SRC/openSUSE:Factory/.git.new.7232/git.changes 2024-07-31 13:28:34.086015007 +0200
@@ -1,0 +2,334 @@
+Tue Jul 30 00:07:55 UTC 2024 - Marcus Rueckert <mrueckert(a)suse.de>
+
+- update to 2.46.0
+ UI, Workflows & Features
+ * The "--rfc" option of "git format-patch" learned to take an
+ optional string value to be used in place of "RFC" to tweak the
+ "[PATCH]" on the subject header.
+ * The credential helper protocol, together with the HTTP layer, have
+ been enhanced to support authentication schemes different from
+ username & password pair, like Bearer and NTLM.
+ * Command line completion script (in contrib/) learned to complete
+ "git symbolic-ref" a bit better (you need to enable plumbing
+ commands to be completed with GIT_COMPLETION_SHOW_ALL_COMMANDS).
+ * When the user responds to a prompt given by "git add -p" with an
+ unsupported command, list of available commands were given, which
+ was too much if the user knew what they wanted to type but merely
+ made a typo. Now the user gets a much shorter error message.
+ * The color parsing code learned to handle 12-bit RGB colors, spelled
+ as "#RGB" (in addition to "#RRGGBB" that is already supported).
+ * The operation mode options (like "--get") the "git config" command
+ uses have been deprecated and replaced with subcommands (like "git
+ config get").
+ * "git tag" learned the "--trailer" option to futz with the trailers
+ in the same way as "git commit" does.
+ * A new global "--no-advice" option can be used to disable all advice
+ messages, which is meant to be used only in scripts.
+ * Updates to symbolic refs can now be made as a part of ref
+ transaction.
+ * The trailer API has been reshuffled a bit.
+ * Terminology to call various ref-like things are getting
+ straightened out.
+ * The command line completion script (in contrib/) has been adjusted
+ to the recent update to "git config" that adopted subcommand based
+ UI.
+ * The knobs to tweak how reftable files are written have been made
+ available as configuration variables.
+ * When "git push" notices that the commit at the tip of the ref on
+ the other side it is about to overwrite does not exist locally, it
+ used to first try fetching it if the local repository is a partial
+ clone. The command has been taught not to do so and immediately
+ fail instead.
+ * The promisor.quiet configuration knob can be set to true to make
+ lazy fetching from promisor remotes silent.
+ * The inter/range-diff output has been moved to the end of the patch
+ when format-patch adds it to a single patch, instead of writing it
+ before the patch text, to be consistent with what is done for a
+ cover letter for a multi-patch series.
+ * A new command has been added to migrate a repository that uses the
+ files backend for its ref storage to use the reftable backend, with
+ limitations.
+ * "git diff --exit-code --ext-diff" learned to take the exit status
+ of the external diff driver into account when deciding the exit
+ status of the overall "git diff" invocation when configured to do
+ so.
+ * "git update-ref --stdin" learned to handle transactional updates of
+ symbolic-refs.
+ * "git format-patch --interdiff" for multi-patch series learned to
+ turn on cover letters automatically (unless told never to enable
+ cover letter with "--no-cover-letter" and such).
+ * The "--heads" option of "ls-remote" and "show-ref" has been been
+ deprecated; "--branches" replaces "--heads".
+ * For over a year, setting add.interactive.useBuiltin configuration
+ variable did nothing but giving a "this does not do anything"
+ warning. The warning has been removed.
+ * The http transport can now be told to send request with
+ authentication material without first getting a 401 response.
+ * A handful of entries are added to the GitFAQ document.
+ * "git var GIT_SHELL_PATH" should report the path to the shell used
+ to spawn external commands, but it didn't do so on Windows, which
+ has been corrected.
+ Performance, Internal Implementation, Development Support etc.
+ * Advertise "git contacts", a tool for newcomers to find people to
+ ask review for their patches, a bit more in our developer
+ documentation.
+ * In addition to building the objects needed, try to link the objects
+ that are used in fuzzer tests, to make sure at least they build
+ without bitrot, in Linux CI runs.
+ * Code to write out reftable has seen some optimization and
+ simplification.
+ * Tests to ensure interoperability between reftable written by jgit
+ and our code have been added and enabled in CI.
+ * The singleton index_state instance "the_index" has been eliminated
+ by always instantiating "the_repository" and replacing references
+ to "the_index" with references to its .index member.
+ * Git-GUI has a new maintainer, Johannes Sixt.
+ * The "test-tool" has been taught to run testsuite tests in parallel,
+ bypassing the need to use the "prove" tool.
+ * The "whitespace check" task that was enabled for GitHub Actions CI
+ has been ported to GitLab CI.
+ * The refs API lost functions that implicitly assumes to work on the
+ primary ref_store by forcing the callers to pass a ref_store as an
+ argument.
+ * Code clean-up to reduce inter-function communication inside
+ builtin/config.c done via the use of global variables.
+ * The pack bitmap code saw some clean-up to prepare for a follow-up topic.
+ * Preliminary code clean-up for "git send-email".
+ * The default "creation-factor" used by "git format-patch" has been
+ raised to make it more aggressively find matching commits.
+ * Before discovering the repository details, We used to assume SHA-1
+ as the "default" hash function, which has been corrected. Hopefully
+ this will smoke out codepaths that rely on such an unwarranted
+ assumptions.
+ * The project decision making policy has been documented.
+ * The strcmp-offset tests have been rewritten using the unit test
+ framework.
+ * "git add -p" learned to complain when an answer with more than one
+ letter is given to a prompt that expects a single letter answer.
+ * The alias-expanded command lines are logged to the trace output.
+ * A new test was added to ensure git commands that are designed to
+ run outside repositories do work.
+ * A few tests in reftable library have been rewritten using the
+ unit test framework.
+ * A pair of test helpers that essentially are unit tests on hash
+ algorithms have been rewritten using the unit-tests framework.
+ * A test helper that essentially is unit tests on the "decorate"
+ logic has been rewritten using the unit-tests framework.
+ * Many memory leaks in the sparse-checkout code paths have been
+ plugged.
+ * "make check-docs" noticed problems and reported to its output but
+ failed to signal its findings with its exit status, which has been
+ corrected.
+ * Building with "-Werror -Wwrite-strings" is now supported.
+ * To help developers, the build procedure now allows builders to use
+ CFLAGS_APPEND to specify additional CFLAGS.
+ * "oidtree" tests were rewritten to use the unit test framework.
+ * The structure of the document that records longer-term project
+ decisions to deprecate/remove/update various behaviour has been
+ outlined.
+ * The pseudo-merge reachability bitmap to help more efficient storage
+ of the reachability bitmap in a repository with too many refs has
+ been added.
+ * When "git merge" sees that the index cannot be refreshed (e.g. due
+ to another process doing the same in the background), it died but
+ after writing MERGE_HEAD etc. files, which was useless for the
+ purpose to recover from the failure.
+ * The output from "git cat-file --batch-check" and "--batch-command
+ (info)" should not be unbuffered, for which some tests have been
+ added.
+ * A CPP macro USE_THE_REPOSITORY_VARIABLE is introduced to help
+ transition the codebase to rely less on the availability of the
+ singleton the_repository instance.
+ * "git version --build-options" reports the version information of
+ OpenSSL and other libraries (if used) in the build.
+ * Memory ownership rules for the in-core representation of
+ remote.*.url configuration values have been straightened out, which
+ resulted in a few leak fixes and code clarification.
+ * When bundleURI interface fetches multiple bundles, Git failed to
+ take full advantage of all bundles and ended up slurping duplicated
+ objects, which has been corrected.
+ * The code to deal with modified paths that are out-of-cone in a
+ sparsely checked out working tree has been optimized.
+ * An existing test of oidmap API has been rewritten with the
+ unit-test framework.
+ * The "ort" merge backend saw one bugfix for a crash that happens
+ when inner merge gets killed, and assorted code clean-ups.
+ * A new warning message is issued when a command has to expand a
+ sparse index to handle working tree cruft that are outside of the
+ sparse checkout.
+ * The test framework learned to take the test body not as a single
+ string but as a here-document.
+ * "git push '' HEAD:there" used to hit a BUG(); it has been corrected
+ to die with "fatal: bad repository ''".
+ * What happens when http.cookieFile gets the special value "" has
+ been clarified in the documentation.
+ Fixes
+ * "git rebase --signoff" used to forget that it needs to add a
+ sign-off to the resulting commit when told to continue after a
+ conflict stops its operation.
+ * The procedure to build multi-pack-index got confused by the
+ replace-refs mechanism, which has been corrected by disabling the
+ latter.
+ * The "-k" and "--rfc" options of "format-patch" will now error out
+ when used together, as one tells us not to add anything to the
+ title of the commit, and the other one tells us to add "RFC" in
+ addition to "PATCH".
+ * "git stash -S" did not handle binary files correctly, which has
+ been corrected.
+ * A scheduled "git maintenance" job is expected to work on all
+ repositories it knows about, but it stopped at the first one that
+ errored out. Now it keeps going.
+ * zsh can pretend to be a normal shell pretty well except for some
+ glitches that we tickle in some of our scripts. Work them around
+ so that "vimdiff" and our test suite works well enough with it.
+ * Command line completion support for zsh (in contrib/) has been
+ updated to stop exposing internal state to end-user shell
+ interaction.
+ * Tests that try to corrupt in-repository files in chunked format did
+ not work well on macOS due to its broken "mv", which has been
+ worked around.
+ * The maximum size of attribute files is enforced more consistently.
+ * Unbreak CI jobs so that we do not attempt to use Python 2 that has
+ been removed from the platform.
+ * Git 2.43 started using the tree of HEAD as the source of attributes
+ in a bare repository, which has severe performance implications.
+ For now, revert the change, without ripping out a more explicit
+ support for the attr.tree configuration variable.
+ * The "--exit-code" option of "git diff" command learned to work with
+ the "--ext-diff" option.
+ * Windows CI running in GitHub Actions started complaining about the
+ order of arguments given to calloc(); the imported regex code uses
+ the wrong order almost consistently, which has been corrected.
+ * Expose "name conflict" error when a ref creation fails due to D/F
+ conflict in the ref namespace, to improve an error message given by
+ "git fetch".
+ (merge 9339fca23e it/refs-name-conflict later to maint).
+ * The SubmittingPatches document now refers folks to manpages
+ translation project.
+ * The documentation for "git diff --name-only" has been clarified
+ that it is about showing the names in the post-image tree.
+ * The credential helper that talks with osx keychain learned to avoid
+ storing back the authentication material it just got received from
+ the keychain.
+ (merge e1ab45b2da kn/osxkeychain-skip-idempotent-store later to maint).
+ * The chainlint script (invoked during "make test") did nothing when
+ it failed to detect the number of available CPUs. It now falls
+ back to 1 CPU to avoid the problem.
+ * Revert overly aggressive "layered defence" that went into 2.45.1
+ and friends, which broke "git-lfs", "git-annex", and other use
+ cases, so that we can rebuild necessary counterparts in the open.
+ * "git init" in an already created directory, when the user
+ configuration has includeif.onbranch, started to fail recently,
+ which has been corrected.
+ * Memory leaks in "git mv" has been plugged.
+ * The safe.directory configuration knob has been updated to
+ optionally allow leading path matches.
+ * An overly large ".gitignore" files are now rejected silently.
+ * Upon expiration event, the credential subsystem forgot to clear
+ in-core authentication material other than password (whose support
+ was added recently), which has been corrected.
+ * Fix for an embarrassing typo that prevented Python2 tests from running
+ anywhere.
+ * Varargs functions that are unannotated as printf-like or execl-like
+ have been annotated as such.
+ * "git am" has a safety feature to prevent it from starting a new
+ session when there already is a session going. It reliably
+ triggers when a mbox is given on the command line, but it has to
+ rely on the tty-ness of the standard input. Add an explicit way to
+ opt out of this safety with a command line option.
+ (merge 62c71ace44 jk/am-retry later to maint).
+ * A leak in "git imap-send" that somehow escapes LSan has been
+ plugged.
+ * Setting core.abbrev too early before the repository set-up
+ (typically in "git clone") caused segfault, which as been
+ corrected.
+ * When the user adds to "git rebase -i" instruction to "pick" a merge
+ commit, the error experience is not pleasant. Such an error is now
+ caught earlier in the process that parses the todo list.
+ * We forgot to normalize the result of getcwd() to NFC on macOS where
+ all other paths are normalized, which has been corrected. This still
+ does not address the case where core.precomposeUnicode configuration
+ is not defined globally.
+ * Earlier we stopped using the tree of HEAD as the default source of
+ attributes in a bare repository, but failed to document it. This
+ has been corrected.
+ * "git update-server-info" and "git commit-graph --write" have been
+ updated to use the tempfile API to avoid leaving cruft after
+ failing.
+ * An unused extern declaration for mingw has been removed to prevent
+ it from causing build failure.
+ * A helper function shared between two tests had a copy-paste bug,
+ which has been corrected.
+ * "git fetch-pack -k -k" without passing "--lock-pack" (which we
+ never do ourselves) did not work at all, which has been corrected.
+ * CI job to build minimum fuzzers learned to pass NO_CURL=NoThanks to
+ the build procedure, as its build environment does not offer, or
+ the rest of the build needs, anything cURL.
+ (merge 4e66b5a990 jc/fuzz-sans-curl later to maint).
+ * "git diff --no-ext-diff" when diff.external is configured ignored
+ the "--color-moved" option.
+ (merge 0f4b0d4cf0 rs/diff-color-moved-w-no-ext-diff-fix later to maint).
+ * "git archive --add-virtual-file=<path>:<contents>" never paid
+ attention to the --prefix=<prefix> option but the documentation
+ said it would. The documentation has been corrected.
+ (merge 72c282098d jc/archive-prefix-with-add-virtual-file later to maint).
+ * When GIT_PAGER failed to spawn, depending on the code path taken,
+ we failed immediately (correct) or just spew the payload to the
+ standard output (incorrect). The code now always fail immediately
+ when GIT_PAGER fails.
+ (merge 78f0a5d187 rj/pager-die-upon-exec-failure later to maint).
+ * date parser updates to be more careful about underflowing epoch
+ based timestamp.
+ (merge 9d69789770 db/date-underflow-fix later to maint).
+ * The Bloom filter used for path limited history traversal was broken
+ on systems whose "char" is unsigned; update the implementation and
+ bump the format version to 2.
+ (merge 9c8a9ec787 tb/path-filter-fix later to maint).
+ * Typofix.
+ (merge 231cf7370e as/pathspec-h-typofix later to maint).
+ * Code clean-up.
+ (merge 4b837f821e rs/simplify-submodule-helper-super-prefix-invocation later to maint).
+ * "git describe --dirty --broken" forgot to refresh the index before
+ seeing if there is any chang, ("git describe --dirty" correctly did
+ so), which has been corrected.
+ (merge b8ae42e292 as/describe-broken-refresh-index-fix later to maint).
+ * Test suite has been taught not to unnecessarily rely on DNS failing
+ a bogus external name.
+ (merge 407cdbd271 jk/tests-without-dns later to maint).
++++ 37 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/git/git.changes
++++ and /work/SRC/openSUSE:Factory/.git.new.7232/git.changes
Old:
----
git-2.45.2.tar.sign
git-2.45.2.tar.xz
New:
----
git-2.46.0.tar.sign
git-2.46.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ git.spec ++++++
--- /var/tmp/diff_new_pack.6chwUM/_old 2024-07-31 13:28:36.662120809 +0200
+++ /var/tmp/diff_new_pack.6chwUM/_new 2024-07-31 13:28:36.666120973 +0200
@@ -43,7 +43,7 @@
%bcond_with asciidoctor
%endif
Name: git
-Version: 2.45.2
+Version: 2.46.0
Release: 0
Summary: Fast, scalable, distributed revision control system
License: GPL-2.0-only
++++++ git-2.45.2.tar.xz -> git-2.46.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/git/git-2.45.2.tar.xz /work/SRC/openSUSE:Factory/.git.new.7232/git-2.46.0.tar.xz differ: char 15, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ruff for openSUSE:Factory checked in at 2024-07-31 13:28:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ruff (Old)
and /work/SRC/openSUSE:Factory/.python-ruff.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ruff"
Wed Jul 31 13:28:25 2024 rev:33 rq:1190325 version:0.5.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ruff/python-ruff.changes 2024-07-08 19:07:33.677206323 +0200
+++ /work/SRC/openSUSE:Factory/.python-ruff.new.7232/python-ruff.changes 2024-07-31 13:28:30.121852196 +0200
@@ -1,0 +2,7 @@
+Mon Jul 29 18:08:59 UTC 2024 - Ondřej Súkup <mimi.vx(a)gmail.com>
+
+- update to 0.5.5
+ * server funcionality is now stable
+ * big list of changes: https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
ruff-0.5.1.tar.gz
New:
----
ruff-0.5.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ruff.spec ++++++
--- /var/tmp/diff_new_pack.iU84QH/_old 2024-07-31 13:28:31.621913805 +0200
+++ /var/tmp/diff_new_pack.iU84QH/_new 2024-07-31 13:28:31.621913805 +0200
@@ -19,7 +19,7 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ruff
-Version: 0.5.1
+Version: 0.5.5
Release: 0
Summary: An extremely fast Python linter, written in Rust
License: MIT
++++++ ruff-0.5.1.tar.gz -> ruff-0.5.5.tar.gz ++++++
++++ 12170 lines of diff (skipped)
++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/python-ruff/vendor.tar.zst /work/SRC/openSUSE:Factory/.python-ruff.new.7232/vendor.tar.zst differ: char 30841, line 139
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Paste for openSUSE:Factory checked in at 2024-07-31 13:28:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Paste (Old)
and /work/SRC/openSUSE:Factory/.python-Paste.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Paste"
Wed Jul 31 13:28:23 2024 rev:41 rq:1190304 version:3.10.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Paste/python-Paste.changes 2024-04-16 20:03:16.375190063 +0200
+++ /work/SRC/openSUSE:Factory/.python-Paste.new.7232/python-Paste.changes 2024-07-31 13:28:28.925803074 +0200
@@ -1,0 +2,11 @@
+Mon Jul 29 14:43:27 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- Update to 3.10.1
+ * Correct packaging and testing when not in a clean virtualenv
+- from version 3.10.0
+ * Move development to https://github.com/pasteorg/paste
+ * Vendor cgi.FieldStorage and cgitb.Hook
+ * More cleaning of Python 2 style code.
+- Adjust upstream source name in spec file
+
+-------------------------------------------------------------------
Old:
----
Paste-3.9.0.tar.gz
New:
----
paste-3.10.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Paste.spec ++++++
--- /var/tmp/diff_new_pack.iczuev/_old 2024-07-31 13:28:29.605831003 +0200
+++ /var/tmp/diff_new_pack.iczuev/_new 2024-07-31 13:28:29.605831003 +0200
@@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-Paste
-Version: 3.9.0
+Version: 3.10.1
Release: 0
Summary: Tools for using a Web Server Gateway Interface stack
License: MIT
URL: https://github.com/cdent/paste
-Source: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar…
+Source: https://files.pythonhosted.org/packages/source/p/paste/paste-%{version}.tar…
Patch0: test_modified-fixup.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -46,7 +46,7 @@
interfaces.
%prep
-%autosetup -p1 -n Paste-%{version}
+%autosetup -p1 -n paste-%{version}
sed -i '/pytest-runner/d' setup.py
# remove test requiring internet access
rm tests/test_proxy.py
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2024-07-31 13:28:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old)
and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Bootloader"
Wed Jul 31 13:28:21 2024 rev:216 rq:1190300 version:1.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2024-03-22 15:18:44.332792723 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.7232/perl-Bootloader.changes 2024-07-31 13:28:26.085686429 +0200
@@ -1,0 +2,18 @@
+Mon Jul 29 16:38:33 UTC 2024 - wfeldt(a)opensuse.org
+
+- merge gh#openSUSE/perl-bootloader#169
+- support grub2-bls (bsc#1226676, bsc#1208135)
+- better config file reading
+- add check whether bootloader is supported
+- unit test output changed, adjust reference data
+- adjust GRUB_ENABLE_BLSCFG when setting grub2-bls
+- add config, install, add-kernel, remove-kernel for grub2-bls
+- support --default option for grub2*
+- unify cmdline parsing code and move to library
+- add missing options for bls conforming loaders
+- updated tests
+- unify test case names
+- adjust documentation
+- 1.14
+
+--------------------------------------------------------------------
Old:
----
perl-Bootloader-1.13.tar.xz
New:
----
perl-Bootloader-1.14.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Bootloader.spec ++++++
--- /var/tmp/diff_new_pack.uWBLRu/_old 2024-07-31 13:28:26.785715179 +0200
+++ /var/tmp/diff_new_pack.uWBLRu/_new 2024-07-31 13:28:26.785715179 +0200
@@ -25,7 +25,7 @@
%{!?_distconfdir:%global _distconfdir /etc}
Name: perl-Bootloader
-Version: 1.13
+Version: 1.14
Release: 0
Requires: coreutils
Obsoletes: perl-Bootloader-YAML < %{version}
++++++ perl-Bootloader-1.13.tar.xz -> perl-Bootloader-1.14.tar.xz ++++++
++++ 7647 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package vulkan-headers for openSUSE:Factory checked in at 2024-07-31 13:28:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vulkan-headers (Old)
and /work/SRC/openSUSE:Factory/.vulkan-headers.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vulkan-headers"
Wed Jul 31 13:28:19 2024 rev:52 rq:1190289 version:1.3.290
Changes:
--------
--- /work/SRC/openSUSE:Factory/vulkan-headers/vulkan-headers.changes 2024-07-25 12:12:27.502611004 +0200
+++ /work/SRC/openSUSE:Factory/.vulkan-headers.new.7232/vulkan-headers.changes 2024-07-31 13:28:24.485620714 +0200
@@ -1,0 +2,6 @@
+Mon Jul 29 14:37:09 UTC 2024 - Martin Jambor <mjambor(a)suse.com>
+
+- Add option -DVULKAN_HEADERS_ENABLE_MODULE=OFF to cmake to make the
+ package build with gcc14 [boo#1228421]
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vulkan-headers.spec ++++++
--- /var/tmp/diff_new_pack.rllc1H/_old 2024-07-31 13:28:25.409658664 +0200
+++ /var/tmp/diff_new_pack.rllc1H/_new 2024-07-31 13:28:25.413658828 +0200
@@ -54,7 +54,8 @@
%cmake \
-DCMAKE_INSTALL_SYSCONFDIR="%_sysconfdir" \
-DBUILD_WSI_MIR_SUPPORT=OFF \
- -DBUILD_TESTS=OFF
+ -DBUILD_TESTS=OFF \
+ -DVULKAN_HEADERS_ENABLE_MODULE=OFF
%cmake_build
%install
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.rllc1H/_old 2024-07-31 13:28:25.441659978 +0200
+++ /var/tmp/diff_new_pack.rllc1H/_new 2024-07-31 13:28:25.445660142 +0200
@@ -1,5 +1,5 @@
-mtime: 1721710809
-commit: 5a6b2f389083eb4e7cd52a4f90ba5dc4ddc1ffbc2e76def22d7385110adabee0
+mtime: 1722264045
+commit: 1b240cd0dcff06c8a8ae94b069c5d7bc6bb3709d9fad78cda07b3446e376f9e5
url: https://src.opensuse.org/jengelh/vulkan-headers
revision: master
++++++ build.specials.obscpio ++++++
diff: old/*: No such file or directory
diff: new/*: No such file or directory
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-XS-Parse-Keyword for openSUSE:Factory checked in at 2024-07-31 13:28:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XS-Parse-Keyword (Old)
and /work/SRC/openSUSE:Factory/.perl-XS-Parse-Keyword.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XS-Parse-Keyword"
Wed Jul 31 13:28:17 2024 rev:22 rq:1190267 version:0.440.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.changes 2024-07-08 19:06:53.595740468 +0200
+++ /work/SRC/openSUSE:Factory/.perl-XS-Parse-Keyword.new.7232/perl-XS-Parse-Keyword.changes 2024-07-31 13:28:21.865513104 +0200
@@ -1,0 +2,16 @@
+Sat Jul 20 05:29:36 UTC 2024 - Tina Müller <timueller+perl(a)suse.de>
+
+- updated to 0.440.0 (0.44)
+ see /usr/share/doc/packages/perl-XS-Parse-Keyword/Changes
+
+ 0.44 2024-07-19
+ [BUGFIXES]
+ * `boot_xs_parse_infix()` has to load `XS/Parse/Infix.pm`, the perl
+ module
+ * Fix opname check for lexical operator alises, to match Perl's
+ actual identifier rules
+ * Fix deparse logic for fully-qualified infix operator names
+ * Fix `lex_scan_packagename()` to not get confused by attribute
+ syntax
+
+-------------------------------------------------------------------
Old:
----
XS-Parse-Keyword-0.43.tar.gz
New:
----
XS-Parse-Keyword-0.44.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XS-Parse-Keyword.spec ++++++
--- /var/tmp/diff_new_pack.JQYJwI/_old 2024-07-31 13:28:22.497539062 +0200
+++ /var/tmp/diff_new_pack.JQYJwI/_new 2024-07-31 13:28:22.497539062 +0200
@@ -18,10 +18,10 @@
%define cpan_name XS-Parse-Keyword
Name: perl-XS-Parse-Keyword
-Version: 0.430.0
+Version: 0.440.0
Release: 0
-# 0.43 -> normalize -> 0.430.0
-%define cpan_version 0.43
+# 0.44 -> normalize -> 0.440.0
+%define cpan_version 0.44
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: XS functions to assist in parsing keyword syntax
URL: https://metacpan.org/release/%{cpan_name}
++++++ XS-Parse-Keyword-0.43.tar.gz -> XS-Parse-Keyword-0.44.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/Changes new/XS-Parse-Keyword-0.44/Changes
--- old/XS-Parse-Keyword-0.43/Changes 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/Changes 2024-07-19 14:26:26.000000000 +0200
@@ -1,5 +1,15 @@
Revision history for XS-Parse-Keyword
+0.44 2024-07-19
+ [BUGFIXES]
+ * `boot_xs_parse_infix()` has to load `XS/Parse/Infix.pm`, the perl
+ module
+ * Fix opname check for lexical operator alises, to match Perl's
+ actual identifier rules
+ * Fix deparse logic for fully-qualified infix operator names
+ * Fix `lex_scan_packagename()` to not get confused by attribute
+ syntax
+
0.43 2024-07-03
[CHANGES]
* Use `File::ShareDir` for storing .h include files, rather than
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/META.json new/XS-Parse-Keyword-0.44/META.json
--- old/XS-Parse-Keyword-0.43/META.json 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/META.json 2024-07-19 14:26:26.000000000 +0200
@@ -41,19 +41,19 @@
"provides" : {
"XS::Parse::Infix" : {
"file" : "lib/XS/Parse/Infix.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"XS::Parse::Infix::Builder" : {
"file" : "lib/XS/Parse/Infix/Builder.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"XS::Parse::Keyword" : {
"file" : "lib/XS/Parse/Keyword.pm",
- "version" : "0.43"
+ "version" : "0.44"
},
"XS::Parse::Keyword::Builder" : {
"file" : "lib/XS/Parse/Keyword/Builder.pm",
- "version" : "0.43"
+ "version" : "0.44"
}
},
"release_status" : "stable",
@@ -62,6 +62,6 @@
"http://dev.perl.org/licenses/"
]
},
- "version" : "0.43",
+ "version" : "0.44",
"x_serialization_backend" : "JSON::PP version 4.16"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/META.yml new/XS-Parse-Keyword-0.44/META.yml
--- old/XS-Parse-Keyword-0.43/META.yml 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/META.yml 2024-07-19 14:26:26.000000000 +0200
@@ -19,20 +19,20 @@
provides:
XS::Parse::Infix:
file: lib/XS/Parse/Infix.pm
- version: '0.43'
+ version: '0.44'
XS::Parse::Infix::Builder:
file: lib/XS/Parse/Infix/Builder.pm
- version: '0.43'
+ version: '0.44'
XS::Parse::Keyword:
file: lib/XS/Parse/Keyword.pm
- version: '0.43'
+ version: '0.44'
XS::Parse::Keyword::Builder:
file: lib/XS/Parse/Keyword/Builder.pm
- version: '0.43'
+ version: '0.44'
requires:
File::ShareDir: '1.00'
perl: '5.014'
resources:
license: http://dev.perl.org/licenses/
-version: '0.43'
+version: '0.44'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/hax/lexer-additions.c.inc new/XS-Parse-Keyword-0.44/hax/lexer-additions.c.inc
--- old/XS-Parse-Keyword-0.43/hax/lexer-additions.c.inc 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/hax/lexer-additions.c.inc 2024-07-19 14:26:26.000000000 +0200
@@ -45,6 +45,10 @@
char *ident = PL_parser->bufptr;
+ /* Don't get confused by things that look like attrs */
+ if((flags & LEX_IDENT_PACKAGENAME) && (ident[0] == ':' && ident[1] != ':'))
+ return FALSE;
+
while((c = lex_peek_unichar(0))) {
if(at_start ? isIDFIRST_uni(c) : isALNUM_uni(c))
at_start = FALSE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/hax/newOP_CUSTOM.c.inc new/XS-Parse-Keyword-0.44/hax/newOP_CUSTOM.c.inc
--- old/XS-Parse-Keyword-0.43/hax/newOP_CUSTOM.c.inc 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/hax/newOP_CUSTOM.c.inc 2024-07-19 14:26:26.000000000 +0200
@@ -5,12 +5,12 @@
* https://rt.cpan.org/Ticket/Display.html?id=128562
*/
-#define newOP_CUSTOM(func, flags) S_newOP_CUSTOM(aTHX_ func, flags)
-#define newUNOP_CUSTOM(func, flags, first) S_newUNOP_CUSTOM(aTHX_ func, flags, first)
-#define newSVOP_CUSTOM(func, flags, sv) S_newSVOP_CUSTOM(aTHX_ func, flags, sv)
-#define newBINOP_CUSTOM(func, flags, first, last) S_newBINOP_CUSTOM(aTHX_ func, flags, first, last)
-#define newLISTOP_CUSTOM(func, flags, first, last) S_newLISTOP_CUSTOM(aTHX_ func, flags, first, last)
-#define newLOGOP_CUSTOM(func, flags, first, other) S_newLOGOP_CUSTOM(aTHX_ func, flags, first, other)
+#define newOP_CUSTOM(func, flags) S_newOP_CUSTOM(aTHX_ func, flags)
+#define newUNOP_CUSTOM(func, flags, first) S_newUNOP_CUSTOM(aTHX_ func, flags, first)
+#define newSVOP_CUSTOM(func, flags, sv) S_newSVOP_CUSTOM(aTHX_ func, flags, sv)
+#define newBINOP_CUSTOM(func, flags, first, last) S_newBINOP_CUSTOM(aTHX_ func, flags, first, last)
+#define newLISTOP_CUSTOM(func, flags, first, last) S_newLISTOP_CUSTOM(aTHX_ func, flags, first, last)
+#define newLOGOP_CUSTOM(func, flags, first, other) S_newLOGOP_CUSTOM(aTHX_ func, flags, first, other)
static OP *S_newOP_CUSTOM(pTHX_ OP *(*func)(pTHX), U32 flags)
{
@@ -132,3 +132,15 @@
return o;
}
+
+#if HAVE_PERL_VERSION(5, 22, 0)
+# define newUNOP_AUX_CUSTOM(func, flags, first, aux) S_newUNOP_AUX_CUSTOM(aTHX_ func, flags, first, aux)
+
+static OP *S_newUNOP_AUX_CUSTOM(pTHX_ OP *(*func)(pTHX), U32 flags, OP *first, UNOP_AUX_item *aux)
+{
+ UNOP_AUX *unop;
+ unop = (UNOP_AUX *)newUNOP_AUX(OP_CUSTOM, flags, first, aux);
+ unop->op_ppaddr = func;
+ return (OP *)unop;
+}
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/lib/XS/Parse/Infix/Builder.pm new/XS-Parse-Keyword-0.44/lib/XS/Parse/Infix/Builder.pm
--- old/XS-Parse-Keyword-0.43/lib/XS/Parse/Infix/Builder.pm 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/lib/XS/Parse/Infix/Builder.pm 2024-07-19 14:26:26.000000000 +0200
@@ -3,7 +3,7 @@
#
# (C) Paul Evans, 2021 -- leonerd(a)leonerd.org.uk
-package XS::Parse::Infix::Builder 0.43;
+package XS::Parse::Infix::Builder 0.44;
use v5.14;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/lib/XS/Parse/Infix/Builder_data.pm.PL new/XS-Parse-Keyword-0.44/lib/XS/Parse/Infix/Builder_data.pm.PL
--- old/XS-Parse-Keyword-0.43/lib/XS/Parse/Infix/Builder_data.pm.PL 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/lib/XS/Parse/Infix/Builder_data.pm.PL 2024-07-19 14:26:26.000000000 +0200
@@ -23,7 +23,7 @@
=~ s/__BUILDER_CFLAGS__/$quoted_cflags/r );
__DATA__
-package XS::Parse::Infix::Builder_data 0.43;
+package XS::Parse::Infix::Builder_data 0.44;
use v5.14;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/lib/XS/Parse/Infix.pm new/XS-Parse-Keyword-0.44/lib/XS/Parse/Infix.pm
--- old/XS-Parse-Keyword-0.43/lib/XS/Parse/Infix.pm 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/lib/XS/Parse/Infix.pm 2024-07-19 14:26:26.000000000 +0200
@@ -3,7 +3,7 @@
#
# (C) Paul Evans, 2021-2024 -- leonerd(a)leonerd.org.uk
-package XS::Parse::Infix 0.43;
+package XS::Parse::Infix 0.44;
use v5.14;
use warnings;
@@ -150,9 +150,7 @@
croak "Unrecognised apply_infix options " . join( ", ", sort keys %opts )
if %opts;
- # localname must either be an identifier, or entirely non-identifier
- # characters
- $localname =~ m/\A\p{ID_Start}\p{ID_Continue}*\Z/ or $localname !~ m/\p{ID_Start}/ or
+ XS::Parse::Infix::check_opname( $localname ) or
croak "Local name '$localname' for imported operator $name is invalid";
my $hintkey = "XS::Parse::Infix/$localname";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword/Builder.pm new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword/Builder.pm
--- old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword/Builder.pm 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword/Builder.pm 2024-07-19 14:26:26.000000000 +0200
@@ -3,7 +3,7 @@
#
# (C) Paul Evans, 2021 -- leonerd(a)leonerd.org.uk
-package XS::Parse::Keyword::Builder 0.43;
+package XS::Parse::Keyword::Builder 0.44;
use v5.14;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword/Builder_data.pm.PL new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword/Builder_data.pm.PL
--- old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword/Builder_data.pm.PL 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword/Builder_data.pm.PL 2024-07-19 14:26:26.000000000 +0200
@@ -23,7 +23,7 @@
=~ s/__BUILDER_CFLAGS__/$quoted_cflags/r );
__DATA__
-package XS::Parse::Keyword::Builder_data 0.43;
+package XS::Parse::Keyword::Builder_data 0.44;
use v5.14;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword.pm new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword.pm
--- old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword.pm 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword.pm 2024-07-19 14:26:26.000000000 +0200
@@ -3,7 +3,7 @@
#
# (C) Paul Evans, 2021-2023 -- leonerd(a)leonerd.org.uk
-package XS::Parse::Keyword 0.43;
+package XS::Parse::Keyword 0.44;
use v5.14;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword.xs new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword.xs
--- old/XS-Parse-Keyword-0.43/lib/XS/Parse/Keyword.xs 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/lib/XS/Parse/Keyword.xs 2024-07-19 14:26:26.000000000 +0200
@@ -59,6 +59,18 @@
XSParseInfix_register(aTHX_ opname, hooks, hookdata);
}
+MODULE = XS::Parse::Keyword PACKAGE = XS::Parse::Infix
+
+bool check_opname(SV *opname)
+ CODE:
+ {
+ STRLEN namelen;
+ const char *namepv = SvPV(opname, namelen);
+ RETVAL = XSParseInfix_check_opname(aTHX_ namepv, namelen);
+ }
+ OUTPUT:
+ RETVAL
+
MODULE = XS::Parse::Keyword PACKAGE = XS::Parse::Keyword
BOOT:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/share/include/XSParseInfix.h new/XS-Parse-Keyword-0.44/share/include/XSParseInfix.h
--- old/XS-Parse-Keyword-0.43/share/include/XSParseInfix.h 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/share/include/XSParseInfix.h 2024-07-19 14:26:26.000000000 +0200
@@ -122,8 +122,7 @@
SV **svp;
SV *versv = ver ? newSVnv(ver) : NULL;
- /* XS::Parse::Infix is implemented in XS::Parse::Keyword's .so file */
- load_module(PERL_LOADMOD_NOIMPORT, newSVpvs("XS::Parse::Keyword"), versv, NULL);
+ load_module(PERL_LOADMOD_NOIMPORT, newSVpvs("XS::Parse::Infix"), versv, NULL);
svp = hv_fetchs(PL_modglobal, "XS::Parse::Infix/ABIVERSION_MIN", 0);
if(!svp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/src/infix.c new/XS-Parse-Keyword-0.44/src/infix.c
--- old/XS-Parse-Keyword-0.43/src/infix.c 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/src/infix.c 2024-07-19 14:26:26.000000000 +0200
@@ -159,6 +159,7 @@
int opname_is_WIDE : 1;
int opname_is_ident : 1;
+ int opname_is_fq : 1;
};
static struct Registration *registrations, /* for legacy-style global key-enabled ones */
@@ -879,14 +880,40 @@
SV **hinthashsvp = hv_fetchs(MUTABLE_HV(SvRV(deparseobj)), "hinthash", 0);
HV *hinthash = hinthashsvp ? MUTABLE_HV(SvRV(*hinthashsvp)) : NULL;
- if(hinthash && hv_fetch(hinthash, reg->hd.hooks->permit_hintkey, reg->permit_hintkey_len, 0)) {
+ SV *opnamesv;
+
+ bool infix_is_visible = FALSE;
+ /* Operator visibility rules differ for fully-qualified operator names */
+ if(reg->opname_is_fq) {
+ hv_iterinit(hinthash);
+ HE *he;
+ while((he = hv_iternext(hinthash))) {
+#define PREFIXLEN 17
+ STRLEN len;
+ if(!strnEQ(HePV(he, len), "XS::Parse::Infix/", PREFIXLEN))
+ continue;
+
+ if(!strEQ(SvPV_nolen(HeVAL(he)), reg->info.opname))
+ continue;
+
+ infix_is_visible = TRUE;
+ opnamesv = newSVpvn_flags(HePV(he, len) + PREFIXLEN, len - PREFIXLEN, HeUTF8(he) ? SVf_UTF8 : 0);
+ break;
+ }
+ }
+ else {
+ infix_is_visible = (hinthash && hv_fetch(hinthash, reg->hd.hooks->permit_hintkey, reg->permit_hintkey_len, 0));
+ opnamesv = newSVpvn_flags(reg->info.opname, reg->oplen, reg->opname_is_WIDE ? SVf_UTF8 : 0);
+ }
+
+ if(infix_is_visible) {
ENTER;
SAVETMPS;
EXTEND(SP, 4);
PUSHMARK(SP);
PUSHs(deparseobj);
- mPUSHs(newSVpvn_flags(reg->info.opname, reg->oplen, reg->opname_is_WIDE ? SVf_UTF8 : 0));
+ mPUSHs(opnamesv);
PUSHs(ST(1));
PUSHs(ST(2));
PUTBACK;
@@ -959,6 +986,33 @@
}
}
+bool XSParseInfix_check_opname(pTHX_ const char *opname, STRLEN oplen)
+{
+ const char *opname_end = opname + oplen;
+
+ bool opname_is_fq = strstr(opname, "::") != NULL;
+ bool opname_is_ident = !opname_is_fq && isIDFIRST_utf8_safe(opname, opname_end);
+
+ const char *s = opname;
+ s += UTF8SKIP(s);
+
+ while(s < opname_end) {
+ if(opname_is_ident) {
+ if(!isIDCONT_utf8_safe(s, opname_end))
+ // name that starts with an identifier may not have non-identifier characters in it
+ return FALSE;
+ }
+ else {
+ if(isIDFIRST_utf8_safe(s, opname_end))
+ // name that does not start with an identifer may not have identifier characters in it
+ return FALSE;
+ }
+ s += UTF8SKIP(s);
+ }
+
+ return TRUE;
+}
+
void XSParseInfix_register(pTHX_ const char *opname, const struct XSParseInfixHooks *hooks, void *hookdata)
{
STRLEN oplen = strlen(opname);
@@ -967,20 +1021,8 @@
bool opname_is_ident = !opname_is_fq && isIDFIRST_utf8_safe(opname, opname_end);
if(!opname_is_fq) {
- const char *s = opname;
- s += UTF8SKIP(s);
-
- while(s < opname_end) {
- if(opname_is_ident) {
- if(!isIDCONT_utf8_safe(s, opname_end))
- croak("Infix operator name that starts with an identifier may not have non-identifier characters in it");
- }
- else {
- if(isIDFIRST_utf8_safe(s, opname_end))
- croak("Infix operator name that does not start with an identifer may not have identifier characters in it");
- }
- s += UTF8SKIP(s);
- }
+ if(!XSParseInfix_check_opname(aTHX_ opname, oplen))
+ croak("Infix operator name is invalid; must be an identifier or entirely non-identifier characters");
}
bool is_listassoc = hooks->flags & XPI_FLAG_LISTASSOC;
@@ -1092,6 +1134,7 @@
reg->oplen = oplen;
reg->opname_is_ident = opname_is_ident;
+ reg->opname_is_fq = opname_is_fq;
reg->hd.hooks = hooks;
reg->hd.data = hookdata;
@@ -1150,8 +1193,6 @@
CV *cv = newXS(SvPVX(namesv), deparse_infix, __FILE__);
CvXSUBANY(cv).any_ptr = reg;
-
- load_module(PERL_LOADMOD_NOIMPORT, newSVpvs("XS::Parse::Infix"), NULL);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XS-Parse-Keyword-0.43/src/infix.h new/XS-Parse-Keyword-0.44/src/infix.h
--- old/XS-Parse-Keyword-0.43/src/infix.h 2024-07-03 17:20:57.000000000 +0200
+++ new/XS-Parse-Keyword-0.44/src/infix.h 2024-07-19 14:26:26.000000000 +0200
@@ -1,4 +1,5 @@
bool XSParseInfix_parse(pTHX_ enum XSParseInfixSelection select, struct XSParseInfixInfo **infop);
OP *XSParseInfix_new_op(pTHX_ const struct XSParseInfixInfo *info, U32 flags, OP *lhs, OP *rhs);
+bool XSParseInfix_check_opname(pTHX_ const char *opname, STRLEN oplen);
void XSParseInfix_register(pTHX_ const char *opname, const struct XSParseInfixHooks *hooks, void *hookdata);
void XSParseInfix_boot(pTHX);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Test-Without-Module for openSUSE:Factory checked in at 2024-07-31 13:28:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Without-Module (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Without-Module.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Without-Module"
Wed Jul 31 13:28:15 2024 rev:9 rq:1190265 version:0.230.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Without-Module/perl-Test-Without-Module.changes 2024-07-10 16:48:04.984462246 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Without-Module.new.7232/perl-Test-Without-Module.changes 2024-07-31 13:28:19.925433425 +0200
@@ -1,0 +2,9 @@
+Mon Jul 15 05:30:03 UTC 2024 - Tina Müller <timueller+perl(a)suse.de>
+
+- updated to 0.230.0 (0.23)
+ see /usr/share/doc/packages/perl-Test-Without-Module/Changes
+
+ 0.23 2024-07-14
+ - Lower minimum required Perl version back to 5.006, this addresses GH #5
+
+-------------------------------------------------------------------
Old:
----
Test-Without-Module-0.22.tar.gz
New:
----
Test-Without-Module-0.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Without-Module.spec ++++++
--- /var/tmp/diff_new_pack.HLGcP8/_old 2024-07-31 13:28:20.625462175 +0200
+++ /var/tmp/diff_new_pack.HLGcP8/_new 2024-07-31 13:28:20.625462175 +0200
@@ -18,10 +18,10 @@
%define cpan_name Test-Without-Module
Name: perl-Test-Without-Module
-Version: 0.220.0
+Version: 0.230.0
Release: 0
-# 0.22 -> normalize -> 0.220.0
-%define cpan_version 0.22
+# 0.23 -> normalize -> 0.230.0
+%define cpan_version 0.23
License: Artistic-2.0
Summary: Test fallback behaviour in absence of modules
URL: https://metacpan.org/release/%{cpan_name}
++++++ Test-Without-Module-0.22.tar.gz -> Test-Without-Module-0.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Without-Module-0.22/Changes new/Test-Without-Module-0.23/Changes
--- old/Test-Without-Module-0.22/Changes 2024-07-05 07:31:52.000000000 +0200
+++ new/Test-Without-Module-0.23/Changes 2024-07-14 14:09:05.000000000 +0200
@@ -3,6 +3,9 @@
Todo:
- Add way to allow only core modules (suggested by SREZIC)
+0.23 2024-07-14
+ - Lower minimum required Perl version back to 5.006, this addresses GH #5
+
0.22 2024-07-05
- Fix test suite to not skip a failing test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Without-Module-0.22/META.json new/Test-Without-Module-0.23/META.json
--- old/Test-Without-Module-0.22/META.json 2024-07-05 07:31:53.000000000 +0200
+++ new/Test-Without-Module-0.23/META.json 2024-07-14 14:09:05.000000000 +0200
@@ -35,7 +35,7 @@
"runtime" : {
"requires" : {
"Carp" : "0",
- "perl" : "5.020"
+ "perl" : "5.006"
}
},
"test" : {
@@ -58,7 +58,7 @@
"web" : "https://github.com/Corion/test-without-module"
}
},
- "version" : "0.22",
+ "version" : "0.23",
"x_serialization_backend" : "JSON::PP version 4.07",
"x_static_install" : 1
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Without-Module-0.22/META.yml new/Test-Without-Module-0.23/META.yml
--- old/Test-Without-Module-0.22/META.yml 2024-07-05 07:31:53.000000000 +0200
+++ new/Test-Without-Module-0.23/META.yml 2024-07-14 14:09:05.000000000 +0200
@@ -22,11 +22,11 @@
- inc
requires:
Carp: '0'
- perl: '5.020'
+ perl: '5.006'
resources:
bugtracker: https://github.com/Corion/Test-Without-Module/issues
license: https://dev.perl.org/licenses/
repository: git://github.com/Corion/test-without-module.git
-version: '0.22'
+version: '0.23'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Without-Module-0.22/Makefile.PL new/Test-Without-Module-0.23/Makefile.PL
--- old/Test-Without-Module-0.22/Makefile.PL 2024-07-05 07:31:52.000000000 +0200
+++ new/Test-Without-Module-0.23/Makefile.PL 2024-07-14 14:09:05.000000000 +0200
@@ -40,7 +40,7 @@
x_static_install => 1, # we are pure Perl and don't do anything fancy
},
- MIN_PERL_VERSION => '5.020', # I use signatures
+ MIN_PERL_VERSION => '5.006',
'LICENSE'=> 'artistic_2',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Without-Module-0.22/README new/Test-Without-Module-0.23/README
--- old/Test-Without-Module-0.22/README 2024-07-05 07:31:52.000000000 +0200
+++ new/Test-Without-Module-0.23/README 2024-07-14 14:09:05.000000000 +0200
@@ -6,7 +6,7 @@
even though they are installed. This is mostly useful for testing modules
that have a fallback when a certain dependency module is not installed.
-This document describes version 0.22.
+This document describes version 0.23.
INSTALLATION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Without-Module-0.22/lib/Test/Without/Module.pm new/Test-Without-Module-0.23/lib/Test/Without/Module.pm
--- old/Test-Without-Module-0.22/lib/Test/Without/Module.pm 2024-07-05 07:31:52.000000000 +0200
+++ new/Test-Without-Module-0.23/lib/Test/Without/Module.pm 2024-07-14 14:09:05.000000000 +0200
@@ -3,7 +3,7 @@
use Carp qw( croak );
use vars qw( $VERSION );
-$VERSION = '0.22';
+$VERSION = '0.23';
use vars qw(%forbidden);
1
0