Predictable
Stephen Hahn's blog at Sun Microsystems
All | Pastime | Person | Peruse | Position | Process | Product

« pkg(5): a no scripti... | Main | pkg(5): Talking in... »
20070927 Thursday September 27, 2007

pkg(5): project opens, development continues

I asked my teammates to take a brief break from prototyping, and we jumped from a collection of systems inside Sun to the clean project hosting at opensolaris.org.

As the migration registers, you should be able to access

If you're interested, please come check it out.

[ T: ]

(2007-09-27 16:21:22.0) Permalink Comments [3]
Comments:

Wee, the first time I've used Mercurial.

Will you solicit comments from the RPM and DEB developers?

Posted by Mikael Gueck on September 27, 2007 at 05:52 PM PDT #

@Mikael: I would certainly listen to comments from authors of various systems; solicitation seems to suggest that the work we're doing is more important than their own (which I would never assert). Let me know how your investigation goes. -- Stephen

Posted by Stephen on September 27, 2007 at 07:13 PM PDT #

One thing that I've always appreciated at RPM is the ease with which I can customize a package, should I need to. Real world example follows:
Issue: I want a patch in SAMBA reverted because it caused some problems on my network. All I have/need is a DIFF file (named samba_HTP_BUG.diff from here on).
On RHEL:
1) rpm -ivh https://$RHNDOWNLOADSITE/samba-3.0.25b_0.el5.4.src.rpm
2) mv samba_HTP_BUG.diff /usr/src/redhat/SOURCES
3) vi /usr/src/redhat/SPECS/samba.spec
Change the release
Add the Patch0: samba_HTP_BUG.diff line
Add the %patch0 -p1 -b .HTP_BUG line
4) rpmbuild -ba /usr/src/redhat/SPECS/samba.spec
5) rpm -Uvh /usr/src/redhat/RPNS/x86_64/*

I only needed to CHANGE ONE line and ADD TWO lines in a spec file.

This is what I expect from the Solaris PKG. I really need to add patches occasionally (such as the vfs_snapshot_zfs) to the default Samba build, or move to a newer version WITHOUT trying to figure out all the paths and options used by the Sun team in the configure script, and trying to reproduce those. If it's a clean install it's easy to use /usr/local or /opt, on an already working system that has configuration files and tdb files and log files and many more it's a pain to install a new version in an alternate path. I just want to patch the Sun/Blastwave/SFW provided package.

Otherwise all that the new pkg system wants to provide is great and I'm looking forward to it.

Cheers,
Razvan

Posted by Razvan Corneliu C.R. VILT on October 14, 2007 at 06:05 AM PDT #

Post a Comment:

Comments are closed for this entry.
Stephen Hahn
Sun Microsystems
sch@sun.com
17 Network Circle
MS MPK17-301
Menlo Park CA 94025 USA