mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
update to libsmb2-6.2.0, from Brad (maintainer)
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
COMMENT= userspace client library for accessing SMB2/SMB3 shares
|
||||
|
||||
DISTNAME= libsmb2-6.2.0
|
||||
GH_ACCOUNT= sahlberg
|
||||
GH_PROJECT= libsmb2
|
||||
GH_TAGNAME= v4.0.0
|
||||
GH_COMMIT= 572e2f6c2db38d8267d6459861b31b71c3c7b178
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
SHARED_LIBS= smb2 1.0
|
||||
SHARED_LIBS= smb2 2.0
|
||||
|
||||
MAINTAINER= Brad Smith <brad@comstyle.com>
|
||||
|
||||
@@ -15,6 +16,9 @@ PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES= devel/cmake
|
||||
|
||||
CONFIGURE_ARGS+=-DENABLE_GSSAPI=OFF \
|
||||
-DENABLE_LIBKRB5=OFF
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (libsmb2-4.0.0.tar.gz) = tNGxO8B63Gg3mnL3I7kDKpUK/WL+1/KqPlfzQhQG2hE=
|
||||
SIZE (libsmb2-4.0.0.tar.gz) = 171678
|
||||
SHA256 (libsmb2-6.2.0-572e2f6c.tar.gz) = Vj5r4V2RUKMeCLUiIl06riYio6rcIFFfBa1wlyq4jg8=
|
||||
SIZE (libsmb2-6.2.0-572e2f6c.tar.gz) = 273147
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
Fix netinet/tcp.h header check to include prerequisite headers.
|
||||
|
||||
Index: cmake/ConfigureChecks.cmake
|
||||
--- cmake/ConfigureChecks.cmake.orig
|
||||
+++ cmake/ConfigureChecks.cmake
|
||||
@@ -1,4 +1,5 @@
|
||||
include(CheckIncludeFile)
|
||||
+include(CheckIncludeFiles)
|
||||
check_include_file("arpa/inet.h" HAVE_ARPA_INET_H)
|
||||
check_include_file("dlfcn.h" HAVE_DLFCN_H)
|
||||
check_include_file("gssapi/gssapi.h" HAVE_GSSAPI_GSSAPI_H)
|
||||
@@ -6,7 +7,7 @@ check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
||||
check_include_file("memory.h" HAVE_MEMORY_H)
|
||||
check_include_file("netdb.h" HAVE_NETDB_H)
|
||||
check_include_file("netinet/in.h" HAVE_NETINET_IN_H)
|
||||
-check_include_file("netinet/tcp.h" HAVE_NETINET_TCP_H)
|
||||
+check_include_files("sys/types.h;netinet/tcp.h" HAVE_NETINET_TCP_H)
|
||||
check_include_file("net/if.h" HAVE_NET_IF_H)
|
||||
check_include_file("poll.h" HAVE_POLL_H)
|
||||
check_include_file("stdint.h" HAVE_STDINT_H)
|
||||
@@ -1,12 +0,0 @@
|
||||
Index: lib/errors.c
|
||||
--- lib/errors.c.orig
|
||||
+++ lib/errors.c
|
||||
@@ -1108,7 +1108,7 @@ int nterror_to_errno(uint32_t status) {
|
||||
case SMB2_STATUS_FILE_DELETED:
|
||||
return EPERM;
|
||||
case SMB2_STATUS_NO_MORE_FILES:
|
||||
- return ENODATA;
|
||||
+ return ENOATTR;
|
||||
case SMB2_STATUS_LOGON_FAILURE:
|
||||
return ECONNREFUSED;
|
||||
case SMB2_STATUS_NOT_A_DIRECTORY:
|
||||
Reference in New Issue
Block a user