Index: Makefile =================================================================== --- Makefile (revision 466771) +++ Makefile (working copy) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= fail2ban -PORTVERSION= 0.10.2 +PORTVERSION= 0.10.3 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Index: distinfo =================================================================== --- distinfo (revision 466771) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1516358804 -SHA256 (fail2ban-fail2ban-0.10.2_GH0.tar.gz) = 1c1a969137c56f7e8b90e5f14d78b80214d34d67209787bfddc8d5804ceb29cc -SIZE (fail2ban-fail2ban-0.10.2_GH0.tar.gz) = 474624 +TIMESTAMP = 1523170020 +SHA256 (fail2ban-fail2ban-0.10.3_GH0.tar.gz) = 92ee35ec131f0005964f6794f69a9207827b428dd05877a6eacee584c5c11642 +SIZE (fail2ban-fail2ban-0.10.3_GH0.tar.gz) = 485453 Index: files/patch-fail2ban_client_csocket.py =================================================================== --- files/patch-fail2ban_client_csocket.py (nonexistent) +++ files/patch-fail2ban_client_csocket.py (working copy) @@ -0,0 +1,34 @@ +--- fail2ban/client/csocket.py.orig 2018-04-08 10:28:39.135695000 +0200 ++++ fail2ban/client/csocket.py 2018-04-08 10:35:39.403548000 +0200 +@@ -43,7 +43,7 @@ + self.__csock.connect(sock) + + def __del__(self): +- self.close(False) ++ self.close() + + def send(self, msg, nonblocking=False, timeout=None): + # Convert every list member to string +@@ -56,13 +56,18 @@ + def settimeout(self, timeout): + self.__csock.settimeout(timeout if timeout != -1 else self.__deftout) + +- def close(self, sendEnd=True): ++ def close(self): + if not self.__csock: + return +- if sendEnd: ++ try: + self.__csock.sendall(CSPROTO.CLOSE + CSPROTO.END) +- self.__csock.shutdown(socket.SHUT_RDWR) +- self.__csock.close() ++ self.__csock.shutdown(socket.SHUT_RDWR) ++ except socket.error: # pragma: no cover - normally unreachable ++ pass ++ try: ++ self.__csock.close() ++ except socket.error: # pragma: no cover - normally unreachable ++ pass + self.__csock = None + + @staticmethod Property changes on: files/patch-fail2ban_client_csocket.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property