aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf van der Enden <tremere@cainites.net>2022-10-27 12:27:07 +0000
committerFernando Apesteguía <fernape@FreeBSD.org>2022-10-27 15:31:27 +0000
commit002779a7af3e1477e8ae6b0b78aadd89d2e9212f (patch)
tree4031b438f0d02917df10f2052e84e963d9176027
parentce8d3020012cdc372a9989c0c2b4c49265642f7f (diff)
downloadports-002779a7af3e1477e8ae6b0b78aadd89d2e9212f.tar.gz
ports-002779a7af3e1477e8ae6b0b78aadd89d2e9212f.zip
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)
-rw-r--r--dns/powerdns/Makefile1
-rw-r--r--dns/powerdns/files/pkg-message.in11
-rw-r--r--dns/powerdns/pkg-descr4
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.