aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2023-05-10 11:07:08 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2023-05-10 11:07:08 +0000
commit918701834eed647bbb9f4492ae2d241dda77f4d1 (patch)
tree828d4f3e1efef0ac0670c0f3ce2dd187fbf9ae34
parentb16a19208bf6273008e9b40b3f0684c8b819cb4a (diff)
downloadports-918701834eed647bbb9f4492ae2d241dda77f4d1.tar.gz
ports-918701834eed647bbb9f4492ae2d241dda77f4d1.zip
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.
-rw-r--r--dns/powerdns/files/pkg-message.in65
1 files 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
}
]