search for: have_paths_h

Displaying 17 results from an estimated 17 matches for "have_paths_h".

1999 Nov 19
0
[openssh-1.2pre13] patch for solaris 7 ...
...for: 1. the fact that solaris 7 has no u_int32_t/u_int16_t defined, but they do define uint32_t/uint16_t...this chances the define in config.h.in, which doesn't work, to a properly configure test, and define in config.h.in 2. fixes a bug in config.h.in where paths.h is included, yet HAVE_PATHS_H is undefined 3. fixes a bug in bsd-daemon.c where paths.h is included, yet HAVE_PATHS_H is undefined 4. add config.h to bsd-login.h, which is required to define UTMP_PATH 5. adds a define for _PATH_DEVNULL to be /dev/null, since Solaris doesn't define that path *anywhere* ... Thsi...
2002 Nov 22
1
proposed change to configure
...ecks the paths.h file for the definition of _PATH_STDPATH On IRIX the define is named _PATH_USERPATH The following patch to configure allows the correct value to be obtained --- configure.orig Wed Jun 26 07:08:18 2002 +++ configure Fri Nov 22 10:38:57 2002 @@ -15705,8 +15713,12 @@ #ifdef HAVE_PATHS_H # include <paths.h> #endif +#ifdef _PATH_USERPATH +# define _PATH_STDPATH _PATH_USERPATH +#else #ifndef _PATH_STDPATH # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" +#endif #endif #include <sys/types.h> #include <sys/stat.h> -- ==========================...
2007 May 31
3
[Bug 1243] Multiple including of paths.h on AIX 5.1 systems.
...t hotmail.com --- Comment #2 from Kieron Curtis <cartmanltd at hotmail.com> 2007-05-31 17:08:35 --- PATCH #1243: I believe this bug is due to a typo in the "includes.h" file. Line 52 of includes.h checks for definition of macro HAVE_PATHS when it should in fact be checking for HAVE_PATHS_H No-where else in the source is any reference made to the the errant name, only the latter. Using the errant name causes the compiler to execute the wrong order of include files and macro definitions. Errant code in includes.h: ... #ifdef HAVE_PATHS # include <paths.h> #endif...
1999 Dec 21
0
Problem with UTMP recording
...> header file. */ /* #undef HAVE_LOGIN_H */ /* Define if you have the <maillock.h> header file. */ /* #undef HAVE_MAILLOCK_H */ /* Define if you have the <netgroup.h> header file. */ /* #undef HAVE_NETGROUP_H */ /* Define if you have the <paths.h> header file. */ #define HAVE_PATHS_H 1 /* Define if you have the <poll.h> header file. */ /* #undef HAVE_POLL_H */ /* Define if you have the <pty.h> header file. */ /* #undef HAVE_PTY_H */ /* Define if you have the <shadow.h> header file. */ #define HAVE_SHADOW_H 1 /* Define if you have the <sys/poll.h>...
1999 Nov 19
1
[solaris 7 patch] resubmit and extended ...
Okay, everything as the first large one I sent today, with a few extra mods. _PATH_MAILDIR is only used in sshd.c, that I can see, so moved the #ifdef from config.h.in to there. several files had __progname defined in the middle of the code, as well as at the top of the code, so cleaned those out. all the fixes for u_int32_t -> uint32_t and u_int16_t -> uint16_t, plus added appropriate
2003 Mar 24
0
[Bug 518] _PATH_STDPATH can get redefined in includes.h if paths.h exists
...Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: rvz at lucent.com In versions of openssh 3.2.3p1 and later, the defines.h file was modified and the following was added: #ifdef HAVE_PATHS_H # include <paths.h> /* For _PATH_XXX */ #endif Unfortunately the above comes after the inclusion of defines.h (through config.h) which sets _PATH_STDPATH to USER_PATH if it has been defined in the configure file. The result of which resets _PATH_STDPATH back to the system default and not w...
2006 Oct 02
1
[Bug 1243] Multiple including of paths.h on AIX 5.1 systems.
...e following c files: ./auth.c ./clientloop.c ./loginrec.c ./misc.c ./monitor.c ./readpass.c ./session.c ./sftp.c ./ssh-agent.c ./ssh-keygen.c ./ssh-keysign.c ./ssh.c ./sshconnect.c ./sshd.c ./sshpty.c Removing the following code fragment from the c files allows OpenSSH to compile on AIX: #ifdef HAVE_PATHS_H # include <paths.h> #endif For reference, here is a compile time error message: xlc -O2 -I. -I. -I/usr/local/encap/zlib-1.1.4/include -I/usr/local/encap/openssl-0.9.7l/include -I/usr/local/encap/tcp_wrappers-7.6+6/include -DSSHDIR=\"/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/...
2012 May 09
1
warning from configuring openssh-6.0p1
...VE_RLIMIT_NPROC /**/ | #define HAVE_ATTRIBUTE__NONNULL__ 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_ENDIAN_H 1 | #define HAVE_FEATURES_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_GLOB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_POLL_H 1 | #define HAVE_PTY_H 1 | #define HAVE_RPC_TYPES_H 1 | #define HAVE_SECURITY_PAM_APPL_H 1 | #define HAVE_SHADOW_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_BITYPES_H 1 | #define HAVE_SYS_CDE...
2010 Mar 06
7
[Bug 1732] New: Proper utmpx support for FreeBSD HEAD
https://bugzilla.mindrot.org/show_bug.cgi?id=1732 Summary: Proper utmpx support for FreeBSD HEAD Product: Portable OpenSSH Version: 5.4p1 Platform: Other OS/Version: FreeBSD Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org ReportedBy: ed
2009 Apr 08
3
libedit not found on SUse 11.1
Included below is a diff between the output from configure on a 64 bit SUse 11.1 (doesn't find libedit) and a 64 bit Suse 10.3 (does find libedit) for otherwise identical setups. 1. How can I get the output set up to look at conftest.c? 2. I added a set -x to configure above LIBEDIT_MSG=no 3. ./configure --with-ldflags="-L/usr/lib64" --with-cflags="-ggdb3
1999 Nov 23
2
Fixes for Solaris
.../* ******************* Shouldn't need to edit below this line ************** */ -# include <sys/types.h> /* For u_intXX_t */ -# include <sys/socket.h> /* For SHUT_XXXX */ +#include <sys/types.h> /* For u_intXX_t */ +#include <sys/socket.h> /* For SHUT_XXXX */ #ifdef HAVE_PATHS_H # include <paths.h> /* For _PATH_XXX */ #endif +#ifdef HAVE_UTMP_H +# include <utmp.h> /* For _PATH_XXX */ +#endif + #ifdef HAVE_SYS_TIME_H # include <sys/time.h> /* For timersub */ #endif +#ifdef HAVE_MAILLOCK_H +#include <maillock.h> +#endif + #ifndef SHUT_RDWR...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...undef HAVE_NETGROUP_H */ #define HAVE_NETINET_IN_SYSTM_H 1 /* #undef HAVE_NGETADDRINFO */ /* #undef HAVE_NSLEEP */ /* #undef HAVE_OGETADDRINFO */ /* #undef HAVE_OPENLOG_R */ #define HAVE_OPENPTY 1 /* #undef HAVE_PAM_GETENVLIST */ /* #undef HAVE_PAM_PAM_APPL_H */ /* #undef HAVE_PAM_PUTENV */ #define HAVE_PATHS_H 1 #define HAVE_PRCTL 1 /* #undef HAVE_PSTAT */ #define HAVE_PTY_H 1 #define HAVE_PUTUTLINE 1 #define HAVE_PUTUTXLINE 1 /* #undef HAVE_READPASSPHRASE */ /* #undef HAVE_READPASSPHRASE_H */ #define HAVE_REALPATH 1 #define HAVE_RECVMSG 1 #define HAVE_RPC_TYPES_H 1 #define HAVE_RRESVPORT_AF 1 /* #undef...
2000 Jul 08
1
sshd Pam problem for Redhat 6.2
...each function it appears in.) configure:5817: warning: unused variable `lastlog' configure: failed program was: #line 5805 "configure" #include "confdefs.h" #include <sys/types.h> #include <utmp.h> #ifdef HAVE_LASTLOG_H # include <lastlog.h> #endif #ifdef HAVE_PATHS_H # include <paths.h> #endif int main() { char *lastlog = LASTLOG_FILE; ; return 0; } configure:5831: checking if your system defines _PATH_LASTLOG configure:5849: gcc -c -g -O2 -Wall -I/usr/local/ssl/include conftest.c 1>&5 configure: In function `main': configure:5845: warnin...
2001 Jul 16
0
No subject
...ot; is not declared. (undeclared) char *lastlog = LASTLOG_FILE; -----------------^ configure: failed program was: #line 8340 "configure" #include "confdefs.h" #include <sys/types.h> #include <utmp.h> #ifdef HAVE_LASTLOG_H # include <lastlog.h> #endif #ifdef HAVE_PATHS_H # include <paths.h> #endif int main() { char *lastlog = LASTLOG_FILE; ; return 0; } configure:8366: checking if your system defines _PATH_LASTLOG configure:8384: cc -c -g -I/usr/local/ssl/include conftest.c 1>&5 cc: Error: configure, line 8380: In the initializer for lastlog, &qu...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...HAVE_LOGIN 1 #define HAVE_LOGOUT 1 #define HAVE_LOGWTMP 1 #define HAVE_LONG_DOUBLE 1 #define HAVE_LONG_LONG 1 #define HAVE_MEMMOVE 1 #define HAVE_MKDTEMP 1 #define HAVE_MMAP 1 #define HAVE_MODE_T 1 #define HAVE_NANOSLEEP 1 #define HAVE_NETDB_H 1 #define HAVE_OPENPTY 1 #define HAVE_OPENSSL 1 #define HAVE_PATHS_H 1 #define HAVE_PID_IN_UTMP 1 #define HAVE_PID_T 1 #define HAVE_PROC_PID 1 #define HAVE_PTY_H 1 #define HAVE_PUTUTLINE 1 #define HAVE_PUTUTXLINE 1 #define HAVE_REALPATH 1 #define HAVE_RECVMSG 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SENDMSG 1 #define HAVE_SETDTABLESIZE 1 #define HAVE_SETEGID 1 #def...
2012 Mar 11
2
[patch] Threading support in ssh-agent
...01 Markus Friedl. All rights reserved. * + * Threading support by Alexander Alekseev <alex at alemate.ru> + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -58,6 +60,9 @@ #ifdef HAVE_PATHS_H # include <paths.h> #endif +#ifdef HAVE_LIBPTHREAD +#include "ssh-openssl-thread-locking.h" +#endif #include <signal.h> #include <stdarg.h> #include <stdio.h> @@ -88,6 +93,9 @@ AUTH_UNUSED, AUTH_SOCKET, AUTH_CONNECTION +#ifdef HAVE_LIBPTHREAD + , AUTH...
2010 Jan 14
1
ssh(1) multiplexing rewrite
...l.h> +#else +# ifdef HAVE_SYS_POLL_H +# include <sys/poll.h> +# endif +#endif #include <signal.h> #include <stdarg.h> #include <stddef.h> @@ -51,6 +57,7 @@ #include <stdio.h> #include <string.h> #include <unistd.h> +#include <util.h> #ifdef HAVE_PATHS_H #include <paths.h> #endif @@ -64,6 +71,7 @@ #endif #include "openbsd-compat/sys-queue.h" +#include "atomicio.h" #include "xmalloc.h" #include "log.h" #include "ssh.h" @@ -88,13 +96,14 @@ extern int stdin_null_flag; extern char *host;...