Cool script to update ports in cron..
Timour Ezeev
timour at pivotaldynamics.com
Wed Feb 2 21:35:13 PST 2005
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 at pivotaldynamics.com
More information about the freebsd-hackers
mailing list