[csw-maintainers] interested in package tools?

Dagobert Michelsen dam at opencsw.org
Mon Jun 21 15:10:28 CEST 2010


Hi Phil,

Am 21.06.2010 um 08:46 schrieb Philip Brown:
> btw, for those who are curious or interested in writing SVR4pkg  
> tools..
> i just learned that there is actually a LIBRARY for that sort of  
> thing.
> libpkg.
> static on sol9, dynamic on sol10.
>
> with actual header files.  such as:
> current9s$ grep pkg /var/sadm/install/contents|grep include
> /usr/include/pkgdev.h f none 0644 root bin 722 54095 1018120352  
> SUNWhea
> /usr/include/pkginfo.h f none 0644 root bin 958 6957 1018120352  
> SUNWhea
> /usr/include/pkglocs.h f none 0644 root bin 637 48042 1018120352  
> SUNWhea
> /usr/include/pkgstrct.h f none 0644 root bin 1595 56208 1244683066  
> SUNWhea
> /usr/include/pkgtrans.h f none 0644 root bin 612 44640 1018120352  
> SUNWhea
>
> There also allegedly is the full source code on opensolaris.org:
> http://hub.opensolaris.org/bin/view/Project+svr4_packaging/ claims
>
>  The commands are in [svr4pkg] and the library is under [libpkg]
>
> I personally think it could be beneficial to us to package our own
> compilation of thse tools, but then take out artificial limitations  
> such as
> "must be root to do [xyz]", and just rely on filesystem perms to  
> determine
> that sort of thing.

What tools do you have in mind? There is also the heirloom project which
ported the SYSV packaging tools to Linux from OpenSolaris. But what
specifically would we gain from it?


Best regards

   -- Dago


More information about the maintainers mailing list