xref: /freebsd/crypto/openssh/contrib/solaris/README (revision 19261079b74319502c6ffa1249920079f0f69a72)
1ce3adf43SDag-Erling SmørgravThe following is a new package build script for Solaris.   This is being
2ce3adf43SDag-Erling Smørgravintroduced into OpenSSH 3.0 and above in hopes of simplifying the build
3ce3adf43SDag-Erling Smørgravprocess.  As of 3.1p2 the script should work on all platforms that have
4ce3adf43SDag-Erling SmørgravSVR4 style package tools.
5ce3adf43SDag-Erling Smørgrav
6ce3adf43SDag-Erling SmørgravThe build process is called a 'dummy install'.. Which means the software does
7ce3adf43SDag-Erling Smørgrava  "make install-nokeys DESTDIR=[fakeroot]".  This way all manpages should
8*190cef3dSDag-Erling Smørgravbe handled correctly and key are deferred until the first time the sshd
9ce3adf43SDag-Erling Smørgravis started.
10ce3adf43SDag-Erling Smørgrav
11ce3adf43SDag-Erling SmørgravDirections:
12ce3adf43SDag-Erling Smørgrav
13ce3adf43SDag-Erling Smørgrav1. make -F Makefile.in distprep  (Only if you are getting from the CVS tree)
14ce3adf43SDag-Erling Smørgrav2. ./configure --with-pam [..any other options you want..]
15ce3adf43SDag-Erling Smørgrav3. look at the top of buildpkg.sh for the configurable options and put
16ce3adf43SDag-Erling Smørgrav   any changes you want in openssh-config.local. Additional customizations
17ce3adf43SDag-Erling Smørgrav   can be done to the build process by creating one or more of the following
18ce3adf43SDag-Erling Smørgrav   scripts that will be sourced by buildpkg.sh.
19ce3adf43SDag-Erling Smørgrav	pkg_post_make_install_fixes.sh pkg-post-prototype-edit.sh
20ce3adf43SDag-Erling Smørgrav	pkg-preinstall.local pkg-postinstall.local pkg-preremove.local
21ce3adf43SDag-Erling Smørgrav	pkg-postremove.local pkg-request.local
22ce3adf43SDag-Erling Smørgrav4. Run "make package"
23ce3adf43SDag-Erling Smørgrav
24ce3adf43SDag-Erling SmørgravIf all goes well you should have a solaris package ready to be installed.
25ce3adf43SDag-Erling Smørgrav
26ce3adf43SDag-Erling SmørgravIf you have any problems with this script please post them to
27ce3adf43SDag-Erling Smørgravopenssh-unix-dev@mindrot.org and I will try to assist you as best as I can.
28ce3adf43SDag-Erling Smørgrav
29ce3adf43SDag-Erling Smørgrav- Ben Lindstrom
30ce3adf43SDag-Erling Smørgrav
31