Michael Kennedy wrote: > I was looking for a local IPS mirror as well, and haven't been able to figure > out how to do so, so I figured I'd work around this by putting a caching > proxy in place to at least cache the accesses to pkg.opensolaris.org across > multiple clients/installs. > > As is typical, I was foiled! > > It appears that the IPS pkg client uses a POST method to retrieved > files/packages and this unfortunately defeats your average caching proxy.
Yes, because the server generates a tar file stream dynamically based on which files are requested. Since the client only downloads the files that have changed between releases, it has no need of downloading an entire package, etc. again. The download method will change in the future (hopefully) to a HTTP 1.1/Pipeline-based setup that should be much friendlier to caching proxies and the like. > If anyone else figures out how to cache/mirror the pkg.opensolaris.org > repository, I'd appreciate knowing what the steps are. At this time, there isn't a "blessed" way to do this. However, you may find what you need here: http://mail.opensolaris.org/pipermail/pkg-discuss/2008-August/005744.html Once you've mirrored the content using the above script, you'll need to run your own depot server. Running your own depot server is covered here: http://wikis.sun.com/display/IpsBestPractices/Image+Packaging+System+Best+Practices;jsessionid=1BA2316061ED699963F8C8D497212C31 Cheers, -- Shawn Walker