svn commit: r543722 - in head/security: . py-cert-human
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jul 30 09:46:13 UTC 2020
Author: sunpoet
Date: Thu Jul 30 09:46:11 2020
New Revision: 543722
URL: https://svnweb.freebsd.org/changeset/ports/543722
Log:
Add py-cert-human 1.0.7
I wanted to incorporate a method to get an SSL certificate from a server, show
the user the same kind of information as you'd see in a browser, prompt them for
validity, then write it to disk for use in all requests to a server.
I was unable to find any great / easy ways that incorporated all of these
concepts into one neat thing. So I made a thing.
Originally this was based off of yet another lovely over-engineered solution in
get-ca-py by Josh Peak.
WWW: https://github.com/lifehackjim/cert_human
Added:
head/security/py-cert-human/
head/security/py-cert-human/Makefile (contents, props changed)
head/security/py-cert-human/distinfo (contents, props changed)
head/security/py-cert-human/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Thu Jul 30 09:36:30 2020 (r543721)
+++ head/security/Makefile Thu Jul 30 09:46:11 2020 (r543722)
@@ -845,6 +845,7 @@
SUBDIR += py-bcrypt
SUBDIR += py-btchip-python
SUBDIR += py-cerealizer
+ SUBDIR += py-cert-human
SUBDIR += py-certbot
SUBDIR += py-certbot-apache
SUBDIR += py-certbot-dns-cloudflare
Added: head/security/py-cert-human/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-cert-human/Makefile Thu Jul 30 09:46:11 2020 (r543722)
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cert-human
+PORTVERSION= 1.0.7
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= cert_human-${PORTVERSION}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= SSL Certificates for Humans
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib2>=0:devel/py-pathlib2@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
Added: head/security/py-cert-human/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-cert-human/distinfo Thu Jul 30 09:46:11 2020 (r543722)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1595865755
+SHA256 (cert_human-1.0.7.tar.gz) = dc25022a4e45997fe4b841e525fb219919191457bc293842a722970cb8da74ad
+SIZE (cert_human-1.0.7.tar.gz) = 20415
Added: head/security/py-cert-human/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-cert-human/pkg-descr Thu Jul 30 09:46:11 2020 (r543722)
@@ -0,0 +1,11 @@
+I wanted to incorporate a method to get an SSL certificate from a server, show
+the user the same kind of information as you'd see in a browser, prompt them for
+validity, then write it to disk for use in all requests to a server.
+
+I was unable to find any great / easy ways that incorporated all of these
+concepts into one neat thing. So I made a thing.
+
+Originally this was based off of yet another lovely over-engineered solution in
+get-ca-py by Josh Peak.
+
+WWW: https://github.com/lifehackjim/cert_human
More information about the svn-ports-head
mailing list