| 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 |
| 3 |
process. As of 3.1p2 the script should work on all platforms that have |
| 4 |
SVR4 style package tools. |
| 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 |
| 8 |
be handled correctly and key are defered until the first time the sshd |
| 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..] |
| 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" |
| 23 |
|
| 24 |
If all goes well you should have a solaris package ready to be installed. |
| 25 |
|
| 26 |
If you have any problems with this script please post them to |
| 27 |
[email protected] and I will try to assist you as best as I can. |
| 28 |
|
| 29 |
- Ben Lindstrom |
| 30 |
|