Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libselinux for openSUSE:Factory 
checked in at 2022-06-20 15:36:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libselinux (Old)
 and      /work/SRC/openSUSE:Factory/.libselinux.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libselinux"

Mon Jun 20 15:36:49 2022 rev:70 rq:978304 version:3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libselinux/libselinux-bindings.changes   
2021-11-15 15:27:40.105844805 +0100
+++ /work/SRC/openSUSE:Factory/.libselinux.new.1548/libselinux-bindings.changes 
2022-06-20 15:36:56.126829662 +0200
@@ -1,0 +2,10 @@
+Mon May  9 10:23:32 UTC 2022 - Johannes Segitz <jseg...@suse.com>
+
+- Update to version 3.4:
+  * Use PCRE2 by default
+  * Make selinux_log() and is_context_customizable() thread-safe
+  * Prevent leakeing file descriptors
+  * Correctly hash specfiles larger than 4G
+- Refreshed skip_cycles.patch
+
+-------------------------------------------------------------------
libselinux.changes: same change

Old:
----
  libselinux-3.3.tar.gz

New:
----
  libselinux-3.4.tar.gz
  libselinux-3.4.tar.gz.asc
  libselinux.keyring

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

Other differences:
------------------
++++++ libselinux-bindings.spec ++++++
--- /var/tmp/diff_new_pack.agb6O0/_old  2022-06-20 15:36:56.882830768 +0200
+++ /var/tmp/diff_new_pack.agb6O0/_new  2022-06-20 15:36:56.890830780 +0200
@@ -17,18 +17,19 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define libsepol_ver 3.3
+%define libsepol_ver 3.4
 Name:           libselinux-bindings
-Version:        3.3
+Version:        3.4
 Release:        0
 Summary:        SELinux runtime library and simple utilities
 License:        SUSE-Public-Domain
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/SELinuxProject/selinux/wiki/Releases
-# embedded is the MD5
-Source:         libselinux-%{version}.tar.gz
-Source1:        selinux-ready
-Source2:        baselibs.conf
+Source0:        
https://github.com/SELinuxProject/selinux/releases/download/%{version}/libselinux-%{version}.tar.gz
+Source1:        
https://github.com/SELinuxProject/selinux/releases/download/%{version}/libselinux-%{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
 # PATCH-FIX-UPSTREAM python3.8-compat.patch mc...@suse.com

++++++ libselinux.spec ++++++
--- /var/tmp/diff_new_pack.agb6O0/_old  2022-06-20 15:36:56.910830809 +0200
+++ /var/tmp/diff_new_pack.agb6O0/_new  2022-06-20 15:36:56.914830814 +0200
@@ -16,17 +16,19 @@
 #
 
 
-%define libsepol_ver 3.3
+%define libsepol_ver 3.4
 Name:           libselinux
-Version:        3.3
+Version:        3.4
 Release:        0
 Summary:        SELinux runtime library and utilities
 License:        SUSE-Public-Domain
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/SELinuxProject/selinux/wiki/Releases
-Source:         
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
-Source1:        selinux-ready
-Source2:        baselibs.conf
+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
+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
@@ -96,7 +98,7 @@
 necessary to develop your own software using libselinux.
 
 %prep
-%setup -q
+%setup -q -n libselinux-%{version}
 %patch4 -p1
 %patch5 -p1
 
@@ -112,7 +114,7 @@
 make DESTDIR=%{buildroot} LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" 
BINDIR="%{_sbindir}" install
 mv %{buildroot}%{_sbindir}/getdefaultcon %{buildroot}%{_sbindir}/selinuxdefcon
 mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
-install -m 0755 %{SOURCE1} %{buildroot}%{_sbindir}/selinux-ready
+install -m 0755 %{SOURCE3} %{buildroot}%{_sbindir}/selinux-ready
 # Remove duplicate files
 %fdupes -s %{buildroot}%{_mandir}
 

++++++ libselinux-3.3.tar.gz -> libselinux-3.4.tar.gz ++++++
++++ 2217 lines of diff (skipped)

++++++ skip_cycles.patch ++++++
--- /var/tmp/diff_new_pack.agb6O0/_old  2022-06-20 15:36:57.074831049 +0200
+++ /var/tmp/diff_new_pack.agb6O0/_new  2022-06-20 15:36:57.078831054 +0200
@@ -1,14 +1,12 @@
-Index: libselinux-3.0/src/selinux_restorecon.c
+Index: libselinux-3.4-rc3/src/selinux_restorecon.c
 ===================================================================
---- libselinux-3.0.orig/src/selinux_restorecon.c
-+++ libselinux-3.0/src/selinux_restorecon.c
-@@ -991,9 +991,8 @@ int selinux_restorecon(const char *pathn
-                       selinux_log(SELINUX_ERROR,
-                                   "Directory cycle on %s.\n",
-                                   ftsent->fts_path);
--                      errno = ELOOP;
--                      error = -1;
--                      goto out;
+--- libselinux-3.4-rc3.orig/src/selinux_restorecon.c
++++ libselinux-3.4-rc3/src/selinux_restorecon.c
+@@ -871,7 +871,8 @@ loop_body:
+                       errno = ELOOP;
+                       state->error = -1;
+                       state->abort = true;
+-                      goto finish;
 +                      fts_set(fts, ftsent, FTS_SKIP);
 +                      continue;
                case FTS_DP:

Reply via email to