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