From owner-svn-ports-head@freebsd.org Sat Nov 3 22:50:42 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A88A10EB537; Sat, 3 Nov 2018 22:50:42 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AD576F65B; Sat, 3 Nov 2018 22:50:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7C8641FFF9; Sat, 3 Nov 2018 22:50:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA3MofGD058145; Sat, 3 Nov 2018 22:50:41 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA3MofSv058144; Sat, 3 Nov 2018 22:50:41 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201811032250.wA3MofSv058144@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 3 Nov 2018 22:50:41 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/net-mgmt/seafile-client: . files X-SVN-Commit-Revision: 483949 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9AD576F65B X-Spamd-Result: default: False [-0.11 / 200.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2018 22:50:42 -0000 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;