Date: Sat, 10 Oct 2009 07:22:46 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/139468: [patch] ports-mgmt/genplist: BSD.local.dist now lives in ports/Templates Message-ID: <86ocogvsop.fsf@gmail.com> Resent-Message-ID: <200910100330.n9A3U87T025867@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ocogvsop.fsf>