Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2023 11:07:56 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 918701834eed - main - dns/powerdns: improve installation/upgrade instructions (pkg-message)
Message-ID:  <202305101107.34AB7uNu058445@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=918701834eed647bbb9f4492ae2d241dda77f4d1

commit 918701834eed647bbb9f4492ae2d241dda77f4d1
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-05-10 11:07:08 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-05-10 11:07:08 +0000

    dns/powerdns: improve installation/upgrade instructions (pkg-message)
    
    Fix a typo (mimimum_version -> minimum_version), wrap some very long
    lines for better readability, add missing Oxford commas, and replace
    UTF-8 quotes with ASCII ones.
---
 dns/powerdns/files/pkg-message.in | 65 ++++++++++++++++++++++-----------------
 1 file changed, 37 insertions(+), 28 deletions(-)

diff --git a/dns/powerdns/files/pkg-message.in b/dns/powerdns/files/pkg-message.in
index 210aeb0cebcb..50c3b23624fe 100644
--- a/dns/powerdns/files/pkg-message.in
+++ b/dns/powerdns/files/pkg-message.in
@@ -1,63 +1,72 @@
 [
 { type: install
   message: <<EOM
-Enable PowerDNS in /etc/rc.conf(.local) or in /etc/rc.conf.d/pdns with the following line:
+Enable PowerDNS in /etc/rc.conf(.local) or in /etc/rc.conf.d/pdns
+with the following line:
 
     pdns_enable="YES"
 
-A configuration template is available in %%PREFIX%%/etc/pdns as pdns.conf-dist.
+A configuration template is available in %%PREFIX%%/etc/pdns as
+pdns.conf-dist.
 
-A pdns.conf with all possible options is available in %%EXAMPLESDIR%%
+A pdns.conf with all possible options is available in
+%%EXAMPLESDIR%%.
 
-Initialization file(s) for your database backend(s) are available in %%DOCSDIR%% as "schema.X.sql"
+Initialization file(s) for your database backend(s) are available
+in %%DOCSDIR%% as "schema.X.sql".
 EOM
 }
 { type: upgrade
   maximum_version: "3.4.0"
   message: <<EOM
-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
+This version needs a mandatory schema change for the gmysql, gpgsql,
+and gsqlite3 backends. SQL statements are available in
+%%DOCSDIR%% or at https://doc.powerdns.com/.
 EOM
 }
 { type: upgrade
   maximum_version: "4.2.0"
-  mimimum_version: "4.0.0"
+  minimum_version: "4.0.0"
   message: <<EOM
-Autoserial support has been removed. The change_date column has been removed from the records table 
-in all gsql backends, but leaving it in is harmless.
-The Generic PostgreSQL backend schema has changed: the notified_serial column type in the domains 
-table has been changed from INT DEFAULT NULL to BIGINT
-DEFAULT NULL:
-ALTER TABLE domains ALTER notified_serial TYPE bigint USING CASE WHEN notified_serial >= 0 THEN 
-notified_serial::bigint END;
-
-This version needs a mandatory schema change for the gmsyql, godbc (mssql), gpgsql and gsqlite3 
-backends. SQL statements are available in %%DOCSDIR%% or https://doc.powerdns.com
+Autoserial support has been removed. The change_date column has been
+removed from the records table in all gsql backends, but leaving it
+in is harmless.
+
+The Generic PostgreSQL backend schema has changed: the notified_serial
+column type in the domains table has been changed from INT DEFAULT NULL
+to BIGINT DEFAULT NULL:
+
+    ALTER TABLE domains ALTER notified_serial TYPE bigint USING CASE
+      WHEN notified_serial >= 0 THEN notified_serial::bigint END;
+
+This version needs a mandatory schema change for the gmsyql, godbc
+(mssql), gpgsql, and gsqlite3 backends. SQL statements are available
+in %%DOCSDIR%% or at https://doc.powerdns.com/.
 EOM
 }
 { type: upgrade
   maximum_version: "4.3.0"
   minimum_version: "4.2.0"
   message: <<EOM
-MyDNS and OpenDBX backends removed
-https://Blog.PowerDNS.com/2019/10/17/backend-removals-in-the-upcoming-authoritative-server-release/
+MyDNS and OpenDBX backends had been removed per https://Blog.PowerDNS.com/2019/10/17/backend-removals-in-the-upcoming-authoritative-server-release/.
 
-The new ‘unpublished DNSSEC keys’ feature' comes with a mandatory schema change for all database 
-backends (including BIND with a DNSSEC database).
+The new "unpublished DNSSEC keys" feature comes with a mandatory schema
+change for all database backends (including BIND with a DNSSEC database).
 
-This version needs a mandatory schema change for the gmsyql, godbc(mssql), gpgsql and gsqlite3 
-backends. SQL statements are available in %%DOCSDIR%% or https://doc.powerdns.com
+This version needs a mandatory schema change for the gmsyql, godbc(mssql),
+gpgsql, and gsqlite3 backends. SQL statements are available in
+%%DOCSDIR%% or at https://doc.powerdns.com/.
 
-For the LMDB backend, please review lmdb-schema-version
-(https://doc.powerdns.com/authoritative/backends/lmdb.html#setting-lmdb-schema-version)
+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
+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
 }
 ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305101107.34AB7uNu058445>