diff --git a/criu-2.12.1.tar.bz2 b/criu-2.12.1.tar.bz2 deleted file mode 100644 index 2fd9dd2..0000000 --- a/criu-2.12.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:33e4f575a533b66e0571fff0c2b6ced51612789fa3b944b841ec6fc79ed4a0a2 -size 646855 diff --git a/criu-3.0.tar.bz2 b/criu-3.0.tar.bz2 new file mode 100644 index 0000000..72a6c72 --- /dev/null +++ b/criu-3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7121f67ec82bbce1651c03a752f352f16986c1b1c51a29f5174556fb94c18cd7 +size 676983 diff --git a/criu.changes b/criu.changes index 7a090a9..b9dc0d5 100644 --- a/criu.changes +++ b/criu.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Apr 24 22:31:21 CEST 2017 - tiwai@suse.de + +- update to criu 3.0: + New features: + * Compel library + * Support for x86 32-bit arch + * Version check via RPC + * ASAN support + * Force VDSO trampolines via fault injection + * C/R of shutdown-ed UDP sockets + * C/R of bind-mounts made from external mounts + Optimizations/improvements: + * SysVIPC shmem segments are now dumped as any other shmem + (taking holes into account and sitting in common memory dumps) + * CRIT show decodes socket's states and types and task's states + into strings + * CRIT show prints unix sockets names in more human-readable form + Bugfixes: + * Unix sockets' names appeared in logs with mistakes + * Contents of SysVIPC shmem segments was dumped twice + * Dumping of any memory segment more than 4Gigs failed + * Migration of unaligned SysvSHM segment on Armv7 failed + Deprecation/removal: + * Exec action is removed, use compel instead +- Create libcompel1 sub-package + ------------------------------------------------------------------- Fri Mar 31 14:49:05 CEST 2017 - tiwai@suse.de diff --git a/criu.spec b/criu.spec index a76863f..9cf5929 100644 --- a/criu.spec +++ b/criu.spec @@ -17,7 +17,7 @@ Name: criu -Version: 2.12.1 +Version: 3.0 Release: 0 Summary: Checkpoint/Restore In Userspace Tools License: GPL-2.0 @@ -56,11 +56,20 @@ Group: System/Libraries This package contains the library for CRIU, Checkpoint/Restore In Userspace Tools. +%package -n libcompel1 +Summary: Compel library for CRIU +License: LGPL-2.1 +Group: System/Libraries + +%description -n libcompel1 +This package contains the compel library for CRIU to execute a parasite code. + %package devel Summary: Include Files and Libraries mandatory for Development License: LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: glibc-devel +Requires: libcompel1 = %{version} Requires: libcriu1 = %{version} %description devel @@ -81,6 +90,10 @@ make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \ LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} \ DESTDIR=%{buildroot} install +# remove static libs +rm -f %{buildroot}%{_libdir}/lib*.a +# remove stable files +rm -f %{buildroot}%{_includedir}/compel/plugins/std/asm/.gitignore # for compatiblity ln -s criu %{buildroot}%{_sbindir}/crtools ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 @@ -89,6 +102,10 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 %postun -n libcriu1 -p /sbin/ldconfig +%post -n libcompel1 -p /sbin/ldconfig + +%postun -n libcompel1 -p /sbin/ldconfig + %files %defattr(-,root,root) %doc README.md COPYING @@ -96,6 +113,7 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 %{_bindir}/* %{_mandir}/man*/* %{_libexecdir}/criu +%{_libexecdir}/compel /usr/lib/python*/site-packages/crit-*.egg-info /usr/lib/python*/site-packages/pycriu @@ -103,10 +121,16 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8 %defattr(-,root,root) %{_libdir}/libcriu.so.* +%files -n libcompel1 +%defattr(-,root,root) +%{_libdir}/libcompel.so.* + %files devel %defattr(-,root,root) %{_includedir}/criu +%{_includedir}/compel %{_libdir}/libcriu.so +%{_libdir}/libcompel.so %{_libdir}/pkgconfig/*.pc %changelog