Commit Graph

96 Commits

Author SHA1 Message Date
Philip Whineray
aaa65529b2 Post release 3.1.6 2018-08-13 09:06:43 +01:00
Philip Whineray
0c9508a95b Prepare release 3.1.6 2018-08-13 09:05:02 +01:00
Philip Whineray
63c6785fa6 Post release 3.1.5 2017-09-17 13:57:13 +01:00
Philip Whineray
c312961def Prepare release 3.1.5 2017-09-17 13:56:31 +01:00
Philip Whineray
3940593aaf Post release 3.1.5-rc.1 2017-09-17 13:39:51 +01:00
Philip Whineray
06008ea103 Prepare release 3.1.5-rc.1 2017-09-17 13:39:06 +01:00
Philip Whineray
8dc05a3539 Post release 3.1.4 2017-08-20 11:35:56 +01:00
Philip Whineray
571b3b07b4 Prepare release 3.1.4
Fixes: #235, #223, #184, #94, #143, #248, #249, #231, #217, #221
2017-08-20 11:32:23 +01:00
Philip Whineray
a436004250 Post release 3.1.3 2017-02-17 07:25:12 +00:00
Philip Whineray
12e26148ca Prepare release 3.1.3 2017-02-17 07:24:28 +00:00
Philip Whineray
bd09da4f9f Create relative links to binaries
Prevents errors installing with DESTDIR other than / as seen
in #178 and #201

Fix proposed by @kneeke
2017-02-16 23:17:23 +00:00
Philip Whineray
7487383f08 Make failure to detect user namespace file silent 2017-02-16 23:16:30 +00:00
Philip Whineray
96b6b0c6af Post release 3.1.2 2017-02-05 08:42:28 +00:00
Philip Whineray
f9c0dc967e Prepare release 3.1.2 2017-02-05 08:41:20 +00:00
Philip Whineray
b0c715361f Post release 3.1.1 2017-01-10 20:16:29 +00:00
Philip Whineray
0d7eb143d6 Prepare release 3.1.1 2017-01-10 20:15:48 +00:00
Philip Whineray
5e4375b6b9 Remove ksh from configure
It was only used as a fallback for vnetbuild and other programs require
bash anyway.
2017-01-10 19:52:08 +00:00
Philip Whineray
1834342470 Post release 3.1.0 2016-11-28 15:52:49 +00:00
Philip Whineray
8dc6cc68f5 Prepare release 3.1.0 2016-11-28 15:52:08 +00:00
Philip Whineray
0ec7817b99 Enable automated testing
Rename unittest directory to tests to be more standard
Install all required packages rather than placeholders
Get a suitable version of "unshare"
2016-11-27 12:43:26 +00:00
Philip Whineray
2fd5b180bb Use dot rather than neato, for generally nicer output
Add some graphviz-layout specific commands
Quoting improvements, so that e.g. VLAN interfaces link correctly
Add trial code for alternate label places
2016-11-25 15:28:32 +00:00
Philip Whineray
ac68adb42b Allow for systems without a -q flag to modprobe 2016-11-22 19:44:06 +00:00
Philip Whineray
6f0235806e Allow "uname -n" on systems which lack "hostname" 2016-11-22 19:44:06 +00:00
Philip Whineray
6661530b6d Bump version to start 3.1.x 2016-11-22 13:32:32 +00:00
Philip Whineray
d3b667634a Fix paths for running somewhere other than top_srcdir
Allows the following to work:

  git clean -dxf
  autoreconf -ivf
  mkdir builddir
  cd builddir
  ../configure --disable-doc --disable-man
  make check

Cannot currently do a maintainer mode build in this fashion but unpacking
a non-git source tarball should work fine with documentation enabled.
2016-11-22 13:31:46 +00:00
Philip Whineray
1873d9ba8e Generalise script location detection
Not all systems provide for a "readlink" with options, so we emulate
what we need.
2016-11-22 13:31:46 +00:00
Philip Whineray
5dc4ebe890 Provide option to disable wizard
Reduces the commands required for small systems
2016-11-22 13:31:46 +00:00
Philip Whineray
caedbcd551 Use a regular shell file for installed config
This simplifies the scripts somewhat and the autoconf system quite a bit.

To specify a non-default location for the config, export a directory
in FIREHOL_OVERRIDE_PROGRAM_DIR and ensure it has an install.config
and functions.common.
2016-11-22 13:31:46 +00:00
Alon Bar-Lev
d104473f33 build: actually apply autoconf configuration
firehol cannot work properly if autoconf is not applied, not sure
why there is a complex mechanism to operate without it.

this logic tend to break as nobody actually test the process in
which actual users use this package.

I suggest to remove all these hacks, so developers will run make
after every change in scripts, or alternately generate a
configuration file that is sourced within the scripts instead of
substituting.

in the mean time, this fixes firehol script to apply the
AUTOCONF_RUN correctly within script, please notice that this
method of having .in.in file can also remove the commands.sed
usage as this exactly what autoconf is doing when processing
templates.

the same method should probably apply to other scripts.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2016-11-22 13:31:46 +00:00
Philip Whineray
75b7697310 Post release 3.0.2 2016-11-22 10:37:36 +00:00
Philip Whineray
4312506747 Prepare release 3.0.2 2016-11-22 10:36:58 +00:00
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
f306806a93 Eliminate tarball Makefile dependency on README.md 2016-03-20 10:19:56 +00:00
Costa Tsaousis (ktsaou)
8b65e66e8f added blueliv.com ipsets 2016-03-10 21:50:26 +02:00
Jerome BENOIT
76a253a522 added zcat 2016-02-22 05:54:58 +01:00
Philip Whineray
82fea4a2b7 Post release 3.0.1 2016-01-10 16:55:35 +00:00
Philip Whineray
53f245ad44 Prepare release 3.0.1 2016-01-10 16:54:25 +00:00
Philip Whineray
b101eb7d5b Require sed in all modes - fix regression #116 2015-12-30 07:11:47 +00:00
Philip Whineray
0d2206b832 Be verbose when we skip command checks 2015-12-29 09:06:14 +00:00
Philip Whineray
7688a624c0 Include iprange and bash checks in maintainer mode
Provide a hidden environment variable, MAKEDIST_BUILD_ONLY, which
if set to "yes" will skip all the checks for programs needed at runtime,
for use on the build server.
2015-12-29 08:52:18 +00:00
Philip Whineray
ed6ca8faf0 Post release 3.0.0 2015-12-20 10:12:04 +00:00
Philip Whineray
756bf8c8e5 Prepare release 3.0.0 2015-12-20 10:10:54 +00:00
Philip Whineray
a329443fc0 Post release 3.0.0-rc.4 2015-11-28 23:17:44 +00:00
Philip Whineray
cbdbe18e45 Prepare release 3.0.0-rc.4
Simplify change log format and reduce to just the 3.0 series
2015-11-28 23:16:04 +00:00
Philip Whineray
633f4653c7 Clean up packaging
Use configure.ac to maintain version number
Remove redundant NEWS (ChangeLog) and AUTHORS (THANKS) files
Move hooks to their own directory
Rename README to README.md to format nicely on github
Generate README for tar by removing git specifics from README.md
Automate tagging when -rc or final version set in configure.ac
Improve pre-commit checking
2015-11-27 23:56:11 +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
2c9a2d4000 Extract common functions to functions.common.sh
Version number detection, command detection, terminal setup and a few
other bits have moved.

The processed (not .in) scripts will look for it in e.g. /usr/local/lib/firehol
or wherever the system will install it. The .in scripts will look for it in
their own directory.

Updated the configure system so that it correctly replaces paths rather
via the Makefile rather than trying to subsitute NONE in configire.ac.

Extracted all of the configure-time command substitutions to a single
sed file which is used to process the script.in files. Extended the
package checks to cover this file.
2015-11-25 23:36:29 +00:00
Philip Whineray
8c415f2435 Honour IPRANGE_VERSION for cross-compilation 2015-11-15 18:15:42 +00:00
Philip Whineray
68e4496bce Eliminate dependency on brctl 2015-11-15 17:43:20 +00:00
Philip Whineray
03e65e7bcc Require bash and iprange only when not maintainer 2015-11-15 17:21:44 +00:00