git: edb56d4c62ae - main - databases/clickhouse: Update to 21.12.3.32

From: Kirill Ponomarev <krion_at_FreeBSD.org>
Date: Mon, 17 Jan 2022 07:35:17 UTC
The branch main has been updated by krion:

URL: https://cgit.FreeBSD.org/ports/commit/?id=edb56d4c62ae865be24e1fb81c7657d42a27c355

commit edb56d4c62ae865be24e1fb81c7657d42a27c355
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2022-01-17 07:33:17 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2022-01-17 07:35:13 +0000

    databases/clickhouse: Update to 21.12.3.32
    
    Changes: https://github.com/ClickHouse/ClickHouse/compare/v21.7.4.18-stable...v21.12.3.32-stable
    
    Reported by:    maintainer
---
 databases/clickhouse/Makefile                      |   128 +-
 databases/clickhouse/distinfo                      |   156 +-
 databases/clickhouse/files/clickhouse.in           |    11 +-
 .../clickhouse/files/patch-cmake_find_krb5.cmake   |    11 +
 .../clickhouse/files/patch-cmake_find_ldap.cmake   |    10 -
 .../files/patch-cmake_freebsd_default__libs.cmake  |     2 +-
 .../patch-cmake_freebsd_toolchain-x86__64.cmake    |    14 +
 databases/clickhouse/files/patch-cmake_tools.cmake |    11 +
 ...bseil-cpp_absl_copts_AbseilConfigureCopts.cmake |    13 +
 .../files/patch-contrib_cassandra_CMakeLists.txt   |     5 +-
 ...ib_grpc_third__party_cares_cares_CMakeLists.txt |    15 +
 .../patch-contrib_jemalloc-cmake_CMakeLists.txt    |    13 +
 ...jemalloc_internal_jemalloc__internal__defs.h.in |    11 -
 .../patch-contrib_krb5-cmake_autoconf__freebsd.h   |   767 +
 .../files/patch-contrib_rocksdb_util_crc32c.cc     |    38 -
 .../patch-contrib_rocksdb_util_crc32c__arm64.cc    |    45 -
 .../files/patch-src_Common_MemoryStatisticsOS.cpp  |    31 +-
 .../files/patch-src_Common_StackTrace.cpp          |    11 -
 .../patch-src_Interpreters_AsynchronousMetrics.cpp |    11 -
 .../patch-src_Interpreters_AsynchronousMetrics.h   |    11 -
 databases/clickhouse/pkg-plist                     | 14341 ++++++++++---------
 21 files changed, 8705 insertions(+), 6950 deletions(-)

diff --git a/databases/clickhouse/Makefile b/databases/clickhouse/Makefile
index 24a07784d476..a08b6081557b 100644
--- a/databases/clickhouse/Makefile
+++ b/databases/clickhouse/Makefile
@@ -1,7 +1,7 @@
 # Created by: proler@gmail.com
 
 PORTNAME=	clickhouse
-PORTVERSION=	21.7.4.18
+PORTVERSION=	21.12.3.32
 DISTVERSIONPREFIX=	v
 DISTVERSIONSUFFIX=-stable
 CATEGORIES=	databases
@@ -25,86 +25,91 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	yandex
 GH_PROJECT=	ClickHouse
 GH_TUPLE=	\
-		ClickHouse-Extras:AMQP-CPP:03781aa:ClickHouse_Extras_AMQP_CPP/contrib/AMQP-CPP \
-		ClickHouse-Extras:NuRaft:976874b:ClickHouse_Extras_NuRaft/contrib/NuRaft \
-		ClickHouse-Extras:abseil-cpp:4f3b686:ClickHouse_Extras_abseil_cpp/contrib/abseil-cpp \
-		ClickHouse-Extras:antlr4-runtime:672643e:ClickHouse_Extras_antlr4_runtime/contrib/antlr4-runtime \
-		ClickHouse-Extras:arrow:debf751:ClickHouse_Extras_arrow/contrib/arrow \
+		ClickHouse-Extras:AMQP-CPP:1a6c51f:ClickHouse_Extras_AMQP_CPP/contrib/AMQP-CPP \
+		ClickHouse-Extras:NuRaft:d10351f:ClickHouse_Extras_NuRaft/contrib/NuRaft \
+		ClickHouse-Extras:abseil-cpp:b004a8a:ClickHouse_Extras_abseil_cpp/contrib/abseil-cpp \
+		ClickHouse-Extras:arrow:078e21b:ClickHouse_Extras_arrow/contrib/arrow \
 		ClickHouse-Extras:avro:e43c46e:ClickHouse_Extras_avro/contrib/avro \
-		ClickHouse-Extras:aws-sdk-cpp:7d48b2c:ClickHouse_Extras_aws_sdk_cpp/contrib/aws \
+		ClickHouse-Extras:aws-sdk-cpp:00b0360:ClickHouse_Extras_aws_sdk_cpp/contrib/aws \
 		ClickHouse-Extras:aws-c-common:736a82d:ClickHouse_Extras_aws_c_common/contrib/aws-c-common \
 		ClickHouse-Extras:aws-c-event-stream:3bc3366:ClickHouse_Extras_aws_c_event_stream/contrib/aws-c-event-stream \
 		ClickHouse-Extras:aws-checksums:519d6d9:ClickHouse_Extras_aws_checksums/contrib/aws-checksums \
-		ClickHouse-Extras:Turbo-Base64:af9b331:ClickHouse_Extras_Turbo_Base64/contrib/base64 \
-		ClickHouse-Extras:boost:1ccbb5a:ClickHouse_Extras_boost/contrib/boost \
-		ClickHouse-Extras:boringssl:a6a2e2a:ClickHouse_Extras_boringssl/contrib/boringssl \
+		ClickHouse-Extras:Turbo-Base64:9499e0c:ClickHouse_Extras_Turbo_Base64/contrib/base64 \
+		ClickHouse-Extras:boost:fcb058e:ClickHouse_Extras_boost/contrib/boost \
+		ClickHouse-Extras:boringssl:c1e01a4:ClickHouse_Extras_boringssl/contrib/boringssl \
 		google:brotli:63be8a9:google_brotli/contrib/brotli \
-		capnproto:capnproto:a00ccd9:capnproto_capnproto/contrib/capnproto \
+		ClickHouse-Extras:bzip2:bf905ea:ClickHouse_Extras_bzip2/contrib/bzip2 \
+		capnproto:capnproto:c8189ec:capnproto_capnproto/contrib/capnproto \
 		ClickHouse-Extras:cpp-driver:eb9b68d:ClickHouse_Extras_cpp_driver/contrib/cassandra \
-		ClickHouse-Extras:cctz:c0f1bcb:ClickHouse_Extras_cctz/contrib/cctz \
+		ClickHouse-Extras:cctz:9edd086:ClickHouse_Extras_cctz/contrib/cctz \
 		mfontanini:cppkafka:5a119f6:mfontanini_cppkafka/contrib/cppkafka \
 		RoaringBitmap:CRoaring:2c867e9:RoaringBitmap_CRoaring/contrib/croaring \
 		curl:curl:3b8bbbb:curl_curl/contrib/curl \
 		ClickHouse-Extras:cyrus-sasl:e6466ed:ClickHouse_Extras_cyrus_sasl/contrib/cyrus-sasl \
+		apache:datasketches-cpp:7d73d76:apache_datasketches/contrib/datasketches-cpp \
 		google:double-conversion:cf2f0f3:google_double_conversion/contrib/double-conversion \
-		apache:datasketches-cpp:7d73d76:contrib/datasketches-cpp \
-		google:double-conversion:cf2f0f3:contrib/double-conversion \
 		ClickHouse-Extras:dragonbox:923705a:ClickHouse_Extras_dragonbox/contrib/dragonbox \
 		fastfloat:fast_float:7eae925:fastfloat_fast_float/contrib/fast_float \
-		ClickHouse-Extras:fastops:88752a5:ClickHouse_Extras_fastops/contrib/fastops \
+		ClickHouse-Extras:fastops:1460583:ClickHouse_Extras_fastops/contrib/fastops \
 		google:flatbuffers:eb3f827:google_flatbuffers/contrib/flatbuffers \
 		fmtlib:fmt:c108ee1:fmtlib_fmt/contrib/fmtlib \
-		kthohr:gcem:8d4f1b5:kthohr_gcem/contrib/gcem \
 		google:googletest:e7e5917:google_googletest/contrib/googletest \
-		ClickHouse-Extras:grpc:60c986e:ClickHouse_Extras_grpc/contrib/grpc \
-		ClickHouse-Extras:h3:e209086:ClickHouse_Extras_h3/contrib/h3 \
+		ClickHouse-Extras:grpc:7eac189:ClickHouse_Extras_grpc/contrib/grpc \
+		ClickHouse-Extras:h3:c7f46cf:ClickHouse_Extras_h3/contrib/h3 \
 		ClickHouse-Extras:hyperscan:e9f08df:ClickHouse_Extras_hyperscan/contrib/hyperscan \
 		unicode-org:icu:faa2f9f:unicode_org_icu/contrib/icu \
 		ClickHouse-Extras:icudata:f020820:ClickHouse_Extras_icudata/contrib/icudata \
 		ClickHouse-Extras:jemalloc:e6891d9:ClickHouse_Extras_jemalloc/contrib/jemalloc \
 		ClickHouse-Extras:krb5:5149dea:ClickHouse_Extras_krb5/contrib/krb5 \
-		ClickHouse-Extras:libc-headers:a720b71:ClickHouse_Extras_libc_headers/contrib/libc-headers \
+		ClickHouse-Extras:lemmagen-c:59537bd:ClickHouse_Extras_lemmagen_c/contrib/lemmagen-c \
 		ClickHouse-Extras:libcpuid:8db3b8d:ClickHouse_Extras_libcpuid/contrib/libcpuid \
-		ClickHouse-Extras:libcxx:2fa892f:ClickHouse_Extras_libcxx/contrib/libcxx \
+		ClickHouse-Extras:libcxx:61e6029:ClickHouse_Extras_libcxx/contrib/libcxx \
 		ClickHouse-Extras:libcxxabi:df8f1e7:ClickHouse_Extras_libcxxabi/contrib/libcxxabi \
 		ClickHouse-Extras:libgsasl:383ee28:ClickHouse_Extras_libgsasl/contrib/libgsasl \
-		ClickHouse-Extras:libhdfs3:095b9d4:ClickHouse_Extras_libhdfs3/contrib/libhdfs3 \
-		ClickHouse-Extras:libpq:c762458:ClickHouse_Extras_libpq/contrib/libpq \
-		jtv:libpqxx:357608d:jtv_libpqxx/contrib/libpqxx \
-		ClickHouse-Extras:librdkafka:43491d3:ClickHouse_Extras_librdkafka/contrib/librdkafka \
-		ClickHouse-Extras:libunwind:6b816d2:ClickHouse_Extras_libunwind/contrib/libunwind \
-		ClickHouse-Extras:libuv:e2e9b7e:ClickHouse_Extras_libuv/contrib/libuv \
+		ClickHouse-Extras:libhdfs3:9194af4:ClickHouse_Extras_libhdfs3/contrib/libhdfs3 \
+		ClickHouse-Extras:libpq:e071ea5:ClickHouse_Extras_libpq/contrib/libpq \
+		jtv:libpqxx:63e20f9:jtv_libpqxx/contrib/libpqxx \
+		google:libprotobuf-mutator:ffd86a3:google_libprotobuf_mutator/contrib/libprotobuf-mutator \
+		ClickHouse-Extras:librdkafka:b8554f1:ClickHouse_Extras_librdkafka/contrib/librdkafka \
+		ClickHouse-Extras:libstemmer_c:c753054:ClickHouse_Extras_libstemmer_c/contrib/libstemmer_c \
+		ClickHouse-Extras:libunwind:c4ea984:ClickHouse_Extras_libunwind/contrib/libunwind \
+		ClickHouse-Extras:libuv:95081e7:ClickHouse_Extras_libuv/contrib/libuv \
 		GNOME:libxml2:18890f4:GNOME_libxml2/contrib/libxml2 \
-		ClickHouse-Extras:llvm:e575145:ClickHouse_Extras_llvm/contrib/llvm \
+		ClickHouse-Extras:llvm:20607e6:ClickHouse_Extras_llvm/contrib/llvm \
 		lz4:lz4:f39b79f:lz4_lz4/contrib/lz4 \
+		Neargye:magic_enum:38f86e4:Neargye_magic_enum/contrib/magic_enum \
 		ClickHouse-Extras:mariadb-connector-c:5f4034a:ClickHouse_Extras_mariadb_connector_c/contrib/mariadb-connector-c \
 		danlark1:miniselect:be0af6b:danlark1_miniselect/contrib/miniselect \
 		msgpack:msgpack-c:4668426:msgpack_msgpack_c/contrib/msgpack-c \
-		nanodbc:nanodbc:9fc4596:contrib/nanodbc \
+		nanodbc:nanodbc:df52a12:contrib/nanodbc \
 		ClickHouse-Extras:openldap:0208811:ClickHouse_Extras_openldap/contrib/openldap \
 		apache:orc:0a936f6:apache_orc/contrib/orc \
-		ClickHouse-Extras:poco:5994506:ClickHouse_Extras_poco/contrib/poco \
-		ClickHouse-Extras:protobuf:73b1281:ClickHouse_Extras_protobuf/contrib/protobuf \
+		ClickHouse-Extras:poco:258b9ba:ClickHouse_Extras_poco/contrib/poco \
+		ClickHouse-Extras:protobuf:c1c5d02:ClickHouse_Extras_protobuf/contrib/protobuf \
 		ClickHouse-Extras:rapidjson:c4ef90c:ClickHouse_Extras_rapidjson/contrib/rapidjson \
 		google:re2:13ebb37:google_re2/contrib/re2 \
-		ClickHouse-Extras:replxx:c81be6c:ClickHouse_Extras_replxx/contrib/replxx \
-		ClickHouse-Extras:rocksdb:07c7754:ClickHouse_Extras_rocksdb/contrib/rocksdb \
-		ClickHouse-Extras:sentry-native:94644e9:ClickHouse_Extras_sentry_native/contrib/sentry-native \
+		ClickHouse-Extras:replxx:f019cba:ClickHouse_Extras_replxx/contrib/replxx \
+		ClickHouse-Extras:rocksdb:e7c2b2f:ClickHouse_Extras_rocksdb/contrib/rocksdb \
+		ClickHouse-Extras:s2geometry:38b7a29:ClickHouse_Extras_s2geometry/contrib/s2geometry \
+		ClickHouse-Extras:sentry-native:f431047:ClickHouse_Extras_sentry_native/contrib/sentry-native \
 		ClickHouse-Extras:simdjson:8df32ce:ClickHouse_Extras_simdjson/contrib/simdjson \
-		google:snappy:3f194ac:google_snappy/contrib/snappy \
+		google:snappy:fb057ed:google_snappy/contrib/snappy \
 		sparsehash:sparsehash-c11:cf0bffa:sparsehash_sparsehash_c11/contrib/sparsehash-c11 \
-		kthohr:stats:b6dd459:kthohr_stats/contrib/stats \
+		azadkuh:sqlite-amalgamation:9818baa:azadkuh_sqlite_amalgamation/contrib/sqlite-amalgamation \
+		ClickHouse-Extras:sysroot:4108451:ClickHouse_Extras_sysroot/contrib/sysroot \
 		apache:thrift:010ccf0:apache_thrift/contrib/thrift \
 		ClickHouse-Extras:UnixODBC:b0ad30f:ClickHouse_Extras_UnixODBC/contrib/unixodbc \
+		ClickHouse-Extras:wordnet-blast:1d16ac2:ClickHouse_Extras_wordnet_blast/contrib/wordnet-blast \
 		xz-mirror:xz:869b9d1:xz_mirror_xz/contrib/xz \
 		ClickHouse-Extras:yaml-cpp:0c86ada:ClickHouse_Extras_yaml_cpp/contrib/yaml-cpp \
-		ClickHouse-Extras:zlib-ng:db232d3:ClickHouse_Extras_zlib_ng/contrib/zlib-ng \
+		ClickHouse-Extras:zlib-ng:bffad6f:ClickHouse_Extras_zlib_ng/contrib/zlib-ng \
 		facebook:zstd:a488ba1:facebook_zstd/contrib/zstd \
-		c-ares:c-ares:e982924:c_ares_c_ares/contrib/grpc/third_party/cares/cares
+		google:double-conversion:5fa81e8:google_double_conversion/contrib/double-conversion
 
 USE_RC_SUBR=	${PORTNAME}
 
-SHEBANG_FILES=	src/Storages/System/StorageSystemLicenses.sh \
+SHEBANG_FILES=	\
+		src/Storages/System/StorageSystemLicenses.sh \
 		tests/clickhouse-test tests/config/install.sh \
 		tests/queries/0_stateless/00960_live_view_watch_events_live.py \
 		tests/queries/0_stateless/00962_live_view_periodic_refresh.py \
@@ -123,11 +128,16 @@ SHEBANG_FILES=	src/Storages/System/StorageSystemLicenses.sh \
 		tests/queries/0_stateless/00979_live_view_watch_live_moving_avg.py.disabled \
 		tests/queries/0_stateless/00979_live_view_watch_live_with_subquery.py \
 		tests/queries/0_stateless/00991_live_view_watch_http.python \
+		tests/queries/0_stateless/01056_window_view_proc_hop_watch.py \
+		tests/queries/0_stateless/01059_window_view_event_hop_watch_strict_asc.py \
+		tests/queries/0_stateless/01062_window_view_event_hop_watch_asc.py \
+		tests/queries/0_stateless/01065_window_view_event_hop_watch_bounded.py \
+		tests/queries/0_stateless/01069_window_view_proc_tumble_watch.py \
 		tests/queries/0_stateless/01176_mysql_client_interactive.expect \
 		tests/queries/0_stateless/01179_insert_values_semicolon.expect \
 		tests/queries/0_stateless/01180_client_syntax_errors.expect \
 		tests/queries/0_stateless/01246_insert_into_watch_live_view.py \
-		tests/queries/0_stateless/01293_client_interactive_vertical_multiline_long.expect \
+		tests/queries/0_stateless/01293_client_interactive_vertical_multiline.expect \
 		tests/queries/0_stateless/01293_client_interactive_vertical_singleline.expect \
 		tests/queries/0_stateless/01300_client_save_history_when_terminated_long.expect \
 		tests/queries/0_stateless/01370_client_autocomplete_word_break_characters.expect \
@@ -137,8 +147,19 @@ SHEBANG_FILES=	src/Storages/System/StorageSystemLicenses.sh \
 		tests/queries/0_stateless/01599_multiline_input_and_singleline_comments.sh \
 		tests/queries/0_stateless/01610_client_spawn_editor.sh \
 		tests/queries/0_stateless/01755_client_highlight_multi_line_comment_regression.expect \
-		tests/queries/0_stateless/01910_client_replxx_container_overflow_long.expect  \
+		tests/queries/0_stateless/01910_client_replxx_container_overflow_long.expect \
 		tests/queries/0_stateless/01921_test_progress_bar.py \
+		tests/queries/0_stateless/01933_client_replxx_convert_history.expect \
+		tests/queries/0_stateless/01945_show_debug_warning.expect \
+		tests/queries/0_stateless/02003_memory_limit_in_client.expect \
+		tests/queries/0_stateless/02010_lc_native.python \
+		tests/queries/0_stateless/02047_client_exception.expect \
+		tests/queries/0_stateless/02049_clickhouse_local_merge_tree.expect \
+		tests/queries/0_stateless/02105_backslash_letter_commands.expect \
+		tests/queries/0_stateless/02112_delayed_clickhouse_client_with_queries_file.expect \
+		tests/queries/0_stateless/02112_delayed_clickhouse_local.expect \
+		tests/queries/0_stateless/02112_delayed_clickhouse_local_with_queries_file.expect \
+		tests/queries/0_stateless/02116_interactive_hello.expect \
 		tests/queries/0_stateless/helpers/00900_parquet_create_table_columns.py \
 		tests/queries/0_stateless/helpers/client.py \
 		tests/queries/0_stateless/helpers/httpclient.py \
@@ -147,9 +168,6 @@ SHEBANG_FILES=	src/Storages/System/StorageSystemLicenses.sh \
 		tests/queries/0_stateless/helpers/pure_http_client.py \
 		tests/queries/0_stateless/helpers/shell.py \
 		tests/queries/0_stateless/helpers/uexpect.py \
-		utils/build/build_debian.sh utils/build/build_debian_shared.sh \
-		utils/build/build_freebsd.sh utils/build/build_macos.sh \
-		utils/build/build_minimal.sh utils/build/build_no_submodules.sh \
 		utils/check-style/check-duplicate-includes.sh \
 		utils/check-style/check-ungrouped-includes.sh \
 		utils/check-style/format.sh utils/check-style/shellcheck-run.sh \
@@ -172,7 +190,6 @@ SHEBANG_FILES=	src/Storages/System/StorageSystemLicenses.sh \
 		utils/clickhouse-docker utils/compressor/test.sh \
 		utils/durability-test/durability-test.sh \
 		utils/durability-test/install.sh \
-		utils/generate-ya-make/generate-ya-make.sh \
 		utils/link-validate/link-validate.sh \
 		utils/list-licenses/list-licenses.sh \
 		utils/list-versions/list-versions.sh
@@ -183,10 +200,17 @@ expect_CMD=	${LOCALBASE}/bin/expect
 
 CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=20 \
 		-DENABLE_EMBEDDED_COMPILER=OFF \
+		-DENABLE_THINLTO=OFF \
 		-DENABLE_PARQUET=OFF \
 		-DENABLE_UTILS=ON \
 		-DNO_WERROR=1
 
+.if defined(WITH_DEBUG)
+CMAKE_BUILD_TYPE=Debug
+.else
+CMAKE_BUILD_TYPE=RelWithDebInfo
+.endif
+
 USERS=		clickhouse
 GROUPS=		clickhouse
 
@@ -200,15 +224,23 @@ TEST_CMAKE_BOOL=	ENABLE_TESTS
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} < 1300000
-CC=			clang11
-CXX=		clang++11
-BUILD_DEPENDS+= clang++11:devel/llvm11
+.if ${OSVERSION} < 1400000
+CC=			clang13
+CXX=		clang++13
+BUILD_DEPENDS+= clang++13:devel/llvm13
 .else
 CC=			clang
 CXX=		clang++
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
+SUB_LIST+=	LEGACY_LIMITS="@comment " \
+		MODERN_LIMITS=""
+.else
+SUB_LIST+=	LEGACY_LIMITS="" \
+		MODERN_LIMITS="@comment "
+.endif
+
 SOVERSION=	${PORTVERSION}
 
 .include <bsd.port.pre.mk>
diff --git a/databases/clickhouse/distinfo b/databases/clickhouse/distinfo
index aae7ca1970cc..3c36cd6c2d1f 100644
--- a/databases/clickhouse/distinfo
+++ b/databases/clickhouse/distinfo
@@ -1,40 +1,40 @@
-TIMESTAMP = 1627341962
-SHA256 (yandex-ClickHouse-v21.7.4.18-stable_GH0.tar.gz) = 43de6d25602a8f24f4a476deb4d84a6aabbe3b90460ce3b1f76c7dfa33d5a711
-SIZE (yandex-ClickHouse-v21.7.4.18-stable_GH0.tar.gz) = 85012428
-SHA256 (ClickHouse-Extras-AMQP-CPP-03781aa_GH0.tar.gz) = 18772fbd31740df6953ec6484c4f58455934bba61e77d491b88dc0fc6c9a2071
-SIZE (ClickHouse-Extras-AMQP-CPP-03781aa_GH0.tar.gz) = 147162
-SHA256 (ClickHouse-Extras-NuRaft-976874b_GH0.tar.gz) = 60ffc9a27c2da2c4bd6ec0c65054b9dd99d7b87e052689ea67df729aea505bc3
-SIZE (ClickHouse-Extras-NuRaft-976874b_GH0.tar.gz) = 465903
-SHA256 (ClickHouse-Extras-abseil-cpp-4f3b686_GH0.tar.gz) = 73986b9bab3a1f4bd8f99039aec28a53244ca519f710a82c57067a8bfa7a18e7
-SIZE (ClickHouse-Extras-abseil-cpp-4f3b686_GH0.tar.gz) = 1680931
-SHA256 (ClickHouse-Extras-antlr4-runtime-672643e_GH0.tar.gz) = 360e7f94c6527d02d2af605ddaac1f984c012becb218e1aa522af01c95eeba7f
-SIZE (ClickHouse-Extras-antlr4-runtime-672643e_GH0.tar.gz) = 226149
-SHA256 (ClickHouse-Extras-arrow-debf751_GH0.tar.gz) = d0b100585449ed56f0adff28b86626483b71988c42c92fc86b8d002fd4cdd493
-SIZE (ClickHouse-Extras-arrow-debf751_GH0.tar.gz) = 8856626
+TIMESTAMP = 1641875348
+SHA256 (yandex-ClickHouse-v21.12.3.32-stable_GH0.tar.gz) = c8dd5074b5cfa9dc405045505e81478e2bef5390297935a6a3b737db09a84004
+SIZE (yandex-ClickHouse-v21.12.3.32-stable_GH0.tar.gz) = 98920929
+SHA256 (ClickHouse-Extras-AMQP-CPP-1a6c51f_GH0.tar.gz) = 50d116a8e01042d7734a90c6f4d7cee3fc15aa584263eda71921abc6dea0ab3d
+SIZE (ClickHouse-Extras-AMQP-CPP-1a6c51f_GH0.tar.gz) = 158209
+SHA256 (ClickHouse-Extras-NuRaft-d10351f_GH0.tar.gz) = 25a1ed5090b49c8df4d3d9ec8e930d5edb37ad0f4e22b3d410c82236c3795e5c
+SIZE (ClickHouse-Extras-NuRaft-d10351f_GH0.tar.gz) = 472674
+SHA256 (ClickHouse-Extras-abseil-cpp-b004a8a_GH0.tar.gz) = 4e4f68ca03bb0e58feb13cb99ff6efa53b0ddd124ecfc3814aca416d227766f1
+SIZE (ClickHouse-Extras-abseil-cpp-b004a8a_GH0.tar.gz) = 1680865
+SHA256 (ClickHouse-Extras-arrow-078e21b_GH0.tar.gz) = a8b5acad11f988620a17060f023e896429645d68850b1061d9900005044b4b7c
+SIZE (ClickHouse-Extras-arrow-078e21b_GH0.tar.gz) = 8208076
 SHA256 (ClickHouse-Extras-avro-e43c46e_GH0.tar.gz) = b0d9b5b46f3641ea15265035f64b9883b3c5ff3c8465c2a6069d1358bdf7d383
 SIZE (ClickHouse-Extras-avro-e43c46e_GH0.tar.gz) = 1857755
-SHA256 (ClickHouse-Extras-aws-sdk-cpp-7d48b2c_GH0.tar.gz) = 9d0b0c4577e62bc0349579345e4002b3fe304352736fe4676db6b56eec69ad6d
-SIZE (ClickHouse-Extras-aws-sdk-cpp-7d48b2c_GH0.tar.gz) = 32563928
+SHA256 (ClickHouse-Extras-aws-sdk-cpp-00b0360_GH0.tar.gz) = 6d20929bea661bd1fab03aeaf1bb00eee5d0fbd2287d4826b65b303ee504db9d
+SIZE (ClickHouse-Extras-aws-sdk-cpp-00b0360_GH0.tar.gz) = 32562644
 SHA256 (ClickHouse-Extras-aws-c-common-736a82d_GH0.tar.gz) = d4e48a9bb96cc17a0107e3d95f3ef4eb67aaf9c2c39220188456b0c7eb89740b
 SIZE (ClickHouse-Extras-aws-c-common-736a82d_GH0.tar.gz) = 321426
 SHA256 (ClickHouse-Extras-aws-c-event-stream-3bc3366_GH0.tar.gz) = e6e4d3c1a2d518c7292aaef8d023ae567cd000bcba94bdf544db07385148b194
 SIZE (ClickHouse-Extras-aws-c-event-stream-3bc3366_GH0.tar.gz) = 28143
 SHA256 (ClickHouse-Extras-aws-checksums-519d6d9_GH0.tar.gz) = 6574d090c8f340fe6ecea1c3eaeddfc1a014e0bf61682762d5d8a669b1f55dda
 SIZE (ClickHouse-Extras-aws-checksums-519d6d9_GH0.tar.gz) = 78316
-SHA256 (ClickHouse-Extras-Turbo-Base64-af9b331_GH0.tar.gz) = b1d1f40c984d6328d64f7b9ab3b0fb603f10f539af38eac7c878722fac82ee62
-SIZE (ClickHouse-Extras-Turbo-Base64-af9b331_GH0.tar.gz) = 49262
-SHA256 (ClickHouse-Extras-boost-1ccbb5a_GH0.tar.gz) = 83b0b0eaca6d1b5e07ac093e94194e91f8e08a8038ab89e66781a917981a362b
-SIZE (ClickHouse-Extras-boost-1ccbb5a_GH0.tar.gz) = 6558033
-SHA256 (ClickHouse-Extras-boringssl-a6a2e2a_GH0.tar.gz) = b764ed6577735c5bf3d93e1254e038969673c499887f0c4dfa9f9a1e9c2203df
-SIZE (ClickHouse-Extras-boringssl-a6a2e2a_GH0.tar.gz) = 27326509
+SHA256 (ClickHouse-Extras-Turbo-Base64-9499e0c_GH0.tar.gz) = b3e15c68caeb45d570c633d9758901572b9273b7693cf518e7d6a8f4f6d38538
+SIZE (ClickHouse-Extras-Turbo-Base64-9499e0c_GH0.tar.gz) = 48928
+SHA256 (ClickHouse-Extras-boost-fcb058e_GH0.tar.gz) = 33ddd78454ef5dc48ce63d1be90f799ccac1ee46a109fbd544f3b6f1659cb8b0
+SIZE (ClickHouse-Extras-boost-fcb058e_GH0.tar.gz) = 10943444
+SHA256 (ClickHouse-Extras-boringssl-c1e01a4_GH0.tar.gz) = b5027495980dfa86e00f46f62934dbfa4946e762f82f7c48ea8f8dd6e59a7f62
+SIZE (ClickHouse-Extras-boringssl-c1e01a4_GH0.tar.gz) = 30720133
 SHA256 (google-brotli-63be8a9_GH0.tar.gz) = ab6d0b8c0503a4e085c441bc323cce1746d31c0a52502e2841fee754de07e20f
 SIZE (google-brotli-63be8a9_GH0.tar.gz) = 488535
-SHA256 (capnproto-capnproto-a00ccd9_GH0.tar.gz) = afb081ce4df9e3e1602f796769441b49394215217295cad5bf3f8010c0e708a3
-SIZE (capnproto-capnproto-a00ccd9_GH0.tar.gz) = 1991634
+SHA256 (ClickHouse-Extras-bzip2-bf905ea_GH0.tar.gz) = e29d3c5806a786b085a9c7fe2d217b48d78375f89991ee41ad338497784a74cd
+SIZE (ClickHouse-Extras-bzip2-bf905ea_GH0.tar.gz) = 378964
+SHA256 (capnproto-capnproto-c8189ec_GH0.tar.gz) = 1840412a73e9bd7c2d6636f4609619d276831a766b4df102068c601255d96351
+SIZE (capnproto-capnproto-c8189ec_GH0.tar.gz) = 2254035
 SHA256 (ClickHouse-Extras-cpp-driver-eb9b68d_GH0.tar.gz) = 251810d39eb446c1fd2d404b32363d9b51ba3148e6261ae6472e062cd77a9cbd
 SIZE (ClickHouse-Extras-cpp-driver-eb9b68d_GH0.tar.gz) = 12282025
-SHA256 (ClickHouse-Extras-cctz-c0f1bcb_GH0.tar.gz) = cb834d27bf68bce146d5f3c7151c6cc20004986585ef2939fcac95f773c72716
-SIZE (ClickHouse-Extras-cctz-c0f1bcb_GH0.tar.gz) = 212987
+SHA256 (ClickHouse-Extras-cctz-9edd086_GH0.tar.gz) = cde98a997d5caf3946f7139c8cc0061e85d735f241485110ff211ca6d890c0c4
+SIZE (ClickHouse-Extras-cctz-9edd086_GH0.tar.gz) = 213325
 SHA256 (mfontanini-cppkafka-5a119f6_GH0.tar.gz) = 025ef2649d48bb3c9c8631244c2b765e0c764b46bfdb4db726e65116734d47bc
 SIZE (mfontanini-cppkafka-5a119f6_GH0.tar.gz) = 106309
 SHA256 (RoaringBitmap-CRoaring-2c867e9_GH0.tar.gz) = af7792501fc8a2d5fa709bbce2bd4bac42aea844bc14112cb6626a630b759859
@@ -43,28 +43,26 @@ SHA256 (curl-curl-3b8bbbb_GH0.tar.gz) = 7405f6074709cc8872070b26073253b6188b4870
 SIZE (curl-curl-3b8bbbb_GH0.tar.gz) = 2980455
 SHA256 (ClickHouse-Extras-cyrus-sasl-e6466ed_GH0.tar.gz) = f48f1b478b98be2a48d5bedb9897c8c2787832dacf5abf32c6cf2e8790c7c5a6
 SIZE (ClickHouse-Extras-cyrus-sasl-e6466ed_GH0.tar.gz) = 2119825
-SHA256 (google-double-conversion-cf2f0f3_GH0.tar.gz) = 2fa2aaa8afb7d8b32913da01f381a8cfa7dda7b0be7278f1f823935c94fa4baf
-SIZE (google-double-conversion-cf2f0f3_GH0.tar.gz) = 7019614
-SHA256 (nanodbc-nanodbc-9fc4596_GH0.tar.gz) = c70c1afedc2e4fcd510f3c3297d9a3f906be7e6326ea35b8606eb873eabd548c
-SIZE (nanodbc-nanodbc-9fc4596_GH0.tar.gz) = 706069
+SHA256 (apache-datasketches-cpp-7d73d76_GH0.tar.gz) = 13083e7ee9ae3083c8f1cba3abbdd681c7641b868ac5f495143151a5ab103635
+SIZE (apache-datasketches-cpp-7d73d76_GH0.tar.gz) = 608753
+SHA256 (google-double-conversion-5fa81e8_GH0.tar.gz) = d70c6ce3587afb0a1744d8f896b93bab1a086b33c049f4b744f07b20dadb3c40
+SIZE (google-double-conversion-5fa81e8_GH0.tar.gz) = 7023807
 SHA256 (ClickHouse-Extras-dragonbox-923705a_GH0.tar.gz) = b086f293f1c92d3674d03d2a7082a5a564b909d9d46d04c708cee76872ea356d
 SIZE (ClickHouse-Extras-dragonbox-923705a_GH0.tar.gz) = 2985032
 SHA256 (fastfloat-fast_float-7eae925_GH0.tar.gz) = 506aecaa2f39420cedded455e21421b57e3c033d5bef11feb3564892793d1e6b
 SIZE (fastfloat-fast_float-7eae925_GH0.tar.gz) = 105248
-SHA256 (ClickHouse-Extras-fastops-88752a5_GH0.tar.gz) = 2df9d0f4bbbf587db4b1690e63063adbc4712c8c6ae7e4c9ed3821f9783f459a
-SIZE (ClickHouse-Extras-fastops-88752a5_GH0.tar.gz) = 266310
+SHA256 (ClickHouse-Extras-fastops-1460583_GH0.tar.gz) = 9febb036d2aca08a8a708263f54ab4f76a1467a079d9858b8108a52763fedc7d
+SIZE (ClickHouse-Extras-fastops-1460583_GH0.tar.gz) = 266459
 SHA256 (google-flatbuffers-eb3f827_GH0.tar.gz) = c882d58624d5af8786f31c4c877555f7fe8ce24b2a3d3df9c2c42286c7e37c59
 SIZE (google-flatbuffers-eb3f827_GH0.tar.gz) = 1538246
 SHA256 (fmtlib-fmt-c108ee1_GH0.tar.gz) = b3ac765e8f65e87cbb6d0d43cfe630c29c7ff8e1d6cd0261f7becfdfd8e6be22
 SIZE (fmtlib-fmt-c108ee1_GH0.tar.gz) = 740300
-SHA256 (kthohr-gcem-8d4f1b5_GH0.tar.gz) = 3aa0e4733a7d4990447d97038446a0411100f9e3455db64e396172bdf30e19ab
-SIZE (kthohr-gcem-8d4f1b5_GH0.tar.gz) = 52091
 SHA256 (google-googletest-e7e5917_GH0.tar.gz) = bc5863c9455b1afb6edd718a216012d929ce1baf26793ab22ac53ccd5dfab980
 SIZE (google-googletest-e7e5917_GH0.tar.gz) = 868168
-SHA256 (ClickHouse-Extras-grpc-60c986e_GH0.tar.gz) = 0d38c756139fa7137a45b7f9ae096b27f8624d3df24a82037a4028873f75722d
-SIZE (ClickHouse-Extras-grpc-60c986e_GH0.tar.gz) = 7269177
-SHA256 (ClickHouse-Extras-h3-e209086_GH0.tar.gz) = df8ae0847625c9fb32ed0a3f81dbf15ad46f7e4a5a8f0f1a0770e9f31e9930e0
-SIZE (ClickHouse-Extras-h3-e209086_GH0.tar.gz) = 17316672
+SHA256 (ClickHouse-Extras-grpc-7eac189_GH0.tar.gz) = f50ed64b9c00e554bf296533285d2781e2b16504d55ce54581a50411045ea851
+SIZE (ClickHouse-Extras-grpc-7eac189_GH0.tar.gz) = 8011016
+SHA256 (ClickHouse-Extras-h3-c7f46cf_GH0.tar.gz) = 9ebafc0a215e31d3d0587d34131b8d780a037fce16f42de0957d6a3bb0696256
+SIZE (ClickHouse-Extras-h3-c7f46cf_GH0.tar.gz) = 17297765
 SHA256 (ClickHouse-Extras-hyperscan-e9f08df_GH0.tar.gz) = ba3d33853271bbff533019fcc2be9df4900410e220ee00a5cbe7a55f1c5550dc
 SIZE (ClickHouse-Extras-hyperscan-e9f08df_GH0.tar.gz) = 1844326
 SHA256 (unicode-org-icu-faa2f9f_GH0.tar.gz) = d44751f8e4f8f3a9c1763db0edd9c6bb40a6cdcf18bf3327805e6f5487e7c762
@@ -75,77 +73,89 @@ SHA256 (ClickHouse-Extras-jemalloc-e6891d9_GH0.tar.gz) = 6a95a98c77d68c09bc226b1
 SIZE (ClickHouse-Extras-jemalloc-e6891d9_GH0.tar.gz) = 580995
 SHA256 (ClickHouse-Extras-krb5-5149dea_GH0.tar.gz) = eac6ff30ae30bd11757b57ee0c4d4e5cccbb9bac874de5f6305b1f009853bafc
 SIZE (ClickHouse-Extras-krb5-5149dea_GH0.tar.gz) = 5155458
-SHA256 (ClickHouse-Extras-libc-headers-a720b71_GH0.tar.gz) = 71d9436748bf78f7b97e8c11a5f8fb295d729d9e8f8beb264a00316105ed4128
-SIZE (ClickHouse-Extras-libc-headers-a720b71_GH0.tar.gz) = 397157
+SHA256 (ClickHouse-Extras-lemmagen-c-59537bd_GH0.tar.gz) = c8a44030f28fb0b9d8e689727c7fd01dc970b6d1aaabd1a69eb2d67789e8d782
+SIZE (ClickHouse-Extras-lemmagen-c-59537bd_GH0.tar.gz) = 1662628
 SHA256 (ClickHouse-Extras-libcpuid-8db3b8d_GH0.tar.gz) = 1b1ed73158063d721555b8b6f95e59599cb28be636b8f08b4be281e6f36f965b
 SIZE (ClickHouse-Extras-libcpuid-8db3b8d_GH0.tar.gz) = 140826
-SHA256 (ClickHouse-Extras-libcxx-2fa892f_GH0.tar.gz) = 10109160d12bf72ec4cffce5e524ad1638ebae1d6c482e6d0222503b3dceddf3
-SIZE (ClickHouse-Extras-libcxx-2fa892f_GH0.tar.gz) = 863062
+SHA256 (ClickHouse-Extras-libcxx-61e6029_GH0.tar.gz) = 439fd1282df82b8c21243305e8a2d3b8d2526f07eb0fcee2ca53404e51fa36f2
+SIZE (ClickHouse-Extras-libcxx-61e6029_GH0.tar.gz) = 864994
 SHA256 (ClickHouse-Extras-libcxxabi-df8f1e7_GH0.tar.gz) = 5d21d45648e0454f8db4e5e946d05999d6e59e724d66ce7eeb5162c1de2ec01b
 SIZE (ClickHouse-Extras-libcxxabi-df8f1e7_GH0.tar.gz) = 110708
 SHA256 (ClickHouse-Extras-libgsasl-383ee28_GH0.tar.gz) = 959a1f488db847e674d6935cb2a1c9921c01bb08eee8bdfb124032a3be54aece
 SIZE (ClickHouse-Extras-libgsasl-383ee28_GH0.tar.gz) = 174201
-SHA256 (ClickHouse-Extras-libhdfs3-095b9d4_GH0.tar.gz) = 9b57e83e29ce8058e1de95e9750d0b9eebf99d7a8847fde171f82d3f61871af6
-SIZE (ClickHouse-Extras-libhdfs3-095b9d4_GH0.tar.gz) = 252150
-SHA256 (ClickHouse-Extras-libpq-c762458_GH0.tar.gz) = 5132fa2870036aac05f7406553075054ced19978a4db1167b98523c28336b278
-SIZE (ClickHouse-Extras-libpq-c762458_GH0.tar.gz) = 686583
-SHA256 (jtv-libpqxx-357608d_GH0.tar.gz) = fd38f0e3819e092cf410d4389d1e7dae93e687382226d63f592c4ebcda553a4f
-SIZE (jtv-libpqxx-357608d_GH0.tar.gz) = 716441
-SHA256 (ClickHouse-Extras-librdkafka-43491d3_GH0.tar.gz) = 51c66756dcf05fa28359d3c8ffe13db2c950d047d6fbbac7506d7a7db352f285
-SIZE (ClickHouse-Extras-librdkafka-43491d3_GH0.tar.gz) = 2920605
-SHA256 (ClickHouse-Extras-libunwind-6b816d2_GH0.tar.gz) = af2a1a7cdf9f8cd5ed750b06685de35888b0f75bddea48893e65a09509edef05
-SIZE (ClickHouse-Extras-libunwind-6b816d2_GH0.tar.gz) = 121674
-SHA256 (ClickHouse-Extras-libuv-e2e9b7e_GH0.tar.gz) = e495a83bdfea09e04638f35b16a1c516dfadeee66cb60be6d36754e23b6bf81d
-SIZE (ClickHouse-Extras-libuv-e2e9b7e_GH0.tar.gz) = 1242751
+SHA256 (ClickHouse-Extras-libhdfs3-9194af4_GH0.tar.gz) = 04f78aa825a22dd542d4bc3d663f7188a6acc386686932afb53ba56450d87143
+SIZE (ClickHouse-Extras-libhdfs3-9194af4_GH0.tar.gz) = 252267
+SHA256 (ClickHouse-Extras-libpq-e071ea5_GH0.tar.gz) = 6aff6a7314598c6a72b3694f93d2d90cf5872799ee92ea778f7439f9f281fe88
+SIZE (ClickHouse-Extras-libpq-e071ea5_GH0.tar.gz) = 1634704
+SHA256 (jtv-libpqxx-63e20f9_GH0.tar.gz) = 690c997494ab90245fc00429dfb06e3f5c872acef62c50dd87131da161c0a0f6
+SIZE (jtv-libpqxx-63e20f9_GH0.tar.gz) = 716583
+SHA256 (google-libprotobuf-mutator-ffd86a3_GH0.tar.gz) = bc6d5ded47201b445f117a1f1cdf598d41dd02e69c929204d75bf1efe4a7e544
+SIZE (google-libprotobuf-mutator-ffd86a3_GH0.tar.gz) = 39035
+SHA256 (ClickHouse-Extras-librdkafka-b8554f1_GH0.tar.gz) = fcf9aa8eea56bbf6219fae250e0a8451003eafd3df7f017c35f6c95b113e7f87
+SIZE (ClickHouse-Extras-librdkafka-b8554f1_GH0.tar.gz) = 2920821
+SHA256 (ClickHouse-Extras-libstemmer_c-c753054_GH0.tar.gz) = a0ebe83a16f2b63cc18a942b1119c1964278b69e7f8df46b6746c01ab5c91198
+SIZE (ClickHouse-Extras-libstemmer_c-c753054_GH0.tar.gz) = 222372
+SHA256 (ClickHouse-Extras-libunwind-c4ea984_GH0.tar.gz) = 4ef631625c44080a1932ce4f2d29492c1e275f46e09959bc845a396e957361a7
+SIZE (ClickHouse-Extras-libunwind-c4ea984_GH0.tar.gz) = 121702
+SHA256 (ClickHouse-Extras-libuv-95081e7_GH0.tar.gz) = 5cad9c02dccb74fbcba3b6c6adb327f12a919a0653f31e8768e9b55c6546ea4d
+SIZE (ClickHouse-Extras-libuv-95081e7_GH0.tar.gz) = 1242587
 SHA256 (GNOME-libxml2-18890f4_GH0.tar.gz) = e1ca0f84996af7c394adfa6ca74a85aba031e34197d303b35d4a7b20935c5a84
 SIZE (GNOME-libxml2-18890f4_GH0.tar.gz) = 5170146
-SHA256 (ClickHouse-Extras-llvm-e575145_GH0.tar.gz) = 959219b8ef06bb6065da7368785d2dfd50c5598abd802cb15bc5e95d3270d4fb
-SIZE (ClickHouse-Extras-llvm-e575145_GH0.tar.gz) = 16748547
+SHA256 (ClickHouse-Extras-llvm-20607e6_GH0.tar.gz) = c9b0085fdd8381b9dc5b46fb43866def645507dea5e00d3ccc2d962954470240
+SIZE (ClickHouse-Extras-llvm-20607e6_GH0.tar.gz) = 16750558
 SHA256 (lz4-lz4-f39b79f_GH0.tar.gz) = cdc9ad4f5bdfb96934cb5c1b169e415f05e9405ef8d91a30fc387f9bed969d9a
 SIZE (lz4-lz4-f39b79f_GH0.tar.gz) = 310434
+SHA256 (Neargye-magic_enum-38f86e4_GH0.tar.gz) = 96afd7abfab4138c86aaad591c999831bf12af6e18fb13cf23cb37d6fe6a3b8a
+SIZE (Neargye-magic_enum-38f86e4_GH0.tar.gz) = 157388
 SHA256 (ClickHouse-Extras-mariadb-connector-c-5f4034a_GH0.tar.gz) = 097f2b184a1954f2462fb7395b06c285bfa0747d34bbdd6e9aa3abc8457039c6
 SIZE (ClickHouse-Extras-mariadb-connector-c-5f4034a_GH0.tar.gz) = 745013
 SHA256 (danlark1-miniselect-be0af6b_GH0.tar.gz) = 3e9f40847fa2774a8fdc8a219ad226de30784ae62d926328247534b102cb62ef
 SIZE (danlark1-miniselect-be0af6b_GH0.tar.gz) = 404227
 SHA256 (msgpack-msgpack-c-4668426_GH0.tar.gz) = 77fb0ecbfb46ed73dfe79b1b04d0be19a2441756964e81bd559eadc4f38cb943
 SIZE (msgpack-msgpack-c-4668426_GH0.tar.gz) = 496549
+SHA256 (nanodbc-nanodbc-df52a12_GH0.tar.gz) = 01e1f2dbc58415eb6f22bd0a4e38b880c7fe821fb607c8bc0a4310b02bd6fa1b
+SIZE (nanodbc-nanodbc-df52a12_GH0.tar.gz) = 706781
 SHA256 (ClickHouse-Extras-openldap-0208811_GH0.tar.gz) = e7ff9ba82fd7ed523ed26a518ddd14a0120fe2254b556668d0d3d3b052eaced8
 SIZE (ClickHouse-Extras-openldap-0208811_GH0.tar.gz) = 5706857
 SHA256 (apache-orc-0a936f6_GH0.tar.gz) = 7c48e776356e6a9cfcc85fb4288ae949d29a1752ce18b09d7e6beb8a74d22ae5
 SIZE (apache-orc-0a936f6_GH0.tar.gz) = 13626312
-SHA256 (ClickHouse-Extras-poco-5994506_GH0.tar.gz) = c03b986572296d07d1711727a42bd264bbc4d763e78f444d501f18f28d05025e
-SIZE (ClickHouse-Extras-poco-5994506_GH0.tar.gz) = 10244406
-SHA256 (ClickHouse-Extras-protobuf-73b1281_GH0.tar.gz) = 5761c4b3b5da2f87952642830c5e728f95d4e9f2d0ac9bac2c2cb97b5c2b9266
-SIZE (ClickHouse-Extras-protobuf-73b1281_GH0.tar.gz) = 5277846
+SHA256 (ClickHouse-Extras-poco-258b9ba_GH0.tar.gz) = 06ae7ade2194f380dc7fe22595ab4613a79fc3f1830bd95d95666d5b65d284c3
+SIZE (ClickHouse-Extras-poco-258b9ba_GH0.tar.gz) = 10248180
+SHA256 (ClickHouse-Extras-protobuf-c1c5d02_GH0.tar.gz) = 12d520c8a08bdc5863ea1ae9f872f4dbd1f970471f70b5f421c735d1213d47ea
+SIZE (ClickHouse-Extras-protobuf-c1c5d02_GH0.tar.gz) = 5233129
 SHA256 (ClickHouse-Extras-rapidjson-c4ef90c_GH0.tar.gz) = 8c986a8e27c8091d3b4dea24b3910244993e7617cb1d573e96d1ce35a324c81c
 SIZE (ClickHouse-Extras-rapidjson-c4ef90c_GH0.tar.gz) = 1059337
 SHA256 (google-re2-13ebb37_GH0.tar.gz) = 61659543e75181d34bd6c610a4d203b57131c2ba69270809cec66b47cc00de70
 SIZE (google-re2-13ebb37_GH0.tar.gz) = 403329
-SHA256 (ClickHouse-Extras-replxx-c81be6c_GH0.tar.gz) = 730cff2add2b478a2e7fe0aaf68a97d4cd30333dff6d002e650946053147a0e2
-SIZE (ClickHouse-Extras-replxx-c81be6c_GH0.tar.gz) = 87426
-SHA256 (ClickHouse-Extras-rocksdb-07c7754_GH0.tar.gz) = 7da8a44e1f2f10a165e4f8c40115b7be4a80ba07ba0ad6dc99f2220862d40621
-SIZE (ClickHouse-Extras-rocksdb-07c7754_GH0.tar.gz) = 6506946
-SHA256 (ClickHouse-Extras-sentry-native-94644e9_GH0.tar.gz) = b1445b3dec3d42e8ae7e93aff37c96d19b44f1e60b3c83df981b9c19618c169d
-SIZE (ClickHouse-Extras-sentry-native-94644e9_GH0.tar.gz) = 236202
+SHA256 (ClickHouse-Extras-replxx-f019cba_GH0.tar.gz) = 445cce39b359616082eef146ff7f62da9192871461ee4c2ef00feaf4a63b2595
+SIZE (ClickHouse-Extras-replxx-f019cba_GH0.tar.gz) = 99496
+SHA256 (ClickHouse-Extras-rocksdb-e7c2b2f_GH0.tar.gz) = 4aee06eaff67b8b4a069ca52f922a4e37b57b59e2120a140b62ab929c2e7efa4
+SIZE (ClickHouse-Extras-rocksdb-e7c2b2f_GH0.tar.gz) = 9167121
+SHA256 (ClickHouse-Extras-s2geometry-38b7a29_GH0.tar.gz) = da242ef37ff2c8341438139994864d4f34ef6f76cdd4f6353e58b1dd7e748d8e
+SIZE (ClickHouse-Extras-s2geometry-38b7a29_GH0.tar.gz) = 1129336
+SHA256 (ClickHouse-Extras-sentry-native-f431047_GH0.tar.gz) = c4f7fbfb5c4bfe87b78683635502861116dd0a26cacd7d569deab857682a51b6
+SIZE (ClickHouse-Extras-sentry-native-f431047_GH0.tar.gz) = 236223
 SHA256 (ClickHouse-Extras-simdjson-8df32ce_GH0.tar.gz) = c50f7a54966cee7a91b8cdd5a9fa445edd2b95c024c58784e4007d9b0b85ea98
 SIZE (ClickHouse-Extras-simdjson-8df32ce_GH0.tar.gz) = 7959099
-SHA256 (google-snappy-3f194ac_GH0.tar.gz) = d91de408967b49da993e291f5e82ae5975f3ad9e3baca1a6c10cad4d546a8aa6
-SIZE (google-snappy-3f194ac_GH0.tar.gz) = 1092698
+SHA256 (google-snappy-fb057ed_GH0.tar.gz) = d74bf90931bde9b15673b78dd68c60aeb5e91b77824348f8a83184624424f095
+SIZE (google-snappy-fb057ed_GH0.tar.gz) = 1102771
 SHA256 (sparsehash-sparsehash-c11-cf0bffa_GH0.tar.gz) = 6714e34a9b2b16a040bb8f5a04acbd27e89d3fe02b38eae45cca26477e75984d
 SIZE (sparsehash-sparsehash-c11-cf0bffa_GH0.tar.gz) = 576802
-SHA256 (kthohr-stats-b6dd459_GH0.tar.gz) = 5a4285ccfcd856b9fbd69b4e16ec31b43c2ee3578e5927f4597e29e74384e240
-SIZE (kthohr-stats-b6dd459_GH0.tar.gz) = 102211
+SHA256 (azadkuh-sqlite-amalgamation-9818baa_GH0.tar.gz) = f48942a9fc1ad5ee5506b74a6cf2349bd3f2207ed2b23484f37682dfd5633b9b
+SIZE (azadkuh-sqlite-amalgamation-9818baa_GH0.tar.gz) = 2480927
+SHA256 (ClickHouse-Extras-sysroot-4108451_GH0.tar.gz) = 943ae993dc6901f771c387c5b7d3cee078c76f89281cdf08e6879e8cb219c6de
+SIZE (ClickHouse-Extras-sysroot-4108451_GH0.tar.gz) = 41561224
 SHA256 (apache-thrift-010ccf0_GH0.tar.gz) = 839804231ec99111cfb0035641316161f2997b61db73218106001a1b32f1d812
 SIZE (apache-thrift-010ccf0_GH0.tar.gz) = 2923002
 SHA256 (ClickHouse-Extras-UnixODBC-b0ad30f_GH0.tar.gz) = 32d8df90d925324d694e7592d2f04701dc29c93e4e591154e9a77c06f96ccb83
 SIZE (ClickHouse-Extras-UnixODBC-b0ad30f_GH0.tar.gz) = 1595038
+SHA256 (ClickHouse-Extras-wordnet-blast-1d16ac2_GH0.tar.gz) = 45feaac3b6c9685ac41ad87c4186a2fbbaa107e835a67cc16adf764203369840
+SIZE (ClickHouse-Extras-wordnet-blast-1d16ac2_GH0.tar.gz) = 15998
 SHA256 (xz-mirror-xz-869b9d1_GH0.tar.gz) = 7a512bd28783385545dee1d263220afe61c633d84c45ffe459ea814e8ea7f057
 SIZE (xz-mirror-xz-869b9d1_GH0.tar.gz) = 719977
 SHA256 (ClickHouse-Extras-yaml-cpp-0c86ada_GH0.tar.gz) = f2763d5687844fba8c6b2bf15935048a375823bd9ae2bb2bc46c5e36465b5ccd
 SIZE (ClickHouse-Extras-yaml-cpp-0c86ada_GH0.tar.gz) = 1033180
-SHA256 (ClickHouse-Extras-zlib-ng-db232d3_GH0.tar.gz) = e0ac9b22d08a676308ccc938924a45731ae2ad105b33b54ef543e52c0cf12c97
-SIZE (ClickHouse-Extras-zlib-ng-db232d3_GH0.tar.gz) = 699074
+SHA256 (ClickHouse-Extras-zlib-ng-bffad6f_GH0.tar.gz) = 1a706b7b3529bf99caa11a0d277dc08bd4d8c46ba95678382a9c5c222cc88b3e
+SIZE (ClickHouse-Extras-zlib-ng-bffad6f_GH0.tar.gz) = 810000
 SHA256 (facebook-zstd-a488ba1_GH0.tar.gz) = 69836fe7170fa2819ee5c2d3560fd179857f15609846af5325bc3a6c2cdf7f2e
 SIZE (facebook-zstd-a488ba1_GH0.tar.gz) = 1867248
-SHA256 (c-ares-c-ares-e982924_GH0.tar.gz) = b9a9375bcc52e113e485b8ba6d944cb2b6708b6f15e704746fc12b9a1b8790ae
-SIZE (c-ares-c-ares-e982924_GH0.tar.gz) = 746706
diff --git a/databases/clickhouse/files/clickhouse.in b/databases/clickhouse/files/clickhouse.in
index f058335c875d..a3ff2098e49b 100644
--- a/databases/clickhouse/files/clickhouse.in
+++ b/databases/clickhouse/files/clickhouse.in
@@ -8,6 +8,9 @@
 #
 # clickhouse_enable (bool):  Set to "NO" by default
 #                          Set it to "YES" to enable clickhouse server
+%%LEGACY_LIMITS%%# clickhouse_limits (bool):  Set to "NO" by default.
+%%LEGACY_LIMITS%%#                        Set it to yes to run `limits -e -U clickhouse`
+%%LEGACY_LIMITS%%#                        just before clickhouse starts.
 # clickhouse_config (str): Path to config file (required).
 #                          (default: %%PREFIX%%/etc/clickhouse-server/config.xml)
 # clickhouse_rundir (str):   Path to directory holding a pidfile.
@@ -29,6 +32,7 @@ rcvar=clickhouse_enable
 load_rc_config ${name}
 
 : ${clickhouse_enable="NO"}
+%%LEGACY_LIMITS%%: ${clickhouse_limits="NO"}
 : ${clickhouse_config="%%PREFIX%%/etc/clickhouse-server/config.xml"}
 : ${clickhouse_rundir="/var/run/clickhouse"}
 : ${clickhouse_user="clickhouse"}
@@ -50,7 +54,12 @@ clickhouse_prestart () {
 		install -d -o ${clickhouse_user} -g ${clickhouse_group} ${_dir}
 	done
 
-	return 0
+%%LEGACY_LIMITS%%	if checkyesno clickhouse_limits; then
+%%LEGACY_LIMITS%%		eval `/usr/bin/limits -e -U ${clickhouse_user}` 2>/dev/null
+%%LEGACY_LIMITS%%	else
+%%LEGACY_LIMITS%%		return 0
+%%LEGACY_LIMITS%%	fi
+%%MODERN_LIMITS%%	return 0
 }
 
 run_rc_command "$1"
diff --git a/databases/clickhouse/files/patch-cmake_find_krb5.cmake b/databases/clickhouse/files/patch-cmake_find_krb5.cmake
new file mode 100644
index 000000000000..ad14f69f0b77
--- /dev/null
+++ b/databases/clickhouse/files/patch-cmake_find_krb5.cmake
@@ -0,0 +1,11 @@
+--- cmake/find/krb5.cmake.orig	2021-12-26 09:29:33 UTC
++++ cmake/find/krb5.cmake
+@@ -5,7 +5,7 @@ if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/krb5/
+     set (ENABLE_KRB5 0)
+ endif ()
+ 
+-if (NOT CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND NOT CMAKE_CROSSCOMPILING))
++if (NOT CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD" AND NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND NOT CMAKE_CROSSCOMPILING))
+     message (WARNING "krb5 disabled in non-Linux and non-native-Darwin environments")
+     set (ENABLE_KRB5 0)
+ endif ()
diff --git a/databases/clickhouse/files/patch-cmake_find_ldap.cmake b/databases/clickhouse/files/patch-cmake_find_ldap.cmake
deleted file mode 100644
index 4ccad4821cf7..000000000000
--- a/databases/clickhouse/files/patch-cmake_find_ldap.cmake
+++ /dev/null
@@ -1,10 +0,0 @@
---- cmake/find/ldap.cmake.orig	2021-09-13 15:27:47.655692000 +0200
-+++ cmake/find/ldap.cmake	2021-09-13 15:28:02.970539000 +0200
-@@ -64,6 +64,7 @@ if (NOT OPENLDAP_FOUND AND NOT MISSING_INTERNAL_LDAP_L
-         ( "${_system_name}" STREQUAL "linux"   AND "${_system_processor}" STREQUAL "aarch64" ) OR
-         ( "${_system_name}" STREQUAL "linux"   AND "${_system_processor}" STREQUAL "ppc64le" ) OR
-         ( "${_system_name}" STREQUAL "freebsd" AND "${_system_processor}" STREQUAL "x86_64"  ) OR
-+        ( "${_system_name}" STREQUAL "freebsd" AND "${_system_processor}" STREQUAL "aarch64" ) OR
-         ( "${_system_name}" STREQUAL "darwin"  AND "${_system_processor}" STREQUAL "x86_64"  ) OR
-         ( "${_system_name}" STREQUAL "darwin"  AND "${_system_processor}" STREQUAL "aarch64"   )
-     )
diff --git a/databases/clickhouse/files/patch-cmake_freebsd_default__libs.cmake b/databases/clickhouse/files/patch-cmake_freebsd_default__libs.cmake
index 70c32f8227bf..a83c7a0c08da 100644
--- a/databases/clickhouse/files/patch-cmake_freebsd_default__libs.cmake
+++ b/databases/clickhouse/files/patch-cmake_freebsd_default__libs.cmake
@@ -1,4 +1,4 @@
---- cmake/freebsd/default_libs.cmake.orig	2021-04-12 12:15:33 UTC
+--- cmake/freebsd/default_libs.cmake.orig	2021-12-26 09:29:33 UTC
 +++ cmake/freebsd/default_libs.cmake
 @@ -4,13 +4,13 @@ if (NOT COMPILER_CLANG)
      message (FATAL_ERROR "FreeBSD build is supported only for Clang")
diff --git a/databases/clickhouse/files/patch-cmake_freebsd_toolchain-x86__64.cmake b/databases/clickhouse/files/patch-cmake_freebsd_toolchain-x86__64.cmake
new file mode 100644
index 000000000000..d38c6fa2514e
--- /dev/null
+++ b/databases/clickhouse/files/patch-cmake_freebsd_toolchain-x86__64.cmake
@@ -0,0 +1,14 @@
+--- cmake/freebsd/toolchain-x86_64.cmake.orig	2021-12-26 09:29:33 UTC
++++ cmake/freebsd/toolchain-x86_64.cmake
+@@ -1,8 +1,8 @@
+ set (CMAKE_SYSTEM_NAME "FreeBSD")
+ set (CMAKE_SYSTEM_PROCESSOR "x86_64")
+-set (CMAKE_C_COMPILER_TARGET "x86_64-pc-freebsd11")
+-set (CMAKE_CXX_COMPILER_TARGET "x86_64-pc-freebsd11")
+-set (CMAKE_ASM_COMPILER_TARGET "x86_64-pc-freebsd11")
++set (CMAKE_C_COMPILER_TARGET "x86_64-pc-freebsd13")
++set (CMAKE_CXX_COMPILER_TARGET "x86_64-pc-freebsd13")
++set (CMAKE_ASM_COMPILER_TARGET "x86_64-pc-freebsd13")
+ set (CMAKE_SYSROOT "${CMAKE_CURRENT_LIST_DIR}/../../contrib/sysroot/freebsd-x86_64")
+ 
+ set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)  # disable linkage check - it doesn't work in CMake
diff --git a/databases/clickhouse/files/patch-cmake_tools.cmake b/databases/clickhouse/files/patch-cmake_tools.cmake
new file mode 100644
index 000000000000..9e7a474a7937
--- /dev/null
+++ b/databases/clickhouse/files/patch-cmake_tools.cmake
@@ -0,0 +1,11 @@
+--- cmake/tools.cmake.orig	2021-12-26 09:29:33 UTC
++++ cmake/tools.cmake
+@@ -40,7 +40,7 @@ elseif (COMPILER_CLANG)
+             set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fchar8_t")
+         endif ()
+     else ()
+-        set (CLANG_MINIMUM_VERSION 12)
++        set (CLANG_MINIMUM_VERSION 11)
+         if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${CLANG_MINIMUM_VERSION})
+             message (FATAL_ERROR "Clang version must be at least ${CLANG_MINIMUM_VERSION}.")
+         endif ()
diff --git a/databases/clickhouse/files/patch-contrib_abseil-cpp_absl_copts_AbseilConfigureCopts.cmake b/databases/clickhouse/files/patch-contrib_abseil-cpp_absl_copts_AbseilConfigureCopts.cmake
new file mode 100644
index 000000000000..4db378c788b5
--- /dev/null
+++ b/databases/clickhouse/files/patch-contrib_abseil-cpp_absl_copts_AbseilConfigureCopts.cmake
@@ -0,0 +1,13 @@
+--- contrib/abseil-cpp/absl/copts/AbseilConfigureCopts.cmake.orig	2021-09-10 11:00:21 UTC
++++ contrib/abseil-cpp/absl/copts/AbseilConfigureCopts.cmake
+@@ -12,7 +12,9 @@ else()
+   set(ABSL_BUILD_DLL FALSE)
+ endif()
+ 
+-if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "AMD64")
++string (TOUPPER ${CMAKE_SYSTEM_PROCESSOR} CMAKE_SYSTEM_PROCESSOR_UC)
++
++if(CMAKE_SYSTEM_PROCESSOR_UC STREQUAL "X86_64" OR CMAKE_SYSTEM_PROCESSOR_UC STREQUAL "AMD64")
+   if (MSVC)
+     set(ABSL_RANDOM_RANDEN_COPTS "${ABSL_RANDOM_HWAES_MSVC_X64_FLAGS}")
+   else()
diff --git a/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt b/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt
index 733dc7778753..a60049c288d5 100644
--- a/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt
+++ b/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt
@@ -1,12 +1,11 @@
---- contrib/cassandra/CMakeLists.txt.orig	2021-01-25 21:26:46 UTC
+--- contrib/cassandra/CMakeLists.txt.orig	2021-05-28 13:12:55 UTC
 +++ contrib/cassandra/CMakeLists.txt
-@@ -165,7 +165,8 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
+@@ -165,7 +165,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
     "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
    # Enable C++11 support to use std::atomic
    if(CASS_USE_STD_ATOMIC)
 -    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 +    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
-+    set(CMAKE_CXX_STANDARD "17")
    endif()
  
    # OpenSSL is deprecated on later versions of Mac OS X. The long-term solution
diff --git a/databases/clickhouse/files/patch-contrib_grpc_third__party_cares_cares_CMakeLists.txt b/databases/clickhouse/files/patch-contrib_grpc_third__party_cares_cares_CMakeLists.txt
new file mode 100644
index 000000000000..e113926a7dd3
--- /dev/null
+++ b/databases/clickhouse/files/patch-contrib_grpc_third__party_cares_cares_CMakeLists.txt
@@ -0,0 +1,15 @@
+--- contrib/grpc/third_party/cares/cares/CMakeLists.txt.orig	2021-10-11 11:30:53 UTC
++++ contrib/grpc/third_party/cares/cares/CMakeLists.txt
+@@ -115,7 +115,11 @@ ENDIF ()
+ CHECK_LIBRARY_EXISTS (nsl gethostbyname "" HAVE_LIBNSL)
+ CHECK_LIBRARY_EXISTS (rt clock_gettime "" HAVE_LIBRT)
+ 
+-SET (HAVE_LIBRESOLV 1)
++# Look for dependent/required libraries
++CHECK_LIBRARY_EXISTS (resolv res_servicename "" HAVE_RES_SERVICENAME_IN_LIBRESOLV)
++IF (HAVE_RES_SERVICENAME_IN_LIBRESOLV)
++	SET (HAVE_LIBRESOLV 1)
++ENDIF ()
+ 
+ # Look for necessary includes
+ CHECK_INCLUDE_FILES (sys/types.h           HAVE_SYS_TYPES_H)
diff --git a/databases/clickhouse/files/patch-contrib_jemalloc-cmake_CMakeLists.txt b/databases/clickhouse/files/patch-contrib_jemalloc-cmake_CMakeLists.txt
new file mode 100644
index 000000000000..404f3a7c00ff
--- /dev/null
+++ b/databases/clickhouse/files/patch-contrib_jemalloc-cmake_CMakeLists.txt
@@ -0,0 +1,13 @@
+--- contrib/jemalloc-cmake/CMakeLists.txt.orig	2021-12-26 09:29:33 UTC
++++ contrib/jemalloc-cmake/CMakeLists.txt
+@@ -19,8 +19,8 @@ if (NOT ENABLE_JEMALLOC)
+     return()
+ endif ()
+ 
+-if (NOT OS_LINUX)
+-    message (WARNING "jemalloc support on non-linux is EXPERIMENTAL")
++if (NOT OS_LINUX AND NOT OS_FREEBSD)
++    message (WARNING "jemalloc support on non-linux and non-bsd is EXPERIMENTAL")
+ endif()
+ 
+ if (OS_LINUX)
diff --git a/databases/clickhouse/files/patch-contrib_jemalloc-cmake_include__freebsd__aarch64_jemalloc_internal_jemalloc__internal__defs.h.in b/databases/clickhouse/files/patch-contrib_jemalloc-cmake_include__freebsd__aarch64_jemalloc_internal_jemalloc__internal__defs.h.in
deleted file mode 100644
index 388d9bdec34a..000000000000
--- a/databases/clickhouse/files/patch-contrib_jemalloc-cmake_include__freebsd__aarch64_jemalloc_internal_jemalloc__internal__defs.h.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- contrib/jemalloc-cmake/include_freebsd_aarch64/jemalloc/internal/jemalloc_internal_defs.h.in.orig	2021-07-22 13:50:06.073516000 +0200
-+++ contrib/jemalloc-cmake/include_freebsd_aarch64/jemalloc/internal/jemalloc_internal_defs.h.in	2021-07-22 13:50:28.909237000 +0200
-@@ -161,7 +161,7 @@
-  * JEMALLOC_DSS enables use of sbrk(2) to allocate extents from the data storage
-  * segment (DSS).
-  */
--#define JEMALLOC_DSS
-+/* #undef JEMALLOC_DSS */
- 
- /* Support memory filling (junk/zero). */
- #define JEMALLOC_FILL
diff --git a/databases/clickhouse/files/patch-contrib_krb5-cmake_autoconf__freebsd.h b/databases/clickhouse/files/patch-contrib_krb5-cmake_autoconf__freebsd.h
new file mode 100644
index 000000000000..474974c1df08
--- /dev/null
+++ b/databases/clickhouse/files/patch-contrib_krb5-cmake_autoconf__freebsd.h
@@ -0,0 +1,767 @@
+--- contrib/krb5-cmake/autoconf_freebsd.h.orig	2022-01-11 05:28:26 UTC
++++ contrib/krb5-cmake/autoconf_freebsd.h
+@@ -0,0 +1,764 @@
++/* include/autoconf.h.  Generated from autoconf.h.in by configure.  */
++/* include/autoconf.h.in.  Generated from configure.in by autoheader.  */
++
++
++#ifndef KRB5_AUTOCONF_H
++#define KRB5_AUTOCONF_H
++
++
++/* Define if AES-NI support is enabled */
++/* #undef AESNI */
++
++/* Define if socket can't be bound to 0.0.0.0 */
++/* #undef BROKEN_STREAMS_SOCKETS */
++
++/* Define if va_list objects can be simply copied by assignment. */
++/* #undef CAN_COPY_VA_LIST */
++
++/* Define to reduce code size even if it means more cpu usage */
++/* #undef CONFIG_SMALL */
++
++/* Define if __attribute__((constructor)) works */
++#define CONSTRUCTOR_ATTR_WORKS 1
++
++/* Define to default ccache name */
++#define DEFCCNAME "FILE:/tmp/krb5cc_%{uid}"
++
++/* Define to default client keytab name */
++#define DEFCKTNAME "FILE:/etc/krb5/user/%{euid}/client.keytab"
++
++/* Define to default keytab name */
++#define DEFKTNAME "FILE:/etc/krb5.keytab"
++
++/* Define if library initialization should be delayed until first use */
++#define DELAY_INITIALIZER 1
++
++/* Define if __attribute__((destructor)) works */
++#define DESTRUCTOR_ATTR_WORKS 1
++
++/* Define to disable PKINIT plugin support */
++#define DISABLE_PKINIT 1
++
++/* Define if LDAP KDB support within the Kerberos library (mainly ASN.1 code)
++   should be enabled. */
++/* #undef ENABLE_LDAP */
++
++/* Define if translation functions should be used. */
++/* #undef ENABLE_NLS */
++
++/* Define if thread support enabled */
++#define ENABLE_THREADS 1
++
++/* Define as return type of endrpcent */
++#define ENDRPCENT_TYPE void
++
++/* Define if Fortuna PRNG is selected */
++#define FORTUNA 1
++
++/* Define to the type of elements in the array set by `getgroups'. Usually
++   this is either `int' or `gid_t'. */
++#define GETGROUPS_T gid_t
++
++/* Define if gethostbyname_r returns int rather than struct hostent * */
++/* #undef GETHOSTBYNAME_R_RETURNS_INT */
++
++/* Type of getpeername second argument. */
++#define GETPEERNAME_ARG3_TYPE GETSOCKNAME_ARG3_TYPE
++
++/* Define if getpwnam_r exists but takes only 4 arguments (e.g., POSIX draft 6
++   implementations like some Solaris releases). */
++/* #undef GETPWNAM_R_4_ARGS */
++
++/* Define if getpwnam_r returns an int */
++#define GETPWNAM_R_RETURNS_INT 1
++
++/* Define if getpwuid_r exists but takes only 4 arguments (e.g., POSIX draft 6
++   implementations like some Solaris releases). */
++/* #undef GETPWUID_R_4_ARGS */
++
++/* Define if getservbyname_r returns int rather than struct servent * */
++/* #undef GETSERVBYNAME_R_RETURNS_INT */
++
++/* Type of pointer target for argument 3 to getsockname */
++#define GETSOCKNAME_ARG3_TYPE socklen_t
++
++/* Define if gmtime_r returns int instead of struct tm pointer, as on old
++   HP-UX systems. */
++/* #undef GMTIME_R_RETURNS_INT */
++
++/* Define if va_copy macro or function is available. */
++#define HAS_VA_COPY 1
++
++/* Define to 1 if you have the `access' function. */
++#define HAVE_ACCESS 1
++
++/* Define to 1 if you have the <alloca.h> header file. */
++#define HAVE_ALLOCA_H 1
++
++/* Define to 1 if you have the <arpa/inet.h> header file. */
++#define HAVE_ARPA_INET_H 1
++
++/* Define to 1 if you have the `bswap16' function. */
++/* #undef HAVE_BSWAP16 */
++
++/* Define to 1 if you have the `bswap64' function. */
++/* #undef HAVE_BSWAP64 */
++
++/* Define to 1 if bswap_16 is available via byteswap.h */
++/* #undef HAVE_BSWAP_16 */
++
++/* Define to 1 if bswap_64 is available via byteswap.h */
++/* #undef HAVE_BSWAP_64 */
++
++/* Define if bt_rseq is available, for recursive btree traversal. */
++#define HAVE_BT_RSEQ 1
++
++/* Define to 1 if you have the <byteswap.h> header file. */
++/* #undef HAVE_BYTESWAP_H */
++
++/* Define to 1 if you have the `chmod' function. */
++#define HAVE_CHMOD 1
++
++/* Define if cmocka library is available. */
++/* #undef HAVE_CMOCKA */
++
++/* Define to 1 if you have the `compile' function. */
++/* #undef HAVE_COMPILE */
++
++/* Define if com_err has compatible gettext support */
++#define HAVE_COM_ERR_INTL 1
++
++/* Define to 1 if you have the <cpuid.h> header file. */
++/* #undef HAVE_CPUID_H */
++
++/* Define to 1 if you have the `daemon' function. */
++#define HAVE_DAEMON 1
++
++/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
++   don't. */
++#define HAVE_DECL_STRERROR_R 1
++
++/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
++   */
++#define HAVE_DIRENT_H 1
++
++/* Define to 1 if you have the <dlfcn.h> header file. */
++#define HAVE_DLFCN_H 1
++
++/* Define to 1 if you have the `dn_skipname' function. */
++#define HAVE_DN_SKIPNAME 1
++
++/* Define to 1 if you have the <endian.h> header file. */
++/* #undef HAVE_ENDIAN_H */
++
++/* Define to 1 if you have the <errno.h> header file. */
++#define HAVE_ERRNO_H 1
++
++/* Define to 1 if you have the `fchmod' function. */
++#define HAVE_FCHMOD 1
++
++/* Define to 1 if you have the <fcntl.h> header file. */
++#define HAVE_FCNTL_H 1
++
++/* Define to 1 if you have the `flock' function. */
++#define HAVE_FLOCK 1
++
++/* Define to 1 if you have the `fnmatch' function. */
++#define HAVE_FNMATCH 1
++
++/* Define to 1 if you have the <fnmatch.h> header file. */
++#define HAVE_FNMATCH_H 1
++
++/* Define if you have the getaddrinfo function */
++#define HAVE_GETADDRINFO 1
++
++/* Define to 1 if you have the `getcwd' function. */
++#define HAVE_GETCWD 1
++
++/* Define to 1 if you have the `getenv' function. */
++#define HAVE_GETENV 1
++
++/* Define to 1 if you have the `geteuid' function. */
++#define HAVE_GETEUID 1
++
++/* Define if gethostbyname_r exists and its return type is known */
++/* #undef HAVE_GETHOSTBYNAME_R */
++
++/* Define to 1 if you have the `getnameinfo' function. */
++#define HAVE_GETNAMEINFO 1
++
++/* Define if system getopt should be used. */
++#define HAVE_GETOPT 1
++
++/* Define if system getopt_long should be used. */
++#define HAVE_GETOPT_LONG 1
++
++/* Define if getpwnam_r is available and useful. */
++#define HAVE_GETPWNAM_R 1
++
++/* Define if getpwuid_r is available and useful. */
++#define HAVE_GETPWUID_R 1
++
++/* Define if getservbyname_r exists and its return type is known */
++/* #undef HAVE_GETSERVBYNAME_R */
++
++/* Have the gettimeofday function */
++#define HAVE_GETTIMEOFDAY 1
++
++/* Define to 1 if you have the `getusershell' function. */
++#define HAVE_GETUSERSHELL 1
++
++/* Define to 1 if you have the `gmtime_r' function. */
++#define HAVE_GMTIME_R 1
++
++/* Define to 1 if you have the <ifaddrs.h> header file. */
++#define HAVE_IFADDRS_H 1
++
++/* Define to 1 if you have the `inet_ntop' function. */
++#define HAVE_INET_NTOP 1
++
++/* Define to 1 if you have the `inet_pton' function. */
++#define HAVE_INET_PTON 1
++
++/* Define to 1 if the system has the type `int16_t'. */
++#define HAVE_INT16_T 1
++
++/* Define to 1 if the system has the type `int32_t'. */
++#define HAVE_INT32_T 1
++
++/* Define to 1 if the system has the type `int8_t'. */
++#define HAVE_INT8_T 1
++
++/* Define to 1 if you have the <inttypes.h> header file. */
++#define HAVE_INTTYPES_H 1
++
++/* Define to 1 if you have the <keyutils.h> header file. */
++/* #undef HAVE_KEYUTILS_H */
++
++/* Define to 1 if you have the <lber.h> header file. */
++/* #undef HAVE_LBER_H */
++
++/* Define to 1 if you have the <ldap.h> header file. */
++/* #undef HAVE_LDAP_H */
++
++/* Define to 1 if you have the `crypto' library (-lcrypto). */
++#define HAVE_LIBCRYPTO 1
++
++/* Define if building with libedit. */
++/* #undef HAVE_LIBEDIT */
*** 15225 LINES SKIPPED ***