From a7f376f8fd522ad8fe8c562fd39c6603ba002906 Mon Sep 17 00:00:00 2001 From: ryoon Date: Thu, 22 Nov 2018 13:08:28 +0000 Subject: [PATCH] security/acmesh: import acmesh-2.7.9 A pure Unix shell script implementing ACME client protocol * An ACME protocol client written purely in Shell (Unix shell) language. * Full ACME protocol implementation. * Support ACME v1 and ACME v2 * Support ACME v2 wildcard certs * Simple, powerful and very easy to use. You only need 3 minutes to learn it. * Bash, dash and sh compatible. * Simplest shell script for Let's Encrypt free certificate client. * Purely written in Shell with no dependencies on python or the official Let's Encrypt client. * Just one script to issue, renew and install your certificates automatically. * DOES NOT require root/sudoer access. * Docker friendly * IPv6 support --- security/acmesh/DESCR | 15 +++++++++++++++ security/acmesh/Makefile | 35 +++++++++++++++++++++++++++++++++++ security/acmesh/PLIST | 2 ++ security/acmesh/distinfo | 6 ++++++ 4 files changed, 58 insertions(+) create mode 100644 security/acmesh/DESCR create mode 100644 security/acmesh/Makefile create mode 100644 security/acmesh/PLIST create mode 100644 security/acmesh/distinfo diff --git a/security/acmesh/DESCR b/security/acmesh/DESCR new file mode 100644 index 000000000000..59e23db85e69 --- /dev/null +++ b/security/acmesh/DESCR @@ -0,0 +1,15 @@ +A pure Unix shell script implementing ACME client protocol + +* An ACME protocol client written purely in Shell (Unix shell) language. +* Full ACME protocol implementation. +* Support ACME v1 and ACME v2 +* Support ACME v2 wildcard certs +* Simple, powerful and very easy to use. You only need 3 minutes to learn it. +* Bash, dash and sh compatible. +* Simplest shell script for Let's Encrypt free certificate client. +* Purely written in Shell with no dependencies on python or the official + Let's Encrypt client. +* Just one script to issue, renew and install your certificates automatically. +* DOES NOT require root/sudoer access. +* Docker friendly +* IPv6 support diff --git a/security/acmesh/Makefile b/security/acmesh/Makefile new file mode 100644 index 000000000000..43390ebe2365 --- /dev/null +++ b/security/acmesh/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 2018/11/22 13:08:28 ryoon Exp $ + +DISTNAME= acme.sh-2.7.9 +PKGNAME= ${DISTNAME:S/acme.sh/acmesh/} +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_GITHUB:=Neilpang/} +GITHUB_PROJECT= acme.sh +GITHUB_TAG= ${PKGVERSION_NOREV} + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= https://github.com/Neilpang/acme.sh/ +COMMENT= Let's Encrypt ACME client in shell script +LICENSE= gnu-gpl-v3 + +USE_LANGUAGES= # none + +DEPENDS+= socat-[0-9]*:../../net/socat +DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts +DEPENDS+= curl-[0-9]*:../../www/curl + +#NO_CONFIGURE= yes +NO_BUILD= yes + +REPLACE_SH+= acme.sh + +INSTALLATION_DIRS= sbin + +do-configure: + # empty for REPLACE_SH + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/acme.sh \ + ${DESTDIR}${PREFIX}/sbin/acme.sh + +.include "../../mk/bsd.pkg.mk" diff --git a/security/acmesh/PLIST b/security/acmesh/PLIST new file mode 100644 index 000000000000..9aaa0d8b87c2 --- /dev/null +++ b/security/acmesh/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2018/11/22 13:08:28 ryoon Exp $ +sbin/acme.sh diff --git a/security/acmesh/distinfo b/security/acmesh/distinfo new file mode 100644 index 000000000000..aa1b68fac40f --- /dev/null +++ b/security/acmesh/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/11/22 13:08:28 ryoon Exp $ + +SHA1 (acme.sh-2.7.9.tar.gz) = 82dd82a74d1b04f55ed936293a8c5553237f32dd +RMD160 (acme.sh-2.7.9.tar.gz) = ea3ade012fa6f330970b02baab33c466716badb1 +SHA512 (acme.sh-2.7.9.tar.gz) = 24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052 +Size (acme.sh-2.7.9.tar.gz) = 110323 bytes