net/acme-common: Fix example config
authorToke Høiland-Jørgensen <toke@toke.dk>
Wed, 20 Mar 2024 16:17:03 +0000 (17:17 +0100)
committerToke Høiland-Jørgensen <toke@toke.dk>
Wed, 20 Mar 2024 16:18:45 +0000 (17:18 +0100)
Make sure we quote all strings, and add missing "option" in second example.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
net/acme-common/Makefile
net/acme-common/files/acme.config

index f88a2408ebea83ec3c5ea8bad8f911077cbdff7f..d0f4a32f1fc5108222eaabf9d45bf830e437bcec 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=acme-common
-PKG_VERSION:=1.1.0
+PKG_VERSION:=1.1.1
 
 PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
 PKG_LICENSE:=GPL-3.0-only
index e88ef2c904c95fbd411e83731a09d39f2365615e..8d1c4934b34b3074ec7b1a8887d4b5312d8260c3 100644 (file)
@@ -5,9 +5,9 @@ config acme
 config cert 'example_wildcard'
        option enabled 0
        option staging 1
-       list domains example.org
-       list domains *.example.org
-       option validation_method dns
+       list domains "example.org"
+       list domains "*.example.org"
+       option validation_method "dns"
        option dns "dns_freedns"
        list credentials 'FREEDNS_User="ssladmin@example.org"'
        list credentials 'FREEDNS_Password="1234"'
@@ -17,7 +17,7 @@ config cert 'example_wildcard'
 config cert 'example_subdomain'
        option enabled 0
        option staging 1
-       list domains example.net
-       list domains www.example.net
-       list domains mail.example.net
-       validation_method webroot
+       list domains "example.net"
+       list domains "www.example.net"
+       list domains "mail.example.net"
+       option validation_method "webroot"