From owner-freebsd-ports@FreeBSD.ORG Sat Mar 3 22:38:56 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1D2916A404 for ; Sat, 3 Mar 2007 22:38:56 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03.coxmail.com (dukecmmtao03.coxmail.com [68.99.120.70]) by mx1.freebsd.org (Postfix) with ESMTP id 675BD13C4A8 for ; Sat, 3 Mar 2007 22:38:56 +0000 (UTC) (envelope-from vizion@vizion.occoxmail.com) Received: from dukecmmtao03 ([172.18.22.59]) by dukecmmtao03.coxmail.com (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with SMTP id <20070303223856.LFYG2045.dukecmmtao03.coxmail.com@dukecmmtao03> for ; Sat, 3 Mar 2007 17:38:56 -0500 X-Mailer: Openwave WebEngine, version 2.8.16 (webedge20-101-1106-20040809) From: Vizion Organization: vizion Communications To: Date: Sat, 3 Mar 2007 14:38:55 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070303223856.LFYG2045.dukecmmtao03.coxmail.com@dukecmmtao03> Cc: Subject: PORTSUPDATING -is it too terse for users to be useful? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 22:38:56 -0000 Hi Sorry to say I find this extract in PORTSUPDATING a bit too terse. I wonder if there could be some elaboration on the advice given in PORTSUPDATING for those who do not understand the implications. IMHO it is not very helpful to have an absense of procedural detail in such a critical file. See illustrative questions below-- 20070301: AFFECTS: users of ports-mgmt/portupgrade* AUTHOR: sem@FreeBSD.org Because of a bug in previous version, it's recomended you fill ALT_PKGDEP QUESTION: OK what is this.. what does it do? section in pkgtools.conf file for portupgrade be aware of alternative dependencies you use, QUESTION: OK what is an alternative dependency? What procedure do we follow to find out which ones we use? and run pkgdb -L to restore dependencies that was lost. Example of ALT_PKGDEP section: ALT_PKGDEP = { 'www/apache13' => 'www/apache13-modssl', 'print/ghostscript-afpl' => 'print/ghostscript-gnu', } QUESTION: Example is fine.. but what is a suffix? How do we identify the ones we need/use? Note also, portupgrade knows nothing how to handle ports with different suffixes (E.g. -nox11). So you should define explicitly variables (E.g. WITHOUT_X11=yes) for the ports in /etc/make.conf or pkgtools.conf (MAKE_ARGS section) files.