From owner-freebsd-ports@FreeBSD.ORG Mon Aug 6 12:03:50 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E821B16A469 for ; Mon, 6 Aug 2007 12:03:50 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id A724B13C49D for ; Mon, 6 Aug 2007 12:03:50 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1103070wxd for ; Mon, 06 Aug 2007 05:03:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:sender; b=SGz++YzOk/O1WOSf1TLwDDST5833X7g2oLxDuwnJmCK9nAOBAD5qRB5CO0lh+wGOdyAu/N4QY8QRpAWQyxdsu/L0KXwhf+Iq62uA5fxvJCfqNygtuOUViO3IHtPPQ98uavDuEZXhXrXmKsTZbXJL9tcWXthsREjTD8U+oTfGiH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:sender; b=jTJR2QbGIasIAh5XuDrCI90FOpo+twDr0XVBrfZObU+eMT11itPeCMtddi10miFhqljb6YbOxC6AzFzWLFUJNG4ZbJ0wD31y6v198DhR+GSeHw0fZLJgDs2fFZvGTDov5weH8sN4PNihgwt1qEDboDVpDiqpDpBQaVzU03SRaaA= Received: by 10.90.29.18 with SMTP id c18mr4420197agc.1186400369156; Mon, 06 Aug 2007 04:39:29 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.137.21]) by mx.google.com with ESMTPS id p27sm7001155ele.2007.08.06.04.39.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2007 04:39:28 -0700 (PDT) Received: from obelix.home.rakhesh.com (obelix.home.rakhesh.com [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id E087711420; Mon, 6 Aug 2007 15:39:03 +0400 (GST) Date: Mon, 6 Aug 2007 15:38:43 +0400 (GST) From: Rakhesh Sasidharan To: "Arend P. van der Veen" In-Reply-To: <46B706BF.40000@att.net> Message-ID: <20070806153345.Y6336@obelix.home.rakhesh.com> References: <46B5E0F8.7050405@att.net> <20070806083111.F74284@obelix.home.rakhesh.com> <46B706BF.40000@att.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: Rakhesh Sasidharan Cc: Rakhesh Sasidharan , freebsd-ports@freebsd.org Subject: Re: portsdb and cvsup 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: Mon, 06 Aug 2007 12:03:51 -0000 On Mon, 6 Aug 2007, Arend P. van der Veen wrote: > Thanks for your story. The only reason we used -U was that we were not sure > what they meant got special macros. The man page for portsdb status that you > only use -U if you have special macros in /etc/make.conf. All we have in > there is version information so I think that does not apply to use. Same here! Didn't make sense to me what the manpage meant by special macros. A couple of examples on the net seemed to be using the ''-U'' switch and so I too gave it a shot. But it took an awfully long time and so I didn't try it again. Since I wasn't doing anything fancy, I figured I probably don't have special macros. :) If you ever figure out what special macros are or in which situations the ''-U'' switch is useful, please do let me know. Regards, Rakhesh ps. In mailing lists people usually prefer if you were to give your reply at the *end* of the quoted post. Makes it easier to read the original messages first and then the reply in that context. Just mentioning ... > > Thanks again, > Arend > > > Rakhesh Sasidharan wrote: >> >> On Sun, 5 Aug 2007, Arend P. van der Veen wrote: >> >>> The approach that I had been using was: >>> >>> /usr/local/bin/cvsup -L 0 /usr/sup/supfile >>> /usr/local/sbin/portsdb -Uu >>> >>> This had worked great until the emacs22 update. Now portsdb crashes due >>> to the emacs entry in /etc/make.conf. However, I see very little chatter >>> on the lists about this. I have started to wonder if the bulk of the >>> community may be updating their ports differently. Upon some limited >>> research I found that I could use: >>> >>> /usr/local/bin/cvsup -L 0 /usr/sup/supfile >>> /usr/local/sbin/portsdb -Fu >>> >>> This work fine for me. I can then use tools such as pkg_version, >>> pkg_delete, portinstall and portupgrade without any problems. >>> >>> My open ended question is what does the rest of the community do to update >>> their ports collection? >>> >> >> I don't run portsdb at all. :) >> >> What I figured from the portsdb manpages is that if you don't run it >> manually then it gets run upon using one of the portupgrade tools. I don't >> mind the 30s or so delay that causes and so I don't run portsdb manually. >> >> During my first few days with FreeBSD, however, I used to run ''portsdb >> -Fu''. My understanding is that that would fetch the INDEX-6 and update >> INDEX-6.db (since I am on FreeBSD 6.x) but I don't see why I should do this >> coz the INDEX files are updated when I update the ports tree anyways! (If I >> have understood this incorrectly, someone please correct me). >> >> I tried ''portsdb -Uu'' just once. To see what it does. Took a long time >> and so I never tried it again. From the manpage I understand that it >> creates/ updates the INDEX files by running the ''make index'' command, but >> the reasoning behind that didn't make sense to me ... >> >> So that's my story. >> >> Regards, >> Rakhesh >> >