Re: PACKAGESITE Directory Structure

2009-06-20 Thread Mel Flynn
On Thursday 18 June 2009 18:31:02 Glen Barber wrote: Hello, list. After trying to figure out the incorrect directory structure for some of the packages hosted on my site, I am at a loss. After reading through /usr/src/usr.sbin/pkg_install/add/main.c from HEAD, lines 337-340 seems to suggest

Re: PACKAGESITE

2008-07-13 Thread N. Raghavendra
At 2008-07-12T21:59:09-07:00, [EMAIL PROTECTED] wrote: Can someone provide a correct example of setting PACKAGESITE so that pkg_add will find the 7-stable packages for i386? I have tried ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ You could use the `-r' option of

Re: PACKAGESITE

2008-07-13 Thread Sahil Tandon
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone provide a correct example of setting PACKAGESITE so that pkg_add will find the 7-stable packages for i386? I have tried ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ as shown in the handbook, and also:

Re: PACKAGESITE

2008-07-13 Thread N. Raghavendra
At 2008-07-12T21:59:09-07:00, [EMAIL PROTECTED] wrote: Can someone provide a correct example of setting PACKAGESITE so that pkg_add will find the 7-stable packages for i386? I have tried ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ If you are running 7-STABLE,

Re: PACKAGESITE

2008-07-13 Thread perryh
Did you specify the -r flag? Without that, the PACKAGESITE environment variable is note used ... No, I didn't, because -- unless I am misunderstanding the description of the -r flag -- that will cause pkg_add to look *only* on the FTP site. I want it to use packages that have already been

Re: PACKAGESITE

2008-07-13 Thread Manolis Kiagias
[EMAIL PROTECTED] wrote: Did you specify the -r flag? Without that, the PACKAGESITE environment variable is note used ... No, I didn't, because -- unless I am misunderstanding the description of the -r flag -- that will cause pkg_add to look *only* on the FTP site. I want it to use

Re: PACKAGESITE

2008-07-13 Thread Mike Clarke
On Sunday 13 July 2008, Manolis Kiagias wrote: As far as I know, pkg_add will only fetch dependencies recursively from the Internet when used with -r but it will then ignore PKG_PATH. Seems what you are asking cannot be done this way, but I might be wrong. I wonder if portinstall -P (or even

Re: PACKAGESITE

2008-07-13 Thread N. Raghavendra
At 2008-07-13T01:33:18-07:00, [EMAIL PROTECTED] wrote: IOW I want the equivalent of specifying the current directory, followed by the FTP site, in PKG_PATH; AFAIK, in FreeBSD, the entries in PKG_PATH must be directories, not URLs. (NetBSD and OpenBSD seem to allow URLs in that variable:

Re: PACKAGESITE

2008-07-13 Thread Manolis Kiagias
Mike Clarke wrote: On Sunday 13 July 2008, Manolis Kiagias wrote: As far as I know, pkg_add will only fetch dependencies recursively from the Internet when used with -r but it will then ignore PKG_PATH. Seems what you are asking cannot be done this way, but I might be wrong. I wonder

Re: PACKAGESITE

2008-07-13 Thread perryh
As far as I know, pkg_add will only fetch dependencies recursively from the Internet when used with -r but it will then ignore PKG_PATH. Seems what you are asking cannot be done this way ... I wonder if portinstall -P (or even -PP) might do what the OP wants? You are correct,

Re: PACKAGESITE

2008-07-13 Thread Kris Kennaway
[EMAIL PROTECTED] wrote: As far as I know, pkg_add will only fetch dependencies recursively from the Internet when used with -r but it will then ignore PKG_PATH. Seems what you are asking cannot be done this way ... I wonder if portinstall -P (or even -PP) might do what the OP wants? You are

Re: PACKAGESITE

2008-07-13 Thread Doug Barton
[EMAIL PROTECTED] wrote: As far as I know, pkg_add will only fetch dependencies recursively from the Internet when used with -r but it will then ignore PKG_PATH. Seems what you are asking cannot be done this way ... I wonder if portinstall -P (or even -PP) might do what the OP wants? You are

Re: PACKAGESITE

2008-07-13 Thread perryh
... portinstall is part of portupgrade, which has its own boatload of dependencies. You must be used to sailing in very small boats. From lurking on questions@ for a while, I have gotten the impression that ruby alone would pretty well fill up a Panamax :)