Commit Graph

16 Commits

Author SHA1 Message Date
Anders Kaseorg b6736eb0a5 Use protobuf’s Gzip{Input,Output}Stream wrapper around zlib
This removes our direct zlib dependency (although of course protobuf
still uses it internally), removes a fixed 4 MiB buffer and its
corresponding limit on the terminal size, reduces some string copying,
and deletes some code.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

(Closes #230.)
2012-04-22 16:14:28 -04:00
Keegan McAllister 8bcc001b52 Remove Boost entirely 2012-04-15 13:49:15 -04:00
Keegan McAllister 0eec0b60f0 Linux: Use our own signalfd wrapper, rather than libstddjb
selfpipe already does a fine job of interfacing to signalfd.  But Debian and
Ubuntu want us to depend on the skalibs-dev package rather than build libstddjb
ourselves.  That would be fine except that skalibs-dev has static libraries
only, and they aren't built with -fPIC.  This interferes with building
mosh-{client,server} as position-independent executables, which is a desirable
security measure.

So we have our own wrapper, which invokes either signalfd or selfpipe.  And we
build it ourselves with our own flags, because it's part of the Mosh project
proper.

(closes #108)
2012-04-13 12:33:21 -04:00
Keith Winstein b8457dd308 Use TERM env var / terminfo to decide whether to send ECH. Fixes tmux bug.
Closes #28 github issue.
2012-03-10 05:41:03 -05:00
Anders Kaseorg 6d65fe9f79 Add configure options for external skalibs
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:37 -05:00
Anders Kaseorg aad760e7d6 Make warning CXXFLAGS configurable
This turns off -Werror by default except in the Debian package.
-Werror is inherently unportable and breaks things on OS X.  While it
can cause problems in Debian too, this is at least a little better.

It also turns off -pedantic in src/protobufs, because apparently
protoc output doesn’t compile with -pedantic on all platforms.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:35 -05:00
Keith Winstein dcefb573e2 Update debian files to new standards version and add changelog entry 2012-03-03 14:05:57 -05:00
Keith Winstein 58b584a2b3 Move from protobuf-lite to protobuf to accommodate Ubuntu lucid
Add changelog entry
2012-02-20 00:40:08 -05:00
Keith Winstein c3fbad29f9 Relax debhelper dependency to make build on Ubuntu 10.04 LTS lucid 2012-02-19 22:03:29 -05:00
Anders Kaseorg 3e81d42f74 Require Boost
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-02-17 21:29:51 -05:00
Anders Kaseorg 2a13d0ddd9 debian/control: Remove libprotobuf-lite7 and libutempter0
These are automatically picked up by ${shlibs:Depends}.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-02-17 21:29:51 -05:00
Keith Winstein feb64eec52 Make utmp entries using utempter 2012-02-13 05:43:07 -05:00
Keith Winstein e67f6c5da7 Add missing dependencies to debian/control 2012-02-09 09:36:01 -05:00
Keith Winstein 79eac2a875 Add pkg-config to build-dependencies 2012-02-07 02:31:13 -05:00
Keith Winstein 2611a42fb1 Move protobufs inside src and distribute /debian 2012-02-06 16:41:58 -05:00
Keith Winstein 38c27149ee First packaging info 2012-02-06 16:20:18 -05:00