summaryrefslogtreecommitdiff
path: root/security/py-acme-tiny
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-02-14 00:38:56 +0000
committerkhorben <khorben@pkgsrc.org>2017-02-14 00:38:56 +0000
commita1583bc2cc588cc59441d288612bd46dccb5c7a6 (patch)
treee48a27fe35c6ee2cc01cd52bc4c390b5fc95d91e /security/py-acme-tiny
parent2df8e5cd18eb0656d348f8c3172f883c59a95131 (diff)
downloadpkgsrc-a1583bc2cc588cc59441d288612bd46dccb5c7a6.tar.gz
Import acme-tiny's latest commit (versioned as 0.0.20170214)
This is a tiny, auditable script that you can throw on your server to issue and renew Let's Encrypt certificates. Since it has to be run on your server and have access to your private Let's Encrypt account key, I tried to make it as tiny as possible (currently less than 200 lines). The only prerequisites are python and openssl. Tested successfully on NetBSD 7.0.2 (i386). "please import!" wiz@
Diffstat (limited to 'security/py-acme-tiny')
-rw-r--r--security/py-acme-tiny/DESCR5
-rw-r--r--security/py-acme-tiny/Makefile28
-rw-r--r--security/py-acme-tiny/PLIST3
-rw-r--r--security/py-acme-tiny/distinfo6
4 files changed, 42 insertions, 0 deletions
diff --git a/security/py-acme-tiny/DESCR b/security/py-acme-tiny/DESCR
new file mode 100644
index 00000000000..4e352133e93
--- /dev/null
+++ b/security/py-acme-tiny/DESCR
@@ -0,0 +1,5 @@
+This is a tiny, auditable script that you can throw on your server to issue and
+renew Let's Encrypt certificates. Since it has to be run on your server and
+have access to your private Let's Encrypt account key, I tried to make it as
+tiny as possible (currently less than 200 lines). The only prerequisites are
+python and openssl.
diff --git a/security/py-acme-tiny/Makefile b/security/py-acme-tiny/Makefile
new file mode 100644
index 00000000000..2b0e728b3a8
--- /dev/null
+++ b/security/py-acme-tiny/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2017/02/14 00:38:56 khorben Exp $
+
+DISTNAME= acme-tiny-0.0.20170214
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=diafygi/}
+
+MAINTAINER= khorben@defora.org
+HOMEPAGE= https://github.com/diafygi/acme-tiny/
+COMMENT= A tiny script to issue and renew TLS certs from Let's Encrypt
+LICENSE= mit
+
+GITHUB_PROJECT= acme-tiny
+GITHUB_TAG= daba51d37efd7c1f205f9da383b9b09968e30d29
+
+NO_BUILD= yes
+INSTALLATION_DIRS=bin share/doc/${PYPKGPREFIX}-acme-tiny
+PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
+
+REPLACE_PYTHON= acme_tiny.py
+
+do-install:
+ ${INSTALL} -m 0755 ${WRKSRC}/acme_tiny.py ${DESTDIR}${PREFIX}/bin/acme_tiny
+ ${INSTALL} -m 0644 ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-acme-tiny/README.md
+
+.include "../../lang/python/application.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-acme-tiny/PLIST b/security/py-acme-tiny/PLIST
new file mode 100644
index 00000000000..bd259acd411
--- /dev/null
+++ b/security/py-acme-tiny/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/14 00:38:56 khorben Exp $
+bin/acme_tiny
+share/doc/${PYPKGPREFIX}-acme-tiny/README.md
diff --git a/security/py-acme-tiny/distinfo b/security/py-acme-tiny/distinfo
new file mode 100644
index 00000000000..0ab35c278a5
--- /dev/null
+++ b/security/py-acme-tiny/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/14 00:38:56 khorben Exp $
+
+SHA1 (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 1e312aa9e1dd24eb34bd42bb418f83b2df7e5235
+RMD160 (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 82897ea46269517e4328e2d1f67ca7b27d05481e
+SHA512 (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 260de3fe3052e3eba3e8438b15e34d95c99f95d75137ddabe9c031a83bd7b967bebabe6916fa23de6194ab19cc687942af0cc700b7095b7c810820800c26061e
+Size (acme-tiny-0.0.20170214-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 10510 bytes