zcrypt: Make gpg stop messing around in ~/.gnupg

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 048b1ff9986fa6f3572985dbf44dd262dcd81618)
Fix a memory leak in zcrypt.c, caught by clang scan-build

(cherry picked from commit d72ba1e6f5395eb40aefdd154fa6db8e3a0b5d3c)
Die on a failed zephyr_zwrite; don't silently ignore it

(cherry picked from commit 374089acfb4f43fdb00e90ec924887d88fd84f5d)
Fix some undefined behavior in filter.c, caught by clang scan-build

(cherry picked from commit c068c0307a85727dd3ad619122a640f96399d627)
Make :loadsubs reload instanced personals too

Right now if your subs get lost because something falls over, you have
to manually sub to instanced personals to get them back. :loadsubs
doesn't work.

(Supposedly that code is for "backwards compatibility", but... it dates
back to kretch. Probably because it's odd that :loadsubs [file] will
also automatically load the default subs. But given that everyone runs
:loadsubs with no argument to mean "oops zephyr fell over reload my subs
please", I'm okay with adding more code to the "backwards compatibility"
path. I doubt anyone actually runs :loadsubs with an argument anyway.)

Also, while I'm here, get rid of that 'foo' variable. (Really? Really?!
foo?!?)

(cherry picked from commit 05adccf169f26130f56cd69a12829a9d80043a75)
configure: Look for libcrypto even when configuring --without-krb4

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 35a9ec77205b3cd3470878d2b3329d40f19eb242)
configure: Only use LIBCRYPTO_{CFLAGS,LIBS} on PKG_CHECK_MODULES success

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 1f121cb7df8e01f3b3febaa4c4345ed479db8792)
configure: Try openssl.pc after libcrypto.pc

OpenSSL < 0.9.8 didn’t ship libcrypto.pc.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 58b6ce5427395fc8c1887a2a8c69ea459a1fc9e5)
owl_zephyr_loadsubs: Don’t leak memory on error opening ~/.zephyr.subs

Found by cppcheck.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit bbe7d4a8ffa8c6c6b49ff192f54df4c385dfc1cb)
call_filter: Set *out = NULL on g_spawn_async_with_pipes failure

Fixes a zcrypt crash.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 3496369c2871b87831bd7bcfef61f8cc5bf36a3c)
Fix a leak.

Also add the CALLER_OWN annotation to the owl_zephyr_dotfile method.

(cherry picked from commit 60ae73623d2d5d0de7ff98c39b77da51ec7b30a9)
.gitignore: Add MYMETA.yml

We already ignore META.yml, and see
http://www.dagolden.com/index.php/479/mymeta-yml-in-the-wild/

(cherry picked from commit b58dea13aadcc1eee14a142336f8a331c8c7d2f5)
Add more people to AUTHORS

From a suggestion of Anders:

> Actually, since it’s probably best to keep them in an order that doesn’t
> change over time, here are the authors sorted by when their first commit
> was merged:

$ git log origin/master --pretty='%an' --topo-order --reverse | awk '{if (!h[$0]) {print $0; h[$0]=1}}'

I removed duplicates and most of the middle initials.

(cherry picked from commit f6b7c9c678a2895f1d6c7140bddf4ac7bd270c90)
Fix spelling errors in AUTHORS (caught by ispell)

(cherry picked from commit 80c0fc7442dbbcdb248b6b588246470d35b6f8ec)
Update and make configurable the default format

- Rather than http://zephyr.1ts.org/wiki/df, use http://mit.edu/df, which is
  shorter
- Rather than a bare URL, prefix "Config error: see " to make it clearer what
  is going on
- Make the default format configurable using ./configure, to aid users with
  particularly severe length constraints

(cherry picked from commit 80d7b445c48a5c63361e0ae972d0b0264d54ed65)
Add -D_XOPEN_SOURCE_EXTENDED

This is needed for cchar_t on the Travis-CI build machine.

(cherry picked from commit 77dfeb1f97913f37bc4f0356a76e35d67f5782d0)
change BarnOwl::Module::Jabber::getServerFromJID to use Net::DNS::RR::SRV methods instead of hash elements (which seem to no longer work).  This unbreaks connecting via jabber to google or facebook

(cherry picked from commit 41064be8e484a638bef23474f173491cd87969b3)