pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security Import certbot 0.6.0 as security/py-certbot.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1fd052efcfa6
branches: trunk
changeset: 347596:1fd052efcfa6
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Wed May 25 18:18:16 2016 +0000
description:
Import certbot 0.6.0 as security/py-certbot.
Certbot, previously the Let's Encrypt Client, is EFF's tool to
obtain certs from Let's Encrypt, and (optionally) autoenable HTTPS
on your server. It can also act as a client for any other CA that
uses the ACME protocol.
diffstat:
security/py-acme/DESCR | 2 +
security/py-acme/Makefile | 27 +++
security/py-acme/PLIST | 137 +++++++++++++++++++
security/py-certbot/DESCR | 4 +
security/py-certbot/MESSAGE | 17 ++
security/py-certbot/Makefile | 56 ++++++++
security/py-certbot/Makefile.common | 17 ++
security/py-certbot/PLIST | 247 ++++++++++++++++++++++++++++++++++++
security/py-certbot/distinfo | 6 +
9 files changed, 513 insertions(+), 0 deletions(-)
diffs (truncated from 549 to 300 lines):
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-acme/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-acme/DESCR Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,2 @@
+ACME (Automated Certificate Management Environment) protocol
+implementation in Python.
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-acme/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-acme/Makefile Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2016/05/25 18:18:16 fhajny Exp $
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/certbot/acme/}
+CATEGORIES= security
+
+COMMENT= ACME protocol implementation in Python
+MAINTAINER= filip%joyent.com@localhost
+LICENSE= apache-2.0
+
+.include "../../security/py-certbot/Makefile.common"
+
+DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
+DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.8:../../security/py-cryptography
+DEPENDS+= ${PYPKGPREFIX}-ndg_httpsclient-[0-9]*:../../security/py-ndg_httpsclient
+DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.15:../../security/py-OpenSSL
+DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-rfc3339-[0-9]*:../../time/py-rfc3339
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
+
+EGG_NAME= ${DISTNAME:S/certbot/acme/}
+
+PYSETUPSUBDIR= acme
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-acme/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-acme/PLIST Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,137 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/25 18:18:16 fhajny Exp $
+bin/jws
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/acme/__init__.py
+${PYSITELIB}/acme/__init__.pyc
+${PYSITELIB}/acme/__init__.pyo
+${PYSITELIB}/acme/challenges.py
+${PYSITELIB}/acme/challenges.pyc
+${PYSITELIB}/acme/challenges.pyo
+${PYSITELIB}/acme/challenges_test.py
+${PYSITELIB}/acme/challenges_test.pyc
+${PYSITELIB}/acme/challenges_test.pyo
+${PYSITELIB}/acme/client.py
+${PYSITELIB}/acme/client.pyc
+${PYSITELIB}/acme/client.pyo
+${PYSITELIB}/acme/client_test.py
+${PYSITELIB}/acme/client_test.pyc
+${PYSITELIB}/acme/client_test.pyo
+${PYSITELIB}/acme/crypto_util.py
+${PYSITELIB}/acme/crypto_util.pyc
+${PYSITELIB}/acme/crypto_util.pyo
+${PYSITELIB}/acme/crypto_util_test.py
+${PYSITELIB}/acme/crypto_util_test.pyc
+${PYSITELIB}/acme/crypto_util_test.pyo
+${PYSITELIB}/acme/errors.py
+${PYSITELIB}/acme/errors.pyc
+${PYSITELIB}/acme/errors.pyo
+${PYSITELIB}/acme/errors_test.py
+${PYSITELIB}/acme/errors_test.pyc
+${PYSITELIB}/acme/errors_test.pyo
+${PYSITELIB}/acme/fields.py
+${PYSITELIB}/acme/fields.pyc
+${PYSITELIB}/acme/fields.pyo
+${PYSITELIB}/acme/fields_test.py
+${PYSITELIB}/acme/fields_test.pyc
+${PYSITELIB}/acme/fields_test.pyo
+${PYSITELIB}/acme/jose/__init__.py
+${PYSITELIB}/acme/jose/__init__.pyc
+${PYSITELIB}/acme/jose/__init__.pyo
+${PYSITELIB}/acme/jose/b64.py
+${PYSITELIB}/acme/jose/b64.pyc
+${PYSITELIB}/acme/jose/b64.pyo
+${PYSITELIB}/acme/jose/b64_test.py
+${PYSITELIB}/acme/jose/b64_test.pyc
+${PYSITELIB}/acme/jose/b64_test.pyo
+${PYSITELIB}/acme/jose/errors.py
+${PYSITELIB}/acme/jose/errors.pyc
+${PYSITELIB}/acme/jose/errors.pyo
+${PYSITELIB}/acme/jose/errors_test.py
+${PYSITELIB}/acme/jose/errors_test.pyc
+${PYSITELIB}/acme/jose/errors_test.pyo
+${PYSITELIB}/acme/jose/interfaces.py
+${PYSITELIB}/acme/jose/interfaces.pyc
+${PYSITELIB}/acme/jose/interfaces.pyo
+${PYSITELIB}/acme/jose/interfaces_test.py
+${PYSITELIB}/acme/jose/interfaces_test.pyc
+${PYSITELIB}/acme/jose/interfaces_test.pyo
+${PYSITELIB}/acme/jose/json_util.py
+${PYSITELIB}/acme/jose/json_util.pyc
+${PYSITELIB}/acme/jose/json_util.pyo
+${PYSITELIB}/acme/jose/json_util_test.py
+${PYSITELIB}/acme/jose/json_util_test.pyc
+${PYSITELIB}/acme/jose/json_util_test.pyo
+${PYSITELIB}/acme/jose/jwa.py
+${PYSITELIB}/acme/jose/jwa.pyc
+${PYSITELIB}/acme/jose/jwa.pyo
+${PYSITELIB}/acme/jose/jwa_test.py
+${PYSITELIB}/acme/jose/jwa_test.pyc
+${PYSITELIB}/acme/jose/jwa_test.pyo
+${PYSITELIB}/acme/jose/jwk.py
+${PYSITELIB}/acme/jose/jwk.pyc
+${PYSITELIB}/acme/jose/jwk.pyo
+${PYSITELIB}/acme/jose/jwk_test.py
+${PYSITELIB}/acme/jose/jwk_test.pyc
+${PYSITELIB}/acme/jose/jwk_test.pyo
+${PYSITELIB}/acme/jose/jws.py
+${PYSITELIB}/acme/jose/jws.pyc
+${PYSITELIB}/acme/jose/jws.pyo
+${PYSITELIB}/acme/jose/jws_test.py
+${PYSITELIB}/acme/jose/jws_test.pyc
+${PYSITELIB}/acme/jose/jws_test.pyo
+${PYSITELIB}/acme/jose/util.py
+${PYSITELIB}/acme/jose/util.pyc
+${PYSITELIB}/acme/jose/util.pyo
+${PYSITELIB}/acme/jose/util_test.py
+${PYSITELIB}/acme/jose/util_test.pyc
+${PYSITELIB}/acme/jose/util_test.pyo
+${PYSITELIB}/acme/jws.py
+${PYSITELIB}/acme/jws.pyc
+${PYSITELIB}/acme/jws.pyo
+${PYSITELIB}/acme/jws_test.py
+${PYSITELIB}/acme/jws_test.pyc
+${PYSITELIB}/acme/jws_test.pyo
+${PYSITELIB}/acme/messages.py
+${PYSITELIB}/acme/messages.pyc
+${PYSITELIB}/acme/messages.pyo
+${PYSITELIB}/acme/messages_test.py
+${PYSITELIB}/acme/messages_test.pyc
+${PYSITELIB}/acme/messages_test.pyo
+${PYSITELIB}/acme/standalone.py
+${PYSITELIB}/acme/standalone.pyc
+${PYSITELIB}/acme/standalone.pyo
+${PYSITELIB}/acme/standalone_test.py
+${PYSITELIB}/acme/standalone_test.pyc
+${PYSITELIB}/acme/standalone_test.pyo
+${PYSITELIB}/acme/test_util.py
+${PYSITELIB}/acme/test_util.pyc
+${PYSITELIB}/acme/test_util.pyo
+${PYSITELIB}/acme/testdata/README
+${PYSITELIB}/acme/testdata/cert-100sans.pem
+${PYSITELIB}/acme/testdata/cert-idnsans.pem
+${PYSITELIB}/acme/testdata/cert-san.pem
+${PYSITELIB}/acme/testdata/cert.der
+${PYSITELIB}/acme/testdata/cert.pem
+${PYSITELIB}/acme/testdata/csr-100sans.pem
+${PYSITELIB}/acme/testdata/csr-6sans.pem
+${PYSITELIB}/acme/testdata/csr-idnsans.pem
+${PYSITELIB}/acme/testdata/csr-nosans.pem
+${PYSITELIB}/acme/testdata/csr-san.pem
+${PYSITELIB}/acme/testdata/csr.der
+${PYSITELIB}/acme/testdata/csr.pem
+${PYSITELIB}/acme/testdata/dsa512_key.pem
+${PYSITELIB}/acme/testdata/rsa1024_key.pem
+${PYSITELIB}/acme/testdata/rsa2048_key.pem
+${PYSITELIB}/acme/testdata/rsa256_key.pem
+${PYSITELIB}/acme/testdata/rsa512_key.pem
+${PYSITELIB}/acme/util.py
+${PYSITELIB}/acme/util.pyc
+${PYSITELIB}/acme/util.pyo
+${PYSITELIB}/acme/util_test.py
+${PYSITELIB}/acme/util_test.pyc
+${PYSITELIB}/acme/util_test.pyo
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-certbot/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-certbot/DESCR Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,4 @@
+Certbot, previously the Let's Encrypt Client, is EFF's tool to
+obtain certs from Let's Encrypt, and (optionally) autoenable HTTPS
+on your server. It can also act as a client for any other CA that
+uses the ACME protocol.
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-certbot/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-certbot/MESSAGE Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/05/25 18:18:16 fhajny Exp $
+
+This package installs the standalone certbot (letsencrypt) client.
+The following modes of obtaining certificates will work:
+
+ certbot --standalone -d <domain_name> certonly
+
+ Spawns a temporary daemon on port 80 or 443, the web server (if
+ any) will need to be shut down for the operation to succeed.
+
+ certbot --webroot -d <domain_name> -w <web_root> certonly
+
+ Doesn't spawn daemons, authenticates using temporary files
+ put in the document root directory.
+
+===========================================================================
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-certbot/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-certbot/Makefile Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1 2016/05/25 18:18:16 fhajny Exp $
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security
+
+COMMENT= Client for the Let's Encrypt CA
+MAINTAINER= filip%joyent.com@localhost
+LICENSE= apache-2.0
+
+EGG_NAME= ${DISTNAME}
+
+# Only supports Python 2.6 and 2.7 so far
+# https://github.com/certbot/certbot#system-requirements
+PYTHON_VERSIONS_ACCEPTED= 27
+
+.include "Makefile.common"
+
+DEPENDS+= ${PYPKGPREFIX}-acme-${PKGVERSION_NOREV}{nb*,}:../../security/py-acme
+DEPENDS+= ${PYPKGPREFIX}-configargparse>=0.9.3:../../devel/py-configargparse
+DEPENDS+= ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
+DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.7:../../security/py-cryptography
+DEPENDS+= ${PYPKGPREFIX}-dialog>=3.2.2rc1:../../devel/py-dialog2
+DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+DEPENDS+= ${PYPKGPREFIX}-parsedatetime>=2.0:../../time/py-parsedatetime
+DEPENDS+= ${PYPKGPREFIX}-psutil>=2.1.0:../../sysutils/py-psutil
+DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-rfc3339-[0-9]*:../../time/py-rfc3339
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-ZopeComponent-[0-9]*:../../devel/py-ZopeComponent
+DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
+
+BUILD_DEFS+= VARBASE
+
+PKG_SYSCONFSUBDIR= letsencrypt
+
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-build
+SUBST_MESSAGE.path= Fixing default paths
+SUBST_FILES.path+= certbot/constants.py certbot/display/ops.py
+SUBST_FILES.path+= certbot/plugins/*.py certbot/tests/*.py
+SUBST_SED.path+= -e 's,/etc/letsencrypt,${PKG_SYSCONFDIR},g'
+SUBST_SED.path+= -e 's,/var/lib/letsencrypt,${VARBASE}/letsencrypt,g'
+SUBST_SED.path+= -e 's,/var/log/letsencrypt,${VARBASE}/letsencrypt/log,g'
+
+MAKE_DIRS+= ${VARBASE}/letsencrypt/log
+
+INSTALLATION_DIRS+= share/examples/certbot
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/examples/cli.ini \
+ ${DESTDIR}${PREFIX}/share/examples/certbot
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-certbot/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-certbot/Makefile.common Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile.common,v 1.1 2016/05/25 18:18:16 fhajny Exp $
+# used by security/py-acme/Makefile
+# used by security/py-certbot/Makefile
+
+DISTNAME= certbot-0.6.0
+MASTER_SITES= ${MASTER_SITE_GITHUB:=certbot/}
+
+HOMEPAGE= https://letsencrypt.org/
+
+GITHUB_PROJECT= certbot
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= bsdtar
+
+DISTINFO_FILE= ${PKGDIR}/../../security/py-certbot/distinfo
+#PATCHDIR= ${PKGDIR}/../../security/py-certbot/patches
diff -r 688f637dc5f8 -r 1fd052efcfa6 security/py-certbot/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-certbot/PLIST Wed May 25 18:18:16 2016 +0000
@@ -0,0 +1,247 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/25 18:18:16 fhajny Exp $
+bin/certbot
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
Home |
Main Index |
Thread Index |
Old Index