I finally got around to looking at a bunch of patchs to configure.in, some of them from back in March. One from Carson Gaspar <carson at taltos.org> looked promissing at first glance but after many hours I just couldn't get it to work. Due to much demand, I have added optional PATH to --with-pcre, --with-zlib, and --with-tcp-wrappers. I have done extensive testin on --with-zlib, and --with-tcp-wrappers. Please test --with-pcre. (I don't use it here) I have added a test for broken dirname() on Solaris 2.5.1 by Dan Astoorian <djast at cs.toronto.edu>. Dan please test. I've added a better socklen_t test by albert chin (china at thewrittenword.com) (This is cool. Thanks Albert) Do a tail on config.h after running configure and make sure it does the right thing on your platform. The changes are in CVS now. A new SNAP should show up shortly. These changes were tested on the following platforms SCO Open Server 3 w/gcc SCO Open Server 5.0.4 w/ native compilers SCO Open Server 5.0.6 w/ gcc UnixWare 2.03 w/ native compilers UnixWare 2.1.3 w/ native compilers UnixWare 7.1.1 w/ native compilers Solaris 7 w/gcc Solaris 8 w/gcc RedHat 6.2 Caldera eDesktop 2.4 Caldera eServer 2.3.1 Caldera OpenLinux Workstation 3.1 Caldera OpenLinux Server 3.1 Let me know if there are any problems with the changes. (I expect things will be fine on other platforms as well) -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
On Sun, Oct 21, 2001 at 06:24:49PM -0700, Tim Rice wrote: ...> I have added a test for broken dirname() on Solaris 2.5.1 by > Dan Astoorian <djast at cs.toronto.edu>. Dan please test.I tested it and found 3 problems: 1. -lgen was not being passed to the test program. 2. the wrong variable $ac_cv_have_getopt_optreset was being tested, should have been ac_cv_have_broken_dirname 3. Can't define HAVE_LIBGEN_H because openbsd-compat/dirname.h defines the parameter with "const" but Solaris 2.5.1 libgen.h defines it without. Patch is below. I tested on Solaris 2.5.1 where it properly detected the broken dirname and on Irix 6.2 where it found a working dirname in -lgen. - Dave Dykstra --- configure.in.O Tue Oct 23 12:57:41 2001 +++ configure.in Tue Oct 23 13:49:48 2001 @@ -430,7 +430,7 @@ # Checks for header files. AC_CHECK_HEADERS(bstring.h crypt.h endian.h floatingpoint.h \ - getopt.h glob.h lastlog.h libgen.h limits.h login.h \ + getopt.h glob.h lastlog.h limits.h login.h \ login_cap.h maillock.h netdb.h netgroup.h \ netinet/in_systm.h paths.h poll.h pty.h regex.h \ security/pam_appl.h shadow.h stddef.h stdint.h \ @@ -584,6 +584,8 @@ AC_CHECK_LIB(gen, dirname,[ AC_CACHE_CHECK([for broken dirname], ac_cv_have_broken_dirname, [ + save_LIBS="$LIBS" + LIBS="$LIBS -lgen" AC_TRY_RUN( [ #include <libgen.h> @@ -604,10 +606,12 @@ [ ac_cv_have_broken_dirname="no" ], [ ac_cv_have_broken_dirname="yes" ] ) + LIBS="$save_LIBS" ]) - if test "x$ac_cv_have_getopt_optreset" = "xno" ; then + if test "x$ac_cv_have_broken_dirname" = "xno" ; then LIBS="$LIBS -lgen" AC_DEFINE(HAVE_DIRNAME) + AC_CHECK_HEADERS(libgen.h) fi ]) ])
Any help is appreciated. Thanks Manoj -----Original Message----- From: owner-openssh-unix-dev at mindrot.org [mailto:owner-openssh-unix-dev at mindrot.org]On Behalf Of Manoj Jaitly Sent: Monday, October 29, 2001 1:43 PM To: Carson Gaspar; openssh-unix-dev at mindrot.org Subject: Need openSSH for vxWorks Hi Developers I need a vxWorks port for openSSH. Can you send me some info on this topic. WHere can I download it? If it is not available, then which is the best version to start porting and what all I need to port along with openssh? I mean do I need openssl and some other libratries too? Appreciate help. Regards Manoj
Seemingly Similar Threads
- Solaris 2.5.1 dirname() bug in libgen.a affects OpenSSH2.9.9p2 auth.c
- [Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)
- basename() in libgen
- R-beta: Problem with functions using sub and gsub
- [Bug 531] Conflicting basename() on Irix