Re: git: 32e071bce273 - main - databases/sfcgal: Update to 1.5.1

From: Loïc_Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Fri, 22 Dec 2023 17:49:11 UTC
Hi,

Two reasons, Firstly, it's a matter of habit. When I forget to do it on 
certain ports, portmaster users complain about dependency issues.
The other reason, and this is where I see the missing link to the 
changelog, is that it's a bugfix release.
Potentially, PostGIS and PostgreSQL might crash if one of the SFCGAL 
algorithms is used incorrectly.

Regards,

Loïc

Le 22/12/2023 à 10:09, Po-Chuan Hsieh a écrit :
> On Fri, Dec 22, 2023 at 4:14 PM Loïc Bartoletti 
> <lbartoletti@freebsd.org> wrote:
>
>     The branch main has been updated by lbartoletti:
>
>     URL:
>     https://cgit.FreeBSD.org/ports/commit/?id=32e071bce273c4a5c120f1c26c5048504958d2cc
>     <https://cgit.FreeBSD.org/ports/commit/?id=32e071bce273c4a5c120f1c26c5048504958d2cc>
>
>     commit 32e071bce273c4a5c120f1c26c5048504958d2cc
>     Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
>     AuthorDate: 2023-12-22 08:12:26 +0000
>     Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
>     CommitDate: 2023-12-22 08:13:52 +0000
>
>         databases/sfcgal: Update to 1.5.1
>
>
> Hello,
>
> Could you please give a hint why the dependent ports need PORTREVISION 
> bump?
> It seems that the shlib version is unchanged 
> (libSFCGAL%%DEBUG_SUFFIX%%.so.1)
> Thanks.
>
> % readelf -d /usr/local/lib/libSFCGAL.so | grep SONAME
>  0x000000000000000e SONAME               Library soname: [libSFCGAL.so.1]
>
> Regards,
> sunpoet
>
>     ---
>      databases/postgis31/Makefile | 1 +
>      databases/postgis32/Makefile | 1 +
>      databases/postgis33/Makefile | 1 +
>      databases/postgis34/Makefile | 1 +
>      databases/sfcgal/Makefile    | 6 +++---
>      databases/sfcgal/distinfo    | 6 +++---
>      graphics/gdal/Makefile       | 1 +
>      7 files changed, 11 insertions(+), 6 deletions(-)
>
>     diff --git a/databases/postgis31/Makefile
>     b/databases/postgis31/Makefile
>     index 7c997e99e2e0..eed2d638f9ea 100644
>     --- a/databases/postgis31/Makefile
>     +++ b/databases/postgis31/Makefile
>     @@ -1,5 +1,6 @@
>      PORTNAME=      postgis
>      PORTVERSION=   3.1.10
>     +PORTREVISION=  1
>      CATEGORIES=    databases geography
>      MASTER_SITES= https://download.osgeo.org/postgis/source/
>      PKGNAMESUFFIX= 31
>     diff --git a/databases/postgis32/Makefile
>     b/databases/postgis32/Makefile
>     index 4cbb0bdf6fd7..e65d28f60aa6 100644
>     --- a/databases/postgis32/Makefile
>     +++ b/databases/postgis32/Makefile
>     @@ -1,5 +1,6 @@
>      PORTNAME=      postgis
>      DISTVERSION=   3.2.6
>     +PORTREVISION=  1
>      CATEGORIES=    databases geography
>      MASTER_SITES= https://download.osgeo.org/postgis/source/
>      PKGNAMESUFFIX= 32
>     diff --git a/databases/postgis33/Makefile
>     b/databases/postgis33/Makefile
>     index e308158a47af..4bce0d55fb74 100644
>     --- a/databases/postgis33/Makefile
>     +++ b/databases/postgis33/Makefile
>     @@ -1,5 +1,6 @@
>      PORTNAME=      postgis
>      DISTVERSION=   3.3.5
>     +PORTREVISION=  1
>      CATEGORIES=    databases geography
>      MASTER_SITES= https://download.osgeo.org/postgis/source/
>      PKGNAMESUFFIX= 33
>     diff --git a/databases/postgis34/Makefile
>     b/databases/postgis34/Makefile
>     index a60636c5638b..c142a81f0690 100644
>     --- a/databases/postgis34/Makefile
>     +++ b/databases/postgis34/Makefile
>     @@ -1,5 +1,6 @@
>      PORTNAME=      postgis
>      DISTVERSION=   3.4.1
>     +PORTREVISION=  1
>      CATEGORIES=    databases geography
>      MASTER_SITES= https://download.osgeo.org/postgis/source/
>      PKGNAMESUFFIX= 34
>     diff --git a/databases/sfcgal/Makefile b/databases/sfcgal/Makefile
>     index 5db78b7e53ef..a905aa60e49c 100644
>     --- a/databases/sfcgal/Makefile
>     +++ b/databases/sfcgal/Makefile
>     @@ -1,6 +1,6 @@
>      PORTNAME=      sfcgal
>      DISTVERSIONPREFIX=     v
>     -DISTVERSION=   1.5.0
>     +DISTVERSION=   1.5.1
>      CATEGORIES=    databases math graphics
>
>      MASTER_SITES=
>     https://github.com/CGAL/cgal/releases/download/v5.6/:source1
>     @@ -19,9 +19,9 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
>
>      USES=          cmake compiler:c++14-lang
>      USE_GITLAB=    yes
>     -GL_ACCOUNT=    Oslandia
>     +GL_ACCOUNT=    SFCGAL
>      GL_PROJECT=    SFCGAL
>     -GL_TAGNAME=    cbcf0adaa6cecc80347345952b5c850a64d2db4f
>     +GL_TAGNAME=    61f3b08ade49493b56c6bafa98c7c1f84addbc10
>      USE_LDCONFIG=  yes
>
>      PLIST_SUB=     SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R}
>     DEBUG_SUFFIX=${WITH_DEBUG:Dd}
>     diff --git a/databases/sfcgal/distinfo b/databases/sfcgal/distinfo
>     index e4c2ce131413..1e074cc4b567 100644
>     --- a/databases/sfcgal/distinfo
>     +++ b/databases/sfcgal/distinfo
>     @@ -1,5 +1,5 @@
>     -TIMESTAMP = 1698765444
>     +TIMESTAMP = 1703166954
>      SHA256 (CGAL-5.6.tar.xz) =
>     dcab9b08a50a06a7cc2cc69a8a12200f8d8f391b9b8013ae476965c10b45161f
>      SIZE (CGAL-5.6.tar.xz) = 24874364
>     -SHA256
>     (Oslandia-SFCGAL-cbcf0adaa6cecc80347345952b5c850a64d2db4f_GL0.tar.gz)
>     = 20920dabbfbac8c0fcc6f2f8aac63fb8144607f9e769ffba81db28c72c200e8d
>     -SIZE
>     (Oslandia-SFCGAL-cbcf0adaa6cecc80347345952b5c850a64d2db4f_GL0.tar.gz)
>     = 2435030
>     +SHA256
>     (SFCGAL-SFCGAL-61f3b08ade49493b56c6bafa98c7c1f84addbc10_GL0.tar.gz)
>     = 0fe1ed2e6e1f3edeb51fd0402ea4f95ef8ef95cf66bb91c80b3811d7f08e95bf
>     +SIZE
>     (SFCGAL-SFCGAL-61f3b08ade49493b56c6bafa98c7c1f84addbc10_GL0.tar.gz)
>     = 2437817
>     diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
>     index 41280c84523c..0a7dbde46ac1 100644
>     --- a/graphics/gdal/Makefile
>     +++ b/graphics/gdal/Makefile
>     @@ -1,5 +1,6 @@
>      PORTNAME=      gdal
>      PORTVERSION=   3.8.1
>     +PORTREVISION=  1
>      CATEGORIES=    graphics geography
>      MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/
>     <https://download.osgeo.org/gdal/$%7BPORTVERSION%7D/> \
>                     LOCAL/sunpoet
>