From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 3 05:35:12 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 D14D316A4D2 for ; Thu, 3 Feb 2005 05:35:12 +0000 (GMT) Received: from cluster1.echolabs.net (mail.atlanticbb.net [216.52.118.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED1543D66 for ; Thu, 3 Feb 2005 05:35:03 +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 fe1 X-Scanned-By: RAE MPP/Clamd http://www.messagepartners.com Received: from [69.84.100.161] (HELO jupiter.caelifer.org) by fe1.cluster1.echolabs.net (CommuniGate Pro SMTP 4.2.8) with ESMTP-TLS id 30768763; Thu, 03 Feb 2005 00:35:00 -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 j135YxWa096477; Thu, 3 Feb 2005 00:34:59 -0500 (EST) (envelope-from timour@pivotaldynamics.com) Received: from localhost (timour@localhost)j135YwGj096474; Thu, 3 Feb 2005 00:34:59 -0500 (EST) (envelope-from timour@pivotaldynamics.com) X-Authentication-Warning: jupiter.caelifer.org: timour owned process doing -bs Date: Thu, 3 Feb 2005 00:34:58 -0500 (EST) From: Timour Ezeev X-X-Sender: timour@jupiter.caelifer.org To: Julio Capote Message-ID: <20050203003340.U42075@jupiter.caelifer.org> 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:35:13 -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