John Hood
9f59c69e40
1.3.0-rc0-- test build process
2016-12-21 21:26:53 -05:00
Anders Kaseorg
94027efc45
Make all commands properly support --help and --version
...
These should output to stdout and exit with status 0. Passing
std-options to AM_INIT_AUTOMAKE causes ‘make installcheck’ (hence also
‘make distcheck’) to verify this.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2016-11-19 17:15:48 -05:00
john hood
11190526ad
Fix Configure failure on FreeBSD with only base OpenSSL.
...
Search for OpenSSL libraries both with pkg-config and directly.
Fixes #763 .
2016-11-19 15:02:06 -05:00
John Hood
f728456898
Handle more warnings from protobuf on OS X compile
2016-10-29 20:48:48 -04:00
John Hood
b0facb55c4
Test carefully for clock_gettime() and CLOCK_MONOTONIC
2016-09-29 01:10:23 -04:00
John Hood
e494025b24
Work around "make distcheck" fail on OS X with protobuf 3.02.
2016-09-19 13:56:47 -04:00
John Hood
1077db41b6
Support OpenBSD 6.0 pledge() syscall for sandboxing.
2016-09-19 13:23:16 -04:00
john hood
b7d081056b
Fix CPPFLAGS handling possibly causing curses detection failure
...
This is an old, old bug.
2016-09-18 01:52:50 -04:00
John Hood
5f92a8a835
Bump version to 1.2.6.
...
Signed-off-by: John Hood <cgull@glup.org >
2016-07-30 21:36:55 -07:00
John Hood
05fe24d50d
1.2.5.95rc1 pre-release
2016-05-25 02:13:12 -04:00
john hood
70c62c5a94
#include <memory> for std::shared
2016-05-11 00:51:00 -04:00
john hood
9073983df3
crypto.cc: prefer bswap64() and ffs() if available.
...
Fixes #745 .
2016-05-08 20:45:01 -04:00
Baruch Siach
7196dfdb26
configure.ac: link test for -fstack-protector-all
...
There are (broken) compilers out there that accept -fstack-protector-*
parameters, but do not provide the needed ssp library. As a result,
build does not fail, but link does. Use the local check_link_flag
autoconf function to correctly test for SSP availability.
Required for the Imagination Technologies Codescape IMG MIPS
toolchain, version 2015.10 (and who knows what else).
Fixes #744 .
2016-04-07 20:05:06 -04:00
John Hood
08f64a750a
Prefer the system cc/c++, not GCC
2016-03-30 23:52:19 -04:00
john hood
a47917b976
configure.ac: Do s/-pthreads -lpthreads/-pthreads/ for protobuf
...
protobuf uses an obsolete automake pthreads detection macro,
which results in "pkgconfig --libs protobuf" returning
"-lprotobuf -pthread -lpthread" on Linux. Remove
the unnecessary and dangerous -lpthread in that case.
Fixes #727 , mosh-server crash in libutempter on Debian Sid.
2016-03-18 20:31:01 -04:00
John Hood
caab7a7d88
configure.ac: always enable distcheck warning errors
2015-12-06 17:47:11 -05:00
John Hood
b41bad918d
Make Terminal::Framebuffer::Rows shared and copy-on-write.
...
* Support both std:: and std::tr1:: shared_ptr. FreeBSD 10 now uses C++11 by default.
* Remove Framebuffer pointers in STMClient
2015-12-06 17:42:34 -05:00
John Hood
0eb614809a
Add configurable support for Apple Common Crypto and Nettle libraries.
2015-10-16 19:00:42 -04:00
John Hood
29112b410a
configure: add --enable-warnings=distcheck
...
This disables -Werror everywhere but "Linux".
The heuristic is rather crude.
2015-10-03 03:46:17 -04:00
John Hood
3c3b356cb5
Bump version to 1.2.5.
...
Signed-off-by: John Hood <cgull@glup.org >
2015-07-12 12:48:22 -04:00
John Hood
7f7a1beb0f
Fix bad bash-completion directory in non pkg-config case.
...
Signed-off-by: John Hood <cgull@glup.org >
2015-06-28 16:13:35 -04:00
John Hood
d988cad455
configure.ac: respect --prefix for bash completion
...
Signed-off-by: John Hood <cgull@glup.org >
2015-06-28 14:43:25 -04:00
John Hood
8905127ef6
Bump version to 1.2.4.95rc2 (1.2.5 release candidate.)
...
Signed-off-by: John Hood <cgull@glup.org >
2015-06-26 18:28:46 -04:00
John Hood
dee1a2eecc
Improve Debian bash-completion support
...
* Autoconf queries pkgconf for bash-completion dir-- resolves
lintian's `package-install-into-obsolete-dir` diagnostic
* Use improved completion snippet from
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782169 >
* Remove old /etc/bash_completion.d/mosh "conffile" with
dh-maintscript + dpkg-maintscript-helper
Closes #628 .
Signed-off-by: John Hood <cgull@glup.org >
2015-06-25 01:02:17 -04:00
John Hood
c532429784
1.2.4.95rc1 pre-release.
...
Includes Debian and Fedora packaging. Mac OS X package build is still
broken.
Signed-off-by: John Hood <cgull@glup.org >
Closes #625
2015-06-09 23:09:07 -07:00
Anders Kaseorg
fb97e54b2f
configure: Add -Wmissing-declarations to maximum compiler warnings set
...
This helps to catch inconsistent declarations in headers that weren’t
included, and local functions that are not marked static.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2015-06-04 23:52:03 -04:00
Anders Kaseorg
af720b41e1
configure.ac: Intentionally underquote m4_normalize calls
...
This works around a bug in Autoconf 2.64 and earlier, which generated
ridiculous symbols like
/* #undef HAVE_M4_NORMALIZE___FCNTL_H__LANGINFO_H__LIMITS_H__… */
instead of the ones we need. It was fixed by v2.65~21:
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=81c80d1bf6c8ddf732d0b89f6fc5e306dac9705e
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2015-05-25 02:24:12 -04:00
Anders Kaseorg
553918d3f2
Connection: Support IPv6 addresses
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-08-17 09:02:44 -04:00
Jérémie Courrèges-Anglas
9314ea18fa
use betoh64 if be64toh not found
...
Instead of looking for htobe64 which is be available both when
be64toh or betoh64 are, check for the latter functions. If we
find betoh64 but not be64toh, use compat #defines. If both
can't be found, search for OSX' OSSwapHostToBigInt64.
Also include sys/types.h in byteorder.h (which is necessary for
byteorder functions on OpenBSD), and incidentally fixes build
of networkfragment.cc.
Fixes build on OpenBSD
Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org >
2013-04-16 11:11:45 +02:00
Jérémie Courrèges-Anglas
24b078a5a1
workaround for systems not providing pselect
...
using a mix of good old select and sigprocmask
Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org >
2013-04-16 11:09:42 +02:00
Anders Kaseorg
8ff636d54e
Work around automake bug that dropped portability warnings
...
There’s a bug in automake ≥ 1.10, < 1.12 where ‘-Wall foreign’
incorrectly turns off warnings about portability issues. To get
consistent results across automake versions, use ‘foreign -Wall’
instead.
http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=7669
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
Closes #413
2013-04-15 13:37:52 -04:00
Keith Winstein
1b9915fcaf
Bump version to 1.2.4a
2013-03-27 18:36:03 -04:00
Keith Winstein
688bf21b07
Bump version to 1.2.4
2013-03-27 00:28:47 -04:00
Keith Winstein
4668dc595f
Bump version to 1.2.3.95rc1 (1.2.4 release candidate)
2013-03-10 17:52:56 -04:00
Keith Winstein
1bd38e6dab
Include sys/uio.h to fix OpenBSD build problem ( closes #391 )
2013-03-10 16:58:16 -04:00
Anders Kaseorg
7b9e548aa0
Run tests with ‘make check’
...
The configure --enable-tests flag is no longer needed because
check_PROGRAMS are not built until you run ‘make check’.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-03-10 15:47:33 -04:00
Keith Winstein
1ee95974bc
Since terminfo is guarded by include guard, need to define HAVE_CURSES_H
2013-01-18 12:11:55 -05:00
Anton Lundin
dd5a69bc70
Conditional curses detection
...
Make the whole extra curses/ncurses/ncursesw only check if we didn't
find tinfo the "old" way.
2013-01-17 16:44:06 +01:00
Anton Lundin
eeb8ae99d7
Reintroduce pkg-config based searching for ncurses
...
Fixes issue rased in #358
2013-01-17 16:44:06 +01:00
Anton Lundin
4b1da58ae0
Convert all tabs to 4 whitespaces
...
Tabs where erronusly introduced in 993abf57
2013-01-17 16:44:06 +01:00
Keith Winstein
1034f7092a
Wrap termio.h include in guard
2012-12-12 18:03:15 -05:00
Anton Lundin
993abf57f1
Rework curses detection
...
Detect diffrent variants of curses and use them.
2012-12-01 12:53:28 +01:00
Luke Mewburn
3e3510d382
Display results at end of configure.
...
Display configuration results at end of configure run,
including the version, c++ compiler, and various
compiler flag variables.
Signed-off-by: Luke Mewburn <luke@mewburn.net >
2012-10-29 15:03:13 -04:00
Keith Winstein
c53a174d0c
Revert "Check for netinet/ip.h (now that we are using it), and don't also use in.h"
...
This reverts commit 0909ea55d6 .
2012-10-22 10:50:07 -04:00
Keith Winstein
0909ea55d6
Check for netinet/ip.h (now that we are using it), and don't also use in.h
2012-10-22 10:34:16 -04:00
Keith Winstein
73a2675e8c
Bump version to 1.2.3
2012-10-19 15:33:48 -04:00
Keith Winstein
9c34f5b279
Bump version to 1.2.2.95rc1 (1.2.3 release candidate)
2012-10-05 19:50:52 -04:00
Keith Winstein
0311365810
Read utmpx directly instead of using "who", and prettify detached warning
2012-09-28 20:06:04 -04:00
Keith Winstein
9ac3b65090
Respond to explicit congestion notification (slow down sender)
2012-09-28 19:07:31 -04:00
Timo Sirainen
0c5307f345
Added forkpty() and cfmakeraw() fallback implementations if they don't exist.
...
Signed-off-by: Timo Sirainen <tss@iki.fi >
2012-08-11 17:14:44 -04:00