Commit graph

164 commits

Author SHA1 Message Date
Brian King
7f5e08c9c1 iprutils: Version 2.4.14
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-10-25 15:57:44 -05:00
Brian King
d7d5bc6f92 iprutils: Version 2.4.13
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-08-16 09:47:13 -05:00
Brian King
4492190122 iprutils: Version 2.4.12
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-08-04 06:17:49 -05:00
Brian King
656fd51ba5 iprutils: Version 2.4.12-rc2
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-07-22 14:17:42 -05:00
Brian King
5a48b47612 iprutils: Fixup 2.4.12 spec file build issue
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-07-18 13:33:49 -05:00
Brian King
97ff3181af iprutils: Version 2.4.12-rc1
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-07-18 12:58:52 -05:00
Brian King
284b6d8bd3 iprutils: Version 2.4.11
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-04-06 11:20:59 -05:00
Brian King
3ea740cea0 iprutils: Version 2.4.11.0.rc1
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-04-05 17:04:20 -05:00
Brian King
3c9890a5e2 iprutils: Add LSB package dependency for RHEL 6 build
The iprutils init.d scripts require the redhat-lsb on RHEL 6 in order
to function. Add this as a dependency.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-04-05 16:50:34 -05:00
Brian King
ca551fe3c4 iprutils: Fixup build issues
When I pushed commit 855e7fd ("iprutils: Enable editor choice for new log system")
I had to manually merge them and ended up missing a couple of files which didn't get
pushed. This fixes that up.

Reported-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-03-28 16:17:51 -05:00
Brian King
22ce7f0a74 iprutils: Version 2.4.10
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-01-19 10:14:05 -06:00
Brian King
d98ea866fe iprutils: 2.4.10-rc1
Created 2.4.10-rc1 release for testing.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2016-01-15 14:39:05 -06:00
Brian King
49c858b3cc iprutils: Version 2.4.9
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-10-26 14:52:02 -05:00
Gabriel Krisman Bertazi
372b41f860 iprutils; Fix some defaults for powerkvm packaging.
Yet another patch to the spec file.  This time we add some defaults for
PowerKVM that was missing in my last patch.  It fixes some issues we
were having with daemons in this distro.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-09-16 16:35:36 -05:00
Daniel Kreling
47581b3c91 iprutils: enabling supportconfig to spec file
Adding support for SuSE supportconfig plugin to the iprutils spec file.

Signed-off-by: Daniel Kreling <dbkreling@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-09-01 12:55:04 -05:00
Gabriel Krisman Bertazi
bb6be18d94 iprutils: Revamp specfile.
Revamps the spec file, do some cleanup, and avoid reinventing the
wheel in some places.

The iprutils spec file in OBS also included some fixes that are not
upstream.  Updates the spec file in the repository to include those
fixes.

Mostly trivial changes, but all listed below:

* Setup a distro specific section to select switches for each distro.

* No longer issue systemctl/service calls by hand, instead we use the
  the utils macros available for each distro.

* Use --with{systemd,initscripts} to only install the correct
  set of daemons for each distro.

* Remove soft links for daemons and service files because they are
  generated directly into the correct directory.

* Use %{?_smp_mflags} in %make to perform parallel build.

* Use %{_initrddir} instead of hardcoded path %{sysconfig}/etc/init.d.

* Remove %clean section.

* Replace make with %{__make}.

* Replace %make_install with %{__make} DESTDIR=<path> install.

* Remove %ifarch conditionals.

* Make sure the daemons are started AND enabled after update, install
  and removed after uninstall.

This was tested on RHEL6, RHEL7, SLES11 and SLES12.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-08-21 14:06:18 -05:00
Gabriel Krisman Bertazi
5aad2f7582 iprutils: Don't install SPEC file.
There is no point in installing spec file.  Remove it.

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:51 -05:00
Brian King
f1da68e9a5 iprutils: Version 2.4.8
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-06-19 09:11:17 -05:00
Gabriel Krisman Bertazi
775e675d1e iprutils: Allow statically linking of iprconfig.
Statically linking is discouraged.  Although, there are situations in
which it is required.  This commit includes some required dependency
checks to enable building a statically linked version of iprconfig.  It
includes a new flag in the Autotools Build System,
'--enable-build-static' to support this option.  To keep static linked
binary to a minimum inside iprutils, only iprconfig has a static
version in this patch.

This also includes a new subpackage in the spec file to hold the static
binary.  To generate this subpackage, one must call rpmbuild passing
'--with static'.  The static version will be installed as
'iprconfig-static' and will not conflict with iprutils package.

Be aware that static building requires the static version of ncurses and
glibc packages.  Otherwise, iprconfig-static build will fail.

Since dependency order matters a lot when statically linking, this patch
depends heavily on my last fix, ("Fail on libncurses if ncurses-devel is
missing."), which is not upstream yet.  I made sure this one will not
even apply cleanly without it.  For testing purposes, make sure you have
that patch applied.

This was tested on F21, RHEL7x and SLES12.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-06-08 14:11:37 -05:00
Gabriel Krisman Bertazi
f44ed3f9db iprutils: Add smart bash completion to iprconfig command line.
Introduce an autocomplete system for iprconfig in bash.  Provide
completion for devices and iprconfig commands, depending on the current
context.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-06-08 13:59:09 -05:00
Brian King
7cc3f032c6 iprutils: Update version to 2.4.7
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-05-06 17:11:02 -05:00
Daniel Kreling
f4b65a6931 iprutils: adding sosreport python plugin
Adding sosreport support through iprutils.py plugin. To accomodate such
addition, changes to iprconfig.spec, configure.ac and Makefile.am were
implemented. Python macro AM_PATH_PYTHON was added in order to have the
plugin copied python site-packages/sos/plugins directory, and python-devel
was added as a new dependency, in order to properly translate
%{python_sitelib} to '/usr/lib/python2.X/site-packages'.
This new feature will collect IPR adapter information along with
system details and log messages from the user's environment.

Signed-off-by: Daniel Kreling <kreling@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-05-06 17:04:35 -05:00
Daniel Kreling
0141ce0297 iprutils: fixing up uninstall hook on spec file
This patch fixes up the %preun hook at iprutils.spec file. The elif block was
hanging loose, as the if was mistakenly being closed before it. Because of
that, "rpm -e" was unable to perform and the package was not being uninstalled.

Sign-off-by: Daniel Kreling <kreling@linux.vnet.ibm.com>

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-04-29 16:04:27 -05:00
Brian King
8588ebca57 iprutils: Fixup install script messages
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-04-28 12:51:30 -05:00
Daniel Kreling
83254d5e3d iprutils: simplifying and fixing specfile
Fix up the spec file to make the daemons to start at package installation and
update. Also, a redundant if hook was removed from %post and %preun blocks.
The if clauses were changed to verify the presence of systemctl, instead of a
macro defined path %{_unitdir}. Finally, all redirections to /dev/null were
removed in order to make installation more verbose.

Signed-off-by: Daniel Kreling <kreling@linux.vnet.ibm.com>
Reviewed-by : Gabriel K. Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-04-28 11:13:03 -05:00
Daniel Kreling
ba28225ac3 iprutils: fixing white spaces on spec file
Changing some white spaces for tabs on spec file

Signed-off-by: Daniel Kreling <kreling@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-04-10 15:08:51 -05:00
Brian King
68fc792c0c iprutils: spec file fixes to improve build with OBS
Fix up the spec file to allow iprutils to build in OBS

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-03-16 17:18:47 -05:00
Brian King
70174566e2 iprutils: Version 2.4.6
Signed-off-by: Brian King <Brian King brking@linux.vnet.ibm.com>
2015-03-13 16:00:40 -05:00
Gabriel Krisman Bertazi
792e66ac08 iprutils: Fix specfile for distros using init scripts.
Spec file had a bug where it would fail to package and install on
systems that don't have systemd, i.e. those who still use init scripts.
This patch applies a fix that verifies whether we are using systemd or
init files before installing the correct daemon starter.

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:03 -05:00
Gabriel Krisman Bertazi
8f3500f717 Update RPM spec file to use Autotools.
This commit adapts the spec to use the autotools build system.

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:51:10 -06:00
Wen Xiong
5b1162b330 iprutils: Bump up iprutils version to 2.4.5
This patch moves up iprutils verison to 2.4.5

Signed-off-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
2014-11-07 15:32:35 -06:00
Wen xiong
9c087348af iprutils: Bump up iprutils version to 2.4.4
This patch moves up iprutils verison to 2.4.4

Signed-off-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
2014-09-08 12:37:08 -05:00
Wen xiong
53ffc8b521 iprutils: Bump iprutils version to 2.4.3
This patch moves up iprutils version to 2.4.3

Signed-off-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
2014-09-02 10:26:54 -05:00
Wen Xiong
eaa49e68b0 iprutils: Bump version to 2.4.2
Move up iprutils version to 2.4.2

signed-off-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
2014-06-10 14:47:22 -05: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
Wen Xiong
b6f78cc14e iprutils: Move up to iprutils 2.4.1
Move up iprutils version to 2.4.1.

Signed-off-by : Wen Xiong<wenxiong@linux.vnet.ibm.com>
2014-04-08 12:26:24 -05:00
Wen Xiong
ebcfecec64 Subject: iprutils: Move up ipruitls to 2.4.0
This patch moves up iprutils to 2.4.0.

Signed-off-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
2014-03-11 13:58:49 -03:00
Wen Xiong
77b15d9d0d Subject: iprutils: Move up iprutils verion to 2.3.18
The patch moves up iprutils version to 2.3.18

Signed-off-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
2014-02-07 14:24:45 -06:00
Wen Xiong
e7460f4198 Subject: iprutils: Update iprutils version to 2.3.17
Update iprutils version to 2.3.15

signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
2014-01-31 16:25:15 -06:00
Wen Xiong
540af6c0f2 iprutils: move up iprutils version to 2.3.16
This patch moves iprutils version to 2.3.16

Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
2013-11-05 13:50:11 -06:00
Wen Xiong
363a097549 iprutils: Update iprutils version to 2.3.15
Update iprutils version to 2.3.15.

Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
2013-07-03 10:56:27 -05:00
Wen Xiong
c2ec99ed69 iprutils: Downgraded iprutils version to 2.3.14
To drop a fix in ipruils 2.3.15. Downgraded iprutils version to 2.3.14.

Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
2013-07-03 10:08:20 -05:00
Wen Xiong
491ab4c4c3 iprutils: Update iprutils version to 2.3.15
Update iprutils version to 2.3.15.

Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
2013-06-28 11:08:47 -05:00
Wen Xiong
a4794bdc97 iprutils: update the version for the 2.3.14 release
Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
2013-05-07 15:28:36 -05:00
Kleber Sacilotto de Souza
41a82b4879 iprutils: update the version information for the 2.3.13 release
Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
2012-12-04 19:42:12 -02:00
Kleber Sacilotto de Souza
2aa629499f iprutils: fix release date on the spec file
The rpm spec file had a wrong date format on the %changelog section,
generating errors when compiling the package. This patch fixes the date
format.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
2012-12-03 15:16:09 -02:00
Kleber Sacilotto de Souza
87d206a24c iprutils: change %post and %preun sections of spec file
Not all distros provide an interface to install_initd and remove_initd
that is compliant to the LSB specification, requiring more parameters
to be given than just the path to the init script. In such cases, it is
preferred to use chkconfig when available.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
2012-11-22 11:09:28 -02:00
Wen Xiong
44607dc8d7 iprutils: Update version information for 2.3.12 release
Update version information for 2.3.12 release.

Signed-off-by: wenxiong@linux.vnet.ibm.com
2012-09-05 14:26:57 -05:00