Nick Bowler [Fri, 28 Jul 2023 04:58:12 +0000 (00:58 -0400)]
Remove some irrelevant entries from iputils ChangLog.
Delete a handful of entries from the ChangeLog imported from iputils;
these changes only modified "common" code that was never used by rarpd
whatsoever.
Nick Bowler [Thu, 27 Jul 2023 04:00:41 +0000 (00:00 -0400)]
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).
Nick Bowler [Thu, 27 Jul 2023 03:29:57 +0000 (23:29 -0400)]
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.
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.