* Jonathan Edwards <Jonathan.Edwards at sun.com> [2009-01-13 22:25]: > > On Jan 13, 2009, at 8:28 AM, Dave Miner wrote: > > >> so my actual question is, where can i pull packages so i can import > >> them into the repository using "pkgsend send SUNW..."? > >> > > > > See http://www.opensolaris.org/os/project/pkg/Mirroring/. If you're > > looking to mirror only the /release repository, you may need > > assistance > > from the IPS team. Building a repository by importing the original > > SVR4 > > packages is a complex process which isn't well-documented, and not all > > of the content is easy to collect - you'd have to build some things > > from > > source at present. > > ok .. moving to pkg-discuss and attempting to help distill the > question a bit more .. here's a common scenario i'm encountering: > > (1) Customer installs an opensolaris image from a CD or USB stick in a > secure data center (only local network access is available.) > (2) Customer would like some packages from the release repository, but > opening network access for the server in question involves complicated > network change processes and acts of God. > > Question: > - What would be the best/fastest method to get package updates and > other packages from the release repository to this server with limited > network access assuming that another server (not necessarily > opensolaris) could be swung or proxied to connect to the release > repository?
If you can run an HTTP proxy, you're done--pkg(1) obeys the http_proxy environment variable convention. If pkg(1) or packagemanager fails in this mode, it's a bug (but make sure your proxy is working properly first...). The current protocol uses GET and POST, so it's not in any way exceptional in terms of proxy configuration. If an HTTP proxy is not available, you need to wait for the next media product, which is a single-build snapshot of a repository as a collection of DVD images. We haven't started building these automatically yet, but it's on the list of things to do. You can then run a depot inside the organization's private network, after copying the DVDs' contents to a filesystem. - Stephen -- sch at sun.com http://blogs.sun.com/sch/
