Joerg Schilling wrote:
Darren J Moffat <[EMAIL PROTECTED]> wrote:
On Wed, 2005-07-20 at 14:04, Chris Ricker wrote:
creating a mysql-4.1 pkg from scratch. Or what if you want the same
version that Sun shipped, but just need it compiled with different
options? That's trivial on Linux distros, not so trivial on Solaris....
Thats what the SUNWmysqlS package is for, it is intended to
be almost equivalent to the source rpm. However rpm is both a build
and package system the SVR4 package system isn't.
I don't see anything in rpm that could not be handled via the pre and
postinstall scripts that are part of a SVR4 package.
True - but if you are looking at also supporting Linux in your packages
- which face it, when
it comes to open source software is very likely - then the concept of
building from a
singe source makes a lot of sense. That's what we in the JDS team have
been doing
by using tarballs and a .spec file to build both for linux (using
rpmbuild) and on Solaris
(using PKGBuild http://pkgbuild.sourceforge.net/). OK, the .spec files
will need some slight
modification from the Linux default, but in most cases it is possible to
write a single .spec
file with OS specific checks to handle slight differences that allows
the build to work on both
platforms.
Darren.
_______________________________________________
opensolaris-discuss mailing list
[email protected]