From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 24 14:40:04 2010 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 32E461065674 for ; Thu, 24 Jun 2010 14:40:04 +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 E9DA58FC17 for ; Thu, 24 Jun 2010 14:40:03 +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 o5OEe3Le002187 for ; Thu, 24 Jun 2010 14:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5OEe3wG002186; Thu, 24 Jun 2010 14:40:03 GMT (envelope-from gnats) Resent-Date: Thu, 24 Jun 2010 14:40:03 GMT Resent-Message-Id: <201006241440.o5OEe3wG002186@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, David Naylor Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11E031065672 for ; Thu, 24 Jun 2010 14:30:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DC39E8FC0A for ; Thu, 24 Jun 2010 14:30:53 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5OEUrE5096519 for ; Thu, 24 Jun 2010 14:30:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o5OEUrGI096518; Thu, 24 Jun 2010 14:30:53 GMT (envelope-from nobody) Message-Id: <201006241430.o5OEUrGI096518@www.freebsd.org> Date: Thu, 24 Jun 2010 14:30:53 GMT From: David Naylor To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/148110: [patch][fix] update py-liblzma 0.5.2 -> 0.5.3 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: Thu, 24 Jun 2010 14:40:04 -0000 >Number: 148110 >Category: ports >Synopsis: [patch][fix] update py-liblzma 0.5.2 -> 0.5.3 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jun 24 14:40:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: David Naylor >Release: FreeBSD 9 >Organization: Private >Environment: FreeBSD dragon.dg 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Jun 19 19:08:38 SAST 2010 root@dragon.dg:/tmp/home/freebsd9/src/sys/DRAGON amd64 >Description: Update py-liblzma 0.5.2 to 0.5.3 and fix failure to link to liblzma.so when xz from ports not installed but available in base. This also prevents py-liblzma from using the ports liblzma.so version when base version is available. ChangeLog from port: - update compression option names in API documentation. - fix segfault with LZMACompressor (#521975). - fix compress() & LZMACompressor.flush() finishing when there's still data left. (#521975 & #537199) - Synchronize code with bz2module.c from python upstream: o Issue #7205: Fix a possible deadlock when using a LZMAFile object from several threads at once. >How-To-Repeat: python -c "import lzma" >Fix: See patch Patch attached with submission follows: diff -ur /usr/ports/archivers/py-liblzma/Makefile py-liblzma/Makefile --- /usr/ports/archivers/py-liblzma/Makefile 2010-05-22 03:03:50.000000000 +0200 +++ py-liblzma/Makefile 2010-06-24 16:21:45.000000000 +0200 @@ -5,8 +5,7 @@ # $FreeBSD: ports/archivers/py-liblzma/Makefile,v 1.5 2010/05/21 16:23:46 naddy Exp $ PORTNAME= liblzma -PORTVERSION= 0.5.2 -PORTREVISION= 1 +PORTVERSION= 0.5.3 CATEGORIES= archivers python MASTER_SITES= ${MASTER_SITE_CHEESESHOP}source/p/pyliblzma/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,6 +25,10 @@ .if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz +.else +post-patch: + @${REINPLACE_CMD} -e 's/pc_cflags = .*/pc_cflags = ""/' \ + -e 's/pc_libs = .*/pc_libs = "-llzma"/' ${WRKSRC}/setup.py .endif .include diff -ur /usr/ports/archivers/py-liblzma/distinfo py-liblzma/distinfo --- /usr/ports/archivers/py-liblzma/distinfo 2009-03-22 17:22:47.000000000 +0200 +++ py-liblzma/distinfo 2010-06-24 15:52:15.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (pyliblzma-0.5.2.tar.bz2) = 8e5596bc60e784c74f10e94820655336 -SHA256 (pyliblzma-0.5.2.tar.bz2) = 44716f94108ede658183c4036f60169b58ea77a52aa8fd6a9a412fb8d551a016 -SIZE (pyliblzma-0.5.2.tar.bz2) = 49011 +MD5 (pyliblzma-0.5.3.tar.bz2) = 500f61116ee1ab4063b49c121786863a +SHA256 (pyliblzma-0.5.3.tar.bz2) = 08d762f36d5e59fb9bb0e22e000c300b21f97e35b713321ee504cfb442667957 +SIZE (pyliblzma-0.5.3.tar.bz2) = 43498 >Release-Note: >Audit-Trail: >Unformatted: