blob: cabecaa1a5c71f63fda476371e104d6eb0f2239a [file] [log] [blame]
Ben Lindstrom368211e2001-10-19 20:24:14 +00001The following is a new package build script for Solaris. This is being
2introduced into OpenSSH 3.0 and above in hopes of simplifying the build
Tim Rice29bdd2c2002-03-11 20:55:53 -08003process. As of 3.1p2 the script should work on all platforms that have
4SVR4 style package tools.
Ben Lindstrom368211e2001-10-19 20:24:14 +00005
6The build process is called a 'dummy install'.. Which means the software does
7a "make install-nokeys DESTDIR=[fakeroot]". This way all manpages should
Damien Miller10479cc2018-04-10 10:19:02 +10008be handled correctly and key are deferred until the first time the sshd
Ben Lindstrom368211e2001-10-19 20:24:14 +00009is started.
10
11Directions:
12
131. make -F Makefile.in distprep (Only if you are getting from the CVS tree)
142. ./configure --with-pam [..any other options you want..]
Tim Rice5af9db92004-06-19 19:31:06 -0700153. 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
224. Run "make package"
Ben Lindstrom368211e2001-10-19 20:24:14 +000023
24If all goes well you should have a solaris package ready to be installed.
25
Damien Millera8e06ce2003-11-21 23:48:55 +110026If you have any problems with this script please post them to
Ben Lindstrom368211e2001-10-19 20:24:14 +000027openssh-unix-dev@mindrot.org and I will try to assist you as best as I can.
28
29- Ben Lindstrom
30