SCO Openserver Patch
Ben Lindstrom
mouring at pconline.com
Fri Nov 10 11:55:10 EST 2000
Can we get this patch again configure.in instead?
Thanks.
On Thu, 9 Nov 2000, Phillip Porch wrote:
> I downloaded the Openssh-2.3.0p1 file and ran configure only to have it
> fail reporting the lack of libz. I found that configure was failing
> beacuse the test program did not include the libtinfo and libm which are
> needed to resolve references in libprot. I made changes to the configure
> script to add those libraries for SCO Openserver and then tried to compile
> the programs only to run into another problem with the shadow stuff. It
> turns out that even though Openserver has a shadow file, the protected
> password database stuff seems to work fine in the current code but if you
> do not define DISABLE-SHADOW, conflicts arise... So I made another change
> to configure to DISABLE_SHADOW if HAVE_SCO_PROTECTED_PW is defined. I have
> tested this on Openserver 5.0.5 and 5.0.6. Here is the universal patch fo
> configure to allow it to work with openserver.
>
> --- configure Sun Nov 5 21:25:18 2000
> +++ /configure Thu Nov 9 14:18:21 2000
> @@ -1685,7 +1685,7 @@
> LDFLAGS="$LDFLAGS -L/usr/local/lib"
> MANTYPE='$(CATMAN)'
> mansubdir=cat
> - LIBS="$LIBS -lgen -lsocket -los -lprot -lx"
> + LIBS="$LIBS -lgen -lsocket -los -lprot -lx -ltinfo -lm"
> no_dev_ptmx=1
> RANLIB=true
> cat >> confdefs.h <<\EOF
> @@ -1703,11 +1703,12 @@
> LDFLAGS="$LDFLAGS -L/usr/local/lib"
> MANTYPE='$(CATMAN)'
> mansubdir=cat
> - LIBS="$LIBS -lgen -lsocket -lprot -lx"
> + LIBS="$LIBS -lgen -lsocket -lprot -lx -ltinfo -lm"
> no_dev_ptmx=1
> rsh_path="/usr/bin/rcmd"
> cat >> confdefs.h <<\EOF
> #define HAVE_SCO_PROTECTED_PW 1
> +#define DISABLE_SHADOW 1
> EOF
>
> ;;
>
> --
> Phillip P. Porch <root at sco.theporch.com> NIC:PP1573 finger for
> http://www.theporch.com UTM - 16 514546E 3994565N GnuPG key
>
>
More information about the openssh-unix-dev
mailing list