Re: portsnap cannot change its default WORKDIR ?

2006-05-03 Thread Yuan, Jue
On Tuesday 07 March 2006 15:17, [EMAIL PROTECTED] wrote:
 -On 3/6/06, Yuan Jue [EMAIL PROTECTED] wrote:
  Hi, all
 
  I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is
  really much faster than CVSUp. But there is one question that bother me:
  I cannot change the WORKDIR that portsnap use.
 
  I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
  when using 'portsnap fetch', the download files still store
  in /var/db/portsnap.
 
  Any suggestions about this? Thanks in advance!
 
  My /etc/portsnap.conf is as follows:
 
  # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva
  Exp $
 
  # Default directory where compressed snapshots are stored.
   WORKDIR=/usr/local/portsnap

 Well, it's doesn't seem broken here and mine is exactly like yours.
 Are you using portsnap from the base distro or from the ports tree?
 I was under the impression that portsnap from ports used
 /usr/local/etc/portsnap.conf so you may try copying your
 /etc/portsnap.conf there and see if that fixes something or any-
 thing.


OK. I found the trick finally ;)

There is a needless space before 'WORKDIR', which makes portsnap
cannot read this line correctly. Now it works fine for me :-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsnap cannot change its default WORKDIR ?

2006-03-07 Thread Chandan Haldar

The two command line options

-d WORKDIR
-p PORTSDIR

that portsnap accepts should be adequate for what you
seem to be looking for.  I use the second frequently.

Chandan


Yuan Jue wrote:

On Tuesday 07 March 2006 15:17, [EMAIL PROTECTED] wrote:


-On 3/6/06, Yuan Jue [EMAIL PROTECTED] wrote:


Hi, all

I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is
really much faster than CVSUp. But there is one question that bother me:
I cannot change the WORKDIR that portsnap use.

I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
when using 'portsnap fetch', the download files still store
in /var/db/portsnap.

Any suggestions about this? Thanks in advance!

My /etc/portsnap.conf is as follows:

# $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva
Exp $

# Default directory where compressed snapshots are stored.
WORKDIR=/usr/local/portsnap


Well, it's doesn't seem broken here and mine is exactly like yours.
Are you using portsnap from the base distro or from the ports tree?



I'm using FreeBSD 6.0 and portsnap is from the base distro.



I was under the impression that portsnap from ports used
/usr/local/etc/portsnap.conf so you may try copying your
/etc/portsnap.conf there and see if that fixes something or any-
thing.


I have tried this as you told. it doesn't work either :(

BTW: when I deleted /var/db/portsnap, the next time I use portsnap
like:
#portsnap fetch
message will show as follows:
portsnap: Directory does not exist or is not writable: /var/db/portsnap

any more ideas?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsnap cannot change its default WORKDIR ?

2006-03-07 Thread Yuan Jue
On Tuesday 07 March 2006 16:24, Chandan Haldar wrote:
 The two command line options

 -d WORKDIR
 -p PORTSDIR

 that portsnap accepts should be adequate for what you
 seem to be looking for.  I use the second frequently.


yes, this method works for me. I am just wondering why portsnap.conf
cannot do its job? 

anyway, thanks for your informaiton :)

-- 
Best Regards.
Yuan Jue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portsnap cannot change its default WORKDIR ?

2006-03-06 Thread Yuan Jue
Hi, all

I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is really
much faster than CVSUp. But there is one question that bother me: 
I cannot change the WORKDIR that portsnap use.

I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
when using 'portsnap fetch', the download files still store 
in /var/db/portsnap.

Any suggestions about this? Thanks in advance!

My /etc/portsnap.conf is as follows:

# $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva Exp $

# Default directory where compressed snapshots are stored.
 WORKDIR=/usr/local/portsnap

# Default location of the ports tree (target for update and extract).
# PORTSDIR=/usr/ports

# Server or server pool from which to fetch updates.  You can change
# this to point at a specific server if you want, but in most cases
# using a nearby server won't provide a measurable improvement in
# performance.
SERVERNAME=portsnap.FreeBSD.org

# Trusted keyprint.  Changing this is a Bad Idea unless you've received
# a PGP-signed email from [EMAIL PROTECTED] telling you to
# change it and explaining why.
KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330

-- 
Best Regards.
Yuan Jue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsnap cannot change its default WORKDIR ?

2006-03-06 Thread [EMAIL PROTECTED]
-On 3/6/06, Yuan Jue [EMAIL PROTECTED] wrote:
 Hi, all

 I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is really
 much faster than CVSUp. But there is one question that bother me:
 I cannot change the WORKDIR that portsnap use.

 I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
 when using 'portsnap fetch', the download files still store
 in /var/db/portsnap.

 Any suggestions about this? Thanks in advance!

 My /etc/portsnap.conf is as follows:

 # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva Exp $

 # Default directory where compressed snapshots are stored.
  WORKDIR=/usr/local/portsnap

Well, it's doesn't seem broken here and mine is exactly like yours.
Are you using portsnap from the base distro or from the ports tree?
I was under the impression that portsnap from ports used
/usr/local/etc/portsnap.conf so you may try copying your
/etc/portsnap.conf there and see if that fixes something or any-
thing.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsnap cannot change its default WORKDIR ?

2006-03-06 Thread Yuan Jue
On Tuesday 07 March 2006 15:17, [EMAIL PROTECTED] wrote:
 -On 3/6/06, Yuan Jue [EMAIL PROTECTED] wrote:
  Hi, all
 
  I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is
  really much faster than CVSUp. But there is one question that bother me:
  I cannot change the WORKDIR that portsnap use.
 
  I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
  when using 'portsnap fetch', the download files still store
  in /var/db/portsnap.
 
  Any suggestions about this? Thanks in advance!
 
  My /etc/portsnap.conf is as follows:
 
  # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva
  Exp $
 
  # Default directory where compressed snapshots are stored.
   WORKDIR=/usr/local/portsnap

 Well, it's doesn't seem broken here and mine is exactly like yours.
 Are you using portsnap from the base distro or from the ports tree?

I'm using FreeBSD 6.0 and portsnap is from the base distro.

 I was under the impression that portsnap from ports used
 /usr/local/etc/portsnap.conf so you may try copying your
 /etc/portsnap.conf there and see if that fixes something or any-
 thing.
I have tried this as you told. it doesn't work either :(

BTW: when I deleted /var/db/portsnap, the next time I use portsnap
like:
#portsnap fetch
message will show as follows:
portsnap: Directory does not exist or is not writable: /var/db/portsnap

any more ideas?

-- 
Best Regards.
Yuan Jue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]