From owner-svn-ports-all@freebsd.org Thu Jul 18 16:28:46 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E50E9AC469; Thu, 18 Jul 2019 16:28:46 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5B888F1B6; Thu, 18 Jul 2019 16:28:46 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C05AA6DF; Thu, 18 Jul 2019 16:28:46 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6IGSkiR042373; Thu, 18 Jul 2019 16:28:46 GMT (envelope-from egypcio@FreeBSD.org) Received: (from egypcio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6IGSjeG042368; Thu, 18 Jul 2019 16:28:45 GMT (envelope-from egypcio@FreeBSD.org) Message-Id: <201907181628.x6IGSjeG042368@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: egypcio set sender to egypcio@FreeBSD.org using -f From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= Date: Thu, 18 Jul 2019 16:28:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506857 - in head/security: . py-muacrypt X-SVN-Group: ports-head X-SVN-Commit-Author: egypcio X-SVN-Commit-Paths: in head/security: . py-muacrypt X-SVN-Commit-Revision: 506857 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C5B888F1B6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2019 16:28:47 -0000 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@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 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.