From owner-freebsd-stable Sun May 5 9: 2:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by hub.freebsd.org (Postfix) with ESMTP id F2A7B37B408 for ; Sun, 5 May 2002 09:02:41 -0700 (PDT) Received: from localhost (marck@localhost) by woozle.rinet.ru (8.11.6/8.11.6) with ESMTP id g45G2fF21321 for ; Sun, 5 May 2002 20:02:41 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 5 May 2002 20:02:41 +0400 (MSD) From: Dmitry Morozovsky To: stable@freebsd.org Subject: portupgrade-20020429 (fwd) Message-ID: <20020505200203.W39434-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear colleagues, TWIMC Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ ---------- Forwarded message ---------- Date: Sun, 5 May 2002 20:01:43 +0400 (MSD) From: Dmitry Morozovsky To: knu@freebsd.org Subject: portupgrade-20020429 Hi there colleagues, last commit to ports/sysutils/portupgrade broke portversion. Old version had one line in pkgtools.conf: ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All' New version needs three of them: ENV['PORTSDIR'] ||= '/usr/ports' ENV['PACKAGES'] ||= ENV['PORTSDIR'] + '/packages' ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All' And in absence of first and second lines, portversion fails with ** Error occured reading /usr/local/etc/pkgtools.conf: undefined method `+' for nil So, I suppose some intelligent upgrade process of pkgtools.conf is needed. Sorry, haven't done it myself. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message