Download raw body.
update postgresql-ip4r
On 2025/11/25 13:35, Claudio Jeker wrote:
> postgresql-ip4r does not compile with modern postgres because it misses
> varatt.h include. Instead of patching I think we should just update to
> 2.4.2 which fixes this already.
>
> The files removed from the package are for postgresql <= 13.
ok. (not sure if ip4r is still useful - that port was mostly done for
netbox and afaict they stopped requiring ip4r - so if it gets in the way
of updates later it could probably go).
> :wq Claudio
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/databases/postgresql-ip4r/Makefile,v
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile 13 May 2022 12:21:45 -0000 1.1.1.1
> +++ Makefile 25 Nov 2025 12:12:31 -0000
> @@ -4,15 +4,18 @@ GH_ACCOUNT= RhodiumToad
> GH_PROJECT= ip4r
>
> # use a slightly newer commit including the license file
> -#GH_TAGNAME= 2.4.1
> -GH_COMMIT= 5f9ce88a353f241b7968b60835ba7186c8199162
> -DISTNAME= ip4r-2.4.1pl1
> +GH_TAGNAME= 2.4.2
> +#DISTNAME= ip4r-2.4.1pl1
>
> PKGNAME= postgresql-${DISTNAME}
> CATEGORIES= databases net
>
> # PostgreSQL license (BSD)
> PERMIT_PACKAGE= Yes
> +
> +# -Wvla and other unrecognized command line options
> +COMPILER= base-clang ports-gcc
> +COMPILER_LANGS= c
>
> WANTLIB += c
>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/databases/postgresql-ip4r/distinfo,v
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo 13 May 2022 12:21:45 -0000 1.1.1.1
> +++ distinfo 25 Nov 2025 12:12:31 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (ip4r-2.4.1pl1-5f9ce88a.tar.gz) = a9p8htxxUU+K21/hFgnZrlpQmGhqVTUb+YUeNn6Hk5A=
> -SIZE (ip4r-2.4.1pl1-5f9ce88a.tar.gz) = 129118
> +SHA256 (ip4r-2.4.2.tar.gz) = D3sfFZl09JpHhCqKtnUa7Moe0RQrbV442BsGSy6tG0s=
> +SIZE (ip4r-2.4.2.tar.gz) = 132976
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/databases/postgresql-ip4r/pkg/PLIST,v
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 13 May 2022 12:21:45 -0000 1.1.1.1
> +++ pkg/PLIST 25 Nov 2025 12:27:54 -0000
> @@ -8,7 +8,4 @@ share/postgresql/extension/ip4r--2.0--2.
> share/postgresql/extension/ip4r--2.1--2.2.sql
> share/postgresql/extension/ip4r--2.2--2.4.sql
> share/postgresql/extension/ip4r--2.4.sql
> -share/postgresql/extension/ip4r--unpackaged1--2.0.sql
> -share/postgresql/extension/ip4r--unpackaged2.0--2.0.sql
> -share/postgresql/extension/ip4r--unpackaged2.1--2.1.sql
> share/postgresql/extension/ip4r.control
>
update postgresql-ip4r