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; support forEnableVoucher, ForceVoucher and EnablePreAuth; also 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 identity
add missing line breaks
stop using multiple threads to handle HTTP requests

LibHTTPD doesn't support multi-threading at all.  Some static variables,
for example `buf` in `httpdReadRequest`, is shared by all threads.

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

Those patches reduce the chance that cause NoDogSplash to crash, but
the bug still exists.

There are two ways to solve it.  One is to remove the `static` modifier and
to bring more overhead to each request.  Another solution is to not use
threads at all.

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