From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 3 09:02:18 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B3B116A4CE for ; Thu, 3 Feb 2005 09:02:18 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 612EE43D1D for ; Thu, 3 Feb 2005 09:02:16 +0000 (GMT) (envelope-from jcapote@gmail.com) Received: by wproxy.gmail.com with SMTP id 67so221405wri for ; Thu, 03 Feb 2005 01:02:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=jkBPMxj+th9A9KhS65ls0MS3WMphjRjKXHWsnpDQJJ3sJDYLpJeQYsnG842rBjKBOpH8mFD8aXR8XluT1B3ZLhMtZzm5UAKZrUsoejaws53yA8naSRmSWNFZ//U2VRMsbbK646nZyEh5F+hGXrgTIe+dH7P+EINaRKLaoTZ/g0s= Received: by 10.54.42.73 with SMTP id p73mr114423wrp; Thu, 03 Feb 2005 01:02:11 -0800 (PST) Received: from localhost.localdomain ([68.223.153.139]) by smtp.gmail.com with ESMTP id 43sm24186wri.2005.02.03.01.02.11; Thu, 03 Feb 2005 01:02:11 -0800 (PST) From: Julio Capote To: Timour Ezeev In-Reply-To: <20050203003340.U42075@jupiter.caelifer.org> References: <20050203003340.U42075@jupiter.caelifer.org> Content-Type: text/plain Date: Thu, 03 Feb 2005 04:04:34 -0500 Message-Id: <1107421474.1627.3.camel@hatter.wonderland.dn> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Cool script to update ports in cron.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 09:02:18 -0000 I also fixed a bug that didnt let it run in cron, because I wasnt using full paths (doh!)...so it should work fine from cron now On Thu, 2005-02-03 at 00:34 -0500, Timour Ezeev wrote: > On Wed, 2 Feb 2005, Julio Capote wrote: > > > I guess the list doesnt like attachments, here's a link: > > http://wonderland.hopto.org/~capotej/portsync.pl > > > > > > -Julio > > I think you have a small problem with cvs release entry, i.e. when you > run your program you get > > *default release=cvs tag==cvs tag=. > > instead of > > *default release=cvs tag=. > > Here is a small patch: > > --- portsync.pl Wed Feb 2 23:28:36 2005 > +++ portsync.pl.new Wed Feb 2 23:32:37 2005 > @@ -20,7 +20,7 @@ > > #Common configuration > my $host = 'cvsup6.us.freebsd.org'; ### Host you want to use for > cvsup > -my $release = '=cvs tag=.'; ### Release branch, i,e > RELENG_5_3, etc > +my $release = '.'; ### Release branch, i,e > RELENG_5_3, etc > my $collection = 'ports-all'; ### Collection you want to > fetch from the server > my $portsdir= '/usr/ports'; ### Location of your ports > tree > my $logfile ='/var/log/portsync.log'; ### File for your logging >