pkgsrc-WIP-changes archive

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

Import py-acme-tiny



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Mon Feb 13 23:56:22 2017 +0100
Changeset:	77f4c48f722732ba3a8f2e171467aa3c895ef83e

Modified Files:
	Makefile
Added Files:
	py-acme-tiny/DESCR
	py-acme-tiny/Makefile
	py-acme-tiny/PLIST
	py-acme-tiny/distinfo

Log Message:
Import py-acme-tiny

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=77f4c48f722732ba3a8f2e171467aa3c895ef83e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 py-acme-tiny/DESCR    |  5 +++++
 py-acme-tiny/Makefile | 29 +++++++++++++++++++++++++++++
 py-acme-tiny/PLIST    |  3 +++
 py-acme-tiny/distinfo |  6 ++++++
 5 files changed, 44 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 891888036d..32e0b1cbbd 100644
--- a/Makefile
+++ b/Makefile
@@ -2663,6 +2663,7 @@ SUBDIR+=	py-SQLObject
 SUBDIR+=	py-Soya
 SUBDIR+=	py-Xlib
 SUBDIR+=	py-achemkit
+SUBDIR+=	py-acme-tiny
 SUBDIR+=	py-acq4
 SUBDIR+=	py-addons
 SUBDIR+=	py-adsbibdesk
diff --git a/py-acme-tiny/DESCR b/py-acme-tiny/DESCR
new file mode 100644
index 0000000000..4e352133e9
--- /dev/null
+++ b/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/py-acme-tiny/Makefile b/py-acme-tiny/Makefile
new file mode 100644
index 0000000000..42f0c892cc
--- /dev/null
+++ b/py-acme-tiny/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME=	acme-tiny-1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=diafygi/}
+
+MAINTAINER=	khorben%defora.org@localhost
+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
+PLIST_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX}
+
+REPLACE_PYTHON=	acme_tiny.py
+
+do-install:
+	${MKDIR} -m 0755 ${DESTDIR}${PREFIX}/bin
+	${INSTALL} -m 0755 ${WRKSRC}/acme_tiny.py ${DESTDIR}${PREFIX}/bin/acme_tiny
+	${MKDIR} -m 0755 ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-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/py-acme-tiny/PLIST b/py-acme-tiny/PLIST
new file mode 100644
index 0000000000..9944e29671
--- /dev/null
+++ b/py-acme-tiny/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/acme_tiny
+share/doc/${PYPKGPREFIX}-acme-tiny/README.md
diff --git a/py-acme-tiny/distinfo b/py-acme-tiny/distinfo
new file mode 100644
index 0000000000..0b6b3982c1
--- /dev/null
+++ b/py-acme-tiny/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (acme-tiny-1-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 1e312aa9e1dd24eb34bd42bb418f83b2df7e5235
+RMD160 (acme-tiny-1-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 82897ea46269517e4328e2d1f67ca7b27d05481e
+SHA512 (acme-tiny-1-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 260de3fe3052e3eba3e8438b15e34d95c99f95d75137ddabe9c031a83bd7b967bebabe6916fa23de6194ab19cc687942af0cc700b7095b7c810820800c26061e
+Size (acme-tiny-1-daba51d37efd7c1f205f9da383b9b09968e30d29.tar.gz) = 10510 bytes


Home | Main Index | Thread Index | Old Index