Hello community,
here is the log from the commit of package psmisc for openSUSE:Factory checked in at 2017-07-12 19:30:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/psmisc (Old)
and /work/SRC/openSUSE:Factory/.psmisc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "psmisc"
Wed Jul 12 19:30:06 2017 rev:63 rq:508459 version:23.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/psmisc/psmisc.changes 2017-07-02 13:37:28.497011877 +0200
+++ /work/SRC/openSUSE:Factory/.psmisc.new/psmisc.changes 2017-07-12 19:30:07.854101125 +0200
@@ -1,0 +2,26 @@
+Wed Jul 5 13:24:01 UTC 2017 - werner@suse.de
+
+- Remove patches
+ * psmisc-22.21-lessnfs.patch
+ * psmisc-22.21-mntpt.patch
+ * psmisc-23.0-net.patch
+- Add patch
+ 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
+ from https://gitlab.com/bitstreamout/psmisc/tree/mountinfo
+ which is a heavily rework fuser used on NFS
+ * Use mountinfo to be able to use the mount identity
+ which allows to distinguish different mounts with the
+ same device number as it happens with NFS shares.
+ * Smaller cleanup as support of chroot environments
+ and older systems.
+ * Add support for name_to_handle_at() system call to
+ get the real mount ID for each file
+- Use test suite of psmisc in %check rpm section
+
+-------------------------------------------------------------------
+Wed Jun 28 13:11:49 UTC 2017 - werner@suse.de
+
+- Add patch psmisc-23.0-net.patch to reenable network support
+ broken to my own upstream commit
+
+-------------------------------------------------------------------
Old:
----
psmisc-22.21-lessnfs.patch
psmisc-22.21-mntpt.patch
New:
----
0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ psmisc.spec ++++++
--- /var/tmp/diff_new_pack.9iLC1J/_old 2017-07-12 19:30:09.573858475 +0200
+++ /var/tmp/diff_new_pack.9iLC1J/_new 2017-07-12 19:30:09.573858475 +0200
@@ -17,7 +17,9 @@
Name: psmisc
+BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: dejagnu
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: glibc-devel
@@ -35,12 +37,11 @@
Source: https://gitlab.com/%{name}/%{name}/repository/archive.tar.bz2?ref=v%{version}#/%{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}.dif
Patch2: %{name}-22.21-pstree.patch
-# PATCH-FIX-SUSE boo#908068 -- fuser -m not handling block devices properly
-Patch4: %{name}-22.21-mntpt.patch
-# PATCH-ADD-SUSE use string comparision only for nfs shares
-Patch5: %{name}-22.21-lessnfs.patch
+# PATCH-ADD-SUSE boo#908068, boo#1046237, boo#1046237
+# https://gitlab.com/bitstreamout/psmisc/tree/mountinfo
+Patch3: 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
# PATCH-FIX_UPSTREAM boo#1046237 -- Debug output in killall from psmisc package
-Patch6: %{name}-%{version}-killall.patch
+Patch4: %{name}-%{version}-killall.patch
%define have_peekfd %ix86 x86_64 ppc ppc64 ppc64le %arm mipsel m68k
@@ -58,10 +59,9 @@
ln -sf %{name}-v%{version}-%{hash} %{name}-%version
%setup -q -D -n %{name}-%version
%patch2 -p0 -b .pstree
-%patch4 -p0 -b .mntpt
-%patch5 -p0 -b .lessnfs
-%patch6 -p0 -b .ka
-%patch0 -p0 -b .0
+%patch3 -p0 -b .mntinf
+%patch4 -p0 -b .ka
+%patch0 -p0 -b .p0
%build
grep -h src/ po/*.po|\
@@ -80,6 +80,9 @@
--enable-timeout-stat=static
make %{?_smp_mflags} CFLAGS="$CFLAGS" "CC=$CC"
+%check
+make check
+
%install
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}/bin/
++++++ 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch ++++++
++++ 1031 lines (skipped)
++++++ psmisc-23.0.dif ++++++
--- /var/tmp/diff_new_pack.9iLC1J/_old 2017-07-12 19:30:09.605853961 +0200
+++ /var/tmp/diff_new_pack.9iLC1J/_new 2017-07-12 19:30:09.605853961 +0200
@@ -1,21 +1,21 @@
---
configure.ac | 4 ++--
doc/Makefile.am | 2 +-
- src/fuser.c | 13 ++++++++-----
- 3 files changed, 11 insertions(+), 8 deletions(-)
+ src/fuser.c | 5 ++++-
+ 3 files changed, 7 insertions(+), 4 deletions(-)
--- configure.ac
-+++ configure.ac 2017-06-20 14:31:15.914973762 +0000
-@@ -42,7 +42,7 @@ fi
++++ configure.ac 2017-07-05 13:18:18.806270222 +0000
+@@ -45,7 +45,7 @@ fi
if test "$enable_timeout_stat" = "static"; then
AC_DEFINE([WITH_TIMEOUT_STAT], [2], [Use timeout on stat calls])
fi
-AM_CONDITIONAL([WANT_TIMEOUT_STAT], [test "$enable_timeout_stat" = "static"])
+AM_CONDITIONAL([WANT_TIMEOUT_STAT], [test "$enable_timeout_stat" != "no"])
- # Use string search for network based file systems but only if the system
- # has /proc/self/mountinfo
-@@ -126,7 +126,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc
+ # Use /proc/self/mountinfo if available
+ if test -e /proc/self/mountinfo ; then
+@@ -142,7 +142,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc
struct user_regs_struct.rdi,
struct user_regs_struct.rsi,
struct user_regs_struct.rdx], [],[],
@@ -25,7 +25,7 @@
AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3,
struct pt_regs.gpr], [],[], [#include