1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Update to 2.8.7

* Support External Account Binding(EAB)
* Support ZeroSSL.com CA
* Support preferred-chain
* More dns api support
* Adds Docker multi-arch build support
This commit is contained in:
Dan Langille 2020-09-03 21:36:53 +00:00
parent 24650ebf79
commit 90cdc26376
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547484
4 changed files with 12 additions and 24 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= acme.sh
PORTVERSION= 2.8.6
PORTREVISION= 2
PORTVERSION= 2.8.7
CATEGORIES= security
MAINTAINER= dvl@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1588553979
SHA256 (Neilpang-acme.sh-2.8.6_GH0.tar.gz) = fd36cb749466296ded521ceacda3fc841ec76be620900d1116e0492d171c1d9f
SIZE (Neilpang-acme.sh-2.8.6_GH0.tar.gz) = 193182
TIMESTAMP = 1599009231
SHA256 (Neilpang-acme.sh-2.8.7_GH0.tar.gz) = 774010429730882f6bbfcd3756ff0fa755846106664841092af828a814159861
SIZE (Neilpang-acme.sh-2.8.7_GH0.tar.gz) = 206475

View File

@ -1,19 +0,0 @@
Fix sudo issue
https://github.com/acmesh-official/acme.sh/pull/2574
--- acme.sh.orig 2020-08-02 05:02:04 UTC
+++ acme.sh
@@ -6415,10 +6415,10 @@ _checkSudo() {
#it's root using sudo, no matter it's using sudo or not, just fine
return 0
fi
- if [ "$SUDO_COMMAND" = "/bin/su" ] || [ "$SUDO_COMMAND" = "/bin/bash" ]; then
+ if [ -n "$SUDO_COMMAND" ]; then
#it's a normal user doing "sudo su", or `sudo -i` or `sudo -s`
- #fine
- return 0
+ _endswith "$SUDO_COMMAND" /bin/su || grep "^$SUDO_COMMAND\$" /etc/shells >/dev/null 2>&1
+ return $?
fi
#otherwise
return 1

View File

@ -18,6 +18,7 @@ sbin/acme.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deploy/mysqld.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deploy/nginx.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deploy/opensshd.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deploy/openstack.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deploy/panos.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deploy/pureftpd.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/deploy/qiniu.sh
@ -73,6 +74,7 @@ sbin/acme.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_gd.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_gdnsdk.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_he.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_hetzner.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_hexonet.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_hostingde.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_infoblox.sh
@ -81,6 +83,7 @@ sbin/acme.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_ispconfig.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_jd.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_joker.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_kappernet.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_kas.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_kinghost.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_knot.sh
@ -103,7 +106,9 @@ sbin/acme.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_nederhost.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_neodigit.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_netcup.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_netlify.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_nic.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_njalla.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_nm.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_nsd.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_nsone.sh
@ -112,6 +117,7 @@ sbin/acme.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_one.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_online.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_openprovider.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_openstack.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_opnsense.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_ovh.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_pdns.sh
@ -125,6 +131,7 @@ sbin/acme.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_servercow.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_tele3.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_ultra.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_transip.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_unoeuro.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_variomedia.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsapi/dns_vscale.sh
@ -144,6 +151,7 @@ sbin/acme.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify/sendgrid.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify/slack.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify/smtp.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify/teams.sh
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify/xmpp.sh
@sample(acme,acme,0640) /var/db/acme/.acme.sh/account.conf.sample
%%PORTEXAMPLES%%/var/db/acme/.acme.sh/deploy