Stop using GNU "error" functions.
For an actually portable error fallback, just don't use error at all.
There are literally just 3 calls to the GNU error function, all of which
are directly in main. We can just use normal prints and return.
Adjust usage message and add explicit help option.
Instead of dumping a huge splat on usage errors, output a brief message
instead with an option to request the full details. Since we currently
only do short options, this option is -H (same as my own programs).
When requested by the user, program help text is not an error message
so it goes on standard output (that way it can be grepped and all that
good stuff).
Punt iputils_common helpers.
Only two functions from this common library are used by rarpd.
The error fallback depends on program_invocation_short_name, which is a
GNU C library feature, and if you have the GNU C library, you have error,
so I'm really not sure what systems this works on.
And for rarpd, there seems to be no point in explicitly closing the
standard I/O streams since it doesn't print anything normally.
Get rid of IPUTILS_VERSION macro.
This program isn't part of iputils anymore.
Add NEWS.
Use gitlog-to-changelog w/ "make dist".
Import bootstrap script etc.
Import rarpd from iputils-
20211215
Well, with rarpd removed from iputils, let's extract it to a standalone
package. This is just the bare minimum to start, all source files are
unmodified from the iputils-
20211215 release, and a brand-new skeleton
build system is implemented to compile the software and documentation.