svn commit: r506857 - in head/security: . py-muacrypt
Vinícius Zavam
egypcio at FreeBSD.org
Thu Jul 18 16:28:47 UTC 2019
Author: egypcio
Date: Thu Jul 18 16:28:45 2019
New Revision: 506857
URL: https://svnweb.freebsd.org/changeset/ports/506857
Log:
[NEW] security/py-muacrypt: Support tool and API for Autocrypt mail agents
muacrypt is a support tool for implementing Autocrypt Level 1 compliant
mail agents.
Autocrypt state is kept in one or more accounts which process and produce
autocrypt headers from respective incoming and outgoing e-mail. Each
account is tied to a set of e-mail addresses, specified as a regular
expression.
Functionality is exposed through a command line tool muacrypt and a
Python API obtained through import muacrypt.
WWW: https://pypi.org/project/muacrypt/
Added:
head/security/py-muacrypt/
head/security/py-muacrypt/Makefile (contents, props changed)
head/security/py-muacrypt/distinfo (contents, props changed)
head/security/py-muacrypt/pkg-descr (contents, props changed)
head/security/py-muacrypt/pkg-message (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Thu Jul 18 16:10:56 2019 (r506856)
+++ head/security/Makefile Thu Jul 18 16:28:45 2019 (r506857)
@@ -933,6 +933,7 @@
SUBDIR += py-mixbox
SUBDIR += py-mnemonic
SUBDIR += py-msoffcrypto-tool
+ SUBDIR += py-muacrypt
SUBDIR += py-netmiko
SUBDIR += py-ntlm-auth
SUBDIR += py-oauth2client
Added: head/security/py-muacrypt/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-muacrypt/Makefile Thu Jul 18 16:28:45 2019 (r506857)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= muacrypt
+PORTVERSION= 0.9.1
+CATEGORIES= security mail python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= egypcio at FreeBSD.org
+COMMENT= Support tool and API for Autocrypt mail agents
+
+LICENSE= MIT
+
+RUN_DEPENDS= gpg2:security/gnupg \
+ ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}execnet>=0:sysutils/py-execnet@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pluggy>=0:devel/py-pluggy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}termcolor>=0:devel/py-termcolor@${PY_FLAVOR}
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/security/py-muacrypt/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-muacrypt/distinfo Thu Jul 18 16:28:45 2019 (r506857)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1563457119
+SHA256 (muacrypt-0.9.1.tar.gz) = 0a0a2b39d7fa13773dcabdb7cb4cd0b847efb1ae373efe8596a39c705143d615
+SIZE (muacrypt-0.9.1.tar.gz) = 61730
Added: head/security/py-muacrypt/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-muacrypt/pkg-descr Thu Jul 18 16:28:45 2019 (r506857)
@@ -0,0 +1,11 @@
+muacrypt is a support tool for implementing Autocrypt Level 1 compliant
+mail agents.
+
+Autocrypt state is kept in one or more accounts which process and produce
+autocrypt headers from respective incoming and outgoing e-mail. Each account
+is tied to a set of e-mail addresses, specified as a regular expression.
+
+Functionality is exposed through a command line tool muacrypt and a Python
+API obtained through import muacrypt.
+
+WWW: https://pypi.org/project/muacrypt/
Added: head/security/py-muacrypt/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-muacrypt/pkg-message Thu Jul 18 16:28:45 2019 (r506857)
@@ -0,0 +1,17 @@
+Should you installed the py36 flavor of this package and are presented to
+the following error:
+
+ RuntimeError: Click will abort further execution because Python 3 was
+ configured to use ASCII as encoding for the environment. Either switch
+ to Python 2 or consult the Python 3 section of the docs for
+ mitigation steps.
+
+It's an issue related to Click, not muacrypt. You can workaround that by
+exporting LC_ALL and LANG variables, using your locale settings and
+running muacrypt again:
+
+ # setenv LC_ALL en_US.UTF-8
+ # setenv LANG en_US.UTF-8
+ # muacrypt
+
+Read https://click.palletsprojects.com/en/7.x/python3/ for more details.
More information about the svn-ports-head
mailing list