Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package criu for openSUSE:Factory checked in 
at 2023-06-06 19:57:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/criu (Old)
 and      /work/SRC/openSUSE:Factory/.criu.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "criu"

Tue Jun  6 19:57:29 2023 rev:59 rq:1091124 version:3.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/criu/criu.changes        2022-09-30 
17:59:15.077435466 +0200
+++ /work/SRC/openSUSE:Factory/.criu.new.15902/criu.changes     2023-06-06 
19:58:04.355118295 +0200
@@ -1,0 +2,27 @@
+Tue Jun  6 15:31:57 UTC 2023 - Takashi Iwai <[email protected]>
+
+- Update to criu 3.18:
+  New features:
+  * Allow CRIU to be used as non-root
+  * Add SIGTSTP support
+  * Add opt to skip file r/w/x check on restore
+  Bugfixes:
+  * Many fixes here and there
+  Improvements:
+  * cgroup2: Dump cgroup controllers of every threads in a process
+  * save IP_FREEBIND option for SOCK_RAW sockets also
+  * support IP_PKTINFO and IPV6_RECVPKTINFO options
+  * Implement hw breakpoint for arm64 platform
+  * Set only used XFEATURE_* in xstate_bv
+  * Checkpoint and restore some global properties
+  * A checkpoint optimization for highly sparse ghost files (--ghost-fiemap)
+- Refresh criu-py-install-fix.diff:
+  a workaround for non-working python-pip inside build environment by
+  reviving the old setup script
+- Fix shebang of criu-ns script:
+  criu-ns-python3-shebang.patch
+- Drop obsoleted patches:
+  criu-fix-conflicting-headers.patch
+  mount-add-definition-for-FSOPEN_CLOEXEC.patch
+
+-------------------------------------------------------------------

Old:
----
  criu-3.17.1.tar.gz
  criu-fix-conflicting-headers.patch
  mount-add-definition-for-FSOPEN_CLOEXEC.patch

New:
----
  criu-3.18.tar.gz
  criu-ns-python3-shebang.patch

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

Other differences:
------------------
++++++ criu.spec ++++++
--- /var/tmp/diff_new_pack.kc2QWw/_old  2023-06-06 19:58:05.043122374 +0200
+++ /var/tmp/diff_new_pack.kc2QWw/_new  2023-06-06 19:58:05.047122398 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package criu
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,7 @@
 %define proto_c_ver %(protoc-c --version | head -1 | awk '{print $2}')
 
 Name:           criu
-Version:        3.17.1
+Version:        3.18
 Release:        0
 Summary:        Checkpoint/Restore In Userspace Tools
 License:        GPL-2.0-only
@@ -44,9 +44,7 @@
 Patch2:         0002-Fix-build-with-nftables-installed-in-different-direc.patch
 Patch3:         criu-amdgpu-plugin-fix.patch
 Patch4:         plugin-dir-path.patch
-# upstream fixes
-Patch5:         criu-fix-conflicting-headers.patch
-Patch6:         mount-add-definition-for-FSOPEN_CLOEXEC.patch
+Patch5:         criu-ns-python3-shebang.patch
 BuildRequires:  libcap-devel
 %if %{with_amdgpu_plugin}
 BuildRequires:  libdrm-devel
@@ -128,7 +126,6 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
 # default off
 echo "BINFMT_MISC_VIRTUALIZED" > .config
 

++++++ 0002-Fix-build-with-nftables-installed-in-different-direc.patch ++++++
--- /var/tmp/diff_new_pack.kc2QWw/_old  2023-06-06 19:58:05.075122563 +0200
+++ /var/tmp/diff_new_pack.kc2QWw/_new  2023-06-06 19:58:05.079122587 +0200
@@ -39,5 +39,5 @@
 +export CFLAGS += $(FEATURE_DEFINES) $(FEATURE_CFLAGS)
  
  FEATURES_LIST := TCP_REPAIR STRLCPY STRLCAT PTRACE_PEEKSIGINFO \
-       SETPROCTITLE_INIT MEMFD TCP_REPAIR_WINDOW FSCONFIG MEMFD_CREATE OPENAT2
+       SETPROCTITLE_INIT MEMFD TCP_REPAIR_WINDOW MEMFD_CREATE \
 

++++++ criu-3.17.1.tar.gz -> criu-3.18.tar.gz ++++++
++++ 12764 lines of diff (skipped)

++++++ criu-ns-python3-shebang.patch ++++++
---
 scripts/criu-ns |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/scripts/criu-ns
+++ b/scripts/criu-ns
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 import ctypes
 import ctypes.util
 import errno

++++++ criu-py-install-fix.diff ++++++
--- /var/tmp/diff_new_pack.kc2QWw/_old  2023-06-06 19:58:08.539143100 +0200
+++ /var/tmp/diff_new_pack.kc2QWw/_new  2023-06-06 19:58:08.543143125 +0200
@@ -1,16 +1,57 @@
 ---
- lib/Makefile |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ lib/Makefile          |    7 ++++++-
+ scripts/crit-setup.py |   25 +++++++++++++++++++++++++
+ 2 files changed, 31 insertions(+), 1 deletion(-)
 
 --- a/lib/Makefile
 +++ b/lib/Makefile
-@@ -53,7 +53,7 @@ install: lib-c lib-py crit/crit lib/c/cr
-       $(Q) sed -e 's,@version@,$(CRIU_VERSION),' -e 's,@libdir@,$(LIBDIR),' 
-e 's,@includedir@,$(dir $(INCLUDEDIR)/criu/),' lib/c/criu.pc.in > lib/c/criu.pc
+@@ -2,6 +2,10 @@ CRIU_SO                       := libcriu.so
+ CRIU_A                        := libcriu.a
+ UAPI_HEADERS          := lib/c/criu.h images/rpc.proto images/rpc.pb-c.h 
criu/include/version.h
+ 
++#
++# File to keep track of files installed by setup.py
++CRIT_SETUP_FILES       := lib/.crit-setup.files
++
+ all-y += lib-c lib-a lib-py
+ 
+ #
+@@ -56,7 +60,8 @@ install: lib-c lib-a lib-py crit/crit li
        $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
+ ifeq ($(PYTHON),python3)
        $(E) "  INSTALL " crit
--      $(Q) $(PYTHON) scripts/crit-setup.py install 
--prefix=$(DESTDIR)$(PREFIX) --record $(CRIT_SETUP_FILES)
+-      $(Q) $(PYTHON) -m pip install --upgrade --force-reinstall 
--prefix=$(DESTDIR)$(PREFIX) ./crit
++      # $(Q) $(PYTHON) -m pip install --upgrade --force-reinstall 
--prefix=$(DESTDIR)$(PREFIX) ./crit
 +      $(Q) $(PYTHON) scripts/crit-setup.py install --root=$(DESTDIR) 
--prefix=$(PREFIX) --record $(CRIT_SETUP_FILES)
+ endif
  .PHONY: install
  
- uninstall:
+--- /dev/null
++++ b/scripts/crit-setup.py
+@@ -0,0 +1,25 @@
++import os
++from distutils.core import setup
++
++criu_version = "0.0.1"
++env = os.environ
++
++if 'CRIU_VERSION_MAJOR' in env and 'CRIU_VERSION_MINOR' in env:
++    criu_version = '{}.{}'.format(
++        env['CRIU_VERSION_MAJOR'],
++        env['CRIU_VERSION_MINOR']
++    )
++
++    if 'CRIU_VERSION_SUBLEVEL' in env and env['CRIU_VERSION_SUBLEVEL']:
++        criu_version += '.' + env['CRIU_VERSION_SUBLEVEL']
++
++setup(name="crit",
++      version=criu_version,
++      description="CRiu Image Tool",
++      author="CRIU team",
++      author_email="[email protected]",
++      license="GPLv2",
++      url="https://github.com/checkpoint-restore/criu";,
++      package_dir={'pycriu': 'lib/py'},
++      packages=["pycriu", "pycriu.images"],
++      scripts=["crit/crit"])
 

Reply via email to