Date: Thu, 23 Nov 2017 10:20:30 +0000 (UTC) From: Luca Pizzamiglio <pizzamig@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454751 - in head/databases/timescaledb: . files Message-ID: <201711231020.vANAKUQu031868@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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';
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711231020.vANAKUQu031868>