commit lsof for openSUSE:Factory

2020-10-22 Thread root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2020-10-22 14:21:14

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new.3463 (New)


Package is "lsof"

Thu Oct 22 14:21:14 2020 rev:37 rq:842490 version:4.93.2

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2019-04-17 
10:03:48.174459597 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new.3463/lsof.changes  2020-10-22 
14:22:33.898765471 +0200
@@ -1,0 +2,17 @@
+Fri Sep 11 20:40:47 UTC 2020 - Dirk Mueller 
+
+- update to 4.93.2:
+   The maintainership is switched from Vic to lsof-org  
+   Made FreeBSD 13 adjustment.
+   Fix a typo causing a build error.
+   Fix a potential memory leak.
+   [linux] use tirpc for rpc if libc doesn't provide rpc.h.
+   Fix a typo in man page.
+   fix memory leaks detected by valgrind about unix endpoint
+information.
+   Update the description about -fg and -fG options on linux.
+   Fix a broken symbolic link.
+   Update the version number embedded in lsof executable.
+- lsof-no-build-date-etc.patch: refreshed against newer base
+
+---

Old:

  lsof_4.91_src_repacked.tar.xz

New:

  lsof-4.93.2_repacked.tar.gz



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.VzGj5X/_old  2020-10-22 14:22:35.066766520 +0200
+++ /var/tmp/diff_new_pack.VzGj5X/_new  2020-10-22 14:22:35.066766520 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lsof
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,16 @@
 
 
 Name:   lsof
-Version:4.91
+Version:4.93.2
 Release:0
 Summary:A Program That Lists Information about Files Opened by 
Processes
 License:Zlib
 Group:  System/Monitoring
-URL:http://people.freebsd.org/~abe/
+URL:https://github.com/lsof-org/lsof
+# From https://github.com/lsof-org/lsof/archive/%{version}.tar.gz
 # Always repack the source to remove legally problematic files - bnc#705143
 # dialects/uw/uw7/sys/fs/{fifonode.h,namenode.h,README}
-Source: %{name}_%{version}_src_repacked.tar.xz
+Source: lsof-%{version}_repacked.tar.gz
 Patch0: lsof_4.81-include.patch
 Patch1: lsof_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch
@@ -43,7 +44,7 @@
 path.
 
 %prep
-%setup -q -n %{name}_%{version}_src
+%setup -q
 %patch0
 %patch1
 %patch2
@@ -53,15 +54,11 @@
 %build
 ./Configure -n linux
 make %{?_smp_mflags} DEBUG="%{optflags} -Wall -Wno-unused"
-cd tests
-chmod u+w TestDB
-./Add2TestDB
-make %{?_smp_mflags} DEBUG="%{optflags} -Wall -Wno-unused"
 
 %install
 install -m755 -d %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man8
 install -m755 lsof %{buildroot}%{_bindir}
-install -m644 lsof.8 %{buildroot}%{_mandir}/man8
+install -m644 Lsof.8 %{buildroot}%{_mandir}/man8/lsof.8
 mkdir SUSE_docs
 for s in 00* ; do
mv $s SUSE_docs/${s#00}
@@ -70,6 +67,12 @@
 mv scripts/00MANIFEST scripts/MANIFEST
 mv scripts/00README scripts/README
 
+%check
+cd tests
+chmod u+w TestDB
+./Add2TestDB
+make %{?_smp_mflags} DEBUG="%{optflags} -Wall -Wno-unused"
+
 %files
 %doc SUSE_docs/* scripts
 %{_mandir}/man8/lsof.8%{ext_man}

++ lsof-no-build-date-etc.patch ++
--- /var/tmp/diff_new_pack.VzGj5X/_old  2020-10-22 14:22:35.098766549 +0200
+++ /var/tmp/diff_new_pack.VzGj5X/_new  2020-10-22 14:22:35.098766549 +0200
@@ -1,12 +1,11 @@
 Index: usage.c
 ===
 usage.c.orig   2010-07-29 11:59:45.0 -0400
-+++ usage.c2010-08-29 14:39:17.366314422 -0400
-@@ -890,47 +890,6 @@ usage(xv, fh, version)
-   LSOF_URL);
-   (void) fprintf(stderr, "latest man page: %slsof_man\n",
-   LSOF_URL);
--
+--- usage.c.orig
 usage.c
+@@ -925,50 +925,6 @@ usage(xv, fh, version)
+   (void) fprintf(stderr, "latest (non-formatted) man page: %s\n",
+   LSOF_MAN_URL);
+ 
 -#if   defined(LSOF_CINFO)
 -  if ((cp = isnullstr(LSOF_CINFO)))
 -  (void) fprintf(stderr, "configuration info: %s\n", cp);
@@ -47,6 +46,10 @@
 -  (void) fprintf(stderr, "loader flags: %s\n", cp);
 -  if ((cp = isnullstr(LSOF_SYSINFO)))
 -  (void) fprintf(stderr, "system info: %s\n", cp);
-   (void) report_SECURITY("", ".\n");
-   (void) report_WARNDEVACCESS("", "are", ".\n");
-   (void) report_HASKERNIDCK("   

commit lsof for openSUSE:Factory

2019-04-17 Thread root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2019-04-17 10:03:45

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new.17052 (New)


Package is "lsof"

Wed Apr 17 10:03:45 2019 rev:36 rq:694385 version:4.91

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2018-03-30 
11:58:31.425041213 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new.17052/lsof.changes 2019-04-17 
10:03:48.174459597 +0200
@@ -1,0 +2,6 @@
+Wed Apr 10 14:30:38 UTC 2019 - Dominique Leuenberger 
+
+- Add lsof-glibc-linux-5.0.patch: Fix build with
+  linux-glibc-devel-5.0 by including sysmacros.h as needed.
+
+---

New:

  lsof-glibc-linux-5.0.patch



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.flxRXR/_old  2019-04-17 10:03:49.894461668 +0200
+++ /var/tmp/diff_new_pack.flxRXR/_new  2019-04-17 10:03:49.898461673 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lsof
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,7 +22,7 @@
 Summary:A Program That Lists Information about Files Opened by 
Processes
 License:Zlib
 Group:  System/Monitoring
-Url:http://people.freebsd.org/~abe/
+URL:http://people.freebsd.org/~abe/
 # Always repack the source to remove legally problematic files - bnc#705143
 # dialects/uw/uw7/sys/fs/{fifonode.h,namenode.h,README}
 Source: %{name}_%{version}_src_repacked.tar.xz
@@ -30,6 +30,7 @@
 Patch1: lsof_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch
 Patch3: lsof_4.81-perl.patch
+Patch4: lsof-glibc-linux-5.0.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  xz
 
@@ -47,6 +48,7 @@
 %patch1
 %patch2
 %patch3
+%patch4 -p1
 
 %build
 ./Configure -n linux

++ lsof-glibc-linux-5.0.patch ++
Index: lsof_4.91_src/tests/LTlib.c
===
--- lsof_4.91_src.orig/tests/LTlib.c
+++ lsof_4.91_src/tests/LTlib.c
@@ -231,26 +231,32 @@ _PROTOTYPE(static X2DEV_T x2dev,(char *x
  */
 
 #if!defined(major_S)
+#include 
 #definemajor_S major
 #endif /* defined(major_S) */
 
 #if!defined(minor_S)
+#include 
 #defineminor_S minor
 #endif /* defined(minor_S) */
 
 #if!defined(unit_S)
+#include 
 #defineunit_S(x)   0
 #endif /* defined(unit_S) */
 
 #if!defined(major_X)
+#include 
 #definemajor_X(dp, em) major(x2dev(dp, em))
 #endif /* defined(major_X) */
 
 #if!defined(minor_X)
+#include 
 #defineminor_X(dp, em) minor(x2dev(dp, em))
 #endif /* defined(minor_X) */
 
 #if!defined(unit_X)
+#include 
 #defineunit_X(dp, em)  0
 #endif /* defined(unit_X) */
 



commit lsof for openSUSE:Factory

2018-03-30 Thread root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2018-03-30 11:58:22

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof"

Fri Mar 30 11:58:22 2018 rev:35 rq:591567 version:4.91

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2018-02-21 
14:08:41.228205502 +0100
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2018-03-30 
11:58:31.425041213 +0200
@@ -1,0 +2,7 @@
+Tue Mar 27 09:46:50 UTC 2018 - kstreit...@suse.com
+
+- Update to version 4.91
+  * This revision applies two fixes that correct the Linux PTY
+ endpoint processing bug [bsc#1082900]
+
+---

Old:

  lsof_4.90_src_repacked.tar.xz

New:

  lsof_4.91_src_repacked.tar.xz



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.f0vqRX/_old  2018-03-30 11:58:33.924950808 +0200
+++ /var/tmp/diff_new_pack.f0vqRX/_new  2018-03-30 11:58:33.928950663 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   lsof
-Version:4.90
+Version:4.91
 Release:0
 Summary:A Program That Lists Information about Files Opened by 
Processes
 License:Zlib

++ lsof_4.90_src_repacked.tar.xz -> lsof_4.91_src_repacked.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsof_4.90_src/00DIST new/lsof_4.91_src/00DIST
--- old/lsof_4.90_src/00DIST2018-02-14 15:42:00.0 +0100
+++ new/lsof_4.91_src/00DIST2018-03-26 23:49:26.0 +0200
@@ -119,6 +119,7 @@
4.88, October 13, 2014
4.89, July 7, 2015
4.90, February 14, 2018
+   4.91, March 26, 2018
 
 
 Dialects Supported
@@ -4872,5 +4873,15 @@
Corrected Linux command extraction for commands that include
parentheses -- e.g., "(sd-pam)".

+4.91   March 26, 2018
+
+   A bug has been reported in the PTY endpoint processing of
+   Linux lsof 4.90 by Peter Wu , making it
+   necessary for me to release another revision of lsof.
+
+   This revision applies two fixes that correct the Linux PTY
+   endpoint processing bug. Masatake YAMATO 
+   supplied the fixes.
+
 Vic Abell 
-February 14, 2018
+March 26, 2018
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsof_4.90_src/00LSOF-L new/lsof_4.91_src/00LSOF-L
--- old/lsof_4.90_src/00LSOF-L  2015-09-16 21:22:23.0 +0200
+++ new/lsof_4.91_src/00LSOF-L  2018-03-19 20:58:28.0 +0100
@@ -63,13 +63,12 @@
 security issues.  Postings don't appear until I've approved them.
 
 
-Send Bug Reports to Me Via E-Mail
-=
+Send Bug Reports to lsof-l, too
+===
 
-DON'T SEND BUG REPORTS TO lsof-l.  Send them directly to me via e-mail
-at .  Make sure lsof appears in the "Subject:" line and
-make sure you first read the "Bug Reports" section of the 00README file
-of the lsof distribution.
+Since I am no longer actively supporting lsof -- 4.91 is probably the
+last revision I will distribute --  bug reports should be sent to
+lsof-l.  There are readers of lsof-l who may be able to help you.
 
 
 Unsubscribing
@@ -97,4 +96,4 @@
 
 
 Vic Abell 
-September 16, 2015
+March ??? 2018
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsof_4.90_src/dialects/linux/dnode.c 
new/lsof_4.91_src/dialects/linux/dnode.c
--- old/lsof_4.90_src/dialects/linux/dnode.c2018-02-14 15:26:45.0 
+0100
+++ new/lsof_4.91_src/dialects/linux/dnode.c2018-03-26 23:52:34.0 
+0200
@@ -32,7 +32,7 @@
 #ifndef lint
 static char copyright[] =
 "@(#) Copyright 1997 Purdue Research Foundation.\nAll rights reserved.\n";
-static char *rcsid = "$Id: dnode.c,v 1.26 2018/02/14 14:26:38 abe Exp $";
+static char *rcsid = "$Id: dnode.c,v 1.27 2018/03/26 21:52:29 abe Exp $";
 #endif
 
 
@@ -737,7 +737,8 @@
Lf->rdev_def = 1;
 
 #ifdefined(HASEPTOPTS) && defined(HASPTYEPT)
-   if ((Ntype == N_CHR)
+   if (FeptE
+   &&  (Ntype == N_CHR)
&&  is_pty_slave(GET_MAJ_DEV(Lf->rdev))
) {
enter_ptmxi(GET_MIN_DEV(Lf->rdev));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsof_4.90_src/dialects/linux/dproc.c 
new/lsof_4.91_src/dialects/linux/dproc.c
--- old/lsof_4.90_src/dialects/linux/dproc.c2018-02-14 15:26:46.0 
+0100
+++ new/lsof_4.91_src/dialects/linux/dproc.c2018-03-

commit lsof for openSUSE:Factory

2018-02-21 Thread root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2018-02-21 14:08:41

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof"

Wed Feb 21 14:08:41 2018 rev:34 rq:578049 version:4.90

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2016-09-01 
14:02:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2018-02-21 
14:08:41.228205502 +0100
@@ -1,0 +2,46 @@
+Mon Feb 19 13:07:42 UTC 2018 - kstreit...@suse.com
+
+- Update to version 4.90 [bsc#1081562]
+  * Taught the Configure script to create a dummy opt_random.h
+for FreeBSD systems whose  includes it.
+  * Added support for the FreeBSD ZFUSE file system.
+  * Corrected the quoting in a Darwin putchar() statement in the
+dfile.c source file. 
+  * Added support for the FreeBSD DTYPE_PTS file descriptor and
+for unknown descriptors that reference the kernel's badfileops
+operation switch.  Enabled FreeBSD 12.0 support.
+  * Enhanced -K option with the form "-K i" to direct lsof to
+(i)gnore tasks. Linux task reports now include both
+process and task command names, making lsof's "-c "
+option work correctly.
+  * Added a patch to prevent NFS blocking in Linux
+  * Installed a FreeBSD patch that prevents examining a TCP state
+structure during a race condition.
+  * Updated FreeBSD for new UFS inode structure that lacks an i_dev
+member in the most recent 12.0-CURRENT.  
+  * Added "#define KLD_MODULE" to dlsof.h and dnode2.c to prevent
+ from generating an "ARM_NARCH is 0" error.
+This is needed so lsof can access kernel structures.
+  * Added recognition of the FreeBSD 11 file system name "nullfs".
+  * Added a patch that is needed on FreeBSD 12 so the lsof
+compilation can obtain the inpcb and tcpcb structures from
+their respective header files. Updated FreeBSD dmnt.c for the
+ino64 changes.
+  * Inserted a patch for Solaris 12.x to avoid compilation errors
+from .
+  * Added performance enhancement that uses the FreeBSD closefrom()
+and dup2() C library functions when available.
+  * Corrected FreeBSD lsof's gathering of ZFS file device numbers.
+  * Updated lsof test library for FreeBSD.
+  * Updated socket optons information collection from the socket
+structure
+  * Added patch to dlsof.h that avoids a _KERNEL conflict with
+bzero.
+  * Corrected test library to handle 64 bit FreeBSD device numbers.
+  * Added #defines for FreeBSD 12, src r324225
+  * Incorporated Linux pseudoterminal endpoint processing (+|-E)
+  * Corrected Linux command extraction for commands that include
+parentheses -- e.g., "(sd-pam)".
+- remove lsof_4.89-nfs_hanging.patch that was applied upstream
+
+---

Old:

  lsof_4.89-nfs_hanging.patch
  lsof_4.89_src_repacked.tar.xz

New:

  lsof_4.90_src_repacked.tar.xz



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.gfTY6G/_old  2018-02-21 14:08:42.144172518 +0100
+++ /var/tmp/diff_new_pack.gfTY6G/_new  2018-02-21 14:08:42.144172518 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lsof
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   lsof
-Version:4.89
+Version:4.90
 Release:0
 Summary:A Program That Lists Information about Files Opened by 
Processes
 License:Zlib
@@ -30,11 +30,8 @@
 Patch1: lsof_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch
 Patch3: lsof_4.81-perl.patch
-# PATCH-FIX-UPSTREAM bnc#995061 kstreit...@suse.com -- prevent 'lsof -b' from 
hanging when NFS server is unavailable
-Patch4: lsof_4.89-nfs_hanging.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Lsof lists information about files opened by processes. An open file
@@ -50,7 +47,6 @@
 %patch1
 %patch2
 %patch3
-%patch4 -p1
 
 %build
 ./Configure -n linux
@@ -73,7 +69,6 @@
 mv scripts/00README scripts/README
 
 %files
-%defattr(-, root, root)
 %doc SUSE_docs/* scripts
 %{_mandir}/man8/lsof.8%{ext_man}
 %{_bindir}/lsof

++ lsof_4.89_src_repacked.tar.xz -> lsof_4.90_src_repacked.tar.xz ++
 5945 lines of diff (skipped)




commit lsof for openSUSE:Factory

2016-09-01 Thread h_root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2016-09-01 14:01:57

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof"

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2016-08-29 
14:26:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2016-09-01 
14:02:03.0 +0200
@@ -1,0 +2,7 @@
+Mon Aug 29 14:19:53 UTC 2016 - kstreit...@suse.com
+
+- modify lsof_4.89-nfs_hanging.patch and add a check for HasNFS
+  variable as HasNFS may already have been set to 2 in the
+  readmnt() function [bsc#995061]
+
+---



Other differences:
--
++ lsof_4.89-nfs_hanging.patch ++
--- /var/tmp/diff_new_pack.thvkkM/_old  2016-09-01 14:02:04.0 +0200
+++ /var/tmp/diff_new_pack.thvkkM/_new  2016-09-01 14:02:04.0 +0200
@@ -6,7 +6,7 @@
if ((nfs = strcasecmp(fp[2], "nfs3")))
nfs = strcasecmp(fp[2], "nfs4");
}
-+  if (! nfs)
++  if (!nfs && !HasNFS)
 + HasNFS = 1;
 +
if (mp) {




commit lsof for openSUSE:Factory

2016-08-29 Thread h_root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2016-08-29 14:26:33

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof"

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2016-05-19 
12:03:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2016-08-29 
14:26:34.0 +0200
@@ -1,0 +2,6 @@
+Fri Aug 26 12:33:49 UTC 2016 - kstreit...@suse.com
+
+- add lsof_4.89-nfs_hanging.patch to prevent 'lsof -b' from hanging
+  when NFS server is unavailable [bsc#995061]
+
+---

New:

  lsof_4.89-nfs_hanging.patch



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.hEZBBx/_old  2016-08-29 14:26:36.0 +0200
+++ /var/tmp/diff_new_pack.hEZBBx/_new  2016-08-29 14:26:36.0 +0200
@@ -30,6 +30,8 @@
 Patch1: lsof_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch
 Patch3: lsof_4.81-perl.patch
+# PATCH-FIX-UPSTREAM bnc#995061 kstreit...@suse.com -- prevent 'lsof -b' from 
hanging when NFS server is unavailable
+Patch4: lsof_4.89-nfs_hanging.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -48,6 +50,7 @@
 %patch1
 %patch2
 %patch3
+%patch4 -p1
 
 %build
 ./Configure -n linux

++ lsof_4.89-nfs_hanging.patch ++
Index: lsof_4.89_src/dialects/linux/dmnt.c
===
--- lsof_4.89_src.orig/dialects/linux/dmnt.c
+++ lsof_4.89_src/dialects/linux/dmnt.c
@@ -535,6 +535,9 @@ readmnt()
if ((nfs = strcasecmp(fp[2], "nfs3")))
nfs = strcasecmp(fp[2], "nfs4");
}
+   if (! nfs)
+ HasNFS = 1;
+
if (mp) {
 
/*



commit lsof for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2016-05-19 12:03:14

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof"

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2016-05-08 
10:40:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2016-05-19 
12:03:14.0 +0200
@@ -1,0 +2,5 @@
+Thu May  5 09:34:09 UTC 2016 - kstreit...@suse.com
+
+- submit utilities/lsof package to SUSE:SLE-12-SP2:GA [fate#320541]
+
+---



Other differences:
--



commit lsof for openSUSE:Factory

2016-05-08 Thread h_root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2016-05-08 10:40:14

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof"

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2015-03-03 
11:14:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2016-05-08 
10:40:15.0 +0200
@@ -1,0 +2,32 @@
+Mon May  2 16:10:30 UTC 2016 - kstreit...@suse.com
+
+- Update to version 4.89
+  * Applied correction from Casper Dik  to
+his patch for Solaris 11 that I applied incorrectly in revision
+4.88. 
+  * Updated for latest version of FreeBSD 11.0-CURRENT.
+  * Compensated for a missing FreeBSD 10.0 typedef of bool on the
+i386 architecture.  Allen Hewes  provided
+a test system. Andrey Chernov  provided
+useful advice.
+  * Improved tests/Add2TestDB script with a patch from Peter
+Schiffer .  Added patches from Peter to
+eliminate Linux gcc warnings.  Updated Lsof.8 with improvements
+supplied by Bjarni Ingi Gislason .
+  * Changed FreeBSD global CFLAGS extraction per Terry Kennedy
+.  Also made sure -DNEEDS_BOOL_TYPEDEF is
+#define'd when the resulting CFLAGS doesn't contain it.  Terry
+reported that need.
+  * Improved Linux test for tcp.h in response to a report from
+Cato Auestad .  Cato did the testing.
+  * Fixed Linux UNIX socket search by name bug reported by
+Stephane Chazelas .
+  * Added Linux display of UNIX socket endpoint information with
+code provided by Masatake YAMATO .  Peter
+Schiffer  provided a test system.
+  * Insured that type definitions from  were again made
+visible to lsof on FreeBSD 11 after a system header file change
+hid them.
+- use spec-cleaner to clean specfile
+
+---

Old:

  lsof_4.88_src_repacked.tar.xz

New:

  lsof_4.89_src_repacked.tar.xz



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.sbFasH/_old  2016-05-08 10:40:16.0 +0200
+++ /var/tmp/diff_new_pack.sbFasH/_new  2016-05-08 10:40:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lsof
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,22 @@
 
 
 Name:   lsof
-Version:4.88
+Version:4.89
 Release:0
-Group:  System/Monitoring
+Summary:A Program That Lists Information about Files Opened by 
Processes
 License:Zlib
+Group:  System/Monitoring
 Url:http://people.freebsd.org/~abe/
-Summary:A Program That Lists Information about Files Opened by 
Processes
 # Always repack the source to remove legally problematic files - bnc#705143
 # dialects/uw/uw7/sys/fs/{fifonode.h,namenode.h,README}
 Source: %{name}_%{version}_src_repacked.tar.xz
-Patch0: %{name}_4.81-include.patch
-Patch1: %{name}_4.81-fmt.patch
+Patch0: lsof_4.81-include.patch
+Patch1: lsof_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch
-Patch3: %{name}_4.81-perl.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Patch3: lsof_4.81-perl.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  xz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Lsof lists information about files opened by processes. An open file
@@ -51,28 +51,28 @@
 
 %build
 ./Configure -n linux
-make %{?_smp_mflags} DEBUG="$RPM_OPT_FLAGS -Wall -Wno-unused"
+make %{?_smp_mflags} DEBUG="%{optflags} -Wall -Wno-unused"
 cd tests
 chmod u+w TestDB
 ./Add2TestDB
-make DEBUG="$RPM_OPT_FLAGS -Wall -Wno-unused"
+make %{?_smp_mflags} DEBUG="%{optflags} -Wall -Wno-unused"
 
 %install
-install -m755 -d $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_mandir}/man8
-install -m755 lsof $RPM_BUILD_ROOT%{_bindir}
-install -m644 lsof.8 $RPM_BUILD_ROOT%{_mandir}/man8
-mkdir SuSE_docs
+install -m755 -d %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man8
+install -m755 lsof %{buildroot}%{_bindir}
+install -m644 lsof.8 %{buildroot}%{_mandir}/man8
+mkdir SUSE_docs
 for s in 00* ; do
-   mv $s SuSE_docs/${s#00}
+   mv $s SUSE_docs/${s#00}
 done 
-%__sed -i -e "s|/usr/local/bin/perl|/usr/bin/perl|g" scripts/*
+sed -i -e "s|%{_prefix}/local/bin/perl|%{_bindir}/perl|g" scripts/*
 mv scripts/00MANIFEST scripts/MANIFEST
 mv scripts/00README scripts/README
 
 %files
 %defattr(-, root, root)
-%doc SuSE_docs/* scripts
-%doc %{_mandir}/man

commit lsof for openSUSE:Factory

2015-03-03 Thread h_root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2015-03-03 11:14:09

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof"

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2012-03-28 
00:01:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2015-03-03 
11:14:11.0 +0100
@@ -1,0 +2,30 @@
+Sun Mar  1 12:15:34 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 4.88
+  * Reduced to 50 the number of open file descriptors lsof attempts
+to close while trying to protect itself from a file descriptor 
+exec() attack.  This limits the overhead lsof incurs on systems
+that have large file descriptor limits, yet provides sufficient
+open descriptors for the library functions lsof calls.
+  * Updated for changes in FreeBSD 10.  Taught Configure to recognize
+FreeBSD 8.4.
+  * lsof for Solaris 10 or 11 is no longer supported.
+  * Initialized local variables in the Linux process_id() function.
+  * Added support for FreeBSD 11.
+  * Updated FreeBSD ZFS Configure stanza to supply a dummy opt_kdtrace.h
+when needed.
+  * Added tmpfs file system support for FreeBSD.
+  * Since a test system is no longer available, dropped the claim of 
+FreeBSD 4.9 support.
+  * Added the +|-E options for Linux.  -E displays endpoint info; +E 
+displays endpoint info and endpopint files.
+  * Fixed a Linux bug handling processes whose command includes a 
+non-printing character, particularly a NEWLINE character, and
+clarified printing of single '\\' characters in command and file names.
+  * Added support for Linux RDMA and CRYPTO protocal names and UNIX 
+socket type
+  * Fixed field output to insure that the field descriptor field is
+always selected, since it identifies the file set.
+- Spec file cleanup
+
+---

Old:

  lsof_4.84_src_repacked.tar.bz2

New:

  lsof_4.88_src_repacked.tar.xz



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.GQQq6m/_old  2015-03-03 11:14:12.0 +0100
+++ /var/tmp/diff_new_pack.GQQq6m/_new  2015-03-03 11:14:12.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lsof
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,28 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   lsof
-Version:4.84
-Release:10
-AutoReqProv:on
+Version:4.88
+Release:0
 Group:  System/Monitoring
 License:Zlib
 Url:http://people.freebsd.org/~abe/
 Summary:A Program That Lists Information about Files Opened by 
Processes
 # Always repack the source to remove legally problematic files - bnc#705143
 # dialects/uw/uw7/sys/fs/{fifonode.h,namenode.h,README}
-Source: %{name}_%{version}_src_repacked.tar.bz2
+Source: %{name}_%{version}_src_repacked.tar.xz
 Patch0: %{name}_4.81-include.patch
 Patch1: %{name}_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch
 Patch3: %{name}_4.81-perl.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?sles_version} < 10 || 0%{?sles_version} > 10
 BuildRequires:  libselinux-devel
-%endif
+BuildRequires:  xz
 
 %description
 Lsof lists information about files opened by processes. An open file
@@ -46,12 +42,6 @@
 specific  file or all the files in a file system may be selected by
 path.
 
-
-
-Authors:
-
-Victor A. Abell 
-
 %prep
 %setup -q -n %{name}_%{version}_src
 %patch0
@@ -79,9 +69,6 @@
 mv scripts/00MANIFEST scripts/MANIFEST
 mv scripts/00README scripts/README
 
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
 %files
 %defattr(-, root, root)
 %doc SuSE_docs/* scripts

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lsof for openSUSE:Factory

2012-03-27 Thread h_root
Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2012-03-28 00:01:13

Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and  /work/SRC/openSUSE:Factory/.lsof.new (New)


Package is "lsof", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/lsof/lsof.changes2011-09-23 
02:12:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2012-03-28 
00:01:26.0 +0200
@@ -1,0 +2,6 @@
+Mon Mar 26 14:59:31 UTC 2012 - cfarr...@suse.com
+
+- license update: Zlib
+  lsof license is most similar to Zlib (also use SPDX format)
+
+---



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.HNK4Ny/_old  2012-03-28 00:01:27.0 +0200
+++ /var/tmp/diff_new_pack.HNK4Ny/_new  2012-03-28 00:01:27.0 +0200
@@ -23,7 +23,7 @@
 Release:10
 AutoReqProv:on
 Group:  System/Monitoring
-License:BSD3c ; Other uncritical OpenSource License
+License:Zlib
 Url:http://people.freebsd.org/~abe/
 Summary:A Program That Lists Information about Files Opened by 
Processes
 # Always repack the source to remove legally problematic files - bnc#705143

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lsof for openSUSE:Factory

2011-08-17 Thread h_root

Hello community,

here is the log from the commit of package lsof for openSUSE:Factory
checked in at Wed Aug 17 09:25:44 CEST 2011.




--- lsof/lsof.changes   2011-06-27 16:17:32.0 +0200
+++ /mounts/work_src_done/STABLE/lsof/lsof.changes  2011-08-16 
15:58:25.0 +0200
@@ -1,0 +2,6 @@
+Tue Aug 16 13:52:59 UTC 2011 - pu...@novell.com
+
+- repack the tarball to remove legally problematic files
+  (bnc#705143)
+
+---

calling whatdependson for head-i586


Old:

  lsof_4.84_src.tar.bz2

New:

  lsof_4.84_src_repacked.tar.bz2



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.uKvlJE/_old  2011-08-17 09:04:31.0 +0200
+++ /var/tmp/diff_new_pack.uKvlJE/_new  2011-08-17 09:04:31.0 +0200
@@ -20,13 +20,15 @@
 
 Name:   lsof
 Version:4.84
-Release:8
+Release:10
 AutoReqProv:on
 Group:  System/Monitoring
 License:BSD3c ; Other uncritical OpenSource License
 Url:http://people.freebsd.org/~abe/
 Summary:A Program That Lists Information about Files Opened by 
Processes
-Source: %{name}_%{version}_src.tar.bz2
+# Always repack the source to remove legally problematic files - bnc#705143
+# dialects/uw/uw7/sys/fs/{fifonode.h,namenode.h,README}
+Source: %{name}_%{version}_src_repacked.tar.bz2
 Patch0: %{name}_4.81-include.patch
 Patch1: %{name}_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lsof for openSUSE:Factory

2011-07-12 Thread h_root

Hello community,

here is the log from the commit of package lsof for openSUSE:Factory
checked in at Tue Jul 12 13:55:30 CEST 2011.




--- lsof/lsof.changes   2011-01-12 11:52:57.0 +0100
+++ lsof/lsof.changes   2011-06-27 16:17:32.0 +0200
@@ -1,0 +2,10 @@
+Mon Jun 27 16:17:12 CEST 2011 - r...@suse.de
+
+- change perl reference to /usr/bin/perl which actually exists 
+
+---
+Thu Jun  9 11:22:04 UTC 2011 - k...@opensuse.org
+
+- perl4 refference causes missing perl4 dependency
+
+---

calling whatdependson for head-i586


New:

  lsof_4.81-perl.patch



Other differences:
--
++ lsof.spec ++
--- /var/tmp/diff_new_pack.tB42G6/_old  2011-07-12 13:54:52.0 +0200
+++ /var/tmp/diff_new_pack.tB42G6/_new  2011-07-12 13:54:52.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   lsof
 Version:4.84
-Release:3
+Release:8
 AutoReqProv:on
 Group:  System/Monitoring
 License:BSD3c ; Other uncritical OpenSource License
@@ -30,6 +30,7 @@
 Patch0: %{name}_4.81-include.patch
 Patch1: %{name}_4.81-fmt.patch
 Patch2: lsof-no-build-date-etc.patch
+Patch3: %{name}_4.81-perl.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?sles_version} < 10 || 0%{?sles_version} > 10
 BuildRequires:  libselinux-devel
@@ -54,6 +55,7 @@
 %patch0
 %patch1
 %patch2
+%patch3
 
 %build
 ./Configure -n linux
@@ -83,4 +85,5 @@
 %doc SuSE_docs/* scripts
 %doc %{_mandir}/man8/lsof.8%{ext_man}
 %{_bindir}/lsof
+
 %changelog

++ lsof_4.81-perl.patch ++
--- scripts/list_fields.perl.orig   2011-06-09 13:19:05.0 +0200
+++ scripts/list_fields.perl2011-06-09 13:19:17.0 +0200
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl4
+#!/usr/bin/perl
 #
 # $Id: list_fields.perl,v 1.5 2000/07/14 17:03:37 abe Exp $
 #





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org