svn commit: r492899 - head/databases/timescaledb

Kevin Bowling kbowling at FreeBSD.org
Thu Feb 14 04:12:45 UTC 2019


Author: kbowling
Date: Thu Feb 14 04:12:44 2019
New Revision: 492899
URL: https://svnweb.freebsd.org/changeset/ports/492899

Log:
  databases/timescaledb: invert TSL/APACHE_ONLY option
  
  Invert the APACHEONLY negative option to TSL positive option per mat.
  
  Fix pkg-message replacement issue reported by Giacomo Olgeni.
  
  Reported by:	mat (option inversion), Giacomo Olgeni (pkg-message)
  Approved by:	timur (mentor)
  Sponsored by:	BBOX.io
  Differential Revision:	https://reviews.freebsd.org/D19079

Modified:
  head/databases/timescaledb/Makefile
  head/databases/timescaledb/pkg-plist

Modified: head/databases/timescaledb/Makefile
==============================================================================
--- head/databases/timescaledb/Makefile	Thu Feb 14 03:45:07 2019	(r492898)
+++ head/databases/timescaledb/Makefile	Thu Feb 14 04:12:44 2019	(r492899)
@@ -3,6 +3,7 @@
 
 PORTNAME=	timescaledb
 PORTVERSION=	1.2.0
+PORTREVISION=	1
 CATEGORIES=	databases
 
 MAINTAINER=	kbowling at FreeBSD.org
@@ -20,15 +21,17 @@ USES=		compiler:c11 cmake pgsql:9.6,10,11 ssl
 USE_GITHUB=	YES
 GH_ACCOUNT=	timescale
 
-OPTIONS_DEFINE=		APACHEONLY
-OPTIONS_SUB=		yes
-
-APACHEONLY_CMAKE_BOOL=	APACHE_ONLY
-APACHEONLY_DESC=	Only build Apache licensed code
-
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 SUB_FILES=	pkg-message
+SUB_LIST=	PORTVERSION=${PORTVERSION}
 
 WANT_PGSQL=	server
+
+OPTIONS_DEFINE=		TSL
+OPTIONS_DEFAULT=	TSL
+OPTIONS_SUB=		yes
+
+TSL_DESC=		Enables TSL licensed code in additon to Apache license code
+TSL_CMAKE_BOOL_OFF=	APACHE_ONLY
 
 .include <bsd.port.mk>

Modified: head/databases/timescaledb/pkg-plist
==============================================================================
--- head/databases/timescaledb/pkg-plist	Thu Feb 14 03:45:07 2019	(r492898)
+++ head/databases/timescaledb/pkg-plist	Thu Feb 14 04:12:44 2019	(r492899)
@@ -1,5 +1,5 @@
 lib/postgresql/timescaledb-%%PORTVERSION%%.so
-%%NO_APACHEONLY%%lib/postgresql/timescaledb-tsl-%%PORTVERSION%%.so
+%%TSL%%lib/postgresql/timescaledb-tsl-%%PORTVERSION%%.so
 lib/postgresql/timescaledb.so
 share/postgresql/extension/timescaledb--0.1.0--%%PORTVERSION%%.sql
 share/postgresql/extension/timescaledb--0.10.0--%%PORTVERSION%%.sql


More information about the svn-ports-all mailing list