[Midnightbsd-cvs] mports [23179] trunk/security: add several new py ports

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Apr 13 15:12:51 EDT 2018


Revision: 23179
          http://svnweb.midnightbsd.org/mports/?rev=23179
Author:   laffer1
Date:     2018-04-13 15:12:50 -0400 (Fri, 13 Apr 2018)
Log Message:
-----------
add several new py ports

Modified Paths:
--------------
    trunk/security/Makefile
    trunk/security/py-cryptography/Makefile
    trunk/security/py-cryptography/distinfo
    trunk/security/py-cryptography/pkg-descr
    trunk/security/py-openssl/Makefile
    trunk/security/py-openssl/distinfo

Added Paths:
-----------
    trunk/security/py-acme/
    trunk/security/py-acme/Makefile
    trunk/security/py-acme/distinfo
    trunk/security/py-acme/files/
    trunk/security/py-acme/files/patch-setup.py
    trunk/security/py-acme/pkg-descr
    trunk/security/py-acme/version.mk
    trunk/security/py-certbot/
    trunk/security/py-certbot/Makefile
    trunk/security/py-certbot/distinfo
    trunk/security/py-certbot/files/
    trunk/security/py-certbot/files/patch-setup.py
    trunk/security/py-certbot/pkg-descr
    trunk/security/py-certbot/pkg-message
    trunk/security/py-josepy/
    trunk/security/py-josepy/Makefile
    trunk/security/py-josepy/distinfo
    trunk/security/py-josepy/pkg-descr

Removed Paths:
-------------
    trunk/security/py-cryptography/files/

Modified: trunk/security/Makefile
===================================================================
--- trunk/security/Makefile	2018-04-13 19:12:30 UTC (rev 23178)
+++ trunk/security/Makefile	2018-04-13 19:12:50 UTC (rev 23179)
@@ -114,9 +114,12 @@
 SUBDIR += pinentry-gnome3
 SUBDIR += pinentry-tty
 SUBDIR += polarssl
+SUBDIR += py-acme
+SUBDIR += py-certbot
 SUBDIR += py-cryptography
 SUBDIR += py-ecdsa
 SUBDIR += py-fail2ban
+SUBDIR += py-josepy
 SUBDIR += py-openssl
 SUBDIR += py-paramiko
 SUBDIR += py-pycrypto

Added: trunk/security/py-acme/Makefile
===================================================================
--- trunk/security/py-acme/Makefile	                        (rev 0)
+++ trunk/security/py-acme/Makefile	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,38 @@
+# Created by: Carlos J Puga Medina <cpm at fbsd.es>
+# $FreeBSD: head/security/py-acme/Makefile 462595 2018-02-22 14:29:19Z mat $
+# $MidnightBSD$
+
+PORTNAME=	acme
+PORTVERSION=	${ACME_VERSION}
+PORTEPOCH=	1
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	ACME protocol implementation in Python
+
+LICENSE=	apache2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=0.8:security/py-cryptography@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}josepy>=1.0.0:security/py-josepy@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyrfc3339>0:devel/py-pyrfc3339@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.10:www/py-requests@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=1.0:devel/py-setuptools@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include "version.mk"
+.include <bsd.port.mk>


Property changes on: trunk/security/py-acme/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-acme/distinfo
===================================================================
--- trunk/security/py-acme/distinfo	                        (rev 0)
+++ trunk/security/py-acme/distinfo	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521545150
+SHA256 (acme-0.22.2.tar.gz) = 0ecd0ea369f53d5bc744d6e72717f9af2e1ceb558d109dbd433148851027adb4
+SIZE (acme-0.22.2.tar.gz) = 77965


Property changes on: trunk/security/py-acme/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-acme/files/patch-setup.py
===================================================================
--- trunk/security/py-acme/files/patch-setup.py	                        (rev 0)
+++ trunk/security/py-acme/files/patch-setup.py	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,18 @@
+--- setup.py.orig	2018-03-20 00:33:22 UTC
++++ setup.py
+@@ -14,7 +14,6 @@ install_requires = [
+     # formerly known as acme.jose:
+     'josepy>=1.0.0',
+     # Connection.set_tlsext_host_name (>=0.13)
+-    'mock',
+     'PyOpenSSL>=0.13',
+     'pyrfc3339',
+     'pytz',
+@@ -24,6 +23,7 @@ install_requires = [
+ ]
+ 
+ dev_extras = [
++    'mock',
+     'pytest',
+     'pytest-xdist',
+     'tox',


Property changes on: trunk/security/py-acme/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-acme/pkg-descr
===================================================================
--- trunk/security/py-acme/pkg-descr	                        (rev 0)
+++ trunk/security/py-acme/pkg-descr	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,7 @@
+ACME (Automated Certificate Management Environment) is a protocol for
+automating the management of domain-validation certificates, based on a
+simple JSON-over-HTTPS interface.
+
+This packages provides a Python implementation of the protocol.
+
+WWW: https://github.com/certbot/certbot/tree/master/acme


Property changes on: trunk/security/py-acme/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-acme/version.mk
===================================================================
--- trunk/security/py-acme/version.mk	                        (rev 0)
+++ trunk/security/py-acme/version.mk	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1 @@
+ACME_VERSION=	0.22.2


Property changes on: trunk/security/py-acme/version.mk
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-certbot/Makefile
===================================================================
--- trunk/security/py-certbot/Makefile	                        (rev 0)
+++ trunk/security/py-certbot/Makefile	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,46 @@
+# Created by: Kubilay Kocak <koobs at FreeBSD.org>
+# $MidnightBSD$
+
+PORTNAME=	certbot
+PORTVERSION=	${ACME_VERSION}
+PORTEPOCH=	1
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Let's Encrypt client
+
+LICENSE=	apache2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION}:security/py-acme \
+		${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse \
+		${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj \
+		${PYTHON_PKGNAMEPREFIX}cryptography>=1.2:security/py-cryptography \
+		${PYTHON_PKGNAMEPREFIX}parsedatetime>=1.3:devel/py-parsedatetime \
+		${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl \
+		${PYTHON_PKGNAMEPREFIX}pyrfc3339>0:devel/py-pyrfc3339 \
+		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=1.0:devel/py-setuptools \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}zope.component>0:devel/py-zope.component \
+		${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
+
+# Actually 2.7,3.3+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's|/etc/|${LOCALBASE}/etc/|' \
+		-e 's|/var/lib|/var/db|' \
+		${WRKSRC}/${PORTNAME}/constants.py
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include "${.CURDIR}/../py-acme/version.mk"
+.include <bsd.port.mk>


Property changes on: trunk/security/py-certbot/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-certbot/distinfo
===================================================================
--- trunk/security/py-certbot/distinfo	                        (rev 0)
+++ trunk/security/py-certbot/distinfo	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521545151
+SHA256 (certbot-0.22.2.tar.gz) = e6e3639293e78397f31f7d99e3c63aff82d91e2b0d50d146ee3c77f830464bef
+SIZE (certbot-0.22.2.tar.gz) = 292258


Property changes on: trunk/security/py-certbot/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-certbot/files/patch-setup.py
===================================================================
--- trunk/security/py-certbot/files/patch-setup.py	                        (rev 0)
+++ trunk/security/py-certbot/files/patch-setup.py	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,18 @@
+--- setup.py.orig	2018-03-08 22:20:34 UTC
++++ setup.py
+@@ -44,7 +44,6 @@ install_requires = [
+     'configobj',
+     'cryptography>=1.2',  # load_pem_x509_certificate
+     'josepy',
+-    'mock',
+     'parsedatetime>=1.3',  # Calendar.parseDT
+     'pyrfc3339',
+     'pytz',
+@@ -58,6 +57,7 @@ dev_extras = [
+     'astroid==1.3.5',
+     'coverage',
+     'ipdb',
++    'mock',
+     'pytest',
+     'pytest-cov',
+     'pytest-xdist',


Property changes on: trunk/security/py-certbot/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-certbot/pkg-descr
===================================================================
--- trunk/security/py-certbot/pkg-descr	                        (rev 0)
+++ trunk/security/py-certbot/pkg-descr	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,16 @@
+In short: getting and installing SSL/TLS certificates made easy.
+
+Certbot 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/certbot/certbot


Property changes on: trunk/security/py-certbot/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-certbot/pkg-message
===================================================================
--- trunk/security/py-certbot/pkg-message	                        (rev 0)
+++ trunk/security/py-certbot/pkg-message	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,27 @@
+===========================================================================
+
+This port installs the "standalone" client only, which does not use and
+is not the certbot-auto bootstrap/wrapper script.
+
+The simplest form of usage to obtain certificates is:
+
+ # sudo certbot certonly --standalone -d <domain>, [domain2, ... domainN]>
+
+NOTE:
+
+The client requires the ability to bind on TCP port 80 or 443 (depending
+on the --preferred-challenges option used). If a server is running on that
+port, it will need to be temporarily stopped so that the standalone server
+can listen on that port to complete the challenge authentication process.
+
+For more information on the 'standalone' mode, see:
+
+  https://certbot.eff.org/docs/using.html#standalone
+
+The certbot plugins to support apache and nginx certificate installation
+will be made available in the following ports:
+
+ * Apache plugin: security/py-certbot-apache
+ * Nginx plugin: security/py-certbot-nginx
+
+===========================================================================


Property changes on: trunk/security/py-certbot/pkg-message
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/security/py-cryptography/Makefile
===================================================================
--- trunk/security/py-cryptography/Makefile	2018-04-13 19:12:30 UTC (rev 23178)
+++ trunk/security/py-cryptography/Makefile	2018-04-13 19:12:50 UTC (rev 23179)
@@ -1,8 +1,7 @@
 # $MidnightBSD$
-# $FreeBSD: head/security/py-cryptography/Makefile 420137 2016-08-12 16:58:34Z swills $
 
 PORTNAME=	cryptography
-PORTVERSION=	1.4
+PORTVERSION=	2.1.4
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,20 +9,24 @@
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Cryptographic recipes and primitives for Python developers
 
-LICENSE=	apache2
-LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE=		apache2 bsd3
+LICENSE_COMB=		dual
+LICENSE_FILE_apache2=	${WRKSRC}/LICENSE.APACHE
+LICENSE_FILE_bsd3=	${WRKSRC}/LICENSE.BSD
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:${PORTSDIR}/devel/py-cffi
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4.1:${PORTSDIR}/devel/py-six \
-		${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.8:${PORTSDIR}/devel/py-pyasn1 \
-		${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:${PORTSDIR}/devel/py-cffi \
-		${PYTHON_PKGNAMEPREFIX}idna>=2.0:${PORTSDIR}/dns/py-idna
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
-		${PYTHON_PKGNAMEPREFIX}iso8601>0:${PORTSDIR}/devel/py-iso8601
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.7:devel/py-cffi
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}asn1crypto>=0.21.0:devel/py-asn1crypto \
+		${PYTHON_PKGNAMEPREFIX}cffi>=1.7:devel/py-cffi \
+		${PY_ENUM34} ${PY_IPADDRESS} \
+		${PYTHON_PKGNAMEPREFIX}idna>=2.1:dns/py-idna
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.9.0:devel/py-pytest \
+		${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601
 
-USES=		python
+# Python 2.7, 3.4-3.6
+USES=		compiler:env python
 USE_OPENSSL=	yes
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent distutils
 
 CFLAGS+=	-I${OPENSSLINC}
 LDFLAGS+=	-L${OPENSSLLIB}
@@ -30,14 +33,12 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${PYTHON_REL} < 3300
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ipaddress>0:${PORTSDIR}/net/py-ipaddress
+.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
+post-patch:
+	@${REINPLACE_CMD} -e 's|"-Wno-error=sign-conversion"||' \
+		${WRKSRC}/src/_cffi_src/build_openssl.py
 .endif
 
-.if ${PYTHON_REL} < 3400
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34
-.endif
-
 post-install:
 	${STRIP_CMD} ${FAKE_DESTDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so
 

Modified: trunk/security/py-cryptography/distinfo
===================================================================
--- trunk/security/py-cryptography/distinfo	2018-04-13 19:12:30 UTC (rev 23178)
+++ trunk/security/py-cryptography/distinfo	2018-04-13 19:12:50 UTC (rev 23179)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471010865
-SHA256 (cryptography-1.4.tar.gz) = bb149540ed90c4b2171bf694fe6991d6331bc149ae623c8ff419324f4222d128
-SIZE (cryptography-1.4.tar.gz) = 399707
+TIMESTAMP = 1516631948
+SHA256 (cryptography-2.1.4.tar.gz) = e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291
+SIZE (cryptography-2.1.4.tar.gz) = 441557

Modified: trunk/security/py-cryptography/pkg-descr
===================================================================
--- trunk/security/py-cryptography/pkg-descr	2018-04-13 19:12:30 UTC (rev 23178)
+++ trunk/security/py-cryptography/pkg-descr	2018-04-13 19:12:50 UTC (rev 23179)
@@ -1,9 +1,9 @@
 cryptography is a package designed to expose cryptographic recipes and
 primitives to Python developers. Our goal is for it to be your "cryptographic
-standard library". It supports Python 2.6-2.7, Python 3.2+, and PyPy.
+standard library".
 
 cryptography includes both high level recipes, and low level interfaces to
 common cryptographic algorithms such as symmetric ciphers, message digests
 and key derivation functions.
 
-WWW: http://github.com/pyca/cryptography/
+WWW: https://github.com/pyca/cryptography/

Added: trunk/security/py-josepy/Makefile
===================================================================
--- trunk/security/py-josepy/Makefile	                        (rev 0)
+++ trunk/security/py-josepy/Makefile	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,31 @@
+# Created by: Carlos J Puga Medina <cpm at FreeBSD.org>
+# $FreeBSD: head/security/py-josepy/Makefile 461672 2018-02-12 23:11:38Z cpm $
+# $MidnightBSD$
+
+PORTNAME=	josepy
+PORTVERSION=	1.0.1
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	JOSE protocol implementation in Python
+
+LICENSE=	apache2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=0.8:security/py-cryptography@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=1.0:devel/py-setuptools@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>


Property changes on: trunk/security/py-josepy/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-josepy/distinfo
===================================================================
--- trunk/security/py-josepy/distinfo	                        (rev 0)
+++ trunk/security/py-josepy/distinfo	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516619168
+SHA256 (josepy-1.0.1.tar.gz) = 9f48b88ca37f0244238b1cc77723989f7c54f7b90b2eee6294390bacfe870acc
+SIZE (josepy-1.0.1.tar.gz) = 50251


Property changes on: trunk/security/py-josepy/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/py-josepy/pkg-descr
===================================================================
--- trunk/security/py-josepy/pkg-descr	                        (rev 0)
+++ trunk/security/py-josepy/pkg-descr	2018-04-13 19:12:50 UTC (rev 23179)
@@ -0,0 +1,11 @@
+JOSE (Javascript Object Signing and Encryption) is a Python implementation
+of the standards developed by IETF Javascript Object Signing and Encryption
+(Active WG), in particular the following RFCs:
+
+- JSON Web Algorithms (JWA)
+- JSON Web Key (JWK)
+- JSON Web Signature (JWS)
+
+Originally developed as part of the ACME protocol implementation.
+
+WWW: https://josepy.readthedocs.io/en/latest/


Property changes on: trunk/security/py-josepy/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/security/py-openssl/Makefile
===================================================================
--- trunk/security/py-openssl/Makefile	2018-04-13 19:12:30 UTC (rev 23178)
+++ trunk/security/py-openssl/Makefile	2018-04-13 19:12:50 UTC (rev 23179)
@@ -1,8 +1,8 @@
 # $MidnightBSD$
-# $FreeBSD: head/security/py-openssl/Makefile 413233 2016-04-13 22:45:29Z sbz $
 
 PORTNAME=	openssl
-PORTVERSION=	16.0.0
+PORTVERSION=	17.5.0
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,9 +12,10 @@
 COMMENT=	Python interface to the OpenSSL library
 
 LICENSE=	apache2
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=0.2.1:${PORTSDIR}/security/py-cryptography \
-		${PYTHON_PKGNAMEPREFIX}six>=1.5.2:${PORTSDIR}/devel/py-six
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography \
+		${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six
 
 OPTIONS_DEFINE=	EXAMPLES
 
@@ -24,7 +25,6 @@
 CPE_VENDOR=	jean-paul_calderone
 CPE_PRODUCT=	py${PORTNAME}
 
-EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 PORTEXAMPLES=	*
 
 post-install:
@@ -31,7 +31,7 @@
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
-regression-test: build
+do-test:
 	@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test)
 
 .include <bsd.port.mk>

Modified: trunk/security/py-openssl/distinfo
===================================================================
--- trunk/security/py-openssl/distinfo	2018-04-13 19:12:30 UTC (rev 23178)
+++ trunk/security/py-openssl/distinfo	2018-04-13 19:12:50 UTC (rev 23179)
@@ -1,2 +1,3 @@
-SHA256 (pyOpenSSL-16.0.0.tar.gz) = 363d10ee43d062285facf4e465f4f5163f9f702f9134f0a5896f134cbb92d17d
-SIZE (pyOpenSSL-16.0.0.tar.gz) = 171929
+TIMESTAMP = 1516479217
+SHA256 (pyOpenSSL-17.5.0.tar.gz) = 2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773
+SIZE (pyOpenSSL-17.5.0.tar.gz) = 170870



More information about the Midnightbsd-cvs mailing list