Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libselinux for openSUSE:Factory 
checked in at 2026-12-05 19:08:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libselinux (Old)
 and      /work/SRC/openSUSE:Factory/.libselinux.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libselinux"

Sat Dec  5 19:08:59 2026 rev:94 rq:1402964 version:3.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/libselinux/libselinux-bindings.changes   
2026-08-21 16:49:38.246082246 +0200
+++ 
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux-bindings.changes  
    2026-12-05 19:09:01.616688707 +0100
@@ -1,0 +2,24 @@
+Thu Dec  3 09:00:36 UTC 2026 - Cathy Hu <[email protected]>
+
+- Update to version 3.12
+  https://github.com/SELinuxProject/selinux/releases/tag/v3.12
+  - Development-relevant changes:
+    - Added pyproject.toml build configuration for the libselinux and
+      sepolicy Python modules.
+  - Notable bug fixes:
+    - libselinux: fix Python binding for security_load_policy()
+    - libselinux: let Python own policy_open descriptor cleanup
+    - libselinux/audit2why: check CPython allocations in analyze()
+- Drop skip_cycles.patch, merged upstream
+- Drop libselinux-Replace-PyString_FromString-with-PyUnicod.patch
+  (bsc#1275512), merged upstream
+- Do not package the top-level selinux.py (and its __pycache__) that the 3.12
+  wheel installs, it is identical to selinux/__init__.py
+- Source URLs: upstream tags are prefixed with "v" now
+
+-------------------------------------------------------------------
+Wed Dec  2 13:07:50 UTC 2026 - Cathy Hu <[email protected]>
+
+- keyring: update bachradsusi.gpg for next release 
+
+--------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/libselinux/libselinux.changes    2026-08-21 
16:49:38.267082999 +0200
+++ /work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.changes       
2026-12-05 19:09:01.673691110 +0100
@@ -1,0 +2,64 @@
+Thu Dec  3 09:00:36 UTC 2026 - Cathy Hu <[email protected]>
+
+- Update to version 3.12
+  https://github.com/SELinuxProject/selinux/releases/tag/v3.12
+  - Fixes security vulnerabilities in libselinux: GHSA-3jvh-rwmv-9vmp 
(bsc#1291899)
+  - User-visible changes:
+    - Introduced a fallback configuration-root search in libselinux: the
+      config file, binary policies, contexts/*, seusers, file_contexts and
+      other runtime files are now looked up under /etc/selinux first and then
+      under /usr/lib/selinux (the fallback list is overridable at build time),
+      supporting hermetic-/usr and factory-reset systems where /etc is empty
+      at boot.
+    - Added support for UTF-8 in file-context specifications (can be disabled
+      at build time with DISABLE_UTF=y).
+    - Allowed a '*' whole-component wildcard in file_contexts.subs_dist/.subs
+      substitution rules, e.g. to remap systemd-sysext/confext staging trees
+      (#491).
+    - Added -r, -i and -V options to sefcontext_compile to omit precompiled
+      regular expressions from the output (PCRE2 only) and to report
+      regular-expression and compiled format information.
+    - Dropped support for kernel policy versions older than 30 (Linux v4.3)
+      and modular policy versions older than 18 in libsepol; this affects
+      building, converting and analyzing policies that use older versions.
+      libselinux no longer probes legacy /selinux and /proc nodes for
+      selinuxfs, making Linux v3.0 the minimum supported kernel version
+      (#468).
+    - Hardening of sandbox, libselinux, and libsemanage
+  - Security/hardening changes:
+    - Added overflow, bounds and allocation checks across libsepol,
+      libsemanage, libselinux, checkpolicy and secilc.
+    - Fixed a regular-expression denial of service (ReDoS) in file-context
+      matching and made PCRE2 JIT compilation opt-in.
+    - Hardened sandbox, newrole, restorecond and mcstrans handling of
+      commands, temporary files, signals and configuration data, including
+      constant-time comparison of shadow password hashes in newrole, bounded
+      Include nesting depth in mcstrans, a hardened mcstrans systemd service
+      file, and use of openat2() where available in sandbox/seunshare,
+      restorecond and selinux_restorecon(3).
+    - Improved thread safety in libselinux: the AVC now uses pthread mutexes
+      by default when no locking callbacks are set, making
+      selinux_check_access(3) and related interfaces thread-safe, with similar
+      serialization of the class/permission string mapping and status page
+      handling (#287, #335, #336).
+  - Development-relevant changes:
+    - Added fuzzers and bad-data tests for policy, module, CIL, file-context
+      and package processing; expanded fuzzing documentation and seed corpora.
+  - Notable bug fixes:
+    - libselinux: prevent path traversal via crafted username in getseuser()
+    - libselinux: fix SEGV in JIT matching of recursive patterns in partial
+      mode
+    - libselinux: fix infinite loop and missing errno in partial <<none>>
+      lookup
+    - libselinux: fix incorrect regexp anchoring
+- Drop skip_cycles.patch, merged upstream
+- Drop libselinux-Replace-PyString_FromString-with-PyUnicod.patch
+  (bsc#1275512), merged upstream
+- Source URLs: upstream tags are prefixed with "v" now
+
+-------------------------------------------------------------------
+Wed Dec  2 13:07:50 UTC 2026 - Cathy Hu <[email protected]>
+
+- keyring: update bachradsusi.gpg for next release 
+
+--------------------------------------------------------------------

Old:
----
  libselinux-3.11.tar.gz
  libselinux-3.11.tar.gz.asc
  libselinux-Replace-PyString_FromString-with-PyUnicod.patch
  skip_cycles.patch

New:
----
  libselinux-3.12.tar.gz
  libselinux-3.12.tar.gz.asc

----------(Old B)----------
  
Old:/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux-bindings.changes--
 Drop skip_cycles.patch, merged upstream
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux-bindings.changes:-
 Drop libselinux-Replace-PyString_FromString-with-PyUnicod.patch
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux-bindings.changes- 
 (bsc#1275512), merged upstream
--
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.changes-- Drop 
skip_cycles.patch, merged upstream
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.changes:- Drop 
libselinux-Replace-PyString_FromString-with-PyUnicod.patch
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.changes-  
(bsc#1275512), merged upstream
  
Old:/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux-bindings.changes-
    - libselinux/audit2why: check CPython allocations in analyze()
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux-bindings.changes:-
 Drop skip_cycles.patch, merged upstream
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux-bindings.changes--
 Drop libselinux-Replace-PyString_FromString-with-PyUnicod.patch
--
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.changes-    - 
libselinux: fix incorrect regexp anchoring
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.changes:- Drop 
skip_cycles.patch, merged upstream
/work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.changes-- Drop 
libselinux-Replace-PyString_FromString-with-PyUnicod.patch
----------(Old E)----------

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

Other differences:
------------------
++++++ libselinux-bindings.spec ++++++
--- /var/tmp/diff_new_pack.GlHbf2/_old  2026-12-05 19:09:02.780737760 +0100
+++ /var/tmp/diff_new_pack.GlHbf2/_new  2026-12-05 19:09:02.782737844 +0100
@@ -18,29 +18,26 @@
 
 %{?sle15_python_module_pythons}
 %define python_subpackage_only 1
-%define libsepol_ver 3.11
+%define libsepol_ver 3.12
 %define upname libselinux
 Name:           libselinux-bindings
-Version:        3.11
+Version:        3.12
 Release:        0
 Summary:        SELinux runtime library and utilities
 License:        LicenseRef-SUSE-Public-Domain
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/SELinuxProject/selinux/wiki/Releases
-Source0:        
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{upname}-%{version}.tar.gz
-Source1:        
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{upname}-%{version}.tar.gz.asc
+Source0:        
https://github.com/SELinuxProject/selinux/releases/download/v%{version}/%{upname}-%{version}.tar.gz
+Source1:        
https://github.com/SELinuxProject/selinux/releases/download/v%{version}/%{upname}-%{version}.tar.gz.asc
 Source2:        libselinux.keyring
 Source3:        selinux-ready
 Source4:        baselibs.conf
 # PATCH-FIX-UPSTREAM Include <sys/uio.h> for readv prototype
 Patch4:         readv-proto.patch
-Patch5:         skip_cycles.patch
 # PATCH-FIX-UPSTREAM python3.8-compat.patch [email protected]
 # Make linking working even when default pkg-config doesn’t provide 
-lpython<ver>
 Patch6:         python3.8-compat.patch
 Patch7:         swig4_moduleimport.patch
-# PATCH-FIX-UPSTREAM 
libselinux-Replace-PyString_FromString-with-PyUnicod.patch bsc#1275512
-Patch8:         libselinux-Replace-PyString_FromString-with-PyUnicod.patch
 BuildRequires:  %{python_module build}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pip}
@@ -120,6 +117,10 @@
 mkdir -p %{buildroot}%{_sbindir}
 %{python_expand :
 make DESTDIR=%{buildroot} LIBDIR="%{_libdir}" SHLIBDIR="/%{_lib}" 
PYTHON=$python LIBSEPOLA=%{_libdir}/libsepol.a install-pywrap V=1
+# the 3.12 wheel also installs a top-level selinux.py (and pip byte-compiles 
it), identical to
+# selinux/__init__.py and shadowed by it
+rm -f %{buildroot}%{$python_sitearch}/selinux.py 
%{buildroot}%{$python_sitearch}/__pycache__/selinux.*.pyc
+rmdir --ignore-fail-on-non-empty %{buildroot}%{$python_sitearch}/__pycache__
 make DESTDIR=%{buildroot} LIBDIR="%{_libdir}" SHLIBDIR="/%{_lib}" 
PYTHON=$python LIBSEPOLA=%{_libdir}/libsepol.a install-rubywrap V=1
 }
 

++++++ libselinux.spec ++++++
--- /var/tmp/diff_new_pack.GlHbf2/_old  2026-12-05 19:09:02.822739530 +0100
+++ /var/tmp/diff_new_pack.GlHbf2/_new  2026-12-05 19:09:02.824739614 +0100
@@ -16,28 +16,25 @@
 #
 
 
-%define libsepol_ver 3.11
+%define libsepol_ver 3.12
 Name:           libselinux
-Version:        3.11
+Version:        3.12
 Release:        0
 Summary:        SELinux runtime library and utilities
 License:        LicenseRef-SUSE-Public-Domain
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/SELinuxProject/selinux/wiki/Releases
-Source0:        
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
-Source1:        
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
+Source0:        
https://github.com/SELinuxProject/selinux/releases/download/v%{version}/%{name}-%{version}.tar.gz
+Source1:        
https://github.com/SELinuxProject/selinux/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
 Source2:        libselinux.keyring
 Source3:        selinux-ready
 Source4:        baselibs.conf
 # PATCH-FIX-UPSTREAM Include <sys/uio.h> for readv prototype
 Patch4:         readv-proto.patch
-Patch5:         skip_cycles.patch
 # PATCH-FIX-UPSTREAM python3.8-compat.patch [email protected]
 # Make linking working even when default pkg-config doesn’t provide 
-lpython<ver>
 Patch6:         python3.8-compat.patch
 Patch7:         swig4_moduleimport.patch
-# PATCH-FIX-UPSTREAM 
libselinux-Replace-PyString_FromString-with-PyUnicod.patch bsc#1275512
-Patch8:         libselinux-Replace-PyString_FromString-with-PyUnicod.patch
 BuildRequires:  fdupes
 BuildRequires:  libsepol-devel >= %{libsepol_ver}
 BuildRequires:  libsepol-devel-static >= %{libsepol_ver}

++++++ libselinux-3.11.tar.gz -> libselinux-3.12.tar.gz ++++++
++++ 10154 lines of diff (skipped)

++++++ libselinux.keyring ++++++
++++ 626 lines (skipped)
++++ between libselinux.keyring
++++ and /work/SRC/openSUSE:Factory/.libselinux.new.1340718/libselinux.keyring

Reply via email to