- 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
OBS-URL: https://build.opensuse.org/request/show/647393
OBS-URL: https://build.opensuse.org/package/show/network/libnfs?expand=0&rev=15
- 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.
OBS-URL: https://build.opensuse.org/request/show/534508
OBS-URL: https://build.opensuse.org/package/show/network/libnfs?expand=0&rev=13