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)
Addresses a Debian lintian complaint. Adds a debian/watch file for Debian's
automated version-tracking tools. This requires new upstream versions to be
tagged, since the version number is pulled from the filenames of tarballs
available on github.
Addresses a Debian lintian complaint. Changed the format line in the
debian/copyright file from its proposed form (DEP 5) to the location of
the accepted standard.
With automake 1.11, this gives us Linux kernel–style silent output
that makes warnings more obvious:
GEN userinput.pb.cc
CXX userinput.pb.o
AR libmoshprotos.a
CXXLD mosh-client
(Use ‘make V=1’ for the traditional verbose output.)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
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>
[andersk@mit.edu: No changes, but I note for the record that dh
overrides require a debhelper (>= 7.0.50) dependency that should have
been listed in the control file, and there was nothing to clean up
README after it was copied.]