Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Update to PowerDNS Authoritative Server 5.0.0
To:
Otto Moerbeek <otto@drijf.net>
Cc:
ports@openbsd.org
Date:
Tue, 16 Sep 2025 09:49:16 +0100

Download raw body.

Thread
On 2025/09/16 10:17, Otto Moerbeek wrote:
> Hoi,
> 
> inlcuding a fix for a long standing issue: the bind backend was
> supposed to linked in statically, but actually was not. I did not see
> any bad results from removing the
> 
> LIBTOOL_FLAGS=         --tag=disable-static
> 
> line, but I'd like confirmation form a dev with more ports experience.

That's fine. It was most likely there to disable building not-so-useful
static libraries of the backends but seems that's not a problem any
more.

> The curious thing is that the 4.9.x build did produce the
> libbindbackend.so and so it worked, but the current buld stopped doing
> that. I'm not sure what change caused that.
> 
> OK?
> 	-Otto

yes.

> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/net/powerdns/Makefile,v
> diff -u -p -r1.110 Makefile
> --- Makefile	26 Aug 2025 16:08:32 -0000	1.110
> +++ Makefile	16 Sep 2025 08:11:46 -0000
> @@ -3,7 +3,7 @@ COMMENT-mysql=		MySQL database access mo
>  COMMENT-pgsql=		PostgreSQL database access module for PowerDNS
>  COMMENT-ldap=		LDAP database access module for PowerDNS
>  
> -V=			4.9.8
> +V=			5.0.0
>  DISTNAME=		pdns-${V}
>  EXTRACT_SUFX =		.tar.bz2
>  PKGNAME-main=		powerdns-${V}
> @@ -11,7 +11,7 @@ PKGSPEC-main=		powerdns-=${V}
>  PKGNAME-mysql=		powerdns-mysql-${V}
>  PKGNAME-pgsql=		powerdns-pgsql-${V}
>  PKGNAME-ldap=		powerdns-ldap-${V}
> -REVISION-main=		0
> +#REVISION-main=		0
>  #REVISION-mysql=		0
>  #REVISION-pgsql=		0
>  #REVISION-ldap=		0
> @@ -78,7 +78,6 @@ CONFIGURE_ARGS+=	--disable-shared \
>  
>  CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include" \
>  			LDFLAGS="-L${LOCALBASE}/lib"
> -LIBTOOL_FLAGS=		--tag=disable-static
>  
>  .include <bsd.port.arch.mk>
>  
> Index: distinfo
> ===================================================================
> RCS file: /home/cvs/ports/net/powerdns/distinfo,v
> diff -u -p -r1.55 distinfo
> --- distinfo	18 Aug 2025 09:15:47 -0000	1.55
> +++ distinfo	16 Sep 2025 08:11:46 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (pdns-4.9.8.tar.bz2) = GAtmrjMtMWaWjgE7/3y/bwxyhp1r5pfbdKAt86xuipE=
> -SIZE (pdns-4.9.8.tar.bz2) = 1363358
> +SHA256 (pdns-5.0.0.tar.bz2) = DczjVdl6mazvwdRdY8EX2VIUmGfceYMjb378ngQbCjA=
> +SIZE (pdns-5.0.0.tar.bz2) = 1432702
> Index: pkg/PLIST-main
> ===================================================================
> RCS file: /home/cvs/ports/net/powerdns/pkg/PLIST-main,v
> diff -u -p -r1.20 PLIST-main
> --- pkg/PLIST-main	8 Nov 2022 11:17:00 -0000	1.20
> +++ pkg/PLIST-main	16 Sep 2025 08:11:46 -0000
> @@ -30,7 +30,6 @@
>  @bin bin/zone2json
>  @bin bin/zone2sql
>  lib/pdns/
> -@so lib/pdns/libbindbackend.so
>  @so lib/pdns/libgsqlite3backend.so
>  @man man/man1/calidns.1
>  @man man/man1/dnsbulktest.1
>