Support force-reload options, which is useful and it is required be by
Debian policy.
This patch come from the Debian maintainer Colin Watson
<cjwatson@debian.org>
Signed-off-by: Breno Leitao <brenohl@br.ibm.com>
Allow users to enable initd scripts support in iprutils for distros that
support it. One can run ../configure --with-initscripts to building the
init files.
This modifies the default behavior to not generate initd scripts by
default. From now on, to generate them user must use --with-initscripts.
The default for --with-initscripts is to install scripts to
%{prefix}/etc/init.d. That can be overriden using
--with-initscripts=<path>.
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Commit f6ef088 ("iprutils: Fix a couple of dist errors") replaced
distribuition of iprha with iprha.in, but it did not include proper
clean up, leaving some files behind in distclean and failing distcheck
target. This commit fixes the issue.
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
LICENSE was missing from the distributed tarball, and init.d/iprha was
present instead of init.d/iprha.in. This fixes both of these errors.
Signed-off-by: Colin Watson <cjwatson@debian.org>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
We replace every hardcoded path with an autotools variable @sbindir@
that is replaced at build time by the correct installation path.
This was tested on SLES and RHEL.
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <Brian King brking@linux.vnet.ibm.com>
This commit adds support to build iprutils using GNU Autools. It
replaces the old Makefile and version.mk file with Automake. Now, the
version information is available at the configure.ac file.
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
"command &> /dev/null" and "command >& /dev/null" are bashisms and will
fail on e.g. systems where /bin/sh is dash. Use POSIX-compatible
alternatives.
Signed-off-by : Colin Watson <cjwatson@debian.org>
---