search for: no_libnsl

Displaying 19 results from an estimated 19 matches for "no_libnsl".

2001 Feb 17
2
Where is OpenSSH 2.5.0p1?
...VS tree, I see the two bugs I reported to this list some time ago (with no response) are still there. Below is a patch to fix them, please tell me if you see anything wrong with it. (I have tested it on Debian woody, appears to work fine so far.) One bug is only swapped tests for no_libsocket and no_libnsl. The other bug looks more serious to me - quote from glibc manual: *Warning:* Using the `openpty' function with NAME not set to `NULL' is *very dangerous* because it provides no protection against overflowing the string NAME. You should use the `ttyname' function o...
2000 Nov 10
0
Irix job limits patch
...ation of random number pool */ #undef RANDOM_POOL end --- configure.in Sun Nov 5 03:08:45 2000 +++ configure.in Wed Nov 8 10:26:57 2000 @@ -111,6 +111,7 @@ AC_DEFINE(WITH_IRIX_ARRAY) AC_DEFINE(WITH_IRIX_PROJECT) AC_DEFINE(WITH_IRIX_AUDIT) + AC_DEFINE(WITH_IRIX_JOBS) no_libsocket=1 no_libnsl=1 AC_DEFINE(BROKEN_INET_NTOA) end --- configure Sun Nov 5 21:25:18 2000 +++ configure Wed Nov 8 10:28:11 2000 @@ -1459,6 +1459,10 @@ #define WITH_IRIX_AUDIT 1 EOF + cat >> confdefs.h <<\EOF +#define WITH_IRIX_JOBS 1 +EOF + no_libsocket=1 no_libnsl=1 cat >> confdefs...
2001 Jan 07
0
Linux glibc 2.1 openpty() and /dev/ptmx
...is defined, this causes HAVE_DEV_PTMX to be undefined. Why? (There is a comment saying that pty allocated with _getpty gets broken, but that is no problem in this case, as the pty is allocated by opening /dev/ptmx and not _getpty.) One more (minor) thing I noticed: the tests for no_libsocket and no_libnsl in configure.in are swapped. Systems that define one define the other too so everything still worked right... if test -z "$no_libsocket" ; then AC_CHECK_LIB(nsl, yp_match, , ) fi if test -z "$no_libnsl" ; then AC_CHECK_LIB(socket, main, , ) fi Thanks, and keep up the good w...
2002 Apr 22
0
[Bug 224] New: configure.ac changes for crays
...x-dev at mindrot.org ReportedBy: wendyp at cray.com --- configure.ac.orig Mon Apr 22 14:31:27 2002 +++ configure.ac Mon Apr 22 14:32:48 2002 @@ -236,12 +236,29 @@ AC_CHECK_FUNCS(getluid setluid) MANTYPE=man ;; +*-*-unicosmk*) + no_libsocket=1 + no_libnsl=1 + not_sco=1 + MANTYPE=cat + AC_DEFINE(USE_PIPES) + AC_DEFINE(LOGIN_NEEDS_UTMPX) + AC_DEFINE(USE_UTMP) + AC_DEFINE(USE_WTMP) + LDFLAGS="$LDFLAGS -L/usr/local/lib" + LIBS="$LIBS -lshare -lgen -lrsc -luex -lacm" + ;; *-*-unic...
2002 Apr 22
0
[Bug 224] configure.ac changes for crays
...hat last patch. try this instead (with 22 april snapshot): --- configure.ac.orig Mon Apr 22 14:31:27 2002 +++ configure.ac Mon Apr 22 14:32:48 2002 @@ -236,12 +236,29 @@ AC_CHECK_FUNCS(getluid setluid) MANTYPE=man ;; +*-*-unicosmk*) + no_libsocket=1 + no_libnsl=1 + not_sco=1 + MANTYPE=cat + AC_DEFINE(USE_PIPES) + AC_DEFINE(LOGIN_NEEDS_UTMPX) + AC_DEFINE(USE_UTMP) + AC_DEFINE(USE_WTMP) + LDFLAGS="$LDFLAGS" + LIBS="$LIBS -lshare -lgen -lrsc -luex -lacm" + ;; *-*-unicos*) no_l...
2001 Sep 29
0
configure.in fixes for 2.9.9p2
configure.in patches for 2.9.9p2: 1. Allow --with-pcre to take a path specifying the root of the PCRE install (ROOT/include, ROOT/lib) 2. Ditto for --with-zlib 3. $no_libnsl and $no_libsocket can be determined programmatically 4. Check for innetgr, getspnam, and util in the default $LIBS before checking in -lrpc, -lgen, and -lutil, respectively 5. dirname() is in -lgen on some systems (Solaris 2.5.1, IRIX) -- albert chin (china at thewrittenword.com) -- sni...
2000 Dec 01
3
two irix patches
...return dst; Next, we need some sort of mansubdir: --- openssh-SNAP-20001129.orig/configure.in Tue Nov 28 21:28:50 2000 +++ openssh-SNAP-20001129/configure.in Thu Nov 30 13:42:55 2000 @@ -119,6 +120,7 @@ no_libsocket=1 no_libnsl=1 AC_DEFINE(BROKEN_INET_NTOA) + mansubdir=man ;; *-*-linux*) no_dev_ptmx=1 -- Mike Stone
2001 Aug 02
3
Cray patch against openssh-SNAP-20010802
Significant changes since last patch. Deleted patches to packet.c and channel.c - not needed. Add small patch to sshd.c and openbsd/ssh-cray.c to disable cray process privileges. Depending on how a cray unicos/unicosmk system is configured user could su to root without a password with out this mod. Add no_sco flag to noop check for -lrpc which assumes that their was a -lyp library.
2001 Mar 14
3
OpenSSH 2.3.0p1: HP-UX 11.00 64-bit
I have encountered a problem with using OpenSSH 2.3.0p1 on 64-bit HP-UX 11.00 systems. This bug does not exhibit itself on any 32-bit HP-UX 11.00 or HP-UX 10.20 systems that I have built 2.3.0p1 on. OpenSSH 2.3.0p1 was built with HPs ANSI C compiler with OpenSSL 0.9.6 and zlib 1.1.3. The problem is with the call to vhangup(2) in sshd when interactive sessions are started. The problem does not
2001 Sep 06
0
line_abbrevname patch
...re.in Wed Sep 5 19:13:06 2001 @@ -111,6 +111,7 @@ AC_DEFINE(WITH_IRIX_ARRAY) AC_DEFINE(WITH_IRIX_PROJECT) AC_DEFINE(WITH_IRIX_AUDIT) + AC_DEFINE(WITH_NO_TTY_IN_UTMP_ID) AC_CHECK_FUNC(jlimit_startjob, [AC_DEFINE(WITH_IRIX_JOBS)]) no_libsocket=1 no_libnsl=1 --- openssh-2.9p2.orig/loginrec.c Tue May 8 20:34:33 2001 +++ openssh-2.9p2/loginrec.c Wed Sep 5 19:09:00 2001 @@ -563,6 +563,11 @@ if (strncmp(src, "/dev/", 5) == 0) src += 5; +#ifdef WITH_NO_TTY_IN_UTMP_ID + if (strncmp(src, "tty", 3...
2000 Jun 21
0
IRIX patches
...0 *************** *** 89,94 **** --- 89,97 ---- LDFLAGS="$LDFLAGS" MANTYPE='$(CATMAN)' AC_MSG_WARN([*** Irix 6.x is not tested, please report you experiences *** ]) + AC_DEFINE(WITH_ARRAY) + AC_DEFINE(WITH_IRIX_PROJECT) + AC_DEFINE(WITH_IRIX_AUDIT) no_libsocket=1 no_libnsl=1 ;; *** openssh-2.1.1p1.orig/config.h.in Fri Jun 09 06:56:25 EDT 2000 --- openssh-2.1.1p1/config.h.in Wed Jun 21 14:17:02 EDT 2000 *************** *** 15,20 **** --- 15,29 ---- /* Define if you want to enable AIX4's authenticate function */ #undef WITH_AIXAUTHENTICATE + /* Define if...
2001 Feb 07
2
Patch for unformatted manpages
...TMP) AC_DEFINE(SPT_TYPE,SPT_PSTAT) LIBS="$LIBS -lsec" - MANTYPE='$(CATMAN)' - mansubdir=cat ;; *-*-irix5*) CPPFLAGS="$CPPFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS" PATH="$PATH:/usr/etc" - MANTYPE='$(CATMAN)' no_libsocket=1 no_libnsl=1 AC_DEFINE(BROKEN_INET_NTOA) @@ -108,7 +99,6 @@ CPPFLAGS="$CPPFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS" PATH="$PATH:/usr/etc" - MANTYPE='$(CATMAN)' AC_DEFINE(WITH_IRIX_ARRAY) AC_DEFINE(WITH_IRIX_PROJECT) AC_DEFINE(WITH_IRIX_AUDIT) @@ -116,7...
2000 Jan 05
3
openssh-1.2.1pre24 on SCO
Yo All! Sorry if this is obvious but I am new to openssh. I have used the original ssh for a while and am familiar with it (and it's restrictive license). I am trying to port openssh-1.2.1pre24 on to SCO UnixWare 7.1.0. I will post the small patches when it is really running. Two problems, SCO has no /dev/random so I installed egd-0.6. It usually works but sometimes dies. I have sent
2001 May 21
1
2.9p1 patches
...m4 and then you should use aclocal to generate aclocal.m4 from acinclude.m4. acinclude.m4 4. A better --with-pcre and --with-zlib configure test. configure.in Some comments regarding your code in configure.in: 1. Hardcoding the need for -lsocket and -lnsl via $no_libsocket and $no_libnslis gross. Doing this means you don't know how to write a proper autoconf test to determine if these two libraries are needed. The solution is not to hack in the value with a case statement but to figure out the proper autoconf way of solving the problem, independent of t...
2001 Feb 13
1
configure.in reorder patch
...opts.h sys/sysmacros.h sys/time.h sys/ttcompat.h sys/un.h stdarg.h stddef.h time.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h) + +saved_LIBS="$LIBS" # Checks for libraries. -if test -z "$no_libsocket" ; then - AC_CHECK_LIB(nsl, yp_match, , ) -fi if test -z "$no_libnsl" ; then - AC_CHECK_LIB(socket, main, , ) + AC_CHECK_LIB(nsl, yp_match, LIBS="$LIBS -lnsl") fi +if test -z "$no_libsocket" ; then + AC_CHECK_LIB(socket, main, + [ + if test "$saved_LIBS" = "$LIBS" ; then + LIBS="$LIBS -lsocket" + else +...
2001 Oct 07
3
Using -lssh as shared library
...LAGS) $(AUTH_LIBS) $(LIBS) diff -rNu1 openssh-2.9.9p2.orig/configure.in openssh-2.9.9p2/configure.in --- openssh-2.9.9p2.orig/configure.in Wed Sep 26 02:39:38 2001 +++ openssh-2.9.9p2/configure.in Mon Oct 8 02:15:29 2001 @@ -337,2 +337,3 @@ # Checks for libraries. +AUTH_LIBS= if test -z "$no_libnsl" ; then @@ -344,8 +345,5 @@ -dnl SCO OS3 needs this for libwrap -AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc) - -AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen") AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first or...
2000 Nov 14
14
New snapshot
I have just uploaded a new snapshot to: http://www.mindrot.org/misc/openssh/openssh-SNAP-20001114.tar.gz This snapshot includes Markus Friedl's new SSH2 RSA authentication work and -R portforwarding for SSH2. Please give these a good test. The new RSA authentications works similar to the current SSH2 DSA keys, but requires a little modification to config files. Currently RSA key cannot be
2000 Aug 26
0
New chroot patch, for 2.1.1p4
...test -s conftest${ac_exeext}; then +if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1677,7 +1679,7 @@ fi if test -z "$no_libnsl" ; then echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 -echo "configure:1681: checking for main in -lsocket" >&5 +echo "configure:1683: checking for main in -lsocket" >&5 ac_lib_var=`echo socket'_'main | sed ...
2000 Oct 04
0
2.2.0p1 chroot patch
...test -s conftest${ac_exeext}; then +if { (eval echo configure:1721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1745,7 +1747,7 @@ fi if test -z "$no_libnsl" ; then echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 -echo "configure:1749: checking for main in -lsocket" >&5 +echo "configure:1751: checking for main in -lsocket" >&5 ac_lib_var=`echo socket'_'main | sed ...