git: 002779a7af3e - main - dns/powerdns: broken due to missing mandatory schema changes

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 27 Oct 2022 15:35:19 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=002779a7af3e1477e8ae6b0b78aadd89d2e9212f

commit 002779a7af3e1477e8ae6b0b78aadd89d2e9212f
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2022-10-27 12:27:07 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-10-27 15:31:27 +0000

    dns/powerdns: broken due to missing mandatory schema changes
    
    Add a message so people are aware and bump PORTREVISION to show it.
    
    PR:             267363
    Reported by:    freebsd@bengrimm.net (maintainer)
---
 dns/powerdns/Makefile             |  1 +
 dns/powerdns/files/pkg-message.in | 11 ++++++++++-
 dns/powerdns/pkg-descr            |  4 ++--
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index e95f69753fa2..91089de60480 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	powerdns
 DISTVERSION=	4.7.0
+PORTREVISION=	1
 CATEGORIES=	dns
 MASTER_SITES=	https://downloads.powerdns.com/releases/
 DISTNAME=	pdns-${DISTVERSION}
diff --git a/dns/powerdns/files/pkg-message.in b/dns/powerdns/files/pkg-message.in
index 4ee1630b0c6d..210aeb0cebcb 100644
--- a/dns/powerdns/files/pkg-message.in
+++ b/dns/powerdns/files/pkg-message.in
@@ -15,7 +15,7 @@ EOM
 { type: upgrade
   maximum_version: "3.4.0"
   message: <<EOM
-This version needs a mandatory schema change for the gmsyql, gpgsql and gsqlite3 backends. SQL 
+This version needs a mandatory schema change for the gmysql, gpgsql and gsqlite3 backends. SQL
 statements are available in %%DOCSDIR%% or https://doc.powerdns.com
 EOM
 }
@@ -36,6 +36,7 @@ backends. SQL statements are available in %%DOCSDIR%% or https://doc.powerdns.co
 EOM
 }
 { type: upgrade
+  maximum_version: "4.3.0"
   minimum_version: "4.2.0"
   message: <<EOM
 MyDNS and OpenDBX backends removed
@@ -51,4 +52,12 @@ For the LMDB backend, please review lmdb-schema-version
 (https://doc.powerdns.com/authoritative/backends/lmdb.html#setting-lmdb-schema-version)
 EOM
 }
+{ type: upgrade
+  minimum_version: "4.3.0"
+  message: <<EOM
+This version needs a mandatory schema change for gmysql, godbc (mssql), gpsql and gsqlite3 backends.
+SQL statements are available at https://github.com/PowerDNS/pdns/blob/master/modules in their
+respective subfolders as 4.3.0_to_4.7.0_schema.xxsql.sql
+EOM
+}
 ]
diff --git a/dns/powerdns/pkg-descr b/dns/powerdns/pkg-descr
index 45011cd30ef8..c1af5e81f24f 100644
--- a/dns/powerdns/pkg-descr
+++ b/dns/powerdns/pkg-descr
@@ -2,10 +2,10 @@ The PowerDNS Authoritative Server is a versatile nameserver which supports a
 large number of backends. These backends can either be plain zone files or be
 more dynamic in nature.
 
-PowerDNS has the concepts of ‘backends’. A backend is a datastore that the
+PowerDNS has the concepts of 'backends'. A backend is a datastore that the
 server will consult that contains DNS records (and some metadata). The backends
 range from database backends (MySQL, PostgreSQL) and BIND zone files to
-co-processes and JSON API’s.
+co-processes and JSON API's.
 
 Multiple backends can be enabled in the configuration by using the launch
 option. Each backend can be configured separately.