enable tls.dns plugins

This commit is contained in:
Levente Polyak 2020-01-17 16:40:51 +00:00
parent d6ea4a6fea
commit 8a6d0e56e7
2 changed files with 32 additions and 30 deletions

View File

@ -9,7 +9,7 @@ pkgname=caddy
pkgver=1.0.4 pkgver=1.0.4
_gitcommit=aadda6e34e5b85b04670ecf3bb096dead3da61fc _gitcommit=aadda6e34e5b85b04670ecf3bb096dead3da61fc
_distcommit=9e93bfd85c97d71ab842a4a4b555d358295c914e _distcommit=9e93bfd85c97d71ab842a4a4b555d358295c914e
pkgrel=2 pkgrel=3
pkgdesc='HTTP/2 Web Server with Automatic HTTPS' pkgdesc='HTTP/2 Web Server with Automatic HTTPS'
url='https://caddyserver.com' url='https://caddyserver.com'
arch=('x86_64') arch=('x86_64')
@ -28,7 +28,7 @@ sha256sums=('SKIP'
'c14ac8681e0434caf2c68e4a18dc59f8796fdffe9039f2e3c799ca64d37aa1ea' 'c14ac8681e0434caf2c68e4a18dc59f8796fdffe9039f2e3c799ca64d37aa1ea'
'c8f002f5ba59985a643600dc3c871e18e110903aa945ef3f2da7c9edd39fbd7a' 'c8f002f5ba59985a643600dc3c871e18e110903aa945ef3f2da7c9edd39fbd7a'
'fb998b6de7bfe58f65c62eab37a4885e70833d19902da089766ad627a5f5a305' 'fb998b6de7bfe58f65c62eab37a4885e70833d19902da089766ad627a5f5a305'
'f5a0fbb961e7c9ecf99e88d0959a3164cbea54660c1c08c3ba3cdf1d45563929') '69956ee6a54ee0469fdee77f6d07cccee61699b1ee24e2f94ef6017c7ec1118b')
validpgpkeys=( validpgpkeys=(
29D0817A67156E4F25DC24782A349DD577D586A5 # Matthew Holt <mholt@users.noreply.github.com> 29D0817A67156E4F25DC24782A349DD577D586A5 # Matthew Holt <mholt@users.noreply.github.com>
) )
@ -81,6 +81,8 @@ package() {
install -d "${pkgdir}/etc/caddy/conf.d" 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=( _plugins=(
# 'dns' # 'dns'
# 'docker' # 'docker'
@ -118,33 +120,33 @@ _plugins=(
# 'http.webdav' # 'http.webdav'
# 'net' # 'net'
# 'supervisor' # 'supervisor'
# 'tls.dns.auroradns' 'tls.dns.auroradns'
# 'tls.dns.azure' 'tls.dns.azure'
# 'tls.dns.cloudflare' 'tls.dns.cloudflare'
# 'tls.dns.cloudxns' 'tls.dns.cloudxns'
# 'tls.dns.digitalocean' 'tls.dns.digitalocean'
# 'tls.dns.dnsimple' 'tls.dns.dnsimple'
# 'tls.dns.dnsmadeeasy' 'tls.dns.dnsmadeeasy'
# 'tls.dns.dnspod' 'tls.dns.dnspod'
# 'tls.dns.duckdns' 'tls.dns.duckdns'
# 'tls.dns.dyn' 'tls.dns.dyn'
# 'tls.dns.exoscale' 'tls.dns.exoscale'
# 'tls.dns.gandi' 'tls.dns.gandi'
# 'tls.dns.gandiv5' 'tls.dns.gandiv5'
# 'tls.dns.godaddy' 'tls.dns.godaddy'
# 'tls.dns.googlecloud' 'tls.dns.googlecloud'
# 'tls.dns.lightsail' 'tls.dns.lightsail'
# 'tls.dns.linode' 'tls.dns.linode'
# 'tls.dns.namecheap' 'tls.dns.namecheap'
# 'tls.dns.namedotcom' 'tls.dns.namedotcom'
# 'tls.dns.ns1' 'tls.dns.ns1'
# 'tls.dns.otc' 'tls.dns.otc'
# 'tls.dns.ovh' 'tls.dns.ovh'
# 'tls.dns.powerdns' 'tls.dns.powerdns'
# 'tls.dns.rackspace' 'tls.dns.rackspace'
# 'tls.dns.rfc2136' 'tls.dns.rfc2136'
# 'tls.dns.route53' 'tls.dns.route53'
# 'tls.dns.vultr' 'tls.dns.vultr'
) )
# vim: ts=2 sw=2 et: # vim: ts=2 sw=2 et:

View File

@ -10,7 +10,7 @@ import (
"sort" "sort"
) )
const URL = "https://caddyserver.com/api/download-page" const URL = "https://caddyserver.com/v1/api/download-page"
type Plugin struct { type Plugin struct {
Name string Name string