I'm working on adding support for IPS source packages
in pkgbuild.  As discussed earlier[1], the source packages
will live in a separate repository (which can technically
be the same repository).  I propose adding the following
meta data:

source packages:

set name=info.source_pkg_type value=pkgbuild
set name=info.pkgbuild_version
    value=<version of pkgbuild that created the pkg>

binary packages:

set name=info.source_pkg_server value=<http://url/to/src/ips/server>
set name=info.source_pkg_fmri value=<full fmri of the source package>
set name=info.source_pkg_type value=pkgbuild

The source package itself will include the following:

/usr/share/src/<package name>-<package version>/
        SPECS/
           *.spec
           *.inc
        SOURCES/
           <all source bundles, patches, files>

By default, the source packages will be called
        src/<binary package name>
unless there's a better suggestion.

Any comments?

Thanks,
Laca


[1] http://mail.opensolaris.org/pipermail/pkg-discuss/2008-December/009571.html


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to