Darren Tucker
c495301bf8
- (dtucker) [configure.ac md-sha256.c] NetBSD has sha2.h in
...
/usr/include/crypto. Hint from djm@.
2006-03-16 08:14:34 +11:00
Darren Tucker
8bb9e2c900
- (dtucker) [configure.ac] login_cap.h requires sys/types.h on NetBSD.
2006-03-15 22:28:17 +11:00
Darren Tucker
486d95e6f7
- (dtucker) [configure.ac] Fix glob test conversion to AC_TRY_COMPILE
2006-03-15 21:31:39 +11:00
Damien Miller
41e364bcfa
- (djm) [md-sha256.c configure.ac] md-sha256.c needs sha2.h if present
2006-03-15 13:12:41 +11:00
Damien Miller
af87af165f
- (djm) [configure.ac defines.h kex.c md-sha256.c]
...
[openbsd-compat/sha2.h openbsd-compat/openbsd-compat.h]
[openbsd-compat/sha2.c] First stab at portability glue for SHA256
KEX support, should work with libc SHA256 support or OpenSSL
EVP_sha256 if present
2006-03-15 13:02:28 +11:00
Darren Tucker
d1450dbe2a
- (dtucker) [configure.ac] Bug #1171 : Don't use printf("%lld", longlong)
...
since not all platforms support it. Instead, use internal equivalent while
computing LLONG_MIN and LLONG_MAX. Remove special case for alpha-dec-osf*
as it's no longer required. Tested by Bernhard Simon, ok djm@
2006-03-13 19:06:51 +11:00
Darren Tucker
54b75fe742
- (dtucker) [configure.ac] Bug #1156 : QNX apparently needs SSHD_ACQUIRES_CTTY
...
patch from kraai at ftbfs.org.
2006-02-26 12:31:48 +11:00
Darren Tucker
fabdb6c290
- (dtucker) [INSTALL configure.ac openbsd-compat/openssl-compat.{c,h}]
...
Add optional enabling of OpenSSL's (hardware) Engine support, via
configure --with-ssl-engine. Based in part on a diff by michal at
logix.cz.
2006-02-20 20:17:35 +11:00
Darren Tucker
4881c371ce
- (dtucker) [Makefile.in configure.ac, added openbsd-compat/regress/]
...
Add first attempt at regress tests for compat library. ok djm@
2006-02-19 22:50:20 +11:00
Tim Rice
2f993465d4
- (tim) [configure.ac] Bug #1149 . Disable /etc/default/login check for QNX.
2006-02-11 18:37:48 -08:00
Darren Tucker
988b3fd161
- (dtucker) [configure.ac] Typo in Ultrix and NewsOS sections (NEED_SETPRGP
...
-> NEED_SETPGRP), reported by Berhard Simon. ok tim@
2006-02-08 22:11:27 +11:00
Tim Rice
ac9b0609e1
- (tim) [configure.ac] Remove unnecessary tests for net/if.h and
...
netinet/in_systm.h. OK dtucker@.
2006-02-05 11:27:10 -08:00
Tim Rice
70335a6b5f
- (tim) [configure.ac] Bug #1149 . Changes in QNX section only. Patch by
...
kraai at ftbfs.org.
2006-02-04 17:42:58 -08:00
Tim Rice
0daad78fab
- (tim) [configure.ac] Add AC_REVISION. Add sys/time.h to lastlog.h test
...
for Solaris. OK dtucker@.
2006-02-04 17:33:55 -08:00
Tim Rice
fd80ddcb23
- (tim) [configure.ac] test for egrep (AC_PROG_EGREP) before first
...
AC_CHECK_HEADERS test. Without it, if AC_CHECK_HEADERS is first run
by a platform specific check, builtin standard includes tests will be
skipped on the other platforms.
Analysis and suggestion by vinschen at redhat.com, patch by dtucker@.
OK tim@, djm@.
2006-02-02 19:11:56 -08:00
Darren Tucker
cc7c212830
- (dtucker) [configure.ac] Bug #1148 : Fix "crippled AES" test so that it
...
works with picky compilers. Patch from alex.kiernan at thus.net.
2006-02-02 18:44:19 +11:00
Darren Tucker
fbea76400f
- (dtucker) [configure.ac opensshd.init.in] Bug #1144 : Use /bin/sh for the
...
opensshd.init script interpretter if /sbin/sh does not exist. ok tim@
2006-01-30 00:22:39 +11:00
Damien Miller
bd4e410817
- (djm) [configure.ac] Fix linux/if_tun.h test
2006-01-01 21:03:30 +11:00
Damien Miller
2dcddbfaf6
- (djm) [Makefile.in configure.ac includes.h misc.c]
...
[openbsd-compat/port-tun.c openbsd-compat/port-tun.h] Add support
for tunnel forwarding for FreeBSD and NetBSD. NetBSD's support is
limited to IPv4 tunnels only, and most versions don't support the
tap(4) device at all.
2006-01-01 19:47:05 +11:00
Damien Miller
c4bcc91751
- (djm) [configure.ac] oops, make that linux/if_tun.h
2005-12-31 17:05:58 +11:00
Damien Miller
89e03bae5c
- (djm) [configure.ac] Disable Linux tun(4) compat code if linux/tun.h does
...
not exist
2005-12-31 16:42:03 +11:00
Damien Miller
598bbc2d8f
- (djm) [openbsd-compat/port-tun.c openbsd-compat/port-tun.h configure.ac]
...
[serverloop.c ssh.c openbsd-compat/Makefile.in]
[openbsd-compat/openbsd-compat.h] Implement tun(4) forwarding
compatability support for Linux, diff from reyk@
2005-12-31 16:33:36 +11:00
Darren Tucker
129d0bb6a6
- (dtucker) [cipher-aes.c cipher-ctr.c cipher.c configure.ac
...
openbsd-compat/openssl-compat.h] Check for and work around broken AES
ciphers >128bit on (some) Solaris 10 systems. ok djm@
2005-12-19 17:40:40 +11:00
Darren Tucker
d40c66cf3f
- (dtucker) [configure.ac openbsd-compat/bsd-snprintf.c] Bug #1133 : Our
...
snprintf replacement can have a conflicting declaration in HP-UX's system
headers (const vs. no const) so we now check for and work around it. Patch
from the dynamic duo of David Leonard and Ted Percival.
2005-12-17 22:32:03 +11:00
Damien Miller
62a31c9fd0
- (djm) [misc.c] Disable tunnel code for non-OpenBSD (for now), enable
...
again by providing a sys_tun_open() function for your platform and
setting the CUSTOM_SYS_TUN_OPEN define. More work is required to match
OpenBSD's tunnel protocol, which prepends the address family to the
packet
2005-12-13 20:44:13 +11:00
Damien Miller
7b58e80036
- reyk@cvs.openbsd.org 2005/12/08 18:34:11
...
[auth-options.c includes.h misc.c misc.h readconf.c servconf.c]
[serverloop.c ssh.c ssh_config.5 sshd_config.5 configure.ac]
two changes to the new ssh tunnel support. this breaks compatibility
with the initial commit but is required for a portable approach.
- make the tunnel id u_int and platform friendly, use predefined types.
- support configuration of layer 2 (ethernet) or layer 3
(point-to-point, default) modes. configuration is done using the
Tunnel (yes|point-to-point|ethernet|no) option is ssh_config(5) and
restricted by the PermitTunnel (yes|point-to-point|ethernet|no) option
in sshd_config(5).
ok djm@, man page bits by jmc@
2005-12-13 19:33:19 +11:00
Tim Rice
46259d86a2
- (tim) [configure.ac sshd.8] Enable locked account check (a "*LK*" string)
...
for UnixWare.
2005-11-28 18:40:34 -08:00
Darren Tucker
91d25a0c45
- (dtucker) [configure.ac] Bug #1126 : AIX 5.2 and 5.3 (and presumably newer,
...
when they're available) need the real UID set otherwise pam_chauthtok will
set ADMCHG after changing the password, forcing the user to change it
again immediately.
2005-11-26 22:24:09 +11:00
Darren Tucker
58e298d11b
- (dtucker) [configure.ac] Apply tim's fix for older systems where the
...
resolver state in resolv.h is "state" not "__res_state". With slight
modification by me to also work on old AIXes. ok djm@
2005-11-25 13:14:58 +11:00
Darren Tucker
79d09fad52
- (dtucker) [configure.ac] Fix typos in comments and AC_SEARCH_LIB argument
...
order in Reliant Unix block. Patch from johane at lysator.liu.se.
2005-11-24 22:34:54 +11:00
Damien Miller
57f3915b55
- (djm) [configure.ac openbsd-compat/Makefile.in openbsd-compat/bsd-asprintf.c
...
openbsd-compat/bsd-snprintf.c openbsd-compat/openbsd-compat.h] Add an
asprintf() implementation, after syncing our {v,}snprintf() implementation
with some extra fixes from Samba's version. With help and debugging from
dtucker and tim; ok dtucker@
2005-11-24 19:58:19 +11:00
Darren Tucker
5bfe1687dd
- (dtucker) [configure.ac] Remove duplicate utimes() check. ok djm@
2005-11-12 18:42:36 +11:00
Darren Tucker
3f9545ee67
- (dtucker) [configure.ac] Use "$AWK" instead of "awk" in gcc version test.
2005-11-12 15:20:52 +11:00
Darren Tucker
f032435de7
- (dtucker) [configure.ac] Try to get the gcc version number in a way that
...
doesn't change between versions, and use a safer default.
2005-11-10 21:30:36 +11:00
Darren Tucker
b0288098c9
- (dtucker) [configure.ac] Disable pointer-sign warnings on gcc 4.0+
...
since they're not useful right now. Patch from djm@.
2005-11-10 14:46:48 +11:00
Darren Tucker
537f1ed7df
- (dtucker) [configure.ac] Relocate LLONG_MAX calculation to after the
...
sizeof(long long) checks, to make fixing bug #1104 easier (no changes
yet).
2005-10-25 18:38:33 +10:00
Darren Tucker
314d89e050
- (dtucker) [configure.ac] Bug #1097 : Fix configure for cross-compiling.
...
/etc/default/login report and testing from aabaker at iee.org, corrections
from tim@.
2005-10-17 23:29:23 +10:00
Darren Tucker
9ac1a65acb
- (dtucker) [configure.ac defines.h openbsd-compat/vis.{c,h}] Sync current
...
versions from OpenBSD. ok djm@
2005-10-09 11:40:03 +10:00
Damien Miller
e04ec6fdfd
- (djm) [configure.ac] missing 'test' call for -with-Werror test
2005-10-08 16:21:19 +10:00
Darren Tucker
1e6616bb14
- (dtucker) [configure.ac] Bug #1098 : define $MAIL for HP-UX; report from
...
brian.smith at agilent com.
2005-10-08 12:07:01 +10:00
Darren Tucker
ac7e630b85
typo
2005-10-06 01:39:58 +10:00
Darren Tucker
b18f15100a
- (dtucker) [configure.ac sshd.8] Enable locked account check (a prepended
...
"*LOCKED*" string) for FreeBSD. Patch jeremie at le-hen.org and
senthilkumar_sen at hotpop.com.
2005-10-05 23:02:16 +10:00
Darren Tucker
82171c6607
- (dtucker) [configure.ac] Fix help for --with-opensc; patch from skeleten at
...
shillest.net.
2005-09-22 20:19:54 +10:00
Darren Tucker
c373a56343
- (dtucker) [configure.ac] Use -R linker flag for libedit too; patch from
...
skeleten at shillest.net.
2005-09-22 20:15:08 +10:00
Tim Rice
7df8d39a5f
- (tim) [aclocal.m4 configure.ac] Delete acconfig.h and add templates to
...
AC_DEFINE and AC_DEFINE_UNQUOTED to quiet autoconf 2.59 warning messages.
2005-09-19 09:33:39 -07:00
Tim Rice
fd9e9e3ba6
- (tim) [configure.ac] Bug 1078. Fix --without-kerberos5. Reported by
...
Mike Frysinger.
2005-09-12 17:36:10 -07:00
Tim Rice
66fd217e8e
- (tim) [configure.ac auth.c defines.h session.c openbsd-compat/port-uw.c
...
openbsd-compat/port-uw.h openbsd-compat/xcrypt.c] libiaf cleanup. Disable
libiaf bits for OpenServer6. Free memory allocated by ia_get_logpwd().
Feedback and OK dtucker@
2005-08-31 09:59:49 -07:00
Tim Rice
eb456545fd
- (tim) [configure.ac] Back out last change. It needs to be done differently.
2005-08-30 07:12:02 -07:00
Tim Rice
2016865b95
- (tim) [configure.ac] ia_openinfo() seems broken on OSR6. Limit UW long
...
password support to 7.x for now.
2005-08-29 17:17:37 -07:00
Tim Rice
2291c00ab2
- (tim) [CREDITS LICENCE auth.c configure.ac defines.h includes.h session.c
...
openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h
openbsd-compat/xcrypt.c] New files [openssh/openbsd-compat/port-uw.c
openssh/openbsd-compat/port-uw.h] Support long passwords (> 8-char)
on UnixWare 7 from Dhiraj Gulati and Ahsan Rashid. Cleanup and testing
by tim@. Feedback and OK dtucker@
2005-08-26 13:15:19 -07:00
Tim Rice
3db1e3fc68
- (tim) [configure.ac ] Not all gcc's support -Wsign-compare
2005-08-23 17:11:26 -07:00
Darren Tucker
93e7e8f345
- (dtucker) [configure.ac defines.h includes.h sftp.c] Add support for
...
LynxOS, patch from Olli Savia (ops at iki.fi). ok djm@
2005-08-23 08:06:55 +10:00
Tim Rice
c1819c831f
- (tim) [configure.ac] corrections to libedit tests. Report and patches
...
by skeleten AT shillest.net
2005-08-15 17:48:40 -07:00
Darren Tucker
73f671a090
- (dtucker) [LICENCE configure.ac defines.h openbsd-compat/realpath.c]
...
Sync current (thread-safe) version of realpath.c from OpenBSD (which is
in turn based on FreeBSD's). ok djm@
2005-08-10 21:52:36 +10:00
Darren Tucker
c7572b2661
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
...
Report from skeleten AT shillest.net, ok djm@
2005-08-10 20:34:15 +10:00
Tim Rice
8bc6b900ed
- (tim) [configure.ac] Allow --with-audit=no. OK dtucker@
...
Report by skeleten AT shillest.net
2005-08-09 10:09:53 -07:00
Darren Tucker
7da23cb5d3
- (dtucker) [configure.ac] Add a --with-Werror option to configure for
...
adding -Werror to CFLAGS when all of the configure tests are done. ok djm@
2005-08-03 00:20:15 +10:00
Darren Tucker
dd352b675b
- (dtucker) [configure.ac] Enable -Wuninitialized by default when compiling
...
with gcc. ok djm@
2005-08-02 17:21:29 +10:00
Darren Tucker
ac1910f1a5
- (dtucker) [configure.ac] Update zlib warning message too, pointed out by
...
tim@.
2005-07-26 12:00:42 +10:00
Darren Tucker
41097edcf6
- (dtucker) [configure.ac] Update zlib version check for CAN-2005-2096.
2005-07-25 15:24:21 +10:00
Darren Tucker
4a42257b06
- (dtucker) [configure.ac defines.h] Define __sentinel__ to nothing if the
...
compiler doesn't understand it to prevent warnings. If any mainstream
compiler versions acquire it we can test for those versions. Based on
discussion with djm@.
2005-07-14 17:22:11 +10:00
Darren Tucker
893c602ef0
- (dtucker) [acconfig.h auth-krb5.c configure.ac gss-serv-krb5.c] Remove
...
calls to krb5_init_ets, which has not been required since krb-1.1.x and
most Kerberos versions no longer export in their public API. From sxw
at inf.ed.ac.uk, ok djm@
2005-07-07 20:33:36 +10:00
Damien Miller
52c8afeec5
- (djm) [loginrec.c ssh-rand-helper.c] Fix -Wsign-compare for portable,
...
tested and fixes tim@
2005-06-19 10:19:43 +10:00
Darren Tucker
431f022263
- (dtucker) [configure.ac] Continue the hunt for LLONG_MIN and LLONG_MAX:
...
in today's episode we attempt to coax it from limits.h where it may be
hiding, failing that we take the DIY approach. Tested by tim@
2005-06-07 17:53:40 +10:00
Darren Tucker
6a45f3dab4
- (dtucker) [configure.ac] Point configure's reporting address at the
...
openssh-unix-dev list. ok tim@ djm@
2005-06-03 19:33:10 +10:00
Darren Tucker
67b3703da3
- (dtucker) [configure.ac] Only try gcc -std=gnu99 if LLONG_MAX isn't
...
defined, and check that it helps before keeping it in CFLAGS. Some old
gcc's don't set an error code when encountering an unknown value in -std.
Found and tested by tim@.
2005-06-03 17:58:31 +10:00
Tim Rice
fcc7ff1de8
- (tim) [configure.ac] Some platforms need sys/types.h for arpa/nameser.h.
...
Take AC_CHECK_HEADERS test out of ultrix section. It caused other platforms
to skip builtin standard includes tests. (first AC_CHECK_HEADERS test
must be run on all platforms) Add missing ;; to case statement. OK dtucker@
2005-06-02 20:28:29 -07:00
Tim Rice
4dbacffe7b
- (tim) [configure.ac] set TEST_SHELL for OpenServer 6
2005-06-01 20:09:28 -07:00
Darren Tucker
81eb5d5e10
- (dtucker) [configure.ac openbsd-compat/Makefile.in openbsd-compat/strtoll.c]
...
Add strtoll to the compat library, from OpenBSD.
2005-06-01 21:39:33 +10:00
Darren Tucker
d886e1ca2c
- (dtucker) [configure.ac] Look for _getshort and _getlong in
...
arpa/nameser.h.
2005-06-01 18:57:45 +10:00
Darren Tucker
fd33328a25
- (dtucker) [configure.ac] Merge HP-UX blocks into a common block with minor
...
version-specific variations as required.
2005-05-28 18:31:42 +10:00
Darren Tucker
7d2171b2cd
- (dtucker) [configure.ac] getpgrp may be defined in unistd.h, so check for
...
its presence before doing AC_FUNC_GETPGRP.
2005-05-28 16:57:00 +10:00
Darren Tucker
390b6d5dbf
- (dtucker) [configure.ac] strsep() may be defined in string.h, so check
...
for its presence and include it in the strsep check.
2005-05-28 16:54:36 +10:00
Darren Tucker
e910be1c42
missing space
2005-05-28 16:01:18 +10:00
Darren Tucker
0c9653f57e
- (dtucker) [configure.ac] For AC_CHECK_HEADERS() and AC_CHECK_FUNCS() have
...
one entry per line to make it easier to merge changes. ok djm@
2005-05-28 15:58:14 +10:00
Darren Tucker
2be1cbb7be
- (dtucker) [acconfig.h configure.ac defines.h includes.h sshpty.c
...
openbsd-compat/bsd-misc.c] Add support for Ultrix. No, that's not a typo.
Required changes from Bernhard Simon, integrated by me. ok djm@
2005-05-27 21:13:40 +10:00
Damien Miller
de3cb0a3dc
- (djm) [configure.ac openbsd-compat/Makefile.in]
...
[openbsd-compat/openbsd-compat.h openbsd-compat/strtonum.c]
Add strtonum(3) from OpenBSD libc, new code needs it.
Unfortunately Linux forces us to do a bizarre dance with compiler
options to get LLONG_MIN/MAX; Spotted by and ok dtucker@
2005-05-26 20:48:25 +10:00
Darren Tucker
84ce9b455d
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1033 : Provide
...
templates for _getshort and _getlong if missing to prevent compiler warnings
on Linux.
2005-05-26 20:12:15 +10:00
Darren Tucker
2f0b5c4869
- (dtucker) [INSTALL configure.ac] Make zlib version check test for 1.1.4 or
...
1.2.1.2 or higher. With tim@, ok djm@
2005-04-24 17:52:22 +10:00
Tim Rice
2f97b8b088
- (tim) [configure.ac] UnixWare needs PASSWD_NEEDS_USERNAME
2005-04-11 19:00:18 -07:00
Darren Tucker
9d2562cf20
- (dtucker) [configure.ac] Define HAVE_SO_PEERCRED if we have it. ok djm@
2005-04-05 19:22:45 +10:00
Darren Tucker
e66519d942
- (dtucker) [configure.ac openbsd-compat/port-aix.h] Prevent redefinitions
...
of setauthdb on AIX 5.3, reported by anders.liljegren at its.uu.se.
2005-03-21 22:46:34 +11:00
Darren Tucker
1df61452ea
- (dtucker) [configure.ac] Make configure error out if the user specifies
...
--with-libedit but the required libs can't be found, rather than silently
ignoring and continuing. ok tim@
2005-03-21 09:58:07 +11:00
Darren Tucker
86a5f8dd0a
- (dtucker) [configure.ac] Prevent configure --with-zlib from adding -Iyes
...
and -Lyes to CFLAGS and LIBS. Pointed out by peter at slagheap.net,
with & ok tim@
2005-03-21 09:55:17 +11:00
Tim Rice
eae17cc80e
- (tim) [configure.ac] remove trailing white space.
2005-03-17 16:52:20 -08:00
Tim Rice
35cc69dcb4
- (tim) [configure.ac] make some configure options a little more error proof.
2005-03-17 16:44:25 -08:00
Tim Rice
8bb561b500
- (tim) [configure.ac] portability changes on test statements. Some shells
...
have problems with -a operator.
2005-03-17 16:23:19 -08:00
Tim Rice
12ee8e241e
- (tim) [configure.ac] Bug 998. Make path for --with-opensc optional.
...
Make --without-opensc work.
2005-03-17 13:37:04 -08:00
Tim Rice
c390c8dc68
- (tim) [configure.ac] SCO 3.2v4.2 no longer supported. This platform is
...
too old and too broken.
2005-03-07 01:21:37 -08:00
Darren Tucker
0d0966934e
- (dtucker) [configure.ac] Disable gettext search when configuring with
...
BSM audit support for the time being. ok djm@
2005-03-07 17:34:45 +11:00
Darren Tucker
3804903a09
- (dtucker) [acconfig.h configure.ac openbsd-compat/bsd-misc.{c,h}]
...
Remove SETGROUPS_NOOP, was only used by Cygwin, which doesn't need it any
more. Patch from vinschen at redhat.com.
2005-02-26 10:07:37 +11:00
Damien Miller
848b993639
- (djm) [configure.ac] in_addr_t test needs sys/types.h too
2005-02-24 12:12:34 +11:00
Darren Tucker
04cfbe04aa
- (dtucker) [configure.ac] Missing comma in AIX section, somehow causes
...
unrelated platforms to be configured incorrectly.
2005-02-20 23:27:11 +11:00
Darren Tucker
d9f88915a2
- (dtucker) [LICENCE Makefile.in README.platform audit-bsm.c configure.ac
...
defines.h] Bug #125 : Add *EXPERIMENTAL* BSM audit support. Configure
--with-audit=bsm to enable. Patch originally from Sun Microsystems,
parts by John R. Jackson. ok djm@
2005-02-20 21:01:48 +11:00
Darren Tucker
3c774c52f3
- (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Silence some more
...
compiler warnings on AIX.
2005-02-16 22:49:31 +11:00
Darren Tucker
ca6e7a7e8b
- (dtucker) [configure.ac] Bug #893 : check for libresolv early on Reliant
...
Unix; prevents problems relating to the location of -lresolv in the
link order.
2005-02-16 16:19:17 +11:00
Darren Tucker
691d5235ca
- (dtucker) [README.platform auth.c configure.ac loginrec.c
...
openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Bug #835 : enable IPv6
on AIX where possible (see README.platform for details) and work around
a misfeature of AIX's getnameinfo. ok djm@
2005-02-15 21:45:57 +11:00
Darren Tucker
1b6f2291e4
- (dtucker) [configure.ac] Tidy up configure --help output.
2005-02-11 16:11:49 +11:00
Darren Tucker
2f9573df71
- (dtucker) [configure.ac] Bug #919 : Provide visible feedback for the
...
--disable-etc-default-login configure option.
2005-02-10 22:28:54 +11:00
Darren Tucker
33370e0287
- (dtucker) [configure.ac session.c] Some platforms (eg some SCO) require
...
the username to be passed to the passwd command when changing expired
passwords. ok djm@
2005-02-09 22:17:28 +11:00