On Sun, Oct 25, 2009 at 10:29 PM, Juan Miscaro <jmisc...@gmail.com> wrote:
> I've had this problem for a long time (over many OpenBSD releases).
>
> The pkg_add man page (for 4.5) states:
>
> "If a given package name cannot be found, the directories named by
> PKG_PATH are searched.  It should contain a series
> of entries separated by colons.  Each entry consists of a directory
> name.  URL schemes such as FTP, HTTP, HTTPS, or SCP are also
> appropriate."
>
> On a client machine:
>
> PKG_PATH=http://$HTTP_MASTER/:http://$HTTP_MASTER/by_port/i386/all/
>
> My master server serves up normal packages and those packages compiled
> from ports.
>
> When I do this only the first component is searched.  I have to do a
> second package update run with PKG_PATH pointing directly to the
> second component for the "ports packages" to be seen.
>
> Why is this?
>

I've seen this too but I've never figured it out. Obviously it's
supposed to work so we must be doing it wrong... or maybe we have odd
characters in our URLs that are throwing off the parser (after all,
http:// contains the delimiter field, it's not unlikely it might screw
up). Can you echo your $HTTP_MASTER, and your $PKG_PATH? And show an
attempt to use pkg_add that fails?

-Nick

Reply via email to