aboutsummaryrefslogtreecommitdiffstats
path: root/security/acme.sh
diff options
context:
space:
mode:
authordvl <dvl@FreeBSD.org>2017-06-05 08:47:13 +0800
committerdvl <dvl@FreeBSD.org>2017-06-05 08:47:13 +0800
commit4a0a934bf8652bd85d81f8adf31ec6583a010cc3 (patch)
treefec81b65aa565b73f5d5ede64b3305b81a9104b0 /security/acme.sh
parent213384f88747c54db2a7b34cbbdef2eaa4cd60b7 (diff)
downloadfreebsd-ports-gnome-4a0a934bf8652bd85d81f8adf31ec6583a010cc3.tar.gz
freebsd-ports-gnome-4a0a934bf8652bd85d81f8adf31ec6583a010cc3.tar.zst
freebsd-ports-gnome-4a0a934bf8652bd85d81f8adf31ec6583a010cc3.zip
Include practical examples for both deploy and dnsapi
Provide options for installing curl, wget, BINDTOOLS, and DOCS. Submitted by: feld
Diffstat (limited to 'security/acme.sh')
-rw-r--r--security/acme.sh/Makefile10
-rw-r--r--security/acme.sh/pkg-plist44
2 files changed, 51 insertions, 3 deletions
diff --git a/security/acme.sh/Makefile b/security/acme.sh/Makefile
index f1c438b597a4..37803a59c44b 100644
--- a/security/acme.sh/Makefile
+++ b/security/acme.sh/Makefile
@@ -2,7 +2,7 @@
PORTNAME= acme.sh
PORTVERSION= 2.6.9
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= security
@@ -17,10 +17,12 @@ GH_ACCOUNT= Neilpang
USERS= acme
GROUPS= acme
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS BINDTOOLS
OPTIONS_SINGLE= HTTP
OPTIONS_SINGLE_HTTP= CURL WGET
OPTIONS_DEFAULT= CURL
+BINDTOOLS_DESC= Depend on bind-tools for nsupdate
+BINDTOOLS_RUN_DEPENDS= ${LOCALBASE}/bin/nsupdate:dns/bind-tools
CURL_DESC= Depend on cURL for HTTP(S) queries
WGET_DESC= Depend on Wget for HTTP(S) queries
@@ -30,11 +32,13 @@ NO_BUILD= yes
CURL_RUN_DEPENDS= curl:ftp/curl
WGET_RUN_DEPENDS= wget:ftp/wget
-PLIST_FILES= sbin/${PORTNAME}
PORTDOCS= README.md
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/deploy ${STAGEDIR}${EXAMPLESDIR}/dnsapi
+ ( cd ${WRKSRC} && ${COPYTREE_BIN} deploy ${STAGEDIR}${EXAMPLESDIR} )
+ ( cd ${WRKSRC} && ${COPYTREE_BIN} dnsapi ${STAGEDIR}${EXAMPLESDIR} )
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/security/acme.sh/pkg-plist b/security/acme.sh/pkg-plist
new file mode 100644
index 000000000000..67044c1edb7b
--- /dev/null
+++ b/security/acme.sh/pkg-plist
@@ -0,0 +1,44 @@
+sbin/acme.sh
+%%EXAMPLESDIR%%/deploy/README.md
+%%EXAMPLESDIR%%/deploy/apache.sh
+%%EXAMPLESDIR%%/deploy/cpanel.sh
+%%EXAMPLESDIR%%/deploy/dovecot.sh
+%%EXAMPLESDIR%%/deploy/exim4.sh
+%%EXAMPLESDIR%%/deploy/haproxy.sh
+%%EXAMPLESDIR%%/deploy/keychain.sh
+%%EXAMPLESDIR%%/deploy/kong.sh
+%%EXAMPLESDIR%%/deploy/myapi.sh
+%%EXAMPLESDIR%%/deploy/mysqld.sh
+%%EXAMPLESDIR%%/deploy/nginx.sh
+%%EXAMPLESDIR%%/deploy/opensshd.sh
+%%EXAMPLESDIR%%/deploy/pureftpd.sh
+%%EXAMPLESDIR%%/deploy/vsftpd.sh
+%%EXAMPLESDIR%%/dnsapi/README.md
+%%EXAMPLESDIR%%/dnsapi/dns_ad.sh
+%%EXAMPLESDIR%%/dnsapi/dns_ali.sh
+%%EXAMPLESDIR%%/dnsapi/dns_aws.sh
+%%EXAMPLESDIR%%/dnsapi/dns_cf.sh
+%%EXAMPLESDIR%%/dnsapi/dns_cloudns.sh
+%%EXAMPLESDIR%%/dnsapi/dns_cx.sh
+%%EXAMPLESDIR%%/dnsapi/dns_cyon.sh
+%%EXAMPLESDIR%%/dnsapi/dns_dgon.sh
+%%EXAMPLESDIR%%/dnsapi/dns_dnsimple.sh
+%%EXAMPLESDIR%%/dnsapi/dns_do.sh
+%%EXAMPLESDIR%%/dnsapi/dns_dp.sh
+%%EXAMPLESDIR%%/dnsapi/dns_dynu.sh
+%%EXAMPLESDIR%%/dnsapi/dns_freedns.sh
+%%EXAMPLESDIR%%/dnsapi/dns_gandi_livedns.sh
+%%EXAMPLESDIR%%/dnsapi/dns_gd.sh
+%%EXAMPLESDIR%%/dnsapi/dns_infoblox.sh
+%%EXAMPLESDIR%%/dnsapi/dns_ispconfig.sh
+%%EXAMPLESDIR%%/dnsapi/dns_knot.sh
+%%EXAMPLESDIR%%/dnsapi/dns_lexicon.sh
+%%EXAMPLESDIR%%/dnsapi/dns_linode.sh
+%%EXAMPLESDIR%%/dnsapi/dns_lua.sh
+%%EXAMPLESDIR%%/dnsapi/dns_me.sh
+%%EXAMPLESDIR%%/dnsapi/dns_myapi.sh
+%%EXAMPLESDIR%%/dnsapi/dns_nsone.sh
+%%EXAMPLESDIR%%/dnsapi/dns_nsupdate.sh
+%%EXAMPLESDIR%%/dnsapi/dns_ovh.sh
+%%EXAMPLESDIR%%/dnsapi/dns_pdns.sh
+%%EXAMPLESDIR%%/dnsapi/dns_vscale.sh