diff options
| author | VinÃcius Zavam <egypcio@FreeBSD.org> | 2019-07-18 16:28:45 +0000 |
|---|---|---|
| committer | VinÃcius Zavam <egypcio@FreeBSD.org> | 2019-07-18 16:28:45 +0000 |
| commit | 9c810de20dabcba7c7c11b4e867be8c282c66b7e (patch) | |
| tree | 71248d630c309aea6dbbdb202a457fc8d885d02f | |
| parent | Update to 9.14.4. (diff) | |
[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/
Notes
Notes:
svn path=/head/; revision=506857
| -rw-r--r-- | security/Makefile | 1 | ||||
| -rw-r--r-- | security/py-muacrypt/Makefile | 29 | ||||
| -rw-r--r-- | security/py-muacrypt/distinfo | 3 | ||||
| -rw-r--r-- | security/py-muacrypt/pkg-descr | 11 | ||||
| -rw-r--r-- | security/py-muacrypt/pkg-message | 17 |
5 files changed, 61 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 5bcb2441f0cd..a43c3b39cb7e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -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 diff --git a/security/py-muacrypt/Makefile b/security/py-muacrypt/Makefile new file mode 100644 index 000000000000..a55f2581f4ae --- /dev/null +++ b/security/py-muacrypt/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= muacrypt +PORTVERSION= 0.9.1 +CATEGORIES= security mail python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= egypcio@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> diff --git a/security/py-muacrypt/distinfo b/security/py-muacrypt/distinfo new file mode 100644 index 000000000000..a113e214828b --- /dev/null +++ b/security/py-muacrypt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1563457119 +SHA256 (muacrypt-0.9.1.tar.gz) = 0a0a2b39d7fa13773dcabdb7cb4cd0b847efb1ae373efe8596a39c705143d615 +SIZE (muacrypt-0.9.1.tar.gz) = 61730 diff --git a/security/py-muacrypt/pkg-descr b/security/py-muacrypt/pkg-descr new file mode 100644 index 000000000000..506543a71761 --- /dev/null +++ b/security/py-muacrypt/pkg-descr @@ -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/ diff --git a/security/py-muacrypt/pkg-message b/security/py-muacrypt/pkg-message new file mode 100644 index 000000000000..515b9e7c9be1 --- /dev/null +++ b/security/py-muacrypt/pkg-message @@ -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. |
