Ben Lindstrom | 368211e | 2001-10-19 20:24:14 +0000 | [diff] [blame] | 1 | The following is a new package build script for Solaris. This is being |
| 2 | introduced into OpenSSH 3.0 and above in hopes of simplifying the build |
Tim Rice | 29bdd2c | 2002-03-11 20:55:53 -0800 | [diff] [blame] | 3 | process. As of 3.1p2 the script should work on all platforms that have |
| 4 | SVR4 style package tools. |
Ben Lindstrom | 368211e | 2001-10-19 20:24:14 +0000 | [diff] [blame] | 5 | |
| 6 | The build process is called a 'dummy install'.. Which means the software does |
| 7 | a "make install-nokeys DESTDIR=[fakeroot]". This way all manpages should |
Damien Miller | 10479cc | 2018-04-10 10:19:02 +1000 | [diff] [blame] | 8 | be handled correctly and key are deferred until the first time the sshd |
Ben Lindstrom | 368211e | 2001-10-19 20:24:14 +0000 | [diff] [blame] | 9 | is started. |
| 10 | |
| 11 | Directions: |
| 12 | |
| 13 | 1. make -F Makefile.in distprep (Only if you are getting from the CVS tree) |
| 14 | 2. ./configure --with-pam [..any other options you want..] |
Tim Rice | 5af9db9 | 2004-06-19 19:31:06 -0700 | [diff] [blame] | 15 | 3. look at the top of buildpkg.sh for the configurable options and put |
| 16 | any changes you want in openssh-config.local. Additional customizations |
| 17 | can be done to the build process by creating one or more of the following |
| 18 | scripts that will be sourced by buildpkg.sh. |
| 19 | pkg_post_make_install_fixes.sh pkg-post-prototype-edit.sh |
| 20 | pkg-preinstall.local pkg-postinstall.local pkg-preremove.local |
| 21 | pkg-postremove.local pkg-request.local |
| 22 | 4. Run "make package" |
Ben Lindstrom | 368211e | 2001-10-19 20:24:14 +0000 | [diff] [blame] | 23 | |
| 24 | If all goes well you should have a solaris package ready to be installed. |
| 25 | |
Damien Miller | a8e06ce | 2003-11-21 23:48:55 +1100 | [diff] [blame] | 26 | If you have any problems with this script please post them to |
Ben Lindstrom | 368211e | 2001-10-19 20:24:14 +0000 | [diff] [blame] | 27 | openssh-unix-dev@mindrot.org and I will try to assist you as best as I can. |
| 28 | |
| 29 | - Ben Lindstrom |
| 30 | |