Commit Graph

14 Commits

Author SHA1 Message Date
Philip Whineray
e99c62b565 Detect if ping -6 should be used
Newer versions of iputils have removed the ping6 tool but older
versions do not support the -6 flag, per #126.

The unconfigured program will always try to fall back to ping if
it can't find ping6 but this behaviour will generally only be
visible to developers.
2016-03-20 14:10:49 +00:00
Philip Whineray
6eef2b3f1d Fix typo 2015-12-29 08:29:30 +00:00
Philip Whineray
3c53903c99 Move bash version checking to configure time
Clean up version checking, to a single common macro
2015-11-26 20:39:46 +00:00
Philip Whineray
8c415f2435 Honour IPRANGE_VERSION for cross-compilation 2015-11-15 18:15:42 +00:00
Philip Whineray
c13b074048 Rely on external iprange, checking version 2015-11-15 17:11:59 +00:00
Phil Whineray
0dac5317fb Detect and use pthreads when building iprange 2015-11-07 06:50:36 +00:00
Phil Whineray
881dc95ff4 Force full detection of AWK path 2015-10-27 21:55:27 +00:00
Phil Whineray
e723f3ba19 fireqos now has same command detection as firehol
Update pre-commit script to detect entries missing from configure script
Update unittest to run fireqos without a PATH set
Update unittest with a view to running code coverage check
2015-10-27 21:35:21 +00:00
Phil Whineray
08425eaac0 Rework command detection routines
Process is now table-driven and has the following features:
- Honours the value set in /etc/firehol/firehol-defaults.conf, if any
- Uses the value set by autoconf, if any
- Autodetects in preferred order, allowing optional parameters as needed

This takes out all the special cases. Commands that are only sometimes
required are detected up front but still only checked when needed.

Also:
- allow detection/preinstall of iprange
- only emit iprange command warnings when it would be used
- restore tty settings when Ctrl-C hit (echo is disabled otherwise)
2015-10-21 20:44:17 +01:00
Phil Whineray
2afcd658df Check that all pandoc output formats are produced 2014-04-23 21:05:57 +01:00
Phil Whineray
3073ff1ffb Add a requirement for pandoc version 2014-04-23 20:34:47 +01:00
Phil Whineray
bf47948c09 Make pandoc a requirement 2014-04-23 20:17:46 +01:00
Phil Whineray
95bda906f4 Detect pandoc and allow user to set options
Also include a script to help building from the git repository
2014-04-23 20:12:33 +01:00
Phil Whineray
f4f8500305 Move to autotools
- Can still be installed just by copying firehol/firehol.in
 - CVS versions will not work any longer, so now following
   http://semver.org/
 - Git commit hooks included to enforce version numbering
   across the various files, NEWS, ChangeLog, configure.ac and
   sbin/firehol.in
 - Replace HTML website copy with DocBook manual
2013-10-15 22:25:17 +01:00