From owner-svn-ports-all@freebsd.org Fri Mar 16 07:36:35 2018 Return-Path: Delivered-To: svn-ports-all@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 7073BF577CA; Fri, 16 Mar 2018 07:36:35 +0000 (UTC) (envelope-from yuri@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 193BA70CD3; Fri, 16 Mar 2018 07:36:35 +0000 (UTC) (envelope-from yuri@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 12F15212A1; Fri, 16 Mar 2018 07:36:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2G7aY0q032309; Fri, 16 Mar 2018 07:36:34 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2G7aYJ7032308; Fri, 16 Mar 2018 07:36:34 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803160736.w2G7aYJ7032308@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 16 Mar 2018 07:36:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464659 - head/databases/clickhouse X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/databases/clickhouse X-SVN-Commit-Revision: 464659 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.25 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: Fri, 16 Mar 2018 07:36:35 -0000 Author: yuri Date: Fri Mar 16 07:36:34 2018 New Revision: 464659 URL: https://svnweb.freebsd.org/changeset/ports/464659 Log: databases/clickhouse: Unbreak Port changes: * Add USES=shebangfix and SHEBANG_FILES * Add USES=python (python is used) * Add stripping PR: 226616 Approved by: portmgr (port compliance, infrastructure) Modified: head/databases/clickhouse/Makefile Modified: head/databases/clickhouse/Makefile ============================================================================== --- head/databases/clickhouse/Makefile Fri Mar 16 07:34:26 2018 (r464658) +++ head/databases/clickhouse/Makefile Fri Mar 16 07:36:34 2018 (r464659) @@ -5,6 +5,7 @@ PORTNAME= clickhouse PORTVERSION= 1.1.54362 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -stable +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= proler@gmail.com @@ -17,10 +18,9 @@ ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64" BUILD_DEPENDS= bash:shells/bash \ - sparsehash>=0:devel/sparsehash \ - cctz>=0:devel/cctz \ - libdouble-conversion>=0:devel/libdouble-conversion - + sparsehash>=0:devel/sparsehash \ + cctz>=0:devel/cctz \ + libdouble-conversion>=0:devel/libdouble-conversion LIB_DEPENDS= libtcmalloc.so:devel/google-perftools \ libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl \ @@ -36,7 +36,7 @@ LIB_DEPENDS= libtcmalloc.so:devel/google-perftools \ librdkafka.so:net/librdkafka \ libgtest.so:devel/googletest -USES= compiler:c++14-lang cmake iconv mysql ssl readline +USES= compiler:c++14-lang cmake iconv mysql python ssl readline shebangfix USE_LDCONFIG= yes CMAKE_ARGS= -DUNBUNDLED=1 \ -DUSE_STATIC_LIBRARIES=0 \ @@ -48,8 +48,12 @@ CMAKE_ARGS= -DUNBUNDLED=1 \ USE_GITHUB= yes GH_ACCOUNT= yandex GH_PROJECT= ClickHouse - USE_RC_SUBR= ${PORTNAME} +SHEBANG_FILES= dbms/tests/performance/create_benchmark_page.py \ + dbms/tests/external_dictionaries/generate_and_test.py \ + dbms/tests/external_dictionaries/http_server.py \ + dbms/tests/clickhouse-test + USERS= clickhouse GROUPS= clickhouse @@ -73,6 +77,8 @@ post-install: @${RM} ${STAGEDIR}${PREFIX}/bin/corrector_utf8 @${RM} -r ${STAGEDIR}${PREFIX}/include/gtest @${RM} ${STAGEDIR}${PREFIX}/lib/libgtest* + + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/clickhouse-test/external_dictionaries/dictionary_library/lib*.so ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/clickhouse-client/config.xml \ ${STAGEDIR}${PREFIX}/etc/clickhouse-client/config.xml.sample