Noux: add noux-pkg/lynx

Explanation why --disable-rpath-hack is needed:

When building on pistachio_x86 $(LDFLAGS) contains '-L[...]/l4/lib'
which will be transformed by autoconf to '-rpath [...]/l4/lib'.
Now the problem at hand is that we pretend to be FreeBSD when we are
actually not. So autoconf assumes it is valid to use '-path'  when it
is actually not.

Also we use zlib for (de)compressing gzipped streams/files instead of
calling gzip as this currently somewhat buggy.
Noux: add noux-pkg/gzip

This is actually the GNU gzip.
Noux: add noux-pkg/less
Terminal: add explicit handling of sgr0 + sgr seq

sgr0 is currently implemented as a wrapper of sgr(0) which
seems to work fine.

For now we accept but ignore certain sgr sequences like for
example [0;10;1m which is generated by lynx even when using
TERM=linux (I am not sure yet if that's actually valid at all).
Terminal: cleanup terminal colors

Though the initial commit contains nicer looking color definitions
it is easier to spot wrong colors when using a program that uses
ncurses like for example lynx.
libports: add symlink from ncurses.h to curses.h

Serveral programms want to include ncurses.h rather than curses.h.
To keep them happy, we add simply add a symlink.
libports: use libc's getaddrinfo() implementation

Since we are using the libc's *addrinfo() anyway, we comment the plugin
calls out.
libports: use libc's rpc framework

Certain rpc headers are needed for compiling getaddrinfo.c. Unfortunatly
that means we have to generate _a few_ header files which we do when we
prepare the libc.

These header files need to be created before the symlinks. Also, some of
these header files depend on a patch. Therefore we apply the patches
first, generate the header files and in the end we create the symlinks.
libports: lwip change SOL_SOCKET definition

Our FreeBSD libc cased libc defines SOL_SOCKET as 0xffff. We change
lwip's definition from 0xfff to match ours. This prevents us from
converting the level when we call {g,s}etsockopt.
Noux: add recvfrom()

Add SYSTEMCALL_RECVFROM to noux/net and the corresponding libc function.
Noux/net: fix check_unblock() + add proper write()

check_unblock() did not use the arguments at all, which results in
wrong behaviour in certain situatutions.

Socket_io_channel's write() method did not implement the right
interface and was next to useless. Luckily, you normally do not use
write(1) on a socket.
Noux: fix send() in libc_noux

The fd has to be set before each syscall.
Noux: add F_GETFL handling to terminal_io_channel

There are certain programms which check if an fd is open by calling
fcntl(fd, F_GETFL, ...). So to keep them happy we return true if
such an request was done to our terminal fd's.
Noux: fix missing mode propagation

When opening a new file, a new Fs_vfs_handle is created but with the
initial mode set to 0 which is not expected by functions like fdopen()
that check if the original flags given to the open() call match the
returned ones on the used fd.
noux-pkg: rename gnu-netcat to netcat
Noux: fix usage of renamed noux-pkg/netcat

The noux_net_netcat test run-script still refered to netcat by using
the old name gnu-netcat.
Noux: add FIONBIO handling support to libc_noux
Noux: add cleanup_socket_descriptor()

This function removes all currently used socket descriptors from the
socket descriptor registry. It is only called when a child is exiting.
Noux: use counter for gettimeofday()

There certain issues which currently prevent us from writing proper
implementations for time related functions. For now we provide a simple
counter instead to make programms like ping(1) happy.
Noux/net: add reset_all() method to sd registry

This method is called when a child is exiting to remove all remaining
sockets from the socket descriptor registry to close all sockets.