Force autogen.sh to rerun configure if any extra args are given

As Cole Robinson pointed out in an identical patch to libvirt (commit
2cd29c3107ff1f135e05fa55f3b389f37a6cb867):

   If we do ./autogen.sh && ./configure, then later try ./autogen.sh
   --system, configure isn't invoked with the requested params.
   Instead config.status --recheck is run.

With this patch installed, we instead force configure to be re-run if
any extra args are supplied on the commandline.
Version 0.2.0
Fix variable name of PATH_SEPARATOR in configure.ac

Otherwise configure doesn't find /sbin/ifdown (by default) on debian.
update AUTHORS file

Several new people have made contributions, but the AUTHORS file hasn't
been kept up to date.
check IFF_RUNNING before considering an interface "active"

This is in response to:

  https://bugzilla.redhat.com/show_bug.cgi?id=844578

If an interface's cable is unplugged and it is configured to use dhcp
(or if NetworkManager is running), attempts to ifup will fail, but
netcf will later report that the interface is active. This is because
netcf only checks the IFF_UP flag in the interface status.

It makes more sense for the interface to be counted as active only if
ifup has been successful, so this patch changes the if_is_active()
utility function to require both IFF_UP and IFF_RUNNING be set before
counting the interface as active.

However, if an interface is configured for a static IP address *and
NetworkManager isn't running*, ifup will succeed even when the cable
is unplugged. So again the active status of the interface is not
consistent with the result of ifup. To resolve this inconsistency,
this patch makes na additional check for if_is_active() after the
system's ifup utility successfully completes.

The result is consistency between the result of ifup and the
interface's flags in all cases.

Note that the 2nd change needed to be done separately in all three
linux drivers, because if_is_active() is a linux-specific function, so
it can't be called from the platform-agnostic netcf.c (yet each
platform's drv_if_up() is different, so they can't all call a common
util_if_up())..
build: update to latest gnulib, for gets fix

Modern glibc rejects older gnulib's attempt to use gets.
Along the way, gnulib dropped the file build-aux/missing,
and boostrap slightly changed how we include gnulib.mk files.
add ncftool.1 manpage

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Version 0.2.1
build: add ncftool manpage to base netcf rpm
specfile: require libnl3 for Fedora >= 18 and RHEL >= 7

This needs to be done simultaneously with libvirt switching to libnl3,
so the conditionals for which version of libnl to use *must* be
identical, and the libvirt specfile must require >= netcf-0.2.2 (which
will be the next release after this change is made to netcf's
specfile).
Force --with-libnl1 for F17/RHEL6 and earlier

In order to assure that netcf on Fedora 17/RHEL6.x and earlier uses
libnl1 for its builds even if libnl3-devel is installed, the specfile
is changed to add --with-libnl1 to the configure line in those cases.

When libnl 3 support was added, the configure switch --enable-libnl1
was added, but that doesn't fit with the accepted standard usage of
--enable-* (which is supposed to enable a feature of the package being
built). Since it's new and hasn't been used until now, it's safe to
change it to the more standard -with-libnl1.
Version 0.2.2
Fix typo in netcf.spec.in
Be sure to bail if get_augeas() fails

There were a few places where get_augeas() was called at the beginning
of a function, but the function was allowed to continue as normal even
if get_augeas() failed. This was disastrous if any augeas library
function was subsequently called prior to checking for error status -
get_augeas sets ncf->driver->augeas to NULL if there's an error, but
aug_get/aug_put/aug_rm (and possibly others) dereference the aug
pointer they are sent without checking for NULL.

This patch assures that any caller of get_augeas() returns immediately
if get_augeas() fails.
Ignore backup files created by dpkg

While this isn't strictly necessary for /etc/network/interfaces
(since it's not a conffile) the files in /etc/modprobe.d are
conffiles.

For dpkg's conffile handling see e.g.:

http://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/
Add minimal HACKING document

that explains how to run netcf from the just built sources
and how to run the tests.
Correct typo (missing space).
Fix bug that eats config parameters which have identical names.

Two (or more) nodes with identical names that are in the same
element are passed to libaugeas in such a way that only the last
node is actually written to the config file.
If e.g. there are two pre-up commands for a bridge on debian only
one is written to /etc/network/interfaces.
This fix changes this behaviour so that all of them are written.
Merge to master netcf