ddns-scripts: Adjust descriptions in Makefile for apk

Having both double quotes and parentheses in package
description may lead into troublewith apk, if parentheses
are located so that they get passed "outside" the quoted
parameter, and get interpreted as a token for shell.

Example:
 ash: -c: line 1: syntax error near unexpected token `('
 bash: -c: line 1: `/OpenWrt/e8450/staging_dir/host/bin/fakeroot
 /OpenWrt/e8450/staging_dir/host/bin/apk mkpkg --info "name:ddns
 -scripts-pdns" --info "version:2.8.2-r51" --info "description:D
 ynamic DNS Client scripts extension for "PowerDNS" via API. It
 requires: "option param_opt(Optional Parameter)" to be a valid

Avoid that by using single quotes in the detailed descriptions.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2024-11-10 10:29:00 +02:00
parent bec2793411
commit b74ca8feb2
1 changed files with 44 additions and 44 deletions

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2 PKG_VERSION:=2.8.2
PKG_RELEASE:=51 PKG_RELEASE:=52
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
@ -109,7 +109,7 @@ define Package/ddns-scripts-freedns
endef endef
define Package/ddns-scripts-freedns/description define Package/ddns-scripts-freedns/description
Dynamic DNS Client scripts extension for "freedns.42.pl". Dynamic DNS Client scripts extension for 'freedns.42.pl'.
endef endef
@ -121,7 +121,7 @@ define Package/ddns-scripts-godaddy
endef endef
define Package/ddns-scripts-godaddy/description define Package/ddns-scripts-godaddy/description
Dynamic DNS Client scripts extension for "godaddy.com API v1". Dynamic DNS Client scripts extension for 'godaddy.com API v1'.
endef endef
@ -133,14 +133,14 @@ define Package/ddns-scripts-digitalocean
endef endef
define Package/ddns-scripts-digitalocean/description define Package/ddns-scripts-digitalocean/description
Dynamic DNS Client scripts extension for "digitalocean.com API v2". Dynamic DNS Client scripts extension for digitalocean.com API v2.
The script directly updates a DNS record using the DO API. The script directly updates a DNS record using the DO API.
It requires: It requires:
"option dns_server" to be set to the server to be used by nsupdate. 'option dns_server' to be set to the server to be used by nsupdate.
"option domain" the dns domain to update the record for (eg. A-record: home.<example.com>) 'option domain' the dns domain to update the record for (eg. A-record: home.<example.com>)
"option username" the dns record name to update (eg. A-record: <home>.example.com) 'option username' the dns record name to update (eg. A-record: <home>.example.com)
"option param_opt" the id of the dns record to update (check using chrome inspector in the DO dns tab) 'option param_opt' the id of the dns record to update (check using chrome inspector in the DO dns tab)
"option password" the api token generated in the DO panel 'option password' the api token generated in the DO panel
endef endef
@ -163,7 +163,7 @@ define Package/ddns-scripts-noip
endef endef
define Package/ddns-scripts-noip/description define Package/ddns-scripts-noip/description
Dynamic DNS Client scripts extension for "no-ip.com". Dynamic DNS Client scripts extension for 'no-ip.com'.
endef endef
define Package/ddns-scripts-ns1 define Package/ddns-scripts-ns1
@ -173,10 +173,10 @@ define Package/ddns-scripts-ns1
endef endef
define Package/ddns-scripts-ns1/description define Package/ddns-scripts-ns1/description
Dynamic DNS Client scripts extension for "ns1.com". Dynamic DNS Client scripts extension for 'ns1.com'.
It requires: It requires:
"option username" to be a valid zone for ns1.com 'option username' to be a valid zone for ns1.com
"option password" to be a valid API key for ns1.com 'option password' to be a valid API key for ns1.com
endef endef
@ -192,9 +192,9 @@ define Package/ddns-scripts-nsupdate/description
The script directly updates a PowerDNS (or maybe bind server) via nsupdate The script directly updates a PowerDNS (or maybe bind server) via nsupdate
from bind-client package. from bind-client package.
It requires: It requires:
"option dns_server" to be set to the server to be used by nsupdate. 'option dns_server' to be set to the server to be used by nsupdate.
"option username" should be set to the key name and 'option username' should be set to the key name and
"option password" to the base64 encoded shared secret. 'option password' to the base64 encoded shared secret.
endef endef
@ -206,12 +206,12 @@ define Package/ddns-scripts-route53
endef endef
define Package/ddns-scripts-route53/description define Package/ddns-scripts-route53/description
Dynamic DNS Client scripts extension for Amazon AWS "route53 API v1". Dynamic DNS Client scripts extension for Amazon AWS 'route53 API v1'.
Note: You must also install ca-certificate or ca-bundle. Note: You must also install ca-certificate or ca-bundle.
It requires: It requires:
"option username" to be a valid AWS access key id 'option username' to be a valid AWS access key id
"option password" to be the matching AWS secret key id 'option password' to be the matching AWS secret key id
"option domain" to contain the hosted zone ID 'option domain' to contain the hosted zone ID
endef endef
@ -223,11 +223,11 @@ define Package/ddns-scripts-cnkuai
endef endef
define Package/ddns-scripts-cnkuai/description define Package/ddns-scripts-cnkuai/description
Dynamic DNS Client scripts extension for "cnkuai.cn". Dynamic DNS Client scripts extension for 'cnkuai.cn'.
It requires: It requires:
"option username" to be a valid CnKuai control panel id 'option username' to be a valid CnKuai control panel id
"option password" to be the matching CnKuai control panel password 'option password' to be the matching CnKuai control panel password
"option domain" to contain the domain 'option domain' to contain the domain
endef endef
@ -238,10 +238,10 @@ define Package/ddns-scripts-gandi
endef endef
define Package/ddns-scripts-gandi/description define Package/ddns-scripts-gandi/description
Dynamic DNS Client scripts extension for "gandi.net". Dynamic DNS Client scripts extension for 'gandi.net'.
It requires: It requires:
"option username" to be a valid subdomain for gandi.net 'option username' to be a valid subdomain for gandi.net
"option password" to be a valid API key for gandi.net 'option password' to be a valid API key for gandi.net
endef endef
@ -252,11 +252,11 @@ define Package/ddns-scripts-pdns
endef endef
define Package/ddns-scripts-pdns/description define Package/ddns-scripts-pdns/description
Dynamic DNS Client scripts extension for "PowerDNS" via API. Dynamic DNS Client scripts extension for 'PowerDNS' via API.
It requires: It requires:
"option param_opt(Optional Parameter)" to be a valid root URL for the PowerDNS webserver 'option param_opt(Optional Parameter)' to be a valid root URL for the PowerDNS webserver
"option username" to be a valid subdomain for the PowerDNS domain 'option username' to be a valid subdomain for the PowerDNS domain
"option password" to be a valid API key for the PowerDNS webserver 'option password' to be a valid API key for the PowerDNS webserver
endef endef
@ -267,14 +267,14 @@ define Package/ddns-scripts-transip
endef endef
define Package/ddns-scripts-transip/description define Package/ddns-scripts-transip/description
Dynamic DNS Client scripts extension for "transip.nl". Dynamic DNS Client scripts extension for 'transip.nl'.
Note: You must also install ca-certificate or ca-bundle. Note: You must also install ca-certificate or ca-bundle.
It requires: It requires:
"option username" to be a valid username for transip.nl 'option username' to be a valid username for transip.nl
"option password" to be a valid matching private key 'option password' to be a valid matching private key
"option domain" to contain the base domain 'option domain' to contain the base domain
"option param_enc" to contain the name of the DNS record to update 'option param_enc' to contain the name of the DNS record to update
"option param_opt" to contain the TTL of the DNS record to update 'option param_opt' to contain the TTL of the DNS record to update
endef endef
define Package/ddns-scripts-one define Package/ddns-scripts-one
@ -284,11 +284,11 @@ define Package/ddns-scripts-one
endef endef
define Package/ddns-scrtips-one/description define Package/ddns-scrtips-one/description
Dynamic DNS Client scripts extension for "one.com". Dynamic DNS Client scripts extension for 'one.com'.
It requires: It requires:
"option username" to be a valid Email for one.com Control Panel 'option username' to be a valid Email for one.com Control Panel
"option password" to be the matching one.com Control Panel password 'option password' to be the matching one.com Control Panel password
"option domain" to contain the domain / subdomain 'option domain' to contain the domain / subdomain
endef endef
@ -302,9 +302,9 @@ endef
define Package/ddns-scripts-porkbun/description define Package/ddns-scripts-porkbun/description
Dynamic DNS Client scripts extension for porkbun.com API v3 (require curl) Dynamic DNS Client scripts extension for porkbun.com API v3 (require curl)
It requires: It requires:
"option username" to be a Porkbun API key 'option username' to be a Porkbun API key
"option password" to be the corresponding Porkbun API secret key 'option password' to be the corresponding Porkbun API secret key
"option domain" to be the FQDN for which to configure DDNS 'option domain' to be the FQDN for which to configure DDNS
endef endef
define Package/ddns-scripts-huaweicloud define Package/ddns-scripts-huaweicloud