Appropriately condition the _le64toh macro definition for OpenBSD.

This corrects a linker error on OpenBSD, where the function is called letoh64. See also http://git.kernel.org/cgit/docs/man-pages/man-pages.git/tree/man3/endian.3#n84.
Restitute a successful stat call to this test case.

Since the first stat call is made for it to deliberately fail, and we
reference st.st_mode without st having valid data, st.st_mode can contain
garbage and cause chmod to fail with EINVAL. We rerun stat and ensure it
succeeded.

Also make use of tt_abort_perror, to properly convey failure reasons to
the user.
changes file for 10928
Enveigle configure to look for a2x.py as well as a2x.

It's not guaranteed that every package symlinks a2x to a2x.py; OpenBSD
does not do this, so let's just look for a2x.py as well.
add changes file for bug 10929
Merge remote-tracking branch 'origin/maint-0.2.4'
whoops; mistaek in a496010642c2. so many comma
Merge remote-tracking branch 'origin/maint-0.2.4'
fixed long -> int implicit cast warning line 3453
Changes file for b063ebbc60a1fce9

This bugfix didn't get a trac ticket because the internet in this
room is an exercise in futility.
Fix: send back correct IPv6 SOCKS5 connect reply

For a client using a SocksPort connection and IPv6, the connect reply
from tor daemon did not handle AF_INET6 thus sending back the wrong
payload to the client.

A changes file is provided and this fixes #10987

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Style tweaks on code, changes file for 10987
Merge remote-tracking branch 'public/bug10987_024'
When not an exit node, don't test for DNS hijacking.

Back in 5e762e6a5c0e6729bb7dbb586af2690c087d9ba8, non-exit servers
stopped launching DNS requests for users.  So there's no need for them
to see if their DNS answers are hijacked.

Patch from Matt Pagan.  I think this is a 965 fix.