pkgsrc/databases/postgresql-timescaledb/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

# $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
postgresql-timescaledb: update to 2.0.1 TimescaleDB 2.0 adds the much-anticipated support for distributed hypertables (multi-node TimescaleDB), as well as new features and enhancements to core functionality to give users better clarity and more control and flexibility over their data. This release also adds: - Support for user-defined actions, allowing users to define, customize, and schedule automated tasks, which can be run by the built-in jobs scheduling framework now exposed to users. - Significant changes to continuous aggregates, which now separate the view creation from the policy. Users can now refresh individual regions of the continuous aggregate materialized view, or schedule automated refreshing via policy. - Redesigned informational views, including new (and more general) views for information about hypertable's dimensions and chunks, policies and user-defined actions, as well as support for multi-node TimescaleDB. - Moving all formerly enterprise features into our Community Edition, and updating Timescale License, which now provides additional (more permissive) rights to users and developers. Some of the changes above (e.g., continuous aggregates, updated informational views) do introduce breaking changes to APIs and are not backwards compatible. While the update scripts in TimescaleDB 2.0 will upgrade databases running TimescaleDB 1.x automatically, some of these API and feature changes may require changes to clients and/or upstream scripts that rely on the previous APIs. Before upgrading, we recommend reviewing upgrade documentation at docs.timescale.com for more details.
2021-02-13 12:32:35 +01:00
CMAKE_ARGS+= -DUSE_OPENSSL=ON
CMAKE_ARGS+= -DREGRESS_CHECKS=OFF
PGSQL_VERSIONS_ACCEPTED= 13 12
postgresql-timescaledb: update to 2.0.1 TimescaleDB 2.0 adds the much-anticipated support for distributed hypertables (multi-node TimescaleDB), as well as new features and enhancements to core functionality to give users better clarity and more control and flexibility over their data. This release also adds: - Support for user-defined actions, allowing users to define, customize, and schedule automated tasks, which can be run by the built-in jobs scheduling framework now exposed to users. - Significant changes to continuous aggregates, which now separate the view creation from the policy. Users can now refresh individual regions of the continuous aggregate materialized view, or schedule automated refreshing via policy. - Redesigned informational views, including new (and more general) views for information about hypertable's dimensions and chunks, policies and user-defined actions, as well as support for multi-node TimescaleDB. - Moving all formerly enterprise features into our Community Edition, and updating Timescale License, which now provides additional (more permissive) rights to users and developers. Some of the changes above (e.g., continuous aggregates, updated informational views) do introduce breaking changes to APIs and are not backwards compatible. While the update scripts in TimescaleDB 2.0 will upgrade databases running TimescaleDB 1.x automatically, some of these API and feature changes may require changes to clients and/or upstream scripts that rely on the previous APIs. Before upgrading, we recommend reviewing upgrade documentation at docs.timescale.com for more details.
2021-02-13 12:32:35 +01:00
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"