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: ]

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 10:52 AM 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 12: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 13, 2007 at 11:05 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

sch

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
External blogs