open-vault/scripts
James Nugent 2c14ff7385 build: Add support for building on Illumos
This commit adds support for building for Illumos-derived operating
systems. Regrettably, the cyrpto/ssh/terminal package does not include
implementations of the functions IsTerminal, MakeRaw or Restore for the
solaris OS. Consequently this commit implements them in Vault.

makeRaw(fd int) is based on the Illumos implementation of the getpass
function [1] for the correct flags. isTerminal(fd int) is based on the
Illumos libc implementation [2] of isatty.

[1] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libast/common/uwin/getpass.c
[2] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
2016-08-13 00:20:15 -04:00
..
cross Dockerfile++ 2016-08-09 12:20:38 -04:00
windows Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
build.sh build: Add support for building on Illumos 2016-08-13 00:20:15 -04:00
coverage.sh Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
dist.sh Update to new hc-releases syntax 2016-07-26 10:17:52 -04:00
update_deps.sh Remove filtering that seems to be no longer needed in vendor build tags 2016-06-08 16:24:48 -04:00