pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/acmesh acmesh: fix sub-folder installation fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/472992bb7c7c
branches:  trunk
changeset: 456232:472992bb7c7c
user:      tm <tm%pkgsrc.org@localhost>
date:      Thu Jul 22 19:05:14 2021 +0000

description:
acmesh: fix sub-folder installation for notify and dnsapi support

It's required to install sub-folders which contains scripts for notify and
dnsapi support. Change default folder for scripts to share folder and symlink
to sbin.

Bump PKGREVISION.

diffstat:

 security/acmesh/Makefile |   27 ++++++-
 security/acmesh/PLIST    |  173 ++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 196 insertions(+), 4 deletions(-)

diffs (226 lines):

diff -r 4d123a488a5f -r 472992bb7c7c security/acmesh/Makefile
--- a/security/acmesh/Makefile  Thu Jul 22 18:46:27 2021 +0000
+++ b/security/acmesh/Makefile  Thu Jul 22 19:05:14 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2021/06/12 07:04:46 nia Exp $
+# $NetBSD: Makefile,v 1.11 2021/07/22 19:05:14 tm Exp $
 
 DISTNAME=      acme.sh-2.9.0
+PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/acme.sh/acmesh/}
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=acmesh-official/}
@@ -22,13 +23,33 @@
 
 REPLACE_SH+=   acme.sh
 
-INSTALLATION_DIRS=     sbin
+DOCDIR=                        share/doc/acmesh
+INSTALLATION_DIRS=     sbin \
+                       ${DOCDIR} \
+                       share/acmesh/deploy \
+                       share/acmesh/dnsapi \
+                       share/acmesh/notify
 
 do-configure:
-       # empty for REPLACE_SH
+       ${MV} ${WRKSRC}/deploy/README.md \
+               ${WRKSRC}/README-deploy.md
+       ${MV} ${WRKSRC}/dnsapi/README.md \
+               ${WRKSRC}/README-dnsapi.md
 
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/acme.sh \
+               ${DESTDIR}${PREFIX}/share/acmesh/acme.sh
+       ${LN} -s ${DESTDIR}${PREFIX}/share/acmesh/acme.sh \
                ${DESTDIR}${PREFIX}/sbin/acme.sh
 
+       ${INSTALL_DATA} ${WRKSRC}/deploy/* \
+               ${DESTDIR}${PREFIX}/share/acmesh/deploy
+       ${INSTALL_DATA} ${WRKSRC}/dnsapi/* \
+               ${DESTDIR}${PREFIX}/share/acmesh/dnsapi
+       ${INSTALL_DATA} ${WRKSRC}/notify/* \
+               ${DESTDIR}${PREFIX}/share/acmesh/notify
+
+       ${INSTALL_DATA} ${WRKSRC}/README*.md \
+               ${DESTDIR}${PREFIX}/${DOCDIR}
+
 .include "../../mk/bsd.pkg.mk"
diff -r 4d123a488a5f -r 472992bb7c7c security/acmesh/PLIST
--- a/security/acmesh/PLIST     Thu Jul 22 18:46:27 2021 +0000
+++ b/security/acmesh/PLIST     Thu Jul 22 19:05:14 2021 +0000
@@ -1,2 +1,173 @@
-@comment $NetBSD: PLIST,v 1.1 2018/11/22 13:08:28 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/07/22 19:05:14 tm Exp $
 sbin/acme.sh
+share/acmesh/acme.sh
+share/acmesh/deploy/apache.sh
+share/acmesh/deploy/cleverreach.sh
+share/acmesh/deploy/cpanel_uapi.sh
+share/acmesh/deploy/docker.sh
+share/acmesh/deploy/dovecot.sh
+share/acmesh/deploy/exim4.sh
+share/acmesh/deploy/fritzbox.sh
+share/acmesh/deploy/gcore_cdn.sh
+share/acmesh/deploy/gitlab.sh
+share/acmesh/deploy/haproxy.sh
+share/acmesh/deploy/keychain.sh
+share/acmesh/deploy/kong.sh
+share/acmesh/deploy/mailcow.sh
+share/acmesh/deploy/myapi.sh
+share/acmesh/deploy/mydevil.sh
+share/acmesh/deploy/mysqld.sh
+share/acmesh/deploy/nginx.sh
+share/acmesh/deploy/opensshd.sh
+share/acmesh/deploy/openstack.sh
+share/acmesh/deploy/panos.sh
+share/acmesh/deploy/peplink.sh
+share/acmesh/deploy/pureftpd.sh
+share/acmesh/deploy/qiniu.sh
+share/acmesh/deploy/routeros.sh
+share/acmesh/deploy/ssh.sh
+share/acmesh/deploy/strongswan.sh
+share/acmesh/deploy/synology_dsm.sh
+share/acmesh/deploy/unifi.sh
+share/acmesh/deploy/vault.sh
+share/acmesh/deploy/vault_cli.sh
+share/acmesh/deploy/vsftpd.sh
+share/acmesh/dnsapi/dns_1984hosting.sh
+share/acmesh/dnsapi/dns_acmedns.sh
+share/acmesh/dnsapi/dns_acmeproxy.sh
+share/acmesh/dnsapi/dns_active24.sh
+share/acmesh/dnsapi/dns_ad.sh
+share/acmesh/dnsapi/dns_ali.sh
+share/acmesh/dnsapi/dns_anx.sh
+share/acmesh/dnsapi/dns_arvan.sh
+share/acmesh/dnsapi/dns_aurora.sh
+share/acmesh/dnsapi/dns_autodns.sh
+share/acmesh/dnsapi/dns_aws.sh
+share/acmesh/dnsapi/dns_azure.sh
+share/acmesh/dnsapi/dns_cf.sh
+share/acmesh/dnsapi/dns_clouddns.sh
+share/acmesh/dnsapi/dns_cloudns.sh
+share/acmesh/dnsapi/dns_cn.sh
+share/acmesh/dnsapi/dns_conoha.sh
+share/acmesh/dnsapi/dns_constellix.sh
+share/acmesh/dnsapi/dns_cx.sh
+share/acmesh/dnsapi/dns_cyon.sh
+share/acmesh/dnsapi/dns_da.sh
+share/acmesh/dnsapi/dns_ddnss.sh
+share/acmesh/dnsapi/dns_desec.sh
+share/acmesh/dnsapi/dns_df.sh
+share/acmesh/dnsapi/dns_dgon.sh
+share/acmesh/dnsapi/dns_dnsimple.sh
+share/acmesh/dnsapi/dns_do.sh
+share/acmesh/dnsapi/dns_doapi.sh
+share/acmesh/dnsapi/dns_domeneshop.sh
+share/acmesh/dnsapi/dns_dp.sh
+share/acmesh/dnsapi/dns_dpi.sh
+share/acmesh/dnsapi/dns_dreamhost.sh
+share/acmesh/dnsapi/dns_duckdns.sh
+share/acmesh/dnsapi/dns_durabledns.sh
+share/acmesh/dnsapi/dns_dyn.sh
+share/acmesh/dnsapi/dns_dynu.sh
+share/acmesh/dnsapi/dns_dynv6.sh
+share/acmesh/dnsapi/dns_easydns.sh
+share/acmesh/dnsapi/dns_edgedns.sh
+share/acmesh/dnsapi/dns_euserv.sh
+share/acmesh/dnsapi/dns_exoscale.sh
+share/acmesh/dnsapi/dns_freedns.sh
+share/acmesh/dnsapi/dns_gandi_livedns.sh
+share/acmesh/dnsapi/dns_gcloud.sh
+share/acmesh/dnsapi/dns_gd.sh
+share/acmesh/dnsapi/dns_gdnsdk.sh
+share/acmesh/dnsapi/dns_he.sh
+share/acmesh/dnsapi/dns_hetzner.sh
+share/acmesh/dnsapi/dns_hexonet.sh
+share/acmesh/dnsapi/dns_hostingde.sh
+share/acmesh/dnsapi/dns_huaweicloud.sh
+share/acmesh/dnsapi/dns_infoblox.sh
+share/acmesh/dnsapi/dns_infomaniak.sh
+share/acmesh/dnsapi/dns_internetbs.sh
+share/acmesh/dnsapi/dns_inwx.sh
+share/acmesh/dnsapi/dns_ionos.sh
+share/acmesh/dnsapi/dns_ispconfig.sh
+share/acmesh/dnsapi/dns_jd.sh
+share/acmesh/dnsapi/dns_joker.sh
+share/acmesh/dnsapi/dns_kappernet.sh
+share/acmesh/dnsapi/dns_kas.sh
+share/acmesh/dnsapi/dns_kinghost.sh
+share/acmesh/dnsapi/dns_knot.sh
+share/acmesh/dnsapi/dns_leaseweb.sh
+share/acmesh/dnsapi/dns_lexicon.sh
+share/acmesh/dnsapi/dns_linode.sh
+share/acmesh/dnsapi/dns_linode_v4.sh
+share/acmesh/dnsapi/dns_loopia.sh
+share/acmesh/dnsapi/dns_lua.sh
+share/acmesh/dnsapi/dns_maradns.sh
+share/acmesh/dnsapi/dns_me.sh
+share/acmesh/dnsapi/dns_miab.sh
+share/acmesh/dnsapi/dns_misaka.sh
+share/acmesh/dnsapi/dns_myapi.sh
+share/acmesh/dnsapi/dns_mydevil.sh
+share/acmesh/dnsapi/dns_mydnsjp.sh
+share/acmesh/dnsapi/dns_namecheap.sh
+share/acmesh/dnsapi/dns_namecom.sh
+share/acmesh/dnsapi/dns_namesilo.sh
+share/acmesh/dnsapi/dns_nederhost.sh
+share/acmesh/dnsapi/dns_neodigit.sh
+share/acmesh/dnsapi/dns_netcup.sh
+share/acmesh/dnsapi/dns_netlify.sh
+share/acmesh/dnsapi/dns_nic.sh
+share/acmesh/dnsapi/dns_njalla.sh
+share/acmesh/dnsapi/dns_nm.sh
+share/acmesh/dnsapi/dns_nsd.sh
+share/acmesh/dnsapi/dns_nsone.sh
+share/acmesh/dnsapi/dns_nsupdate.sh
+share/acmesh/dnsapi/dns_nw.sh
+share/acmesh/dnsapi/dns_one.sh
+share/acmesh/dnsapi/dns_online.sh
+share/acmesh/dnsapi/dns_openprovider.sh
+share/acmesh/dnsapi/dns_openstack.sh
+share/acmesh/dnsapi/dns_opnsense.sh
+share/acmesh/dnsapi/dns_ovh.sh
+share/acmesh/dnsapi/dns_pdns.sh
+share/acmesh/dnsapi/dns_pleskxml.sh
+share/acmesh/dnsapi/dns_pointhq.sh
+share/acmesh/dnsapi/dns_porkbun.sh
+share/acmesh/dnsapi/dns_rackcorp.sh
+share/acmesh/dnsapi/dns_rackspace.sh
+share/acmesh/dnsapi/dns_rcode0.sh
+share/acmesh/dnsapi/dns_regru.sh
+share/acmesh/dnsapi/dns_scaleway.sh
+share/acmesh/dnsapi/dns_schlundtech.sh
+share/acmesh/dnsapi/dns_selectel.sh
+share/acmesh/dnsapi/dns_servercow.sh
+share/acmesh/dnsapi/dns_simply.sh
+share/acmesh/dnsapi/dns_tele3.sh
+share/acmesh/dnsapi/dns_transip.sh
+share/acmesh/dnsapi/dns_ultra.sh
+share/acmesh/dnsapi/dns_unoeuro.sh
+share/acmesh/dnsapi/dns_variomedia.sh
+share/acmesh/dnsapi/dns_vscale.sh
+share/acmesh/dnsapi/dns_vultr.sh
+share/acmesh/dnsapi/dns_websupport.sh
+share/acmesh/dnsapi/dns_world4you.sh
+share/acmesh/dnsapi/dns_yandex.sh
+share/acmesh/dnsapi/dns_zilore.sh
+share/acmesh/dnsapi/dns_zone.sh
+share/acmesh/dnsapi/dns_zonomi.sh
+share/acmesh/notify/cqhttp.sh
+share/acmesh/notify/dingtalk.sh
+share/acmesh/notify/ifttt.sh
+share/acmesh/notify/mail.sh
+share/acmesh/notify/mailgun.sh
+share/acmesh/notify/pop.sh
+share/acmesh/notify/postmark.sh
+share/acmesh/notify/pushover.sh
+share/acmesh/notify/sendgrid.sh
+share/acmesh/notify/slack.sh
+share/acmesh/notify/smtp.sh
+share/acmesh/notify/teams.sh
+share/acmesh/notify/telegram.sh
+share/acmesh/notify/xmpp.sh
+share/doc/acmesh/README-deploy.md
+share/doc/acmesh/README-dnsapi.md
+share/doc/acmesh/README.md



Home | Main Index | Thread Index | Old Index