[csw-maintainers] interested in package tools?

Philip Brown phil at bolthole.com
Mon Jun 21 08:46:14 CEST 2010


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.




More information about the maintainers mailing list