Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2018 22:50:41 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483949 - in head/net-mgmt/seafile-client: . files
Message-ID:  <201811032250.wA3MofSv058144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov  3 22:50:40 2018
New Revision: 483949
URL: https://svnweb.freebsd.org/changeset/ports/483949

Log:
  Fix build with curl 7.62.0
  
  - While I'm here, add USES=gnome

Modified:
  head/net-mgmt/seafile-client/Makefile
  head/net-mgmt/seafile-client/files/patch-daemon_http-tx-mgr.c

Modified: head/net-mgmt/seafile-client/Makefile
==============================================================================
--- head/net-mgmt/seafile-client/Makefile	Sat Nov  3 22:50:32 2018	(r483948)
+++ head/net-mgmt/seafile-client/Makefile	Sat Nov  3 22:50:40 2018	(r483949)
@@ -23,7 +23,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:database
 		${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \
 		bash:shells/bash
 
-USES=		autoreconf iconv libarchive libtool localbase mysql \
+USES=		autoreconf gnome iconv libarchive libtool localbase mysql \
 		pathfix pkgconfig python:-2.7 shebangfix sqlite ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	haiwen

Modified: head/net-mgmt/seafile-client/files/patch-daemon_http-tx-mgr.c
==============================================================================
--- head/net-mgmt/seafile-client/files/patch-daemon_http-tx-mgr.c	Sat Nov  3 22:50:32 2018	(r483948)
+++ head/net-mgmt/seafile-client/files/patch-daemon_http-tx-mgr.c	Sat Nov  3 22:50:40 2018	(r483949)
@@ -1,7 +1,7 @@
---- daemon/http-tx-mgr.c.orig	2015-09-21 03:42:11 UTC
+--- daemon/http-tx-mgr.c.orig	2018-02-02 05:55:07 UTC
 +++ daemon/http-tx-mgr.c
-@@ -58,6 +58,22 @@
- #define USER_AGENT_OS "Linux"
+@@ -68,6 +68,22 @@
+ #define USER_AGENT_OS "BSD"
  #endif
  
 +#ifdef __FreeBSD__
@@ -23,3 +23,13 @@
  struct _Connection {
      CURL *curl;
      gint64 ctime;               /* Used to clean up unused connection. */
+@@ -1091,7 +1107,9 @@ curl_error_to_http_task_error (int curl_
+     case CURLE_SSL_CONNECT_ERROR:
+     case CURLE_PEER_FAILED_VERIFICATION:
+     case CURLE_SSL_CERTPROBLEM:
++#if LIBCURL_VERSION_NUM < 0x073e00
+     case CURLE_SSL_CACERT:
++#endif
+     case CURLE_SSL_CACERT_BADFILE:
+     case CURLE_SSL_ISSUER_ERROR:
+         return HTTP_TASK_ERR_SSL;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811032250.wA3MofSv058144>