svn commit: r400885 - in head/security: . py-letsencrypt py-letsencrypt/files

Kubilay Kocak koobs at FreeBSD.org
Fri Nov 6 08:38:36 UTC 2015


Author: koobs
Date: Fri Nov  6 08:38:34 2015
New Revision: 400885
URL: https://svnweb.freebsd.org/changeset/ports/400885

Log:
  [NEW] security/py-letsencrypt: Welcome Let's Encrypt client!
  
  In short: getting and installing SSL/TLS certificates made easy.
  
  The Let's Encrypt Client is a tool to automatically receive and install
  X.509 certificates to enable TLS on servers. The client will
  interoperate with the Let's Encrypt CA which will be issuing
  browser-trusted certificates for free.
  
  It's all automated:
  
  The tool will prove domain control to the CA and submit a CSR
  (Certificate Signing Request).
  
  If domain control has been proven, a certificate will get issued and
  the tool will automatically install it.
  
  WWW: https://github.com/letsencrypt/letsencrypt
  
  PR:		203405

Added:
  head/security/py-letsencrypt/
  head/security/py-letsencrypt/Makefile   (contents, props changed)
  head/security/py-letsencrypt/distinfo   (contents, props changed)
  head/security/py-letsencrypt/files/
  head/security/py-letsencrypt/files/patch-setup.py   (contents, props changed)
  head/security/py-letsencrypt/pkg-descr   (contents, props changed)
  head/security/py-letsencrypt/pkg-message   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Fri Nov  6 08:29:10 2015	(r400884)
+++ head/security/Makefile	Fri Nov  6 08:38:34 2015	(r400885)
@@ -816,6 +816,7 @@
     SUBDIR += py-kerberos
     SUBDIR += py-keyczar
     SUBDIR += py-keyring
+    SUBDIR += py-letsencrypt
     SUBDIR += py-libnacl
     SUBDIR += py-m2crypto
     SUBDIR += py-mcrypt

Added: head/security/py-letsencrypt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-letsencrypt/Makefile	Fri Nov  6 08:38:34 2015	(r400885)
@@ -0,0 +1,44 @@
+# Created by: Kubilay Kocak <koobs at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	letsencrypt
+DISTVERSION=	0.0.0.dev20151104
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs at FreeBSD.org
+COMMENT=	Let's Encrypt client
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/acme/__init__.py:${PORTSDIR}/security/py-acme \
+		${PYTHON_PKGNAMEPREFIX}configargparse>0:${PORTSDIR}/devel/py-configargparse \
+		${PYTHON_PKGNAMEPREFIX}configobj>0:${PORTSDIR}/devel/py-configobj \
+		${PYTHON_PKGNAMEPREFIX}cryptography>=0.7:${PORTSDIR}/security/py-cryptography \
+		${PYTHON_PKGNAMEPREFIX}parsedatetime>0:${PORTSDIR}/devel/py-parsedatetime \
+		${PYTHON_PKGNAMEPREFIX}psutil>0:${PORTSDIR}/sysutils/py-psutil \
+		${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl \
+		${PYTHON_PKGNAMEPREFIX}pyrfc3339>0:${PORTSDIR}/devel/py-pyrfc3339 \
+		${PYTHON_PKGNAMEPREFIX}python2-pythondialog>0:${PORTSDIR}/devel/py-python2-pythondialog \
+		${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
+		${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
+		${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}zope.component>0:${PORTSDIR}/devel/py-zope.component \
+		${PYTHON_PKGNAMEPREFIX}zope.interface>0:${PORTSDIR}/devel/py-zope.interface
+
+USES=		python:-2.7
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	${REINPLACE_CMD} \
+		-e 's|/etc/|${LOCALBASE}/etc/|' \
+		-e 's|/var/lib|/var/db|' \
+		${WRKSRC}/letsencrypt/constants.py
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>

Added: head/security/py-letsencrypt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-letsencrypt/distinfo	Fri Nov  6 08:38:34 2015	(r400885)
@@ -0,0 +1,2 @@
+SHA256 (letsencrypt-0.0.0.dev20151104.tar.gz) = 7cdf0c17cd0d6d7f527234c7c16a829a380ad4e82b44ccd41a20e848251a4666
+SIZE (letsencrypt-0.0.0.dev20151104.tar.gz) = 154943

Added: head/security/py-letsencrypt/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-letsencrypt/files/patch-setup.py	Fri Nov  6 08:38:34 2015	(r400885)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2015-11-04 07:35:05 UTC
++++ setup.py
+@@ -118,8 +118,6 @@ setup(
+         'docs': docs_extras,
+         'testing': testing_extras,
+     },
+-
+-    tests_require=install_requires,
+     # to test all packages run "python setup.py test -s
+     # {acme,letsencrypt_apache,letsencrypt_nginx}"
+     test_suite='letsencrypt',

Added: head/security/py-letsencrypt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-letsencrypt/pkg-descr	Fri Nov  6 08:38:34 2015	(r400885)
@@ -0,0 +1,16 @@
+In short: getting and installing SSL/TLS certificates made easy.
+
+The Let's Encrypt Client is a tool to automatically receive and install
+X.509 certificates to enable TLS on servers. The client will
+interoperate with the Let's Encrypt CA which will be issuing
+browser-trusted certificates for free.
+
+It's all automated:
+
+The tool will prove domain control to the CA and submit a CSR
+(Certificate Signing Request).
+
+If domain control has been proven, a certificate will get issued and
+the tool will automatically install it.
+
+WWW: https://github.com/letsencrypt/letsencrypt

Added: head/security/py-letsencrypt/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-letsencrypt/pkg-message	Fri Nov  6 08:38:34 2015	(r400885)
@@ -0,0 +1,35 @@
+===========================================================================
+
+This software is a DEVELOPER PREVIEW intended for developers, testers and
+early-adopters only. Support requests and bug reports should be sent directly
+and only to the upstream project: https://github.com/letsencrypt/letsencrypt
+
+letsencrypt is currently in Closed Beta (invite only). In order to
+acquire certificates, you must have applied for and received an invitation,
+and have your domains whitelisted FIRST.
+
+This port installs the "standalone" Python client only, which does not use and
+is not the letsencrypt-auto bootstrap/wrapper script.
+
+By default, the client will authenticate and obtain certificates using, and
+signed by a TEST(Staging) Certificate Authority (CA). These certificates will
+NOT be trusted publicly.
+
+To obtain certificates, use the --server argument pointing to the correct
+server URL as documented in your invitation email, and use the 'certonly'
+command as follows:
+
+ # sudo letsencrypt --server <server-URL> certonly
+
+Note: The client currently requires the ability to bind on TCP port 80. If
+you have a server running on this port, it will need to be temporarily stopped
+so that the standalone server can listen on that port to complete
+authentication.
+
+The letsencrypt plugins to support apache and nginx certificate installation
+will be made available soon in the following ports:
+
+ * Apache plugin: security/py-letsencrypt-apache
+ * Nginx plugin: security/py-letsencrypt-nginx
+
+===========================================================================


More information about the svn-ports-all mailing list