collapse whitespaces
remove fhonour-copt and more cleanup
remove old sed lines
Dont override flags set through the environment. Usefull for OpenWrt
Preserve internal CFLAGS and LDFLAGS that should not be overrided by OpenWrt toolchain
remove openwrt package as it has moved to project openwrt-routing/packages and will be maintained there
remove reference to Nocatsplash project - it is dead
change README to markdown style
change indent and fix display style
replace obsolete PF_INET and use AF_INET instead
Add missing log when deleting client
lindnermarek: tc rules to limit bandwidth per user plus more little fixes and changes
add OpenWrt package to keep everything together
changed -lpthread to -pthread of LDFLAGS

For the newer version of GCC, the placement of -l option does matter,
and it cannot compile successfully now. Libraries must be specified
after the objects in the linking command.

Also, there is another option -pthread which seems more preferred.
add the missing querystring of the URL

For the current version, the query string is missing in splash page.
This bug was induced by the commit ca80cbb, which contains only some
part of patch form wifidog: http://dev.wifidog.org/changeset/1239 .
corrected the isAccepted table accorrding to RFC 1630

The '/' character is stop to escape due to this commit ca80cbb.
This cause some browser cannot redirect to the original requested page.

Actually, this table isn't correct for lot of characters, so I also
correct it.

'&' is a valid character of xalphas.
However, we still need to escape it, otherwise we can't distinguish it
is a part of the `redir` or a separator.
Send HTTP 302 instead of 307
We are speking HTTP/1.0, so 307 doesn't exist

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
fix debug message's ident
add missing line breaks
stop using thread to handle HTTP request

LibHTTPD wasn't supported multi-threading at all.  Some static variable,
for example `buf` in `httpdReadRequest`, were shared by all threads.

These cause a lot of unexpected behaviors and sgefaults at first.
However there are also some patches trying to solve it:
  http://dev.wifidog.org/ticket/471 .

Those patches reduce the chance that cause the NoDogSplash crash, but
this bug is still exist.

There are two ways to solve it.  One is remove the `static` modifier and
it brings more overhead of each request.  Another solution is don't use
threads at all.

I prefer the later one.  Since all requests can be handled very quickly,
I beleive that won't increase the response time even if lot of users
trying to access it at the same time.