From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 22 18:20:02 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 6C78B10656AA for ; Sun, 22 Aug 2010 18:20:02 +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 49F028FC2A for ; Sun, 22 Aug 2010 18:20:02 +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 o7MIK27t061754 for ; Sun, 22 Aug 2010 18:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7MIK2n3061753; Sun, 22 Aug 2010 18:20:02 GMT (envelope-from gnats) Resent-Date: Sun, 22 Aug 2010 18:20:02 GMT Resent-Message-Id: <201008221820.o7MIK2n3061753@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, "afb@rpm5.org" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5444510656A7 for ; Sun, 22 Aug 2010 18:12:04 +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 4434C8FC1C for ; Sun, 22 Aug 2010 18:12:04 +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 o7MIC4lR050404 for ; Sun, 22 Aug 2010 18:12:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7MIC4Vx050397; Sun, 22 Aug 2010 18:12:04 GMT (envelope-from nobody) Message-Id: <201008221812.o7MIC4Vx050397@www.freebsd.org> Date: Sun, 22 Aug 2010 18:12:04 GMT From: "afb@rpm5.org" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/149886: [PATCH] archivers/rpm4: missing python 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: Sun, 22 Aug 2010 18:20:02 -0000 >Number: 149886 >Category: ports >Synopsis: [PATCH] archivers/rpm4: missing python >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 22 18:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: afb@rpm5.org >Release: 7.3 >Organization: >Environment: >Description: The configure param for python was changed, old one doesn't work. Also, the python module lines are missing from the new pkg-plist. >How-To-Repeat: $ python >Fix: Patch attached with submission follows: --- Makefile.orig 2010-08-14 17:03:12.000000000 +0200 +++ Makefile 2010-08-22 14:13:52.000000000 +0200 @@ -6,7 +6,7 @@ PORTNAME= rpm PORTVERSION= 4.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= http://rpm.org/releases/rpm-${PORTVERSION:R}.x/ \ ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-${PORTVERSION:E}.x/ @@ -35,13 +35,13 @@ CONFIGURE_ARGS+=--with-external-db .ifdef WITH_PYTHON -CONFIGURE_ARGS+=--with-python=auto -USE_PYTHON= yes +CONFIGURE_ARGS+=--enable-python +USE_PYTHON= 2.6+ PLIST_SUB+= PYTHON="" CPPFLAGS+= -I${PYTHON_INCLUDEDIR} LDFLAGS+= -L${PYTHON_LIBDIR} .else -CONFIGURE_ARGS+=--without-python +CONFIGURE_ARGS+=--disable-python PLIST_SUB+= PYTHON="@comment " .endif --- pkg-plist.orig 2010-07-02 13:47:26.000000000 +0200 +++ pkg-plist 2010-08-22 13:59:17.000000000 +0200 @@ -151,3 +151,12 @@ @dirrmtry src %%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES %%NLS%%@dirrmtry share/locale/sr@latin +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/__init__.py +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpmmodule.a +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpmmodule.la +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpmmodule.so +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpmbmodule.a +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpmbmodule.la +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpmbmodule.so +%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/transaction.py +%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/rpm >Release-Note: >Audit-Trail: >Unformatted: >>> import rpm