collapse whitespaces
remove fhonour-copt and more cleanup
remove old sed lines
Do not override flags set through the environment. Useful for OpenWrt.
Preserve internal CFLAGS and LDFLAGS that should not be overwritten by the 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 according to RFC 1630

The '/' character was used to stop escaped characters due to commit
ca80cbb.
This caused some browsers to not to redirect to the requested page.

Actually, the table is not correct for a lot of characters. This is also
fixed.

'&' is a valid character of xalphas.
However, we still need to escape it as we otherwise can't distinguish if it
is part of `redir` or if it is 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.