From owner-svn-ports-all@freebsd.org Wed Aug 21 12:56:18 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7759C8107; Wed, 21 Aug 2019 12:56:18 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46D72V429mz3R11; Wed, 21 Aug 2019 12:56:18 +0000 (UTC) (envelope-from pi@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 6BEB21BF6E; Wed, 21 Aug 2019 12:56:18 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7LCuI3S069177; Wed, 21 Aug 2019 12:56:18 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7LCuHHp069172; Wed, 21 Aug 2019 12:56:17 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201908211256.x7LCuHHp069172@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Wed, 21 Aug 2019 12:56:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509503 - in head/net/ceph12: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/net/ceph12: . files X-SVN-Commit-Revision: 509503 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2019 12:56:18 -0000 Author: pi Date: Wed Aug 21 12:56:17 2019 New Revision: 509503 URL: https://svnweb.freebsd.org/changeset/ports/509503 Log: net/ceph12: update 12.2.11 -> 12.2.12 PR: 240009 Submitted by: Willem Jan Withagen (maintainer) Relnotes: https://ceph.io/releases/v13-2-6-mimic-released/ Added: head/net/ceph12/files/patch-src_rgw_rgw_civetweb.cc (contents, props changed) Modified: head/net/ceph12/Makefile head/net/ceph12/distinfo head/net/ceph12/files/file-git_version head/net/ceph12/files/patch-src_rgw_rgw_sync_module_es.cc Modified: head/net/ceph12/Makefile ============================================================================== --- head/net/ceph12/Makefile Wed Aug 21 12:44:46 2019 (r509502) +++ head/net/ceph12/Makefile Wed Aug 21 12:56:17 2019 (r509503) @@ -3,8 +3,7 @@ PORTNAME= ceph DISTVERSIONPREFIX= v -DISTVERSION= 12.2.11 -PORTREVISION= 2 +DISTVERSION= 12.2.12 CATEGORIES= net PKGNAMESUFFIX= 12 @@ -51,10 +50,11 @@ USES= cmake:noninja fuse gettext-runtime gmake \ USE_PYTHON= cython USE_OPENLDAP= yes USE_GITHUB= yes +GH_ACCOUNT= ceph:DEFAULT GH_TUPLE+= ceph:ceph-erasure-code-corpus:2d7d78b:ceph_erasure_code_corpus/ceph-erasure-code-corpus -GH_TUPLE+= ceph:ceph-object-corpus:e32bf8c:ceph_object_corpus/ceph-object-corpus -GH_TUPLE+= ceph:civetweb:de23828:civetweb/src/civetweb +GH_TUPLE+= ceph:ceph-object-corpus:f0ba19f:ceph_object_corpus/ceph-object-corpus +GH_TUPLE+= ceph:civetweb:088b813:civetweb/src/civetweb GH_TUPLE+= 01org:isa-l_crypto:603529a:isa_l_crypto/src/crypto/isa-l/isa-l_crypto GH_TUPLE+= ceph:gf-complete:7e61b44:gf_complete/src/erasure-code/jerasure/gf-complete GH_TUPLE+= ceph:jerasure:96c76b8:jerasure/src/erasure-code/jerasure/jerasure @@ -62,7 +62,7 @@ GH_TUPLE+= ceph:googletest:fdb8504:googletest/src/goog GH_TUPLE+= ceph:isa-l:7e1a337:isa_l/src/isa-l GH_TUPLE+= ceph:lua:1fce39c:lua/src/lua GH_TUPLE+= ceph:rapidjson:f54b0e4:rapidjson/src/rapidjson -GH_TUPLE+= ceph:rocksdb:e15382c:rocksdb/src/rocksdb +GH_TUPLE+= ceph:rocksdb:b181f17:rocksdb/src/rocksdb GH_TUPLE+= ceph:xxHash:1f40c65:xxHash/src/xxHash GH_TUPLE+= facebook:zstd:f4340f4:zstd/src/zstd @@ -121,7 +121,7 @@ post-install: ${MKDIR} ${STAGEDIR}/var/log/ceph ${MKDIR} ${STAGEDIR}/var/run/ceph # Use the Ceph init.d script as the interface to regular - # starting and stopping daemons. rc.d work is done thru + # starting and stopping deamons. rc.d work is done thru # a separate rc.d/ceph script calling init-ceph again. ${MV} ${STAGEDIR}${PREFIX}/etc/init.d/ceph ${STAGEDIR}${PREFIX}/bin/init-ceph # remove files not packaged Modified: head/net/ceph12/distinfo ============================================================================== --- head/net/ceph12/distinfo Wed Aug 21 12:44:46 2019 (r509502) +++ head/net/ceph12/distinfo Wed Aug 21 12:56:17 2019 (r509503) @@ -1,12 +1,12 @@ -TIMESTAMP = 1550935963 -SHA256 (ceph-ceph-v12.2.11_GH0.tar.gz) = 67a2afe2de2087279e5a6bfab9c2b2a391093fb73723b629aaaeb204044be499 -SIZE (ceph-ceph-v12.2.11_GH0.tar.gz) = 12451786 +TIMESTAMP = 1566172846 +SHA256 (ceph-ceph-v12.2.12_GH0.tar.gz) = 194f6cb475cf01340d1d19aaa9f1052dc5a06cbe97360256ac24a4e06c7ba316 +SIZE (ceph-ceph-v12.2.12_GH0.tar.gz) = 12487700 SHA256 (ceph-ceph-erasure-code-corpus-2d7d78b_GH0.tar.gz) = 8ab8f36f3e0a720c882b8bb4abb3f2e26bd6b025cc263119207f7d2eb3b1e490 SIZE (ceph-ceph-erasure-code-corpus-2d7d78b_GH0.tar.gz) = 3685656 -SHA256 (ceph-ceph-object-corpus-e32bf8c_GH0.tar.gz) = 79ff0d1b9f959c9f5264a0dff193105d71885615deaa9c8469902400fd82d214 -SIZE (ceph-ceph-object-corpus-e32bf8c_GH0.tar.gz) = 1838192 -SHA256 (ceph-civetweb-de23828_GH0.tar.gz) = a9a95dd58e9b4a696fa0c822c1401856c55ef9b67fb28cf15d97f19f1af2ecbd -SIZE (ceph-civetweb-de23828_GH0.tar.gz) = 6850197 +SHA256 (ceph-ceph-object-corpus-f0ba19f_GH0.tar.gz) = 820cf72a687c4ff5fafbb7439a9dedf03d5c8ddb6fa3dfbf3d6a9cf5b64b551f +SIZE (ceph-ceph-object-corpus-f0ba19f_GH0.tar.gz) = 1837945 +SHA256 (ceph-civetweb-088b813_GH0.tar.gz) = 7ae109f32ee92a3d81223ce88b6d2dfcadfa6b91cf2be877743a5cee30f115e2 +SIZE (ceph-civetweb-088b813_GH0.tar.gz) = 11349538 SHA256 (01org-isa-l_crypto-603529a_GH0.tar.gz) = 52708b98c832bb7e6db60c949ece261d9609c822ae55239b0f2133cec2b3d155 SIZE (01org-isa-l_crypto-603529a_GH0.tar.gz) = 439149 SHA256 (ceph-gf-complete-7e61b44_GH0.tar.gz) = 7b0e5c1b41399d2c7d97ed7a7547ebf40023bcd104ed9a8b2b75bdee440c1a4d @@ -21,8 +21,8 @@ SHA256 (ceph-lua-1fce39c_GH0.tar.gz) = fb5f778ce4da349 SIZE (ceph-lua-1fce39c_GH0.tar.gz) = 366778 SHA256 (ceph-rapidjson-f54b0e4_GH0.tar.gz) = 35c330d40ed9def99e8dea8f3b0e4fda7610b813b6f4aac9a70ffefcb9ab1f1e SIZE (ceph-rapidjson-f54b0e4_GH0.tar.gz) = 1019457 -SHA256 (ceph-rocksdb-e15382c_GH0.tar.gz) = e23177dd893b81b4d3d959464ee8e5c4fe64a408841c2584b29540c60ac5cf47 -SIZE (ceph-rocksdb-e15382c_GH0.tar.gz) = 3278113 +SHA256 (ceph-rocksdb-b181f17_GH0.tar.gz) = e09e52a45f86c67992dbdfbf4c6bbb31e3f930d226766bdd2bba9675cdf2b8c0 +SIZE (ceph-rocksdb-b181f17_GH0.tar.gz) = 3278398 SHA256 (ceph-xxHash-1f40c65_GH0.tar.gz) = 809e06b7493ed01f13c7ba972393a5a6d23dd92fd6b884381aa907005e569372 SIZE (ceph-xxHash-1f40c65_GH0.tar.gz) = 25484 SHA256 (facebook-zstd-f4340f4_GH0.tar.gz) = 0db909a46914eb7800bce044b86fcf595451713e56a2b131ace6f70ff25c1c4d Modified: head/net/ceph12/files/file-git_version ============================================================================== --- head/net/ceph12/files/file-git_version Wed Aug 21 12:44:46 2019 (r509502) +++ head/net/ceph12/files/file-git_version Wed Aug 21 12:56:17 2019 (r509503) @@ -1,2 +1,2 @@ -26dc3775efc7bb286a1d6d66faee0ba30ea23eee -v12.2.11 +dc24c37717be1fac98eabdcc434d16d7c0c14245 +v12.2.12-351-gdc24c37717 Added: head/net/ceph12/files/patch-src_rgw_rgw_civetweb.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ceph12/files/patch-src_rgw_rgw_civetweb.cc Wed Aug 21 12:56:17 2019 (r509503) @@ -0,0 +1,36 @@ +*** src/rgw/rgw_civetweb.cc Thu Apr 11 14:33:50 2019 +--- src/rgw/rgw_civetweb.cc.new Mon Aug 19 11:31:24 2019 +*************** +*** 89,95 **** + } + + for (int i = 0; i < info->num_headers; i++) { +! const struct mg_request_info::mg_header* header = &info->http_headers[i]; + + if (header->name == nullptr || header->value==nullptr) { + lderr(cct) << "client supplied malformatted headers" << dendl; +--- 89,95 ---- + } + + for (int i = 0; i < info->num_headers; i++) { +! const auto header = &info->http_headers[i]; + + if (header->name == nullptr || header->value==nullptr) { + lderr(cct) << "client supplied malformatted headers" << dendl; +*************** +*** 132,138 **** + env.set("REQUEST_METHOD", info->request_method); + env.set("HTTP_VERSION", info->http_version); + env.set("REQUEST_URI", info->request_uri); // get the full uri, we anyway handle abs uris later +! env.set("SCRIPT_URI", info->uri); /* FIXME */ + if (info->query_string) { + env.set("QUERY_STRING", info->query_string); + } +--- 132,138 ---- + env.set("REQUEST_METHOD", info->request_method); + env.set("HTTP_VERSION", info->http_version); + env.set("REQUEST_URI", info->request_uri); // get the full uri, we anyway handle abs uris later +! env.set("SCRIPT_URI", info->local_uri); + if (info->query_string) { + env.set("QUERY_STRING", info->query_string); + } Modified: head/net/ceph12/files/patch-src_rgw_rgw_sync_module_es.cc ============================================================================== --- head/net/ceph12/files/patch-src_rgw_rgw_sync_module_es.cc Wed Aug 21 12:44:46 2019 (r509502) +++ head/net/ceph12/files/patch-src_rgw_rgw_sync_module_es.cc Wed Aug 21 12:56:17 2019 (r509503) @@ -1,8 +1,17 @@ diff --git a/src/rgw/rgw_sync_module_es.cc b/src/rgw/rgw_sync_module_es.cc -index aa58219b5a..de4200d75e 100644 +index b5be52413b..7275823314 100644 --- src/rgw/rgw_sync_module_es.cc +++ src/rgw/rgw_sync_module_es.cc -@@ -244,7 +244,7 @@ struct es_index_config { +@@ -108,7 +108,7 @@ public: + #define ES_NUM_REPLICAS_DEFAULT 1 + + using ESVersion = std::pair; +-static constexpr ESVersion ES_V5{5,0}; ++static const ESVersion ES_V5{5,0}; + + struct ESInfo { + std::string name; +@@ -402,7 +402,7 @@ struct es_index_config : public es_index_config_base { }; static bool is_sys_attr(const std::string& attr_name){