Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libkrun for openSUSE:Factory checked 
in at 2022-06-21 16:32:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkrun (Old)
 and      /work/SRC/openSUSE:Factory/.libkrun.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkrun"

Tue Jun 21 16:32:25 2022 rev:5 rq:984031 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkrun/libkrun.changes  2022-05-28 
00:28:23.849676522 +0200
+++ /work/SRC/openSUSE:Factory/.libkrun.new.1548/libkrun.changes        
2022-06-21 16:32:32.783822997 +0200
@@ -1,0 +2,27 @@
+Fri Jun 17 14:23:15 UTC 2022 - dfaggi...@suse.com
+
+- Update to version 1.1.0:
+  * vsock: restore lost port mapping feature
+  * vsock: translate errno to macOS to Linux
+  * vsock: use MSG_NOSIGNAL to avoid SIGPIPE
+  * vsock: update to nix 0.24.1
+  * vsock: make accept() and explicit operation
+- Update to version to v1.0.0
+  * Update README.md
+  * CI: run clippy tests with amd-sev feature too
+  * Implement virtio-rng device
+  * vmm: disable test_get_supported_cpuid
+  * sev: use a different name when building with SEV
+  * sev: switch to upstream kvm-bindings/ioctls
+  * Makefile: add versioning to the output library
+  * arch/aarch64: remove dependency on device_tree
+  * libkrun: remove unneeded "cc" dependency
+- Update to version to 0.2.0
+  * Replace old vsock with TSIv2's vsock
+  * macos: operate directly on kqueue in epoll
+  * utils: Allow Epoll to be cloned
+  * Replace "logger" crate with env_logger+log
+- Patches added:
+  * not-set-soname-as-it-is-plugin.patch
+
+-------------------------------------------------------------------

Old:
----
  libkrun-0.1.8.obscpio

New:
----
  _servicedata
  libkrun-1.1.0.obscpio
  not-set-soname-as-it-is-plugin.patch

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

Other differences:
------------------
++++++ libkrun.spec ++++++
--- /var/tmp/diff_new_pack.117upo/_old  2022-06-21 16:32:34.171825033 +0200
+++ /var/tmp/diff_new_pack.117upo/_new  2022-06-21 16:32:34.175825039 +0200
@@ -18,7 +18,7 @@
 
 %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
 Name:           libkrun
-Version:        0.1.8
+Version:        1.1.0
 Release:        0
 Summary:        A dynamic library providing KVM-based process isolation 
capabilities
 License:        Apache-2.0
@@ -26,11 +26,15 @@
 Source0:        libkrun-%{version}.tar.gz
 Source1:        vendor.tar.zst
 Source2:        cargo_config
+# libkrunfw is a plugin for us, more than a full-fledged library,
+# so let's avoid setting up a SONAME etc (which upstream is now doing).
+Patch1:         not-set-soname-as-it-is-plugin.patch
 ExclusiveArch:  x86_64 aarch64
 BuildRequires:  cargo >= 1.43.0
 BuildRequires:  gcc
 BuildRequires:  glibc-static
 BuildRequires:  libkrunfw >= 0.6
+BuildRequires:  libopenssl-devel
 BuildRequires:  rust
 Requires:       libkrunfw >= 0.6
 %ifarch aarch64
@@ -46,21 +50,31 @@
 
 %prep
 %setup -qa1
+%patch1 -p1
 mkdir .cargo
 cp %{SOURCE2} .cargo/config
 
 %build
 export RUSTFLAGS=%{rustflags}
 %make_build
+%ifarch x86_64
+%make_build SEV=1
+%endif
 
 %install
 export RUSTFLAGS=%{rustflags}
 %make_install PREFIX=%{_prefix}
+%ifarch x86_64
+%make_install SEV=1 PREFIX=%{_prefix}
+%endif
 
 %files
 %license LICENSE
 %doc README.md
 %{_libdir}/libkrun.so
+%ifarch x86_64
+%{_libdir}/libkrun-sev.so
+%endif
 %{_includedir}/libkrun.h
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.117upo/_old  2022-06-21 16:32:34.215825097 +0200
+++ /var/tmp/diff_new_pack.117upo/_new  2022-06-21 16:32:34.219825103 +0200
@@ -2,7 +2,7 @@
 
   <service name="obs_scm" mode="disabled">
     <param name="scm">git</param>
-    <param name="revision">v0.1.8</param>
+    <param name="revision">v1.1.0</param>
     <param name="url">https://github.com/containers/libkrun.git</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://github.com/containers/libkrun.git</param>
              <param 
name="changesrevision">2469df74b0c97ded6a761f3a4aa07be0b805438f</param></service></servicedata>
(No newline at EOF)

++++++ cargo_config ++++++
--- /var/tmp/diff_new_pack.117upo/_old  2022-06-21 16:32:34.263825168 +0200
+++ /var/tmp/diff_new_pack.117upo/_new  2022-06-21 16:32:34.271825179 +0200
@@ -1,11 +1,6 @@
 [source.crates-io]
 replace-with = "vendored-sources"
 
-[source."https://github.com/slp/kvm-ioctls";]
-git = "https://github.com/slp/kvm-ioctls";
-branch = "amdsev"
-replace-with = "vendored-sources"
-
 [source.vendored-sources]
 directory = "vendor"
 (No newline at EOF)

++++++ libkrun-0.1.8.obscpio -> libkrun-1.1.0.obscpio ++++++
++++ 11040 lines of diff (skipped)

++++++ libkrun.obsinfo ++++++
--- /var/tmp/diff_new_pack.117upo/_old  2022-06-21 16:32:34.539825573 +0200
+++ /var/tmp/diff_new_pack.117upo/_new  2022-06-21 16:32:34.539825573 +0200
@@ -1,5 +1,5 @@
 name: libkrun
-version: 0.1.8
-mtime: 1653650887
-commit: e279d32984e1328c3e4371fbc8b41acf9bb96613
+version: 1.1.0
+mtime: 1655463725
+commit: 9d6a63309f920b8e62e5a1df03d4c00a54a116d3
 

++++++ not-set-soname-as-it-is-plugin.patch ++++++
diff -Nru libkrun/Makefile libkrun_nosoname/Makefile
--- libkrun/Makefile    2022-06-17 16:23:14.776403669 +0200
+++ libkrun_nosoname/Makefile   2022-06-17 19:08:28.469071074 +0200
@@ -11,13 +11,9 @@
 
 OS = $(shell uname -s)
 
-KRUN_BINARY_Linux = libkrun$(VARIANT).so.$(FULL_VERSION)
-KRUN_SONAME_Linux = libkrun$(VARIANT).so.$(ABI_VERSION)
-KRUN_BASE_Linux = libkrun$(VARIANT).so
+KRUN_BINARY_Linux = libkrun$(VARIANT).so
 
 KRUN_BINARY_Darwin = libkrun.$(FULL_VERSION).dylib
-KRUN_SONAME_Darwin = libkrun.$(ABI_VERSION).dylib
-KRUN_BASE_Darwin = libkrun.dylib
 
 LIBRARY_RELEASE_Linux = target/release/$(KRUN_BINARY_Linux)
 LIBRARY_DEBUG_Linux = target/debug/$(KRUN_BINARY_Linux)
@@ -43,23 +39,16 @@
 $(LIBRARY_RELEASE_$(OS)): $(INIT_BINARY)
        cargo build --release $(FEATURE_FLAGS)
 ifeq ($(SEV),1)
-       mv target/release/libkrun.so target/release/$(KRUN_BASE_$(OS))
+       mv target/release/libkrun.so $(LIBRARY_RELEASE_$(OS))
 endif
 ifeq ($(OS),Linux)
-       patchelf --set-soname $(KRUN_SONAME_$(OS)) --output 
$(LIBRARY_RELEASE_$(OS)) target/release/$(KRUN_BASE_$(OS))
-else
-       cp target/release/$(KRUN_BASE_$(OS)) $(LIBRARY_RELEASE_$(OS))
+       strip $(LIBRARY_RELEASE_$(OS))
 endif
 
 $(LIBRARY_DEBUG_$(OS)): $(INIT_BINARY)
        cargo build $(FEATURE_FLAGS)
 ifeq ($(SEV),1)
-       mv target/debug/libkrun.so target/debug/$(KRUN_BASE_$(OS))
-endif
-ifeq ($(OS),Linux)
-       patchelf --set-soname $(KRUN_SONAME_$(OS)) --output 
$(LIBRARY_DEBUG_$(OS)) target/debug/$(KRUN_BASE_$(OS))
-else
-       cp target/debug/$(KRUN_BASE_$(OS)) $(LIBRARY_DEBUG_$(OS))
+       mv target/debug/libkrun.so $(LIBRARY_DEBUG_$(OS))
 endif
 
 install: $(LIBRARY_RELEASE_$(OS))
@@ -67,7 +56,6 @@
        install -d $(DESTDIR)$(PREFIX)/include
        install -m 644 $(LIBRARY_HEADER) $(DESTDIR)$(PREFIX)/include
        install -m 755 $(LIBRARY_RELEASE_$(OS)) 
$(DESTDIR)$(PREFIX)/$(LIBDIR_$(OS))/
-       cd $(DESTDIR)$(PREFIX)/$(LIBDIR_$(OS))/ ; ln -s $(KRUN_BINARY_$(OS)) 
$(KRUN_SONAME_$(OS)) ; ln -s $(KRUN_SONAME_$(OS)) $(KRUN_BASE_$(OS))
 
 clean:
        rm -f $(INIT_BINARY)

++++++ vendor.tar.zst ++++++
Binary files /var/tmp/diff_new_pack.117upo/_old and 
/var/tmp/diff_new_pack.117upo/_new differ

Reply via email to