[arch-commits] Commit in caddy/trunk (PKGBUILD plugins.go)
Levente Polyak
anthraxx at archlinux.org
Fri Jan 17 16:40:51 UTC 2020
Date: Friday, January 17, 2020 @ 16:40:51
Author: anthraxx
Revision: 552860
upgpkg: caddy 1.0.4-3: enable tls.dns plugins
Modified:
caddy/trunk/PKGBUILD
caddy/trunk/plugins.go
------------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++-----------------------------
plugins.go | 2 -
2 files changed, 32 insertions(+), 30 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-17 16:26:28 UTC (rev 552859)
+++ PKGBUILD 2020-01-17 16:40:51 UTC (rev 552860)
@@ -9,7 +9,7 @@
pkgver=1.0.4
_gitcommit=aadda6e34e5b85b04670ecf3bb096dead3da61fc
_distcommit=9e93bfd85c97d71ab842a4a4b555d358295c914e
-pkgrel=2
+pkgrel=3
pkgdesc='HTTP/2 Web Server with Automatic HTTPS'
url='https://caddyserver.com'
arch=('x86_64')
@@ -28,7 +28,7 @@
'c14ac8681e0434caf2c68e4a18dc59f8796fdffe9039f2e3c799ca64d37aa1ea'
'c8f002f5ba59985a643600dc3c871e18e110903aa945ef3f2da7c9edd39fbd7a'
'fb998b6de7bfe58f65c62eab37a4885e70833d19902da089766ad627a5f5a305'
- 'f5a0fbb961e7c9ecf99e88d0959a3164cbea54660c1c08c3ba3cdf1d45563929')
+ '69956ee6a54ee0469fdee77f6d07cccee61699b1ee24e2f94ef6017c7ec1118b')
validpgpkeys=(
29D0817A67156E4F25DC24782A349DD577D586A5 # Matthew Holt <mholt at users.noreply.github.com>
)
@@ -81,6 +81,8 @@
install -d "${pkgdir}/etc/caddy/conf.d"
}
+# carefully check before enabling any plugin, they are basically untrusted code
+# the enabled tls.dns plugins are built by mholt and maintained in the same space
_plugins=(
# 'dns'
# 'docker'
@@ -118,33 +120,33 @@
# 'http.webdav'
# 'net'
# 'supervisor'
-# 'tls.dns.auroradns'
-# 'tls.dns.azure'
-# 'tls.dns.cloudflare'
-# 'tls.dns.cloudxns'
-# 'tls.dns.digitalocean'
-# 'tls.dns.dnsimple'
-# 'tls.dns.dnsmadeeasy'
-# 'tls.dns.dnspod'
-# 'tls.dns.duckdns'
-# 'tls.dns.dyn'
-# 'tls.dns.exoscale'
-# 'tls.dns.gandi'
-# 'tls.dns.gandiv5'
-# 'tls.dns.godaddy'
-# 'tls.dns.googlecloud'
-# 'tls.dns.lightsail'
-# 'tls.dns.linode'
-# 'tls.dns.namecheap'
-# 'tls.dns.namedotcom'
-# 'tls.dns.ns1'
-# 'tls.dns.otc'
-# 'tls.dns.ovh'
-# 'tls.dns.powerdns'
-# 'tls.dns.rackspace'
-# 'tls.dns.rfc2136'
-# 'tls.dns.route53'
-# 'tls.dns.vultr'
+ 'tls.dns.auroradns'
+ 'tls.dns.azure'
+ 'tls.dns.cloudflare'
+ 'tls.dns.cloudxns'
+ 'tls.dns.digitalocean'
+ 'tls.dns.dnsimple'
+ 'tls.dns.dnsmadeeasy'
+ 'tls.dns.dnspod'
+ 'tls.dns.duckdns'
+ 'tls.dns.dyn'
+ 'tls.dns.exoscale'
+ 'tls.dns.gandi'
+ 'tls.dns.gandiv5'
+ 'tls.dns.godaddy'
+ 'tls.dns.googlecloud'
+ 'tls.dns.lightsail'
+ 'tls.dns.linode'
+ 'tls.dns.namecheap'
+ 'tls.dns.namedotcom'
+ 'tls.dns.ns1'
+ 'tls.dns.otc'
+ 'tls.dns.ovh'
+ 'tls.dns.powerdns'
+ 'tls.dns.rackspace'
+ 'tls.dns.rfc2136'
+ 'tls.dns.route53'
+ 'tls.dns.vultr'
)
# vim: ts=2 sw=2 et:
Modified: plugins.go
===================================================================
--- plugins.go 2020-01-17 16:26:28 UTC (rev 552859)
+++ plugins.go 2020-01-17 16:40:51 UTC (rev 552860)
@@ -10,7 +10,7 @@
"sort"
)
-const URL = "https://caddyserver.com/api/download-page"
+const URL = "https://caddyserver.com/v1/api/download-page"
type Plugin struct {
Name string
More information about the arch-commits
mailing list