summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Baude <ranger@gentoo.org>2005-08-22 17:53:08 +0000
committerBrent Baude <ranger@gentoo.org>2005-08-22 17:53:08 +0000
commit565137b2e46125c96e49ddff7abed5d3c9f10bfb (patch)
treea5951a06459e382000b387ceea4a776a4e7a1d3a /sys-fs/iprutils
parentUpdate to CVS as of 20050822. This should make amd64 and sparc work. Update i... (diff)
downloadgentoo-2-565137b2e46125c96e49ddff7abed5d3c9f10bfb.tar.gz
gentoo-2-565137b2e46125c96e49ddff7abed5d3c9f10bfb.tar.bz2
gentoo-2-565137b2e46125c96e49ddff7abed5d3c9f10bfb.zip
Adding iprutils-2.0.15.3-r1 which references a newer version of iprdd, sysfsutils-1.3, and introduces three new init.d scripts
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-fs/iprutils')
-rw-r--r--sys-fs/iprutils/ChangeLog10
-rw-r--r--sys-fs/iprutils/Manifest5
-rw-r--r--sys-fs/iprutils/files/digest-iprutils-2.0.15.3-r11
-rwxr-xr-xsys-fs/iprutils/files/iprdump16
-rwxr-xr-xsys-fs/iprutils/files/iprinit20
-rwxr-xr-xsys-fs/iprutils/files/iprupdate11
-rw-r--r--sys-fs/iprutils/iprutils-2.0.15.3-r1.ebuild40
7 files changed, 102 insertions, 1 deletions
diff --git a/sys-fs/iprutils/ChangeLog b/sys-fs/iprutils/ChangeLog
index eaaa12da0761..f358543862f6 100644
--- a/sys-fs/iprutils/ChangeLog
+++ b/sys-fs/iprutils/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-fs/iprutils
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/ChangeLog,v 1.5 2005/08/16 01:33:45 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/ChangeLog,v 1.6 2005/08/22 17:53:07 ranger Exp $
+
+*iprutils-2.0.15.3-r1 (22 Aug 2005)
+
+ 22 Aug 2005; Brent Baude <ranger@gentoo.org> +files/iprdump,
+ +files/iprinit, +files/iprupdate, +iprutils-2.0.15.3-r1.ebuild:
+ Adding a new iprutils ebuild called - iprutils-2.0.15.3-r1.ebuild. Changes
+ include referencing a new iprdd version, depping sysfsutils-1.3, and the
+ addition of 3 init.d scripts.
16 Aug 2005; Brent Baude <ranger@gentoo.org> iprutils-2.0.13.7-r2.ebuild:
Added ~ppc to iprutils which had applied to ppc64 before only, but with the
diff --git a/sys-fs/iprutils/Manifest b/sys-fs/iprutils/Manifest
index 53e69b342e4d..22d315fc2fae 100644
--- a/sys-fs/iprutils/Manifest
+++ b/sys-fs/iprutils/Manifest
@@ -2,5 +2,10 @@ MD5 0ae7aebc94b8fe48354d9d2954a0f5bc ChangeLog 1140
MD5 b04e12ebddd39d4ac0f27da0970cc6d5 iprutils-2.0.13.7-r1.ebuild 681
MD5 ace9702f1a6288f6fe3ef293571a674e metadata.xml 241
MD5 0c8aaefdbd553f996a52dda3d524f19d iprutils-2.0.13.7-r2.ebuild 685
+MD5 652d37db2efecdd782a6ae2a4b8f95bb iprutils-2.0.15.3-r1.ebuild 1139
+MD5 b6cc0ff2cf6d13a118c151476003754a files/iprdump 255
MD5 5dc474c0fc9c73d63db9d8e799543030 files/digest-iprutils-2.0.13.7-r1 70
MD5 5dc474c0fc9c73d63db9d8e799543030 files/digest-iprutils-2.0.13.7-r2 70
+MD5 39425f35c31c41a90c2f71a5a5d9fc14 files/iprinit 345
+MD5 1466f010262078da52c727a83cf2ef9e files/iprupdate 188
+MD5 07dd3cf15f66135e26674c784f4bb01c files/digest-iprutils-2.0.15.3-r1 70
diff --git a/sys-fs/iprutils/files/digest-iprutils-2.0.15.3-r1 b/sys-fs/iprutils/files/digest-iprutils-2.0.15.3-r1
new file mode 100644
index 000000000000..3dfe5df4b8e9
--- /dev/null
+++ b/sys-fs/iprutils/files/digest-iprutils-2.0.15.3-r1
@@ -0,0 +1 @@
+MD5 0d5c47fad38113bb315309e1a94980ba iprutils-2.0.15.3-src.tgz 112114
diff --git a/sys-fs/iprutils/files/iprdump b/sys-fs/iprutils/files/iprdump
new file mode 100755
index 000000000000..2801b8f1ad25
--- /dev/null
+++ b/sys-fs/iprutils/files/iprdump
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+
+depend() {
+ need logger iprinit
+}
+
+start() {
+ ebegin "Starting the ipr dump daemon"
+ start-stop-daemon --start --quiet --exec /sbin/iprdump
+
+}
+
+stop() {
+ ebegin "Stopping the ipr dump daemon"
+ start-stop-daemon --stop --name iprdump
+}
diff --git a/sys-fs/iprutils/files/iprinit b/sys-fs/iprutils/files/iprinit
new file mode 100755
index 000000000000..bd54d9918992
--- /dev/null
+++ b/sys-fs/iprutils/files/iprinit
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+
+depend() {
+ need logger
+}
+
+
+start() {
+ ebegin "Starting ipr initialization daemon"
+
+ if [ ! -d /sys/class/scsi_generic ] ; then
+ /sbin/modprobe sg
+ fi
+ start-stop-daemon --start --quiet --exec /sbin/iprinit -- --daemon
+}
+
+stop() {
+ ebegin "Shutting down ipr initialization daemon"
+ start-stop-daemon --stop --name iprinit
+}
diff --git a/sys-fs/iprutils/files/iprupdate b/sys-fs/iprutils/files/iprupdate
new file mode 100755
index 000000000000..196f913b94ed
--- /dev/null
+++ b/sys-fs/iprutils/files/iprupdate
@@ -0,0 +1,11 @@
+#!/sbin/runscript
+
+depend() {
+ need logger iprinit
+}
+
+start() {
+ ebegin "Checking ipr microcode levels"
+ /sbin/iprupdate &> /dev/null
+ eend $? "Failed to complete ipr microcode updates"
+}
diff --git a/sys-fs/iprutils/iprutils-2.0.15.3-r1.ebuild b/sys-fs/iprutils/iprutils-2.0.15.3-r1.ebuild
new file mode 100644
index 000000000000..7b6f6633389f
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.0.15.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/iprutils-2.0.15.3-r1.ebuild,v 1.1 2005/08/22 17:53:07 ranger Exp $
+
+inherit eutils
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="IBM's tools for support of the ipr SCSI controller"
+SRC_URI="mirror://sourceforge/iprdd/${P}-src.tgz"
+HOMEPAGE="http://sourceforge.net/projects/iprdd/"
+
+SLOT="0"
+LICENSE="IPL-1"
+KEYWORDS="~ppc64"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.4-r5
+ >=sys-apps/pciutils-2.1.11-r1
+ >=sys-fs/sysfsutils-1.3.0"
+
+src_install () {
+ make INSTALL_MOD_PATH=${D} install || die
+ dodoc ChangeLog LICENSE
+
+ dodir /etc/init.d
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/iprinit iprinit
+ newexe ${FILESDIR}/iprupdate iprupdate
+ newexe ${FILESDIR}/iprdump iprdump
+}
+
+pkg_postinst() {
+ einfo "This package also contains several init.d files. "
+ einfo "You should add them to your default runlevels as follows:"
+ einfo "rc-update add iprinit default"
+ einfo "rc-update add iprdump default"
+ einfo "rc-update add iprupdate default"
+ ebeep 5
+}