From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 10 03:30:09 2009 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 B1A221065676 for ; Sat, 10 Oct 2009 03:30: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 8C81C8FC19 for ; Sat, 10 Oct 2009 03:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9A3U8Ca025871 for ; Sat, 10 Oct 2009 03:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9A3U87T025867; Sat, 10 Oct 2009 03:30:08 GMT (envelope-from gnats) Resent-Date: Sat, 10 Oct 2009 03:30:08 GMT Resent-Message-Id: <200910100330.n9A3U87T025867@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, Anonymous Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7F0E1065676 for ; Sat, 10 Oct 2009 03:22:50 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 304B38FC0C for ; Sat, 10 Oct 2009 03:22:49 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so1727496eyf.9 for ; Fri, 09 Oct 2009 20:22:49 -0700 (PDT) Received: by 10.211.147.10 with SMTP id z10mr4153537ebn.61.1255144969156; Fri, 09 Oct 2009 20:22:49 -0700 (PDT) Received: from localhost (95-24-79-38.broadband.corbina.ru [95.24.79.38]) by mx.google.com with ESMTPS id 10sm2436679eyz.32.2009.10.09.20.22.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Oct 2009 20:22:48 -0700 (PDT) Message-Id: <86ocogvsop.fsf@gmail.com> Date: Sat, 10 Oct 2009 07:22:46 +0400 From: Anonymous To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now lives in ports/Templates 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: Sat, 10 Oct 2009 03:30:09 -0000 >Number: 139468 >Category: ports >Synopsis: [patch] ports-mgmt/genplist: BSD.local.dist now lives in ports/Templates >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: Sat Oct 10 03:30:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD 9.0-CURRENT #0 r197788M: Mon Oct 5 20:18:15 UTC 2009 root@luffy:/usr/obj/usr/src/sys/PHOENIX amd64 >Description: 8.0-RC1 and 9.0-CURRENT do not have BSD.{local,x11,x11-4}.dist files in /etc/mtree anymore, see /head@r196767 http://svn.freebsd.org/viewvc/base?view=revision&revision=196767 Note: the port is still broken because it should use different PKG_DBDIR and not rely on `reinstall' target ovewriting database of currently installed packages in /var/db/pkg. >How-To-Repeat: ports-mgmt/genplist$ genplist create ~/aaa PREFIX = /home/luser/aaa PORTNAME = genplist ===> Switching to root credentials for 'deinstall' target ===> Deinstalling for ports-mgmt/genplist ===> genplist-0.3 has a different PREFIX: /usr/local, skipping ===> Returning to user credentials mtree: /etc/mtree/BSD.local.dist: No such file or directory ^^^^^^^^^^^^ find: *: No such file or directory ===> Extracting for genplist-0.3 => MD5 Checksum OK for genplist-0.3.tar.gz. => SHA256 Checksum OK for genplist-0.3.tar.gz. ===> Patching for genplist-0.3 ===> Configuring for genplist-0.3 ===> Installing for genplist-0.3 ===> Generating temporary packing list ===> Checking if ports-mgmt/genplist already installed ===> genplist-0.3 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of ports-mgmt/genplist without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 >Fix: --- genplist.diff begins here --- Index: files/patch-genplist =================================================================== RCS file: files/patch-genplist diff -N files/patch-genplist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-genplist 10 Oct 2009 02:45:47 -0000 @@ -0,0 +1,11 @@ +--- genplist~ ++++ genplist +@@ -29,7 +29,7 @@ create_plist() + + if [ "$porttype" != "none" ]; then + mkdir $prefix +- mtree -U -f /etc/mtree/BSD.$porttype.dist -d -e -p $prefix ++ mtree -U -f ${PORTSDIR=/usr/ports}/Templates/BSD.$porttype.dist -d -e -p $prefix + make PREFIX=$prefix depends + + # Store the directory structure in a new file. --- genplist.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: /head@r196767