Index: head/security/acme.sh/Makefile =================================================================== --- head/security/acme.sh/Makefile (revision 479340) +++ head/security/acme.sh/Makefile (revision 479341) @@ -1,51 +1,52 @@ # $FreeBSD$ PORTNAME= acme.sh PORTVERSION= 2.7.9 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= dvl@FreeBSD.org COMMENT= ACME protocol client written in shell LICENSE= GPLv3+ USE_GITHUB= yes GH_ACCOUNT= Neilpang USERS= acme GROUPS= acme OPTIONS_DEFINE= DOCS BINDTOOLS STANDALONE OPTIONS_SINGLE= HTTP OPTIONS_SINGLE_HTTP= CURL WGET OPTIONS_DEFAULT= CURL STANDALONE BINDTOOLS_DESC= Depend on bind-tools for nsupdate BINDTOOLS_RUN_DEPENDS= ${LOCALBASE}/bin/nsupdate:dns/bind-tools STANDALONE_DESC= Standalone mode requires SOCAT STANDALONE_RUN_DEPENDS= socat>0:net/socat CURL_DESC= Depend on cURL for HTTP(S) queries WGET_DESC= Depend on Wget for HTTP(S) queries NO_ARCH= yes NO_BUILD= yes CURL_RUN_DEPENDS= curl:ftp/curl WGET_RUN_DEPENDS= wget:ftp/wget PORTDOCS= README.md SUB_FILES= pkg-install pkg-message 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} ) - ${INSTALL_DATA} ${FILESDIR}/acme.sh ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${FILESDIR}/acme.sh.conf ${STAGEDIR}${EXAMPLESDIR} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include Index: head/security/acme.sh/files/acme.sh =================================================================== --- head/security/acme.sh/files/acme.sh (revision 479340) +++ head/security/acme.sh/files/acme.sh (nonexistent) @@ -1,6 +0,0 @@ -# acme.sh configuration file for newsyslog.conf -# -# see newsyslog.conf(5) for details -# -# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] -/var/log/acme.sh.log acme:acme 640 90 * @T00 B Property changes on: head/security/acme.sh/files/acme.sh ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/acme.sh/files/acme.sh.conf =================================================================== --- head/security/acme.sh/files/acme.sh.conf (nonexistent) +++ head/security/acme.sh/files/acme.sh.conf (revision 479341) @@ -0,0 +1,6 @@ +# acme.sh configuration file for newsyslog.conf +# +# see newsyslog.conf(5) for details +# +# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] +/var/log/acme.sh.log acme:acme 640 90 * @T00 B Property changes on: head/security/acme.sh/files/acme.sh.conf ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/acme.sh/files/pkg-message.in =================================================================== --- head/security/acme.sh/files/pkg-message.in (revision 479340) +++ head/security/acme.sh/files/pkg-message.in (revision 479341) @@ -1,32 +1,32 @@ This script will create the following directories if they do not exist: ~acme/.acme.sh ~acme/certs The script will also install ~acme/.acme.sh/account.conf.sample which has sane defaults. Copy this to ~acme/.acme.sh/account.conf and edit contents to suit. In the %%EXAMPLESDIR%% directory, you can find the dnsapi scripts which will be useful if you decide to use dns-01 challenges. Also included are the deploy scripts. -A newsyslog.conf sample file is provided at %%EXAMPLESDIR%%/acme.sh +A newsyslog.conf sample file is provided at %%EXAMPLESDIR%%/acme.sh.conf and you could create a symlink from that to %%PREFIX%%/etc/newsyslog.conf.d/ Your sample cronjob looks like this: ############################################################################ $ sudo crontab -l -u acme # use /bin/sh to run commands, overriding the default set by cron SHELL=/bin/sh # mail any output to here, no matter whose crontab this is MAILTO=dan@example.org 7 22 * * * /usr/local/sbin/acme.sh --cron --home /var/db/acme/.acme.sh > /dev/null ############################################################################ Change x & y to some minute and hour of the day. Index: head/security/acme.sh/pkg-plist =================================================================== --- head/security/acme.sh/pkg-plist (revision 479340) +++ head/security/acme.sh/pkg-plist (revision 479341) @@ -1,71 +1,71 @@ sbin/acme.sh -%%EXAMPLESDIR%%/acme.sh +%%EXAMPLESDIR%%/acme.sh.conf %%EXAMPLESDIR%%/deploy/README.md %%EXAMPLESDIR%%/deploy/apache.sh %%EXAMPLESDIR%%/deploy/cpanel_uapi.sh %%EXAMPLESDIR%%/deploy/dovecot.sh %%EXAMPLESDIR%%/deploy/exim4.sh %%EXAMPLESDIR%%/deploy/fritzbox.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/ssh.sh %%EXAMPLESDIR%%/deploy/strongswan.sh %%EXAMPLESDIR%%/deploy/unifi.sh %%EXAMPLESDIR%%/deploy/vault_cli.sh %%EXAMPLESDIR%%/deploy/vsftpd.sh %%EXAMPLESDIR%%/dnsapi/README.md %%EXAMPLESDIR%%/dnsapi/dns_acmedns.sh %%EXAMPLESDIR%%/dnsapi/dns_ad.sh %%EXAMPLESDIR%%/dnsapi/dns_ali.sh %%EXAMPLESDIR%%/dnsapi/dns_autodns.sh %%EXAMPLESDIR%%/dnsapi/dns_aws.sh %%EXAMPLESDIR%%/dnsapi/dns_azure.sh %%EXAMPLESDIR%%/dnsapi/dns_cf.sh %%EXAMPLESDIR%%/dnsapi/dns_cloudns.sh %%EXAMPLESDIR%%/dnsapi/dns_cx.sh %%EXAMPLESDIR%%/dnsapi/dns_cyon.sh %%EXAMPLESDIR%%/dnsapi/dns_da.sh %%EXAMPLESDIR%%/dnsapi/dns_dgon.sh %%EXAMPLESDIR%%/dnsapi/dns_dnsimple.sh %%EXAMPLESDIR%%/dnsapi/dns_do.sh %%EXAMPLESDIR%%/dnsapi/dns_dp.sh %%EXAMPLESDIR%%/dnsapi/dns_dreamhost.sh %%EXAMPLESDIR%%/dnsapi/dns_duckdns.sh %%EXAMPLESDIR%%/dnsapi/dns_dyn.sh %%EXAMPLESDIR%%/dnsapi/dns_dynu.sh %%EXAMPLESDIR%%/dnsapi/dns_euserv.sh %%EXAMPLESDIR%%/dnsapi/dns_freedns.sh %%EXAMPLESDIR%%/dnsapi/dns_gandi_livedns.sh %%EXAMPLESDIR%%/dnsapi/dns_gd.sh %%EXAMPLESDIR%%/dnsapi/dns_he.sh %%EXAMPLESDIR%%/dnsapi/dns_infoblox.sh %%EXAMPLESDIR%%/dnsapi/dns_inwx.sh %%EXAMPLESDIR%%/dnsapi/dns_ispconfig.sh %%EXAMPLESDIR%%/dnsapi/dns_kinghost.sh %%EXAMPLESDIR%%/dnsapi/dns_knot.sh %%EXAMPLESDIR%%/dnsapi/dns_lexicon.sh %%EXAMPLESDIR%%/dnsapi/dns_linode.sh %%EXAMPLESDIR%%/dnsapi/dns_loopia.sh %%EXAMPLESDIR%%/dnsapi/dns_lua.sh %%EXAMPLESDIR%%/dnsapi/dns_me.sh %%EXAMPLESDIR%%/dnsapi/dns_myapi.sh %%EXAMPLESDIR%%/dnsapi/dns_namecom.sh %%EXAMPLESDIR%%/dnsapi/dns_namesilo.sh %%EXAMPLESDIR%%/dnsapi/dns_nsone.sh %%EXAMPLESDIR%%/dnsapi/dns_nsupdate.sh %%EXAMPLESDIR%%/dnsapi/dns_ovh.sh %%EXAMPLESDIR%%/dnsapi/dns_pdns.sh %%EXAMPLESDIR%%/dnsapi/dns_selectel.sh %%EXAMPLESDIR%%/dnsapi/dns_servercow.sh %%EXAMPLESDIR%%/dnsapi/dns_tele3.sh %%EXAMPLESDIR%%/dnsapi/dns_unoeuro.sh %%EXAMPLESDIR%%/dnsapi/dns_vscale.sh %%EXAMPLESDIR%%/dnsapi/dns_yandex.sh %%EXAMPLESDIR%%/dnsapi/dns_zonomi.sh %%EXAMPLESDIR%%/dnsapi/dns_zilore.sh