1180740SdesThe following is a new package build script for Solaris.   This is being
2180740Sdesintroduced into OpenSSH 3.0 and above in hopes of simplifying the build
3180740Sdesprocess.  As of 3.1p2 the script should work on all platforms that have
4180740SdesSVR4 style package tools.
5180740Sdes
6180740SdesThe build process is called a 'dummy install'.. Which means the software does
7180740Sdesa  "make install-nokeys DESTDIR=[fakeroot]".  This way all manpages should
8180740Sdesbe handled correctly and key are defered until the first time the sshd
9180740Sdesis started.
10180740Sdes
11180740SdesDirections:
12180740Sdes
13180740Sdes1. make -F Makefile.in distprep  (Only if you are getting from the CVS tree)
14180740Sdes2. ./configure --with-pam [..any other options you want..]
15180740Sdes3. look at the top of buildpkg.sh for the configurable options and put
16180740Sdes   any changes you want in openssh-config.local. Additional customizations
17180740Sdes   can be done to the build process by creating one or more of the following
18180740Sdes   scripts that will be sourced by buildpkg.sh.
19180740Sdes	pkg_post_make_install_fixes.sh pkg-post-prototype-edit.sh
20180740Sdes	pkg-preinstall.local pkg-postinstall.local pkg-preremove.local
21180740Sdes	pkg-postremove.local pkg-request.local
22180740Sdes4. Run "make package"
23180740Sdes
24180740SdesIf all goes well you should have a solaris package ready to be installed.
25180740Sdes
26180740SdesIf you have any problems with this script please post them to
27180740Sdesopenssh-unix-dev@mindrot.org and I will try to assist you as best as I can.
28180740Sdes
29180740Sdes- Ben Lindstrom
30180740Sdes
31