Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: UPDATE: databases/timescaledb-2.15.1
To:
Renato Aguiar <renato@renatoaguiar.net>
Cc:
ports <ports@openbsd.org>, Denis Fondras <denis@openbsd.org>
Date:
Wed, 29 May 2024 13:40:46 +0100

Download raw body.

Thread
On 2024/05/28 21:30, Renato Aguiar wrote:
> 
> On Tue, May 28 2024, Denis Fondras wrote:
> 
> > Le Mon, May 27, 2024 at 06:55:26PM -0700, Renato Aguiar a écrit :
> >
> > I would add it to the port and print a message at the end of the installation.
> >
> 
> Here is a new diff adding the sql script, the post-install message and
> also updating it to version 2.15.1 (which was just released).
> 

> diff --git a/databases/timescaledb/Makefile b/databases/timescaledb/Makefile
> index 46389fd2322..658c95bb727 100644
> --- a/databases/timescaledb/Makefile
> +++ b/databases/timescaledb/Makefile
> @@ -1,8 +1,11 @@
>  COMMENT =	database designed to make SQL scalable for time-series data
>  
> -GH_ACCOUNT =	timescale
> -GH_PROJECT =	timescaledb
> -GH_TAGNAME =	2.14.2

you remove GH_TAGNAME, so...

>  SUBST_VARS +=	GH_TAGNAME

should be removed.

> +DIST_TUPLE +=	github timescale timescaledb ${V} .
> +DIST_TUPLE +=	github timescale timescaledb-extras ${EXTRAS_COMMIT} _extras

Alternatively, you could keep GH_* and just use DIST_TUPLE for the
timescaledb-extras distfile, then portroach should still be able to
detect updates (which it doesn't with DIST_TUPLE).