Permanently disable the version check

Having an opensource daemon call in to a company server and report
which version it's running is just plain dumb. It's also probably
illegal in a lot of countries, as it could be considered spying.

Since it didn't really work anyway (3.99 was considered an earlier
version than 3.5.0), we might as well remove it.

This also mean we can remove of the networking code in netutils.[ch],
which means a net codeline reduction of 305 lines. Neato :)

While at it, we remove the editor-backed-up config.h.in~ file.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Remove the specialized ping worker

It wasn't particularly specialized after all, and actually ran all
kinds of different checks. With this patch, we get rid of it. While
we still don't spread correct information, at least we stop with the
disinformation now.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Start the rename fest

This renames a lot of instances from Nagios -> Naemon.

Signed-off-by: Andreas Ericsson <ae@op5.se>
.gitignore *~ files

Backup files from scripts and editors aren't very interesting to
keep under version control, so let's not.

Signed-off-by: Andreas Ericsson <ae@op5.se>
workers: Don't spam-reap children

Previously we used to try reaping children immediately after killing
them. When that fails (as it normally does when we try to reap half
a microsecond after sending the SIGKILL), the idea was to reschedule
a reaping 0.25 seconds later. However, we kinda failed that, since we
set the tv.tv_usec variable to 250000 instead of adding that value to
it.

This patch corrects it, inserting the missing plus-sign once again.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Remove base/{wp-phash.c,wpres-phash.h}

They're gperf-generated from base/wpres.gperf, so shouldn't be under
version control.

Signed-off-by: Andreas Ericsson <ae@op5.se>
include/naemon.h: Remove redundant decl of retention_file

Declaring it twice causes modern compilers to whine and old compilers
to bomb out.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Remove top-of-file license comments

They fill no purpose as we keep the license elsewhere anyway.

Signed-off-by: Andreas Ericsson <ae@op5.se>
README.md: Add some notes on contributing

It's good to get basic coding standards and things like that online.
The ones this patch puts there are very basic, but it's at least a
starting point of some sort.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Start fixing the autotools machinery

Previously we used to have a lot of generated files under version
control. This patch removes them and lets us use proper autotools
Makefile.am and stuff instead.

I'm not very good at autotools, so I'm sure this can be done in a
much better way, but at least it (mostly) builds now so it's good
enough to push and let other people see and work with it.

The code move is made so we can more easily integrate modules
directly into the codebase, as the directory layout now mimics how
files will be installed once "make install" is executed, meaning we
don't have to worry about different include paths for modules being
built against the git checkout vs installed files.

Signed-off-by: Andreas Ericsson <ae@op5.se>