Content

Observations from a West Coast family

pkg(5): project opens, development continues

Thursday 27 September 2007 - Filed under Process

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  »  Stephen

  • http://blog.gueck.com/ Mikael Gueck

    Wee, the first time I’ve used Mercurial.

    Will you solicit comments from the RPM and DEB developers?

  • http://blogs.sun.com/sch/ Stephen

    @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

  • Razvan Corneliu C.R. VILT

    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