Cool script to update ports in cron..
Julio Capote
jcapote at gmail.com
Wed Feb 2 23:27:30 PST 2005
Thanks! Merged into release.
http://wonderland.hopto.org/~capotej/portsync.pl
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
>
More information about the freebsd-hackers
mailing list