dns/acme-dns: update to 1.0

ChangeLog: https://github.com/joohoi/acme-dns/releases/tag/v1.0

 * Deps update
 * Add acme-dns-client to the documentation
 * Migrate to GitHub actions for coverage & unit test automation
 * relax subdomain validation from UUID to actual subdomain
 * README: Use https URLs for API testing
 * Add support for LE expiration notification e-mails on API cert
 * Update README.md
 * Handle go modules properly in Dockerfile with Go 1.13
 * Revert "Update modules
 * Update readme
 * Update modules
 * Removed example for health check endpoint because it is misleading.

PR:	265732
Reported by:	mops@punkt.de (maintainer)
This commit is contained in:
punkt.de Hosting Team 2022-08-12 20:23:45 +02:00 committed by Fernando Apesteguía
parent 18d45764f6
commit 0e2a2eb930
2 changed files with 66 additions and 68 deletions

View File

@ -1,74 +1,72 @@
PORTNAME= acme-dns
DISTVERSION= g20220126
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= dns
PORTNAME= acme-dns
DISTVERSIONPREFIX= v
DISTVERSION= 1.0
CATEGORIES= dns
MAINTAINER= mops@punkt.de
COMMENT= Limited DNS server with RESTful HTTP API to handle ACME DNS challenges
MAINTAINER= mops@punkt.de
COMMENT= Limited DNS server with RESTful HTTP API to handle ACME DNS challenges
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= joohoi
GH_TAGNAME= a33c09a
USE_GITHUB= yes
GH_ACCOUNT= joohoi
GH_TUPLE= \
BurntSushi:toml:v0.4.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
DATA-DOG:go-sqlmock:v1.5.0:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \
ajg:form:v1.5.1:ajg_form/vendor/github.com/ajg/form \
andybalholm:brotli:v1.0.2:andybalholm_brotli/vendor/github.com/andybalholm/brotli \
caddyserver:certmagic:v0.15.2:caddyserver_certmagic/vendor/github.com/caddyserver/certmagic \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
erikstmartin:go-testdb:8d10e4a1bae5:erikstmartin_go_testdb/vendor/github.com/erikstmartin/go-testdb \
fasthttp-contrib:websocket:1f3b11f56072:fasthttp_contrib_websocket/vendor/github.com/fasthttp-contrib/websocket \
fatih:structs:v1.1.0:fatih_structs/vendor/github.com/fatih/structs \
gavv:httpexpect:v2.0.0:gavv_httpexpect/vendor/github.com/gavv/httpexpect \
go-acme:lego:v3.9.0:go_acme_lego_v3/vendor/github.com/go-acme/lego/v3 \
go-yaml:yaml:496545a6307b:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
golang:crypto:e495a2d5b3d3:golang_crypto/vendor/golang.org/x/crypto \
golang:mod:v0.5.1:golang_mod/vendor/golang.org/x/mod \
golang:net:5cfca573fb4d:golang_net/vendor/golang.org/x/net \
golang:sys:1d35b9e2eb4e:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
golang:tools:v0.1.8:golang_tools/vendor/golang.org/x/tools \
golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \
google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \
gorilla:websocket:v1.4.2:gorilla_websocket/vendor/github.com/gorilla/websocket \
imkira:go-interpol:v1.1.0:imkira_go_interpol/vendor/github.com/imkira/go-interpol \
julienschmidt:httprouter:v1.3.0:julienschmidt_httprouter/vendor/github.com/julienschmidt/httprouter \
klauspost:compress:v1.13.4:klauspost_compress/vendor/github.com/klauspost/compress \
klauspost:cpuid:v2.0.9:klauspost_cpuid_v2/vendor/github.com/klauspost/cpuid/v2 \
lib:pq:v1.10.4:lib_pq/vendor/github.com/lib/pq \
libdns:libdns:v0.2.1:libdns_libdns/vendor/github.com/libdns/libdns \
mattn:go-colorable:v0.1.12:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-sqlite3:v1.14.10:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \
mholt:acmez:v1.0.1:mholt_acmez/vendor/github.com/mholt/acmez \
miekg:dns:v1.1.45:miekg_dns/vendor/github.com/miekg/dns \
moul:http2curl:v1.0.0:moul_http2curl/vendor/github.com/moul/http2curl \
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
rs:cors:v1.8.2:rs_cors/vendor/github.com/rs/cors \
sergi:go-diff:v1.2.0:sergi_go_diff/vendor/github.com/sergi/go-diff \
sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \
uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \
uber-go:multierr:v1.7.0:uber_go_multierr/vendor/go.uber.org/multierr \
uber-go:zap:v1.20.0:uber_go_zap/vendor/go.uber.org/zap \
valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \
valyala:fasthttp:v1.31.0:valyala_fasthttp/vendor/github.com/valyala/fasthttp \
xeipuuv:gojsonpointer:4e3ac2762d5f:xeipuuv_gojsonpointer/vendor/github.com/xeipuuv/gojsonpointer \
xeipuuv:gojsonreference:bd5ef7bd5415:xeipuuv_gojsonreference/vendor/github.com/xeipuuv/gojsonreference \
xeipuuv:gojsonschema:v1.2.0:xeipuuv_gojsonschema/vendor/github.com/xeipuuv/gojsonschema \
yalp:jsonpath:5cc68e5049a0:yalp_jsonpath/vendor/github.com/yalp/jsonpath \
yudai:gojsondiff:v1.0.0:yudai_gojsondiff/vendor/github.com/yudai/gojsondiff \
yudai:golcs:ecda9a501e82:yudai_golcs/vendor/github.com/yudai/golcs \
yudai:pp:v2.0.1:yudai_pp/vendor/github.com/yudai/pp
GH_TUPLE= \
BurntSushi:toml:v0.4.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
DATA-DOG:go-sqlmock:v1.5.0:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \
ajg:form:v1.5.1:ajg_form/vendor/github.com/ajg/form \
andybalholm:brotli:v1.0.2:andybalholm_brotli/vendor/github.com/andybalholm/brotli \
caddyserver:certmagic:v0.15.2:caddyserver_certmagic/vendor/github.com/caddyserver/certmagic \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
erikstmartin:go-testdb:8d10e4a1bae5:erikstmartin_go_testdb/vendor/github.com/erikstmartin/go-testdb \
fasthttp-contrib:websocket:1f3b11f56072:fasthttp_contrib_websocket/vendor/github.com/fasthttp-contrib/websocket \
fatih:structs:v1.1.0:fatih_structs/vendor/github.com/fatih/structs \
gavv:httpexpect:v2.0.0:gavv_httpexpect/vendor/github.com/gavv/httpexpect \
go-acme:lego:v3.9.0:go_acme_lego_v3/vendor/github.com/go-acme/lego/v3 \
go-yaml:yaml:496545a6307b:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
golang:crypto:e495a2d5b3d3:golang_crypto/vendor/golang.org/x/crypto \
golang:mod:v0.5.1:golang_mod/vendor/golang.org/x/mod \
golang:net:5cfca573fb4d:golang_net/vendor/golang.org/x/net \
golang:sys:1d35b9e2eb4e:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
golang:tools:v0.1.8:golang_tools/vendor/golang.org/x/tools \
golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \
google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \
gorilla:websocket:v1.4.2:gorilla_websocket/vendor/github.com/gorilla/websocket \
imkira:go-interpol:v1.1.0:imkira_go_interpol/vendor/github.com/imkira/go-interpol \
julienschmidt:httprouter:v1.3.0:julienschmidt_httprouter/vendor/github.com/julienschmidt/httprouter \
klauspost:compress:v1.13.4:klauspost_compress/vendor/github.com/klauspost/compress \
klauspost:cpuid:v2.0.9:klauspost_cpuid_v2/vendor/github.com/klauspost/cpuid/v2 \
lib:pq:v1.10.4:lib_pq/vendor/github.com/lib/pq \
libdns:libdns:v0.2.1:libdns_libdns/vendor/github.com/libdns/libdns \
mattn:go-colorable:v0.1.12:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-sqlite3:v1.14.10:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \
mholt:acmez:v1.0.1:mholt_acmez/vendor/github.com/mholt/acmez \
miekg:dns:v1.1.45:miekg_dns/vendor/github.com/miekg/dns \
moul:http2curl:v1.0.0:moul_http2curl/vendor/github.com/moul/http2curl \
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
rs:cors:v1.8.2:rs_cors/vendor/github.com/rs/cors \
sergi:go-diff:v1.2.0:sergi_go_diff/vendor/github.com/sergi/go-diff \
sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \
uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \
uber-go:multierr:v1.7.0:uber_go_multierr/vendor/go.uber.org/multierr \
uber-go:zap:v1.20.0:uber_go_zap/vendor/go.uber.org/zap \
valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \
valyala:fasthttp:v1.31.0:valyala_fasthttp/vendor/github.com/valyala/fasthttp \
xeipuuv:gojsonpointer:4e3ac2762d5f:xeipuuv_gojsonpointer/vendor/github.com/xeipuuv/gojsonpointer \
xeipuuv:gojsonreference:bd5ef7bd5415:xeipuuv_gojsonreference/vendor/github.com/xeipuuv/gojsonreference \
xeipuuv:gojsonschema:v1.2.0:xeipuuv_gojsonschema/vendor/github.com/xeipuuv/gojsonschema \
yalp:jsonpath:5cc68e5049a0:yalp_jsonpath/vendor/github.com/yalp/jsonpath \
yudai:gojsondiff:v1.0.0:yudai_gojsondiff/vendor/github.com/yudai/gojsondiff \
yudai:golcs:ecda9a501e82:yudai_golcs/vendor/github.com/yudai/golcs \
yudai:pp:v2.0.1:yudai_pp/vendor/github.com/yudai/pp
USE_RC_SUBR= acme-dns
USE_RC_SUBR= acme-dns
post-patch:
@${REINPLACE_CMD} -e 's|etc\/acme-dns|usr\/local\/etc\/acme-dns|' ${WRKSRC}/main.go

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1643969203
SHA256 (joohoi-acme-dns-g20220126-a33c09a_GH0.tar.gz) = 9f899f5176d64378f8b0eb892435b142bc9de778f935133a0475af164fa13d94
SIZE (joohoi-acme-dns-g20220126-a33c09a_GH0.tar.gz) = 55628
TIMESTAMP = 1660043886
SHA256 (joohoi-acme-dns-v1.0_GH0.tar.gz) = 06249831f4a448453ad4a86bb1a4bf752f1ccc0d48da25fa09f5a1cf54646d2e
SIZE (joohoi-acme-dns-v1.0_GH0.tar.gz) = 55612
SHA256 (BurntSushi-toml-v0.4.1_GH0.tar.gz) = 280ad65e56f4a23dec30da7ccfd696d9d939a449af8b8be349c8fc487a117a85
SIZE (BurntSushi-toml-v0.4.1_GH0.tar.gz) = 80986
SHA256 (DATA-DOG-go-sqlmock-v1.5.0_GH0.tar.gz) = b78616fddfcc76892aecb5344968d7f3843128b70eba6c4752f092dc992c3b98