From owner-svn-ports-head@freebsd.org Thu Nov 23 10:20:31 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9907EDE6C27; Thu, 23 Nov 2017 10:20:31 +0000 (UTC) (envelope-from pizzamig@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 mx1.freebsd.org (Postfix) with ESMTPS id 70EFB653A9; Thu, 23 Nov 2017 10:20:31 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vANAKU2p031873; Thu, 23 Nov 2017 10:20:30 GMT (envelope-from pizzamig@FreeBSD.org) Received: (from pizzamig@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vANAKUQu031868; Thu, 23 Nov 2017 10:20:30 GMT (envelope-from pizzamig@FreeBSD.org) Message-Id: <201711231020.vANAKUQu031868@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pizzamig set sender to pizzamig@FreeBSD.org using -f From: Luca Pizzamiglio Date: Thu, 23 Nov 2017 10:20:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454751 - in head/databases/timescaledb: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pizzamig X-SVN-Commit-Paths: in head/databases/timescaledb: . files X-SVN-Commit-Revision: 454751 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 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: Thu, 23 Nov 2017 10:20:31 -0000 Author: pizzamig Date: Thu Nov 23 10:20:30 2017 New Revision: 454751 URL: https://svnweb.freebsd.org/changeset/ports/454751 Log: databases/timescaledb: Update to 0.7.0 changelog: https://github.com/timescale/timescaledb/releases/tag/0.7.0 Moreover, switches build to CMake and adds support for pgsql10 PR: 223800 Submitted by: kbowling@freebsd.org (maintainer) Approved by: olivier (mentor) Differential Revision: https://reviews.freebsd.org/D13191 Added: head/databases/timescaledb/files/ head/databases/timescaledb/files/patch-src_CMakeLists.txt (contents, props changed) head/databases/timescaledb/files/pkg-message.in - copied unchanged from r454750, head/databases/timescaledb/pkg-message Deleted: head/databases/timescaledb/pkg-message Modified: head/databases/timescaledb/Makefile head/databases/timescaledb/distinfo Modified: head/databases/timescaledb/Makefile ============================================================================== --- head/databases/timescaledb/Makefile Thu Nov 23 09:00:19 2017 (r454750) +++ head/databases/timescaledb/Makefile Thu Nov 23 10:20:30 2017 (r454751) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= timescaledb -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.0 CATEGORIES= databases MAINTAINER= kbowling@FreeBSD.org @@ -11,17 +11,17 @@ COMMENT= Time-series database built on PostgreSQL LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler:c11 gmake pgsql:9.6 +USES= compiler:c11 cmake:outsource pgsql:9.6,10 USE_LDCONFIG= yes USE_GITHUB= YES GH_ACCOUNT= timescale -MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 \ - install_bin=/usr/bin/install - WANT_PGSQL= server +SUB_LIST+= PORTVERSION=${PORTVERSION} +SUB_FILES= pkg-message + PLIST_FILES= lib/postgresql/timescaledb.so \ share/postgresql/extension/timescaledb--0.1.0--0.2.0.sql \ share/postgresql/extension/timescaledb--0.2.0--0.3.0.sql \ @@ -30,7 +30,9 @@ PLIST_FILES= lib/postgresql/timescaledb.so \ share/postgresql/extension/timescaledb--0.4.1--0.4.2.sql \ share/postgresql/extension/timescaledb--0.4.2--0.5.0.sql \ share/postgresql/extension/timescaledb--0.5.0--0.6.0.sql \ - share/postgresql/extension/timescaledb--0.6.0.sql \ + share/postgresql/extension/timescaledb--0.6.0--0.6.1.sql \ + share/postgresql/extension/timescaledb--0.6.1--0.7.0.sql \ + share/postgresql/extension/timescaledb--0.7.0.sql \ share/postgresql/extension/timescaledb.control post-install: Modified: head/databases/timescaledb/distinfo ============================================================================== --- head/databases/timescaledb/distinfo Thu Nov 23 09:00:19 2017 (r454750) +++ head/databases/timescaledb/distinfo Thu Nov 23 10:20:30 2017 (r454751) @@ -1,3 +1,3 @@ -TIMESTAMP = 1508301885 -SHA256 (timescale-timescaledb-0.6.0_GH0.tar.gz) = d8447eab8504cf4eb22567a844c86358d9cb46a2b1d65c7a021072079d90effb -SIZE (timescale-timescaledb-0.6.0_GH0.tar.gz) = 317259 +TIMESTAMP = 1511336203 +SHA256 (timescale-timescaledb-0.7.0_GH0.tar.gz) = 11087c59f2b91c035376ffdf64161be45789244c377260c1bef2f8fceebfd9d7 +SIZE (timescale-timescaledb-0.7.0_GH0.tar.gz) = 374746 Added: head/databases/timescaledb/files/patch-src_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/timescaledb/files/patch-src_CMakeLists.txt Thu Nov 23 10:20:30 2017 (r454751) @@ -0,0 +1,15 @@ +--- src/CMakeLists.txt.orig 2017-11-22 08:00:04 UTC ++++ src/CMakeLists.txt +@@ -13,11 +13,10 @@ if (APPLE) + set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -multiply_defined suppress -Wl,-undefined,dynamic_lookup -Wl,-dead_strip_dylibs -bundle_loader ${PG_BINDIR}/postgres") + endif (APPLE) + +-include_directories (${CMAKE_CURRENT_BINARY_DIR} ${PG_INCLUDEDIR_SERVER}) ++include_directories (${CMAKE_CURRENT_BINARY_DIR} ${PG_INCLUDEDIR} ${PG_INCLUDEDIR_SERVER}) + + if (WIN32) + set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${PG_LIBDIR}/postgres.lib ws2_32.lib") +- include_directories(${CMAKE_CURRENT_BINARY_DIR} ${PG_INCLUDEDIR}) + include_directories(${PG_INCLUDEDIR_SERVER}/port/win32) + + if (MSVC) Copied: head/databases/timescaledb/files/pkg-message.in (from r454750, head/databases/timescaledb/pkg-message) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/timescaledb/files/pkg-message.in Thu Nov 23 10:20:30 2017 (r454751, copy of r454750, head/databases/timescaledb/pkg-message) @@ -0,0 +1,7 @@ +To activate timescaledb on your PostgreSQL server, add 'timescaledb' to +shared_preload_libraries in $PGDATA/postgresql.conf. For every database, +run + CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE; + +If you are upgrading, restart PostgreSQL server and run + ALTER EXTENSION timescaledb UPDATE TO '0.6.0';