Here is an update to libnfs 5.0.2.
Changes since 5.0.1 Various small multithreading fixes Add opaque pointer to service_proc to make it easier to build server apps. BSD compile fix OpenBSD support fix double free in nfs3_pread_mcb() Index: Makefile =================================================================== RCS file: /home/cvs/ports/devel/libnfs/Makefile,v retrieving revision 1.8 diff -u -p -u -p -r1.8 Makefile --- Makefile 11 Mar 2022 18:50:37 -0000 1.8 +++ Makefile 9 Oct 2022 00:25:57 -0000 @@ -1,10 +1,10 @@ COMMENT= client library for accessing NFS -DISTNAME= libnfs-5.0.1 +DISTNAME= libnfs-5.0.2 CATEGORIES= devel net MASTER_SITES= https://github.com/sahlberg/libnfs/archive/ -SHARED_LIBS= nfs 2.1 +SHARED_LIBS= nfs 2.2 HOMEPAGE= https://github.com/sahlberg/libnfs Index: distinfo =================================================================== RCS file: /home/cvs/ports/devel/libnfs/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo 13 Feb 2022 20:04:03 -0000 1.4 +++ distinfo 9 Oct 2022 00:16:08 -0000 @@ -1,2 +1,2 @@ -SHA256 (libnfs-5.0.1.tar.gz) = fvRFQQtC82ubrUJmCLU8y5zMpBAeVFw4P1ZMEdtnLKg= -SIZE (libnfs-5.0.1.tar.gz) = 279550 +SHA256 (libnfs-5.0.2.tar.gz) = Y35WZDsZ2p+6mPBoR3iMTa0wi3IxVqZHSAQQNdzfm9M= +SIZE (libnfs-5.0.2.tar.gz) = 281154 Index: patches/patch-include_nfsc_libnfs_h =================================================================== RCS file: patches/patch-include_nfsc_libnfs_h diff -N patches/patch-include_nfsc_libnfs_h --- patches/patch-include_nfsc_libnfs_h 11 Mar 2022 18:50:37 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -Index: include/nfsc/libnfs.h ---- include/nfsc/libnfs.h.orig -+++ include/nfsc/libnfs.h -@@ -38,6 +38,9 @@ - #ifdef __cplusplus - extern "C" { - #endif -+#if defined(__OpenBSD__) -+#include <sys/time.h> /* gettimeofday */ -+#endif - - #define LIBNFS_FEATURE_READAHEAD - #define LIBNFS_FEATURE_PAGECACHE Index: patches/patch-lib_socket_c =================================================================== RCS file: patches/patch-lib_socket_c diff -N patches/patch-lib_socket_c --- patches/patch-lib_socket_c 11 Mar 2022 18:50:37 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -Index: lib/socket.c ---- lib/socket.c.orig -+++ lib/socket.c -@@ -166,7 +166,7 @@ set_tcp_sockopt(int sockfd, int optname, int value) - { - int level; - -- #if defined(__FreeBSD__) || defined(__sun) || (defined(__APPLE__) && defined(__MACH__)) -+ #ifndef SOL_TCP - struct protoent *buf; - - if ((buf = getprotobyname("tcp")) != NULL)
