pkg_add -r works again, sorta


David Rhodus has updated the pkg_add command to point to http://www.fireflybsd.com/packages, where the binary builds live. This works if you’re running the latest code; however, you will need to use the full URL for a given package if you’re using 1.2.x Release, as it still looks to the old location.

Posted by     Categories: Committed Code     3 Comments
3 Comments on pkg_add -r works again, sorta

Closed

  1. Lazarus says:

    Kind of off-topic, but is there gonna be a (for example) 1.3.x compat layer for 1.2.x so that there can be one set of binary packages?

  2. Lazarus says:

    Oh, also, can’t the following still be done for the DragonFly version of pkg_add? (from the FreeBSD “pkg_add” man page):

    The environment variable PACKAGEROOT specifies an alternate location for pkg_add to fetch from. The fetch URL is built using this environment variable and the automatic directory logic that pkg_add uses when the -r option is invoked. An example setting would be “ftp://ftp3.FreeBSD.org”.

    The environment variable PACKAGESITE specifies an alternate location for pkg_add to fetch from. This variable subverts the automatic directory logic that pkg_add uses when the -r option is invoked. Thus it should be a complete URL to the remote package file(s).”

  3. Lazarus says:

    Yeah, I just tried the following and it works on 1.2.x (tcsh):

    setenv PACKAGEROOT “http://www.fireflybsd.org/”