Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-12-05 Thread perryh
Hugh bo...@gmail.com wrote: A question i've got is where i can find the default PACKAGESITE value? It seems to be hardcoded in usr.sbin/pkg_install/add/main.c (line 318 in the 8.1 version). ___ freebsd-questions@freebsd.org mailing list http

Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-12-04 Thread Hugh
A question i've got is where i can find the default PACKAGESITE value? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-12-04 Thread Edgar Rodolfo
2011/12/4, Hugh bo...@gmail.com: A question i've got is where i can find the default PACKAGESITE value? FreeBSD comes with the default mirror (ftp), see when you use pkg_add, in my case it failed, is the reason because i changed to the mirror (ftp), you can use diferent ftp ftp

Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-11-30 Thread Edgar Rodolfo
: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz' by URL but i put : freebsd# setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/ freebsd

Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-11-30 Thread Alexander Kapshuk
you may want to define the PACKAGESITE variable in the .cshrc file in your $HOME; On Wed, Nov 30, 2011 at 1:27 PM, Edgar Rodolfo cybernaut...@gmail.comwrote: Hi guys, currently i have a machine with freebsd 9 rc2, for default when i try to use pkg_add -r wget, for example, i can not install

Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it?

2011-11-30 Thread Edgar Rodolfo
2011/11/30, Alexander Kapshuk alexander.kaps...@gmail.com: you may want to define the PACKAGESITE variable in the .cshrc file in your $HOME; Thank. this is correct: echo 'setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/Latest/;' /root/.cshrc On Wed, Nov 30, 2011

rookie question about PACKAGESITE

2010-05-11 Thread Coert
Hello all, I started using FreeBSD about a week ago, and I really like the system. Have been using Linux for the last few years. One noob question though, according to the Handbook on Packages and Ports, I can use packages for either RELEASE, STABLE, or CURRENT. How exactly would this

Re: rookie question about PACKAGESITE

2010-05-11 Thread Ross Cameron
Hey hey Coert Nice to see another GLUG member on here. The link below will answer you're question. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html In general give the FreeBSD Handbook a read, in my concerted little opinion it is the gold standard in how any

Re: rookie question about PACKAGESITE

2010-05-11 Thread RW
On Tue, 11 May 2010 13:42:52 +0200 Coert lgro...@waagmeester.co.za wrote: Hello all, I started using FreeBSD about a week ago, and I really like the system. Have been using Linux for the last few years. One noob question though, according to the Handbook on Packages and Ports, I can use

Re: PACKAGESITE Directory Structure

2009-06-20 Thread Mel Flynn
that if 'Latest' is not found, 'All' is implied to pkg_add when PACKAGESITE is explicitly defined (otherwise overridden with hard-coded values). The most intuitive PACKAGESITE is the one pointing to the directory *before* All including trailing slash. This way one can add packages by origin

PACKAGESITE Directory Structure

2009-06-18 Thread Glen Barber
to pkg_add when PACKAGESITE is explicitly defined (otherwise overridden with hard-coded values). With that, I am still trying to figure out the proper hierarchy: Scenario 1.) If I 'pkg_add -r foo.3.2_1.tbz' from www.example.com/packages, should 'All' be implied after 'packages' (packages/All)? Scenario 2

Re: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-28 Thread Mel Flynn
, it is a bit counter-intuitive. However it's documented in the pkg_add(1) manpage that PACKAGESITE should resolve to the full URL where packages can be found (even the trailing slash). I've found in practice, that it is the easiest to set your webroot below All/, so that All/foo-1.2.3.tbz resolves

Re: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-28 Thread L Campbell
parameters, base and spec, and has the following behavior -- snip behavior and patch Yes, it is a bit counter-intuitive. However it's documented in the pkg_add(1) manpage that PACKAGESITE should resolve to the full URL where packages can be found (even the trailing slash). The additional

[pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-26 Thread L Campbell
packages out from it's HTTP root, such that requesting the following URLs properly fetch the desired packages: http://10.0.0.4/lighttpd-1.4.22.tbz http://10.0.0.4/pcre-7.8.tbz I set PACKAGESITE to 'http://10.0.0.4/'; when I attempt to install Lighttpd with pkg_add -rv, I get the following output (snipped

Re: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-26 Thread L Campbell
On Thu, Mar 26, 2009 at 3:37 PM, L Campbell ll...@virginia.edu wrote: blah Oh, and please CC me on any replies since I don't follow this list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-26 Thread L Campbell
URL of the parent package as the base and the package name as the spec, so the second branch is always taken. Unfortunately, this doesn't work with the PACKAGESITE code in add/main.c, because fileGetURL is expecting the base argument to be of the form http://host/directory/package.tbz;, as in www

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

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: ftp

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 :)

PACKAGESITE

2008-07-12 Thread perryh
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: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7

Re: Philosophy of default pkg_add -r PACKAGESITE?

2007-09-19 Thread Gary Affonso
again. 5) If an admin wants to install pre-compiled packages that are not present in the default release directory, they can configure pkg_add -r to source packages from one of the other package directories by setting the PACKAGESITE environment variable to point to one of the other package

Re: Philosophy of default pkg_add -r PACKAGESITE?

2007-09-04 Thread Kris Kennaway
on admin anyway, so setting one env variable is not a heavy burden. And how does one go about *permanently* changing the pkg_add -r target. You can set the PACKAGESITE variable in the shell which will work on a user-by-user basis but isn't there a way to centrally change PACKAGESITE without

Re: Philosophy of default pkg_add -r PACKAGESITE?

2007-09-04 Thread Gueven Bay
I'm curious, why does pkg_add -r point to the release snapshot of ports by default? Is the idea that a release is well-tested and that any deviation from that (even security or bug-fix changes) is an unknown that new users need to be shielded against when grabbing packages with pkg_add

Re: Philosophy of default pkg_add -r PACKAGESITE?

2007-09-04 Thread Kris Kennaway
Gueven Bay wrote: I'm curious, why does pkg_add -r point to the release snapshot of ports by default? Is the idea that a release is well-tested and that any deviation from that (even security or bug-fix changes) is an unknown that new users need to be shielded against when grabbing packages

Re: Philosophy of default pkg_add -r PACKAGESITE?

2007-09-04 Thread Dan Nelson
In the last episode (Sep 04), Kris Kennaway said: Gary Affonso wrote: I'm curious, why does pkg_add -r point to the release snapshot of ports by default? Is the idea that a release is well-tested and that any deviation from that (even security or bug-fix changes) is an unknown that new users

Re: Philosophy of default pkg_add -r PACKAGESITE?

2007-09-04 Thread Mel
On Tuesday 04 September 2007 16:40:27 Dan Nelson wrote: Also, packages from the -stable directory may have different/conflicting dependencies compared to existing packages on your system. Imagine installing 6.2 before the x.org-7 update, then trying to pkg_add -r a package from the -stable

Philosophy of default pkg_add -r PACKAGESITE?

2007-09-03 Thread Gary Affonso
against when grabbing packages with pkg_add -r? Seems to me it would be better to have pkg_add -r point to stable (which, if I understand things correctly, does get updated packages). And how does one go about *permanently* changing the pkg_add -r target. You can set the PACKAGESITE

portupgrade and packagesite

2004-10-23 Thread Osmany Guirola Cruz
Hi people I am trying to upgrade my gtk20 and i do the following #setenv PACKAGESITE ftp://ftp1.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current