Web Stack Package Repository
By jyri on Apr 24, 2008
A little while I ago I introduced the Web Stack Experimental Repository. It's a great way of installing both early access (in development) packages as well as packages that won't necessarily go to any formal integration. The only drawback has been that accessing the repository has required a small patch to pkg (the IPS client).
To recap the now simplified instructions, here's how you can install one of our experimental packages:
1. Make sure you have the latest IPS
1.1 If you are on a Nevada build:
Nevada builds don't have IPS by default so you need to compile and install it:
% hg clone ssh://firstname.lastname@example.org/hg/pkg/gate % cd gate/src % make % make install % su # make link
The 'make link' target will make symlinks under /usr/bin and elsewhere such that you can just invoke 'pkg' conveniently.
1.2 If you are on Indiana:
As long as you install Indiana RC2 or later you're all set out of the box!
(If you are on an older build of Indiana you could follow the instructions shown above and just get and build the latest from the source tree. The only additional complexity is that since pkg is already part of the system, it might be easier to run it directly from the workspace instead of attempting to 'make link', but that might cause other issues I have not tested. Better to upgrade.)
2. Add the Web Stack repository to your list of repositories:
Assuming you don't already have some other authority called "webstack" (if you do, pick a different name):
# pkg set-authority -O http://pkg.opensolaris.org/webstack webstack
(or prefix the invocation with pfexec if you're not su'd to root)
3. Install something!
Let's say you want to try the experimental Varnish package:
# pkg refresh # pkg search -r varnish INDEX PACKAGE basename pkg:/SUNWvarnish@0,5.11-1:20080408T160306Z # pkg install SUNWvarnish DOWNLOAD PKGS FILES XFER (MB) Completed 1/1 28/28 0.83/0.83 PHASE ACTIONS Install Phase 50/50
Feedback is welcome as always, please join the Web Stack list for any comments. If you'd like to contribute any package to this experimental repository, check with me on the list and I'll point you in the right direction...