Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 22:31:02 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        questions@freebsd.org
Subject:   PACKAGESITE Directory Structure
Message-ID:  <4ad871310906181931l7623d9cj83a8f39fe497a4d3@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 that if 'Latest' is not found,
'All' is implied 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.) Same pkg_add command from
www.example.com/packages/mybinary/package -- should 'All' be a
subdirectory of packages/ or mybinary/?

It appears that this "if 'Latest/' is not found, overwrite as 'All/'"
may be expected, but I am getting conflicting output.

Any input is appreciated.


-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310906181931l7623d9cj83a8f39fe497a4d3>