pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql-timescaledb postgresql-timescaled...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ae738ac53a5
branches:  trunk
changeset: 454866:5ae738ac53a5
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jun 23 19:11:01 2021 +0000

description:
postgresql-timescaledb: update to 2.3.0

This release adds support for inserting data into compressed chunks
and improves performance when inserting data into distributed hypertables.
Distributed hypertables now also support triggers and compression policies.

The bug fixes in this release address issues related to the handling
of privileges on compressed hypertables, locking, and triggers with
transition tables.

diffstat:

 databases/postgresql-timescaledb/Makefile |  32 ++++++++++++++++++++++--------
 databases/postgresql-timescaledb/PLIST    |   6 +++-
 databases/postgresql-timescaledb/distinfo |  10 ++++----
 3 files changed, 32 insertions(+), 16 deletions(-)

diffs (89 lines):

diff -r 7586da805b79 -r 5ae738ac53a5 databases/postgresql-timescaledb/Makefile
--- a/databases/postgresql-timescaledb/Makefile Wed Jun 23 19:08:10 2021 +0000
+++ b/databases/postgresql-timescaledb/Makefile Wed Jun 23 19:11:01 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2021/04/25 10:07:42 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2021/06/23 19:11:01 tnn Exp $
 
-DISTNAME=      timescaledb-2.2.0
+DISTNAME=      timescaledb-2.3.0
 PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=timescale/}
@@ -9,13 +9,7 @@
 MAINTAINER=    otis%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/timescale/timescaledb
 COMMENT=       The timescaledb extension for PostgreSQL
-LICENSE=       apache-2.0 AND timescale-license
-
-RESTRICTED=            No clear permission granted to distribute
-NO_SRC_ON_FTP=         ${RESTRICTED}
-NO_SRC_ON_CDROM=       ${RESTRICTED}
-NO_BIN_ON_FTP=         ${RESTRICTED}
-NO_BIN_ON_CDROM=       ${RESTRICTED}
+LICENSE=       apache-2.0
 
 DEPENDS+=      postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server
 
@@ -25,5 +19,25 @@
 
 PGSQL_VERSIONS_ACCEPTED=       13 12 11
 
+PKG_OPTIONS_VAR=               PKG_OPTIONS.timescaledb
+PKG_SUPPORTED_OPTIONS+=                timescale-license
+PKG_SUGGESTED_OPTIONS+=                timescale-license
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           tsl
+.if !empty(PKG_OPTIONS:Mtimescale-license)
+LICENSE+=              AND timescale-license
+CMAKE_ARGS+=           -DAPACHE_ONLY=OFF
+RESTRICTED=            No clear permission granted to distribute
+NO_SRC_ON_FTP=         ${RESTRICTED}
+NO_SRC_ON_CDROM=       ${RESTRICTED}
+NO_BIN_ON_FTP=         ${RESTRICTED}
+NO_BIN_ON_CDROM=       ${RESTRICTED}
+PLIST.tsl=             yes
+.else
+CMAKE_ARGS+=           -DAPACHE_ONLY=ON
+.endif
+
 .include "../../mk/pgsql.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7586da805b79 -r 5ae738ac53a5 databases/postgresql-timescaledb/PLIST
--- a/databases/postgresql-timescaledb/PLIST    Wed Jun 23 19:08:10 2021 +0000
+++ b/databases/postgresql-timescaledb/PLIST    Wed Jun 23 19:11:01 2021 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2021/04/25 10:07:42 tnn Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/06/23 19:11:01 tnn Exp $
 lib/postgresql/timescaledb-${PKGVERSION}.so
-lib/postgresql/timescaledb-tsl-${PKGVERSION}.so
+${PLIST.tsl}lib/postgresql/timescaledb-tsl-${PKGVERSION}.so
 lib/postgresql/timescaledb.so
 share/postgresql/extension/timescaledb--1.1.0--${PKGVERSION}.sql
 share/postgresql/extension/timescaledb--1.1.1--${PKGVERSION}.sql
@@ -32,5 +32,7 @@
 share/postgresql/extension/timescaledb--2.0.2--${PKGVERSION}.sql
 share/postgresql/extension/timescaledb--2.1.0--${PKGVERSION}.sql
 share/postgresql/extension/timescaledb--2.1.1--${PKGVERSION}.sql
+share/postgresql/extension/timescaledb--2.2.0--${PKGVERSION}.sql
+share/postgresql/extension/timescaledb--2.2.1--${PKGVERSION}.sql
 share/postgresql/extension/timescaledb--${PKGVERSION}.sql
 share/postgresql/extension/timescaledb.control
diff -r 7586da805b79 -r 5ae738ac53a5 databases/postgresql-timescaledb/distinfo
--- a/databases/postgresql-timescaledb/distinfo Wed Jun 23 19:08:10 2021 +0000
+++ b/databases/postgresql-timescaledb/distinfo Wed Jun 23 19:11:01 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2021/04/25 10:07:42 tnn Exp $
+$NetBSD: distinfo,v 1.5 2021/06/23 19:11:01 tnn Exp $
 
-SHA1 (timescaledb-2.2.0.tar.gz) = d6a88c141b338f732327d6075d5581e24f481619
-RMD160 (timescaledb-2.2.0.tar.gz) = 6eb336378ea5e590d78ba7b1230673433a69fe2e
-SHA512 (timescaledb-2.2.0.tar.gz) = 041064f8c780add809deaeabbca762beb5b7b29803427107f02c39f385bfa71bac81abd43ba8abdcf9bd9d83725857e5ed37fa3f6de2cc1668f97b19fa5a792e
-Size (timescaledb-2.2.0.tar.gz) = 2614359 bytes
+SHA1 (timescaledb-2.3.0.tar.gz) = f5fa5eed4ffe3747cc1fa04a7b061a53cbde35c3
+RMD160 (timescaledb-2.3.0.tar.gz) = 5131789b12622db6b52bde8775827154cd8df12d
+SHA512 (timescaledb-2.3.0.tar.gz) = 1dac0969fb90840ccf5e3e458643903c56ded6028b6be32a6d0a02088333404f20d02509a22a80e0aad4903b61d7be9d4b9fe17cd4f60e8ba055620b15e8d6f3
+Size (timescaledb-2.3.0.tar.gz) = 2688931 bytes
 SHA1 (patch-CMakeLists.txt) = 75585489fde773d0cad310f33fa03a978b852b51



Home | Main Index | Thread Index | Old Index