patch for openssh/contrib/solaris/buildpkg.sh

Tim Rice tim at multitalents.net
Tue Jul 9 12:03:03 EST 2002


On Fri, 24 May 2002, kevin brintnall wrote:

> Here is a small patch for OpenSSH 3.2.3p1..

Applied. Thanks.

Next time please use diff -u or diff -c

>
> When the package postinstall script runs, it presumes that the package
> will be installed relative to the current / directory..  If this package
> is installed as part of a Solaris Jumpstart installation, this will not be
> the case.  Consequentially, the /etc/ssh/sshd_config.default will never
> get copied to /etc/ssh/sshd_config on the new operating system.
>
> The Solaris package installer defines the environment variable
> PKG_INSTALL_ROOT to point to the root directory of the installed package.
> The attached patch makes the postinstall script aware of this.  It should
> now function as designed in a Jumpstart environment also (or any other
> environment where the PKG_INSTALL_ROOT != /)
>
> Cheers!
>
>

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list