Update to libnfs-2.0.0.

from Brad (maintainer)
This commit is contained in:
ajacoutot 2018-09-30 10:58:44 +00:00
parent de82d6b432
commit 1ab17e390c
5 changed files with 21 additions and 19 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.3 2016/09/10 13:03:41 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.4 2018/09/30 10:58:44 ajacoutot Exp $
COMMENT= client library for accessing NFS
DISTNAME= libnfs-1.9.8
DISTNAME= libnfs-2.0.0
CATEGORIES= devel net
MASTER_SITES= https://sites.google.com/site/libnfstarballs/li/
REVISION= 0
SHARED_LIBS= nfs 0.0
SHARED_LIBS= nfs 1.0
HOMEPAGE= https://github.com/sahlberg/libnfs

View File

@ -1,2 +1,2 @@
SHA256 (libnfs-1.9.8.tar.gz) = TUA/5a3B8Ndfos0mCpB4NGF/K6gf1G9DixbgoPyL/4E=
SIZE (libnfs-1.9.8.tar.gz) = 505429
SHA256 (libnfs-2.0.0.tar.gz) = bq64VVm7PjeChGiPBvxWsBjTJKX8afP1JZ0kWTrRE88=
SIZE (libnfs-2.0.0.tar.gz) = 933389

View File

@ -1,13 +1,14 @@
$OpenBSD: patch-include_nfsc_libnfs_h,v 1.1 2016/09/10 13:03:41 ajacoutot Exp $
--- include/nfsc/libnfs.h.orig Sat Sep 10 10:44:50 2016
+++ include/nfsc/libnfs.h Sat Sep 10 10:45:59 2016
@@ -31,6 +31,9 @@
#if defined(__APPLE__) && defined(__MACH__)
#include <sys/time.h>
$OpenBSD: patch-include_nfsc_libnfs_h,v 1.2 2018/09/30 10:58:44 ajacoutot Exp $
Index: include/nfsc/libnfs.h
--- include/nfsc/libnfs.h.orig
+++ include/nfsc/libnfs.h
@@ -32,6 +32,9 @@
#ifdef __cplusplus
extern "C" {
#endif
+#if defined(__OpenBSD__)
+#include <sys/time.h> /* gettimeofday */
+#endif
#ifdef __cplusplus
extern "C" {
#define LIBNFS_FEATURE_READAHEAD
#define LIBNFS_FEATURE_PAGECACHE

View File

@ -1,7 +1,8 @@
$OpenBSD: patch-lib_socket_c,v 1.1.1.1 2015/08/25 06:40:04 ajacoutot Exp $
--- lib/socket.c.orig Thu Aug 20 14:55:57 2015
+++ lib/socket.c Thu Aug 20 14:56:17 2015
@@ -113,7 +113,7 @@ static int set_tcp_sockopt(int sockfd, int optname, in
$OpenBSD: patch-lib_socket_c,v 1.2 2018/09/30 10:58:44 ajacoutot Exp $
Index: lib/socket.c
--- lib/socket.c.orig
+++ lib/socket.c
@@ -140,7 +140,7 @@ static int set_tcp_sockopt(int sockfd, int optname, in
{
int level;

View File

@ -1,10 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/08/25 06:40:04 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.2 2018/09/30 10:58:44 ajacoutot Exp $
@bin bin/nfs-cat
@bin bin/nfs-cp
@bin bin/nfs-ls
include/nfsc/
include/nfsc/libnfs-raw-mount.h
include/nfsc/libnfs-raw-nfs.h
include/nfsc/libnfs-raw-nfs4.h
include/nfsc/libnfs-raw-nlm.h
include/nfsc/libnfs-raw-nsm.h
include/nfsc/libnfs-raw-portmap.h