* [gentoo-commits] repo/gentoo:master commit in: sys-fs/iprutils/files/, sys-fs/iprutils/
@ 2016-05-05 8:30 Jeroen Roovers
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2016-05-05 8:30 UTC (permalink / raw
To: gentoo-commits
commit: 974d6f0f0a96d3e307867fc2140f3dae99622542
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu May 5 08:29:38 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu May 5 08:30:03 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=974d6f0f
sys-fs/iprutils: Version bump.
Package-Manager: portage-2.2.28
sys-fs/iprutils/Manifest | 1 +
.../files/iprutils-2.4.11.1-basename.patch | 10 ++++
.../files/iprutils-2.4.11.1-migrate_cand.patch | 11 +++++
sys-fs/iprutils/iprutils-2.4.11.1.ebuild | 53 ++++++++++++++++++++++
4 files changed, 75 insertions(+)
diff --git a/sys-fs/iprutils/Manifest b/sys-fs/iprutils/Manifest
index 54a0dc4..d0b733d 100644
--- a/sys-fs/iprutils/Manifest
+++ b/sys-fs/iprutils/Manifest
@@ -1,4 +1,5 @@
DIST iprutils-2.4.10.1.tar.gz 519917 SHA256 99f28418fec505c4dfd532270569d4902a3792dcb2f08710b896f4e7bc0211e0 SHA512 d55bf90b706ca2048431d3c8d523d481afe4c06ff755d52bc91bc5c6d8cd4952f0fe9655377d4f4e405c4119b47862579f5a1428ea265904f2c578384695720b WHIRLPOOL 99ab607a532a4750158a42713ea6fde3b9c103255bc51d769c6d080193fdf25f01b56d39c90c10c5f7d3c42c38ecf5f21b07f4ebd80306afc446ac32345a25f3
+DIST iprutils-2.4.11.1.tar.gz 522111 SHA256 6201eefd852373d051496439b78bace68f7f3dd16582e40d4a58dc8283240e6a SHA512 37beb40cd40e871715dcf74805f6cdf3ce098050222dcee154ed03dbef64301044f5dbbe0a5323d2f4638f0b0e43429c09437d29dbafc5cfc9a63271b1db9f20 WHIRLPOOL 4b6b9cf4ab85687a45635720b2ea20a43d2a105898edb5b626fde71b0dc3d28ac5ecffa99231bd6e1a25784f70c9cba8ffdd2118ecdcc709c802324866eb3626
DIST iprutils-2.4.7.tar.gz 467671 SHA256 bb3a729b35824428d9a7d4db0a25d5ec89ff1dfcc13dd3c62fe254dc56408dd0 SHA512 9e6fd37cb72ce1d092b02f1cdfeb9e97962007327f92f4d9dd2a755489dab3a5d51a459d2f256d8453de74935a5cee8f25f71a820d82347ae67aa72a89043a91 WHIRLPOOL 190a906a91114f56b434e9efb657f9b3ba8a6b145715934f20919dc18521ee696604403134d35a5196c0d8d823c32b5f9e08aaa40bacddebeb42e5dae7ceab02
DIST iprutils-2.4.8.tar.gz 474447 SHA256 fbd118344b5f7e0acfdadff8093043dee70ad88b58cb3d8ea53e005a3d2b5a17 SHA512 08086058d80b46a58d7d35676645160c7058e88e7d7e61fac36a8565b6ad3a42b0f6e1fe3238de7017ec2b53f1aa93b427bb7113c0c0b21fb148f22fc5a2b6a5 WHIRLPOOL 5f06cd2fab55cac77c212d3693bf3bcea41f1747d6e63c4a24d16ab781da2067163b0e21dfb83eb8cca767bc7458491a0b48b2d859c5e8ea46a59defad5347b9
DIST iprutils-2.4.9.tar.gz 478916 SHA256 569fc9334a7815e1c871eed06961e0216d6d8f2e9411c7d417906ee3520375dc SHA512 0edfa74cc3559427e3b63bf39084013c9a594359c244b9c7bf0eed642a161caa73574371da1051a74caece80159f2c7c46aa296a0910b85145f99f9f1b10dcec WHIRLPOOL 1f16c8f838f7bf3fe2ac7b1fe9e548bf8e81c4f797cb76273fd35636f11fa965c67540bdf59c60069795bc6a2d88bfbc357348c837f849001018e970501e7e31
diff --git a/sys-fs/iprutils/files/iprutils-2.4.11.1-basename.patch b/sys-fs/iprutils/files/iprutils-2.4.11.1-basename.patch
new file mode 100644
index 0000000..941c490
--- /dev/null
+++ b/sys-fs/iprutils/files/iprutils-2.4.11.1-basename.patch
@@ -0,0 +1,10 @@
+--- a/iprconfig.c
++++ b/iprconfig.c
+@@ -29,6 +29,7 @@
+ #include <sys/wait.h>
+
+ #include <math.h>
++#include <libgen.h> /* basename() */
+
+ char *tool_name = "iprconfig";
+
diff --git a/sys-fs/iprutils/files/iprutils-2.4.11.1-migrate_cand.patch b/sys-fs/iprutils/files/iprutils-2.4.11.1-migrate_cand.patch
new file mode 100644
index 0000000..86ae3af
--- /dev/null
+++ b/sys-fs/iprutils/files/iprutils-2.4.11.1-migrate_cand.patch
@@ -0,0 +1,11 @@
+--- a/iprconfig.c
++++ b/iprconfig.c
+@@ -16827,7 +16828,7 @@
+ }
+
+ if (!dev->array_rcd->migrate_cand) {
+- scsi_err(dev, "%s is not a candidate for array migration.\n");
++ scsi_err(dev, "%s is not a candidate for array migration.\n", args[0]);
+ return -EINVAL;
+ }
+
diff --git a/sys-fs/iprutils/iprutils-2.4.11.1.ebuild b/sys-fs/iprutils/iprutils-2.4.11.1.ebuild
new file mode 100644
index 0000000..e0027d3
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.4.11.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="IBM's tools for support of the ipr SCSI controller"
+SRC_URI="mirror://sourceforge/iprdd/${P}.tar.gz"
+HOMEPAGE="http://sourceforge.net/projects/iprdd/"
+
+SLOT="0"
+LICENSE="IBM"
+KEYWORDS="~ppc ~ppc64"
+IUSE="static-libs"
+
+IPRUTILS_DEPEND="
+ >=sys-libs/ncurses-5.4-r5:=
+ >=sys-apps/pciutils-2.1.11-r1
+"
+RDEPEND="
+ ${IPRUTILS_DEPEND}
+ virtual/logger
+ virtual/udev
+"
+DEPEND="
+ ${IPRUTILS_DEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-2.4.8-tinfo.patch \
+ "${FILESDIR}"/${PN}-2.4.11.1-basename.patch \
+ "${FILESDIR}"/${PN}-2.4.11.1-migrate_cand.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install () {
+ emake DESTDIR="${D}" \
+ bashcompdir=$(get_bashcompdir) install
+
+ newinitd "${FILESDIR}"/iprinit-r1 iprinit
+ newinitd "${FILESDIR}"/iprupdate-r1 iprupdate
+ newinitd "${FILESDIR}"/iprdump-r1 iprdump
+
+ prune_libtool_files
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-05 8:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05 8:30 [gentoo-commits] repo/gentoo:master commit in: sys-fs/iprutils/files/, sys-fs/iprutils/ Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox