Commit graph

6 commits

Author SHA1 Message Date
Gabriel Krisman Bertazi
84fbaf7c3d iprutils: Add option to enable/disable systemd files from configure script.
Allow users to disable systemd support in iprutils for distros that
don't support it.  One can run ../configure --without-systemd to avoid
building the service files.

The default behavior is to build systemd files (--with-systemd) and they
will be installed into %{prefix}/usr/lib/systemd/system/. But path can
be overriden using --with-systemd=<path>.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-08-21 13:52:47 -05:00
Gabriel Krisman Bertazi
96f6daba00 iprutils: This patch removes some hardcoded paths that assumed the iprutils binaries where in /sbin.
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>
2015-03-13 15:48:06 -05:00
Gabriel Krisman Bertazi
dd589511af iprutils: Add support for Autotools build system.
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>
2015-03-05 11:50:02 -06:00
Daniel Kreling
303a8823cc iprutils: implementing systemd support
iprutils daemon files (iprdump.service, iprinit.service and
iprupdate.service) were created and housed on systemd directory.
In the file system, they should be sent to /usr/lib/systemd/system.
iprutils.spec was adapted to support the changes and manage
those service files.

Signed-off-by: Daniel Kreling <kreling@imap.linux.ibm.com>
2014-05-02 13:25:58 -03:00
Daniel Kreling
6a456f2a1f Revert " iprutils: adding systemd files and bumping version to 2.4.2"
This reverts commit f86797143e.
2014-04-30 16:42:02 -03:00
Daniel Kreling
f86797143e iprutils: adding systemd files and bumping version to 2.4.2
Criated iprinit.service, iprdump.service and iprupdate.service files to
provide support to distros using systemd instead of init.d. Also by doing
that, we're bumping to version 2.4.2.

    Signed-off by: Daniel Kreling <dkreling@imap.linux.ibm.com>
2014-04-30 14:42:51 -03:00