From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 10 19:40:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C36B106564A for ; Fri, 10 Jun 2011 19:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE3C88FC14 for ; Fri, 10 Jun 2011 19:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5AJe8px037854 for ; Fri, 10 Jun 2011 19:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5AJe8Gv037853; Fri, 10 Jun 2011 19:40:08 GMT (envelope-from gnats) Resent-Date: Fri, 10 Jun 2011 19:40:08 GMT Resent-Message-Id: <201106101940.p5AJe8Gv037853@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Milan Obuch Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE358106564A for ; Fri, 10 Jun 2011 19:36:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C433D8FC12 for ; Fri, 10 Jun 2011 19:36:44 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5AJaiuB011900 for ; Fri, 10 Jun 2011 19:36:44 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5AJaiuV011899; Fri, 10 Jun 2011 19:36:44 GMT (envelope-from nobody) Message-Id: <201106101936.p5AJaiuV011899@red.freebsd.org> Date: Fri, 10 Jun 2011 19:36:44 GMT From: Milan Obuch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157744: security/py-pyclamd maintainer update X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 19:40:09 -0000 >Number: 157744 >Category: ports >Synopsis: security/py-pyclamd maintainer update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jun 10 19:40:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Milan Obuch >Release: 7.4, 8.2, 9.0 >Organization: >Environment: >Description: There is new version at http://xael.org/norman/python/pyclamd and time to update... >How-To-Repeat: >Fix: Apply attached patch. It is tested and used on couple boxes with current ClamAV successfully. Note: There is no versioning in distfile name on original site, so FreeBSD's local copy should be refreshed somehow, maybe manually. Patch attached with submission follows: diff -urN py-pyclamd/Makefile py-pyclamd-0.2.2/Makefile --- py-pyclamd/Makefile 2009-02-15 00:32:14.000000000 +0100 +++ py-pyclamd-0.2.2/Makefile 2011-01-26 20:23:31.000000000 +0100 @@ -6,7 +6,7 @@ # PORTNAME= pyclamd -PORTVERSION= 0.1.1 +PORTVERSION= 0.2.2 CATEGORIES= security python MASTER_SITES= http://xael.org/norman/python/pyclamd/ DISTFILES= pyclamd.py diff -urN py-pyclamd/distinfo py-pyclamd-0.2.2/distinfo --- py-pyclamd/distinfo 2009-02-15 00:29:44.000000000 +0100 +++ py-pyclamd-0.2.2/distinfo 2011-01-26 11:54:50.000000000 +0100 @@ -1,3 +1,2 @@ -MD5 (pyclamd.py) = fcdc195401e8c78a0d19ee6b8c23fdcb -SHA256 (pyclamd.py) = 3542cc2271c8365a4205c563705a9f3090dca3f6242524119cb6560b7bbfcbaf -SIZE (pyclamd.py) = 10498 +SHA256 (pyclamd.py) = 209673f947ce16d53bab43c19bfb8200f8b40cc70b26d4dbc9a0e203c561d16e +SIZE (pyclamd.py) = 13101 diff -urN py-pyclamd/files/patch-pyclamd.py py-pyclamd-0.2.2/files/patch-pyclamd.py --- py-pyclamd/files/patch-pyclamd.py 2009-01-10 00:24:06.000000000 +0100 +++ py-pyclamd-0.2.2/files/patch-pyclamd.py 2011-01-26 20:15:04.000000000 +0100 @@ -1,38 +1,38 @@ ---- pyclamd.py.orig 2007-04-11 18:10:26.000000000 +0200 -+++ pyclamd.py 2007-08-28 11:28:48.000000000 +0200 -@@ -14,7 +14,7 @@ - # Network - pyclamd.init_network_socket('localhost', 3310) - # Unix local socket -- #pyclamd.init_unix_socket('/var/run/clamd') -+ #pyclamd.init_unix_socket('/var/run/clamav/clamd') +--- pyclamd.py.orig 2011-01-26 20:08:38.000000000 +0100 ++++ pyclamd.py 2011-01-26 20:14:58.000000000 +0100 +@@ -51,7 +51,7 @@ + # Network + pyclamd.init_network_socket('localhost', 3310) + # Unix local socket +- #pyclamd.init_unix_socket('/var/run/clamd') ++ #pyclamd.init_unix_socket('/var/run/clamav/clamd.sock') - # Get Clamscan version - print pyclamd.version() -@@ -29,7 +29,7 @@ + # Get Clamscan version + print pyclamd.version() +@@ -66,7 +66,7 @@ Test strings : ^^^^^^^^^^^^ >>> try: --... init_unix_socket('/var/run/clamd') -+... init_unix_socket('/var/run/clamav/clamd') +-... init_unix_socket('/var/run/clamav/clamd.ctl') ++... init_unix_socket('/var/run/clamav/clamd.sock') ... except ScanError: - ... init_network_socket('localhost', 3310) + ... init_network_socket('localhost', 3310) ... -@@ -68,7 +68,7 @@ +@@ -110,7 +110,7 @@ # Default values for globals use_socket = None --clamd_SOCKET = "/var/run/clamd" -+clamd_SOCKET = "/var/run/clamav/clamd" - clamd_HOST='127.0.0.1' - clamd_PORT=3310 +-clamd_SOCKET = "/var/run/clamav/clamd.ctl" ++clamd_SOCKET = "/var/run/clamav/clamd.sock" + clamd_HOST = '127.0.0.1' + clamd_PORT = 3310 + clamd_timeout = None #[PL] default timeout for sockets: None = blocking operations +@@ -121,7 +121,7 @@ -@@ -85,7 +85,7 @@ - ############################################################################ --def init_unix_socket(filename="/var/run/clamd"): -+def init_unix_socket(filename="/var/run/clamav/clamd"): - """ - Init pyclamd to use clamd unix local socket - +-def init_unix_socket(filename="/var/run/clamav/clamd.ctl"): ++def init_unix_socket(filename="/var/run/clamav/clamd.sock"): + """ + Init pyclamd to use clamd unix local socket + >Release-Note: >Audit-Trail: >Unformatted: