From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 3 05:33:00 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 3F69616A4CE for ; Thu, 3 Feb 2005 05:33:00 +0000 (GMT) Received: from cluster1.echolabs.net (mail.atlanticbb.net [216.52.118.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8811543D46 for ; Thu, 3 Feb 2005 05:32:59 +0000 (GMT) (envelope-from timour@pivotaldynamics.com) X-Scanned-By: RAE MPP/Cloudmark http://www.messagepartners.com X-Header-Name: This message was scanned on fe2 X-Scanned-By: RAE MPP/Clamd http://www.messagepartners.com Received: from [69.84.100.161] (HELO jupiter.caelifer.org) by fe2.cluster1.echolabs.net (CommuniGate Pro SMTP 4.2.8) with ESMTP-TLS id 30305502; Thu, 03 Feb 2005 00:32:48 -0500 Received: from jupiter.caelifer.org (localhost.caelifer.org [127.0.0.1]) by jupiter.caelifer.org (8.13.1/8.13.1) with ESMTP id j134fB0D096133; Wed, 2 Feb 2005 23:41:11 -0500 (EST) (envelope-from timour@pivotaldynamics.com) Received: from localhost (timour@localhost)j134f8ZP096130; Wed, 2 Feb 2005 23:41:09 -0500 (EST) (envelope-from timour@pivotaldynamics.com) X-Authentication-Warning: jupiter.caelifer.org: timour owned process doing -bs Date: Wed, 2 Feb 2005 23:41:08 -0500 (EST) From: Timour Ezeev X-X-Sender: timour@jupiter.caelifer.org To: Julio Capote In-Reply-To: <1107331395.2746.11.camel@hatter.wonderland.dn> Message-ID: <20050202232959.F42075@jupiter.caelifer.org> References: <1107323048.2746.4.camel@hatter.wonderland.dn> <1107331395.2746.11.camel@hatter.wonderland.dn> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 05:33:00 -0000 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 -- Timour Ezeev Pivotal Dynamics Corp. timour@pivotaldynamics.com