pkgsrc/databases/postgresql-timescaledb/Makefile
tnn a6a9d725ee postgresql-timescaledb: update to 2.4.1
The release fixes continuous aggregate refresh for postgres 12.8 and
13.4, a crash with ALTER TABLE commands and a crash with continuous
aggregates with HAVING clause.

This release adds new experimental features since the 2.3.1 release:
- APIs for chunk manipulation across data nodes
- The time_bucket_ng function, a newer version of time_bucket

PostgreSQL 11 is deprecated and not supported with TimescaleDB 2.4.
2021-08-24 18:23:22 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2021/08/24 18:23:22 tnn Exp $
DISTNAME= timescaledb-2.4.1
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=timescale/}
GITHUB_PROJECT= timescaledb
MAINTAINER= otis@NetBSD.org
HOMEPAGE= https://github.com/timescale/timescaledb
COMMENT= The timescaledb extension for PostgreSQL
LICENSE= apache-2.0
DEPENDS+= postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server
USE_CMAKE= yes
CMAKE_ARGS+= -DUSE_OPENSSL=ON
CMAKE_ARGS+= -DREGRESS_CHECKS=OFF
PGSQL_VERSIONS_ACCEPTED= 13 12
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"