[kde-solaris] KDE 3.1.4 binary packageing
Lars Tunkrans
lars.tunkrans at bredband.net
Tue Dec 16 22:30:34 CET 2003
steleman at nyc.rr.com wrote:
> I have addressed the question about naming
> conventions before, but i will address it again.
>
> Packaging Solaris packages with the SUNW prefix is
> the naming convention recommended by Sun
> Microsystems in their AnswerBook collection
> ["Building Packages"].
>
Allright if thats what they propose.
> Building the packages with pkgproto and pkgmk is
> also the method recommended by Sun Microsystems in
> the same publication.
>
> There is no connection (that i am aware of) between
> KDE e.V, my KDE 3.1.4 packages for SunOS 5.8, and
> NASDAQ.
>
> Indeed, these packages will only be useful on a
> SPARC/SunOS system. Given the fact that they contain
> binary code which would only run on SPARC/SunOS
> system, i do not see a problem here -- but maybe i
> am missing something.
>
> I have successfully and correctly bunzip'ed and
> untarred these packages on my Linux Intel laptop
>
O.k I'll try to explain better ...
Within the Unix sVr4 system designed by AT&T in the
end of the 1980's, Two methods of Package distribution
was designed. "filesystem format" and " datastream format"
pkgmk(1) produces filesystem format. It creates a separate
directory tree consisting of all the files in the package.
In 1989 the main program distribution format was tape.
AT&T wanted a program distribution system that would install
directly from tape. So what we did in those days was:
pkgadd -d /dev/rmt/0 { packagename }
This ofcourse does not work if you have a directory structre
on the tape. It does work if the tape contained the
DaTaStReAm format.
the Utility program pkgtrans(1) converts a package
from filesystem format into datastream format.
The datastream format is a singel large file.
This resulting file is directly installable. It does not
need to be "unpacked" the pkgadd utility knows within itself
how to unpack the datastream format.
so basically one does
pkgtrans -s /space/src /space/obj/package_name.pkg package_name
/space/src is the parent directory to where the package_dir resides,
/space/obj/package_name.pkg is the output file
package_name is obvioulsly the name of the package and the source directory.
Then one would compress the /space/obj/package_name.pkg file by some means.
and send it to the distribution ftp server.
After an installer downloads the package file and decompresses it , he/she can just
do a :
pkgadd -d ./package_name.pkg
The whole business of untaring the tarball becomes unnessesary.
//Lars
========================================================
Lars Tunkrans
--------------------------------------------------------
More information about the kde-solaris
mailing list