commit libnfs for openSUSE:Factory

2019-07-31 Thread root
Hello community,

here is the log from the commit of package libnfs for openSUSE:Factory checked 
in at 2019-07-31 14:12:06

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


Package is "libnfs"

Wed Jul 31 14:12:06 2019 rev:7 rq:718320 version:4.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libnfs/libnfs.changes2018-11-26 
10:11:59.806316784 +0100
+++ /work/SRC/openSUSE:Factory/.libnfs.new.4126/libnfs.changes  2019-07-31 
14:12:07.550950528 +0200
@@ -1,0 +2,20 @@
+Wed Jul 24 15:18:59 UTC 2019 - Bjørn Lie 
+
+- Update to version 4.0.0:
+  + Fix the versioning in makerpms.sh.
+  + Fix some compile issues in the test programs.
+  + NFSv3: skip commit on close if the file has not been written
+to.
+  + Add nfs_umount() to NFSv3.
+  + Add nfs_statvfs64().
+  + Fix invalid shift of pid_t when generating rpc->xid.
+  + Compile fixes for Mac OSX.
+  + Fix for dup2() on Windows.
+  + NFSv4 fix for directory handling.
+  + Improvements to configure/building.
+- Bump sover to 13 following upstream.
+- Use modern macros.
+- Pass explicit --enable-utils to configure, ensure we build the
+  utils.
+
+---

Old:

  libnfs-3.0.0.tar.gz

New:

  libnfs-4.0.0.tar.gz



Other differences:
--
++ libnfs.spec ++
--- /var/tmp/diff_new_pack.Hcx3EH/_old  2019-07-31 14:12:07.974950381 +0200
+++ /var/tmp/diff_new_pack.Hcx3EH/_new  2019-07-31 14:12:07.974950381 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libnfs
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 Bjørn Lie, Bryne, Norway.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,15 +17,17 @@
 #
 
 
-%define sover   12
+%define sover   13
+
 Name:   libnfs
-Version:3.0.0
+Version:4.0.0
 Release:0
 Summary:Client library for accessing NFS shares over a network
 License:LGPL-2.1-or-later AND BSD-2-Clause AND GPL-3.0-or-later
 Group:  Productivity/Networking/NFS
 URL:https://github.com/sahlberg/libnfs
-Source0:
https://github.com/sahlberg/libnfs/archive/libnfs-%{version}.tar.gz
+Source0:%{url}/archive/libnfs-%{version}.tar.gz
+
 BuildRequires:  autoconf
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -69,14 +71,16 @@
 accessing NFS servers using libnfs.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%autosetup -p1 -n %{name}-%{name}-%{version}
 
 %build
 autoreconf -fiv
 %configure \
--disable-static \
-   --disable-examples
-make %{?_smp_mflags}
+   --disable-examples \
+   --enable-utils \
+   %{nil}
+%make_build
 
 %install
 %make_install

++ libnfs-3.0.0.tar.gz -> libnfs-4.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnfs-libnfs-3.0.0/CHANGELOG 
new/libnfs-libnfs-4.0.0/CHANGELOG
--- old/libnfs-libnfs-3.0.0/CHANGELOG   2018-06-24 00:53:52.0 +0200
+++ new/libnfs-libnfs-4.0.0/CHANGELOG   2019-02-12 22:38:04.0 +0100
@@ -1,3 +1,16 @@
+Changes since 3.0.0
+
+Fix the versioning in makerpms.sh
+Fix some compile issues in the test programs.
+NFSv3: skip commit on close if the file has not been written to.
+Add nfs_umount() to NFSv3
+Add nfs_statvfs64()
+Fix invalid shift of pid_t when generating rpc->xid
+Compile fixes for Mac OSX
+Fix for dup2() on Windows
+NFSv4 fix for directory handling
+Improvements to configure/bulding
+
 Changes since 2.0.0
 
 NFSv4 support.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libnfs-libnfs-3.0.0/README 
new/libnfs-libnfs-4.0.0/README
--- old/libnfs-libnfs-3.0.0/README  2018-06-24 00:53:52.0 +0200
+++ new/libnfs-libnfs-4.0.0/README  2019-02-12 22:38:04.0 +0100
@@ -25,9 +25,9 @@
 
 NFSv4:
 ==
-NFSv4 is supported but only for the RAW ASYNC interface.
-Examples/nfsv4-cat.c is a "simple" example to illustrate how to use
-NFSv4 to connect to a server and read a file off the server.
+NFSv3 is the default but NFSv4 can be selected either by using the URL argument
+version=4 or programatically calling nfs_set_version(nfs, NFS_V4) before
+connecting to the server/share.
 
 SERVER SUPPORT:
 ===
@@ -67,8 +67,6 @@
  to the application.
  if=: Interface name (e.g., eth1) to bind; requires `root`
  version=<3|4> : NFS Version. Default is 3.
- This is just a placeholder for now. NFSv4 support is not
-yet functional.
  nfsport=: Use this port for NFS instead of using the portmapper.
  

commit libnfs for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package libnfs for openSUSE:Factory checked 
in at 2018-11-26 10:11:57

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


Package is "libnfs"

Mon Nov 26 10:11:57 2018 rev:6 rq:648217 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libnfs/libnfs.changes2017-10-23 
16:39:59.398036226 +0200
+++ /work/SRC/openSUSE:Factory/.libnfs.new.19453/libnfs.changes 2018-11-26 
10:11:59.806316784 +0100
@@ -1,0 +2,21 @@
+Thu Nov  8 16:42:28 UTC 2018 - Luigi Baldoni 
+
+- Update to version 3.0.0
+  * NFSv4 support.
+  * lockf() support (NFSv4 only).
+  * fcntl() support for locking (NFSv4 only).
+  * Add CMake support.
+  * URL arguments to select NFS version.
+  * URL argument to set nfsport. This allows NFSv4 to work for
+servers without portmapper support.
+  * URL argument to set he mount port.
+  * NFSv4: use getpwnam to map NFSv4 (Ganesha) when passing
+uid/gid as a user/group name insead of as a uid/gid.
+  * Added nfs-fh: a simle utility to print the filehandle for a
+nfs file.
+  * Add a new open2() function that takes a mode argument.
+  * Add a testsuite for libnfs.
+
+- Spec cleanup
+
+---

Old:

  libnfs-2.0.0.tar.gz

New:

  libnfs-3.0.0.tar.gz



Other differences:
--
++ libnfs.spec ++
--- /var/tmp/diff_new_pack.pluUtR/_old  2018-11-26 10:12:00.650315794 +0100
+++ /var/tmp/diff_new_pack.pluUtR/_new  2018-11-26 10:12:00.654315789 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libnfs
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 Bjørn Lie, Bryne, Norway.
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,22 +13,22 @@
 # 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/
 #
 
 
-%define soname 11
-
+%define sover   12
 Name:   libnfs
-Version:2.0.0
+Version:3.0.0
 Release:0
 Summary:Client library for accessing NFS shares over a network
-License:LGPL-2.1+ and BSD-2-Clause and GPL-3.0+
+License:LGPL-2.1-or-later AND BSD-2-Clause AND GPL-3.0-or-later
 Group:  Productivity/Networking/NFS
-Url:https://github.com/sahlberg/libnfs
-Source0:
https://sites.google.com/site/libnfstarballs/li/libnfs-%{version}.tar.gz
+URL:https://github.com/sahlberg/libnfs
+Source0:
https://github.com/sahlberg/libnfs/archive/libnfs-%{version}.tar.gz
+BuildRequires:  autoconf
+BuildRequires:  libtool
 BuildRequires:  pkgconfig
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Package contains a library of functions for accessing NFSv2 and
@@ -37,11 +37,11 @@
 asynchronous library with POSIX-like VFS functions, and a
 synchronous library with POSIX-like VFS functions.
 
-%package -n libnfs%{soname}
+%package -n libnfs%{sover}
 Summary:Client library for accessing NFS shares over a network
 Group:  Productivity/Networking/NFS
 
-%description -n libnfs%{soname}
+%description -n libnfs%{sover}
 Package contains a library of functions for accessing NFSv2 and
 NFSv3 servers from user space. It provides a low-level,
 asynchronous RPC library for accessing NFS protocols, an
@@ -50,8 +50,8 @@
 
 %package devel
 Summary:Development files for libnfs
-Group:  Development/Productivity/Networking/NFS
-Requires:   libnfs%{soname} = %{version}-%{release}
+Group:  Development/Languages/C and C++
+Requires:   libnfs%{sover} = %{version}-%{release}
 
 %description devel
 The libnfs-devel package contains libraries and header files for
@@ -69,35 +69,33 @@
 accessing NFS servers using libnfs.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
 
 %build
+autoreconf -fiv
 %configure \
--disable-static \
--disable-examples
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot} %{?_smp_mflags}
-find  %{buildroot}%{_libdir} -name '*.la' -delete -print
-
-%post -n libnfs%{soname} -p /sbin/ldconfig
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
-%postun -n libnfs%{soname} -p /sbin/ldconfig
+%post -n libnfs%{sover} -p /sbin/ldconfig
+%postun -n libnfs%{sover} -p /sbin/ldconfig
 
-%files -n libnfs%{soname}
-%defattr(-,root,root)
-%doc README COPYING LICENCE-LGPL-2.1.txt LICENCE-BSD.txt LICENCE-GPL-3.txt
+%files -n libnfs%{sover}
+%license COPYING 

commit libnfs for openSUSE:Factory

2017-10-23 Thread root
Hello community,

here is the log from the commit of package libnfs for openSUSE:Factory checked 
in at 2017-10-23 16:39:58

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


Package is "libnfs"

Mon Oct 23 16:39:58 2017 rev:5 rq:534531 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libnfs/libnfs.changes2017-03-15 
01:59:42.681284100 +0100
+++ /work/SRC/openSUSE:Factory/.libnfs.new/libnfs.changes   2017-10-23 
16:39:59.398036226 +0200
@@ -1,0 +2,34 @@
+Tue Oct 17 15:12:58 UTC 2017 - zai...@opensuse.org
+
+- Update to version 2.0.0:
+  + Bug fixes:
+- Fix NULL pointer crash in nfs_link().
+- Clamp read/write size for servers (Ganesha) that offer very
+  large io sizes instead of failing to connect to the export.
+- Tell the server to commit all data to stable storage when we
+  close files.
+- Double free fix: don't call rpc_free_pdu() after
+  rpc_queue_pdu() failure.
+- Fix for memory leak in rpc_allocate_*().
+- Abort the mount process correctly if MOUNT/MNT returns error
+  or is cancelled.
+- Fix memory leak in error path in nfs_create_2_cb().
+- Fix leak of rpc->inbuf if we destroy the context while we
+  have still PDUs in flight.
+  + New features:
+- Add O_NOFOLLOW support for nfs_open().
+- Add a new mkdir2 command that also takes a mode argument.
+- Add a new readlink2 command that avoids having to preallocate
+  the buffer.
+- Add support for RPC timeouts for both the sync and async
+  interfaces.
+- Use SOCK_CLOEXEC for the sockets.
+- Make rpc_set{g|u}id() public.
+- Performance optimization: socket: Batch pdu read in
+  rpc_read_from_socket.
+- Low level support for NFSv4 some and examples.
+- Support for building RPC servers.
+- Bump soname to 11 following upstream changes.
+- Stop passing disable-werror to configure, no longer needed.
+
+---

Old:

  libnfs-1.11.0.tar.gz

New:

  libnfs-2.0.0.tar.gz



Other differences:
--
++ libnfs.spec ++
--- /var/tmp/diff_new_pack.kvWV88/_old  2017-10-23 16:39:59.994008335 +0200
+++ /var/tmp/diff_new_pack.kvWV88/_new  2017-10-23 16:39:59.998008148 +0200
@@ -17,10 +17,10 @@
 #
 
 
-%define soname 8
+%define soname 11
 
 Name:   libnfs
-Version:1.11.0
+Version:2.0.0
 Release:0
 Summary:Client library for accessing NFS shares over a network
 License:LGPL-2.1+ and BSD-2-Clause and GPL-3.0+
@@ -73,7 +73,6 @@
 
 %build
 %configure \
-   --disable-werror \
--disable-static \
--disable-examples
 make %{?_smp_mflags}

++ libnfs-1.11.0.tar.gz -> libnfs-2.0.0.tar.gz ++
 42105 lines of diff (skipped)




commit libnfs for openSUSE:Factory

2017-03-14 Thread root
Hello community,

here is the log from the commit of package libnfs for openSUSE:Factory checked 
in at 2017-03-15 01:04:25

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


Package is "libnfs"

Wed Mar 15 01:04:25 2017 rev:4 rq:478638 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/libnfs/libnfs.changes2016-08-10 
19:55:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.libnfs.new/libnfs.changes   2017-03-15 
01:59:42.681284100 +0100
@@ -1,0 +2,24 @@
+Fri Mar 10 22:22:17 UTC 2017 - zai...@opensuse.org
+
+- Update to version 1.11.0:
+  + Reduce the number of memory allocations in the ZDR layer.
+  + Check both seconds and nanoseconds field when validating dir
+cache.
+  + Invalidate the dir cache immediately if we do something that
+would cause it to become stale, such as adding/removing objects
+from the cache.
+  + Add options to enable/disable dir caching.
+  + Discard readahead cache on [p]write and truncate.
+  + Android fixes.
+  + Windows fixes.
+  + Support timeouts for sync functions.
+  + Add an internal pagecache.
+  + Add nfs_rewinddir(), nfs_seekdir() and nfs_telldir().
+  + Fix crash in nfs_truncate().
+  + Fix segfault that can trigger if we rpc_disconnect() during the
+mount.
+  + Add support to bind to a specific interface (linux only).
+- Pass --disable-werror to configure, needed after glibc 2.25
+  update.
+
+---

Old:

  libnfs-1.10.0.tar.gz

New:

  libnfs-1.11.0.tar.gz



Other differences:
--
++ libnfs.spec ++
--- /var/tmp/diff_new_pack.DRhj3n/_old  2017-03-15 01:59:43.169215118 +0100
+++ /var/tmp/diff_new_pack.DRhj3n/_new  2017-03-15 01:59:43.173214553 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libnfs
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 Bjørn Lie, Bryne, Norway.
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %define soname 8
 
 Name:   libnfs
-Version:1.10.0
+Version:1.11.0
 Release:0
 Summary:Client library for accessing NFS shares over a network
 License:LGPL-2.1+ and BSD-2-Clause and GPL-3.0+
@@ -59,8 +59,8 @@
 
 %package -n utils-libnfs
 Summary:Utilities for accessing NFS servers
-Group:  Productivity/Networking/NFS
 # Handle libnfs from packman, which contained both binaries and lib
+Group:  Productivity/Networking/NFS
 Provides:   libnfs = %{version}-%{release}
 Obsoletes:  libnfs < %{version}-%{release}
 
@@ -72,7 +72,10 @@
 %setup -q
 
 %build
-%configure --disable-static --disable-examples
+%configure \
+   --disable-werror \
+   --disable-static \
+   --disable-examples
 make %{?_smp_mflags}
 
 %install

++ libnfs-1.10.0.tar.gz -> libnfs-1.11.0.tar.gz ++
 7674 lines of diff (skipped)




commit libnfs for openSUSE:Factory

2016-08-10 Thread h_root
Hello community,

here is the log from the commit of package libnfs for openSUSE:Factory checked 
in at 2016-08-10 19:55:19

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


Package is "libnfs"

Changes:

--- /work/SRC/openSUSE:Factory/libnfs/libnfs.changes2016-08-03 
11:37:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.libnfs.new/libnfs.changes   2016-08-10 
19:55:21.0 +0200
@@ -1,0 +2,5 @@
+Sun Aug  7 16:23:00 UTC 2016 - o...@aepfle.de
+
+- Add also Release to really obsolete libnfs
+
+---



Other differences:
--
++ libnfs.spec ++
--- /var/tmp/diff_new_pack.C1NW78/_old  2016-08-10 19:55:23.0 +0200
+++ /var/tmp/diff_new_pack.C1NW78/_new  2016-08-10 19:55:23.0 +0200
@@ -61,8 +61,8 @@
 Summary:Utilities for accessing NFS servers
 Group:  Productivity/Networking/NFS
 # Handle libnfs from packman, which contained both binaries and lib
-Provides:   libnfs = %{version}
-Obsoletes:  libnfs < %{version}
+Provides:   libnfs = %{version}-%{release}
+Obsoletes:  libnfs < %{version}-%{release}
 
 %description -n utils-libnfs
 The utils-libnfs package contains simple client programs for




commit libnfs for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package libnfs for openSUSE:Factory checked 
in at 2016-08-03 11:37:54

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


Package is "libnfs"

Changes:

--- /work/SRC/openSUSE:Factory/libnfs/libnfs.changes2016-04-28 
17:00:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.libnfs.new/libnfs.changes   2016-08-03 
11:37:55.0 +0200
@@ -1,0 +2,5 @@
+Sat Jul 23 07:00:07 UTC 2016 - o...@aepfle.de
+
+- Obsolete libnfs from PMBS
+
+---



Other differences:
--
++ libnfs.spec ++
--- /var/tmp/diff_new_pack.NWw1Py/_old  2016-08-03 11:37:56.0 +0200
+++ /var/tmp/diff_new_pack.NWw1Py/_new  2016-08-03 11:37:56.0 +0200
@@ -16,15 +16,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define soname 8
 
 Name:   libnfs
 Version:1.10.0
 Release:0
-License:LGPL-2.1+ and BSD-2-Clause and GPL-3.0+
 Summary:Client library for accessing NFS shares over a network
-Url:https://github.com/sahlberg/libnfs
+License:LGPL-2.1+ and BSD-2-Clause and GPL-3.0+
 Group:  Productivity/Networking/NFS
+Url:https://github.com/sahlberg/libnfs
 Source0:
https://sites.google.com/site/libnfstarballs/li/libnfs-%{version}.tar.gz
 BuildRequires:  pkgconfig
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -59,6 +60,9 @@
 %package -n utils-libnfs
 Summary:Utilities for accessing NFS servers
 Group:  Productivity/Networking/NFS
+# Handle libnfs from packman, which contained both binaries and lib
+Provides:   libnfs = %{version}
+Obsoletes:  libnfs < %{version}
 
 %description -n utils-libnfs
 The utils-libnfs package contains simple client programs for