1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

security/py-ssh-audit: update to 2.2.0

This commit is contained in:
Piotr Kubaj 2020-03-12 08:39:59 +00:00
parent c2bd967778
commit 8ffc4d13cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528274
3 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= ssh-audit
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.1
DISTVERSION= 2.2.0
CATEGORIES= security
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1575394154
SHA256 (jtesta-ssh-audit-v2.1.1_GH0.tar.gz) = e70d7dfb98fa4941f07424783a2f601c9e3920eb33da53997c13b9d7d2720dcb
SIZE (jtesta-ssh-audit-v2.1.1_GH0.tar.gz) = 85380
TIMESTAMP = 1584001378
SHA256 (jtesta-ssh-audit-v2.2.0_GH0.tar.gz) = a8f4f01122234bd84c01440bfd3b7a6026c50c1a06f3044846a8503c94f94cfb
SIZE (jtesta-ssh-audit-v2.2.0_GH0.tar.gz) = 91792

View File

@ -1,18 +1,17 @@
--- ssh-audit.py.orig 2017-11-23 08:27:24 UTC
--- ssh-audit.py.orig 2020-03-12 08:24:32 UTC
+++ ssh-audit.py
@@ -43,11 +43,12 @@ try: # pragma: nocover
@@ -49,11 +49,11 @@ try: # pragma: nocover
from typing import Callable, Optional, Union, Any
except ImportError: # pragma: nocover
pass
-try: # pragma: nocover
- from colorama import init as colorama_init
- colorama_init() # pragma: nocover
- colorama_init(strip=False) # pragma: nocover
-except ImportError: # pragma: nocover
- pass
+# colorama is only for Windows, posix systems support colors without it
+#try: # pragma: nocover
+# from colorama import init as colorama_init
+# colorama_init() # pragma: nocover
+# colorama_init(strip=False) # pragma: nocover
+#except ImportError: # pragma: nocover
+# pass