pkgsrc/security/py-acme-tiny/Makefile
khorben d02d9fc1a4 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@
2017-02-14 00:38:56 +00:00

28 lines
903 B
Makefile

# $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"