Hep for creating a package
Darren Tucker
dtucker at zip.com.au
Wed Oct 1 13:09:20 EST 2003
Srinivasa Rao Musunuru wrote:
> I created a package for OpenSSH 3.7.1p2 in UNIX (OS: Sun Solaris), the
[snip]
> Is there anyway i can make package replacing the binaries, man pages
> and also it has to check in the /usr/local/etc directory while doing
> the pacakage add (pkgadd), if the configuration files and key files
> exists in /usr/local/etc directory it shouldn't replace the files.
> Only it should copy the files if there is any files missing in
> /usr/local/etc directory while doing pkgadd.
Have a look at contrib/solaris/buildpkg.sh in your OpenSSH source
directory, it does much of what you describe.
Apart from that, you have a Solaris packaging question not an OpenSSH
question. I suggest you check out some Solaris resources. I'd start with
www.sunhelp.org and www.sunfreeware.com/pkgadd.html.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list