summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-fs/iprutils
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-fs/iprutils')
-rw-r--r--sys-fs/iprutils/Manifest5
-rwxr-xr-xsys-fs/iprutils/files/iprdump16
-rwxr-xr-xsys-fs/iprutils/files/iprdump-r116
-rwxr-xr-xsys-fs/iprutils/files/iprinit20
-rwxr-xr-xsys-fs/iprutils/files/iprinit-r120
-rwxr-xr-xsys-fs/iprutils/files/iprupdate11
-rwxr-xr-xsys-fs/iprutils/files/iprupdate-r111
-rw-r--r--sys-fs/iprutils/files/iprutils-2.4.7-tinfo.patch14
-rw-r--r--sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch14
-rw-r--r--sys-fs/iprutils/iprutils-2.3.13.ebuild41
-rw-r--r--sys-fs/iprutils/iprutils-2.3.18.ebuild56
-rw-r--r--sys-fs/iprutils/iprutils-2.3.9.ebuild41
-rw-r--r--sys-fs/iprutils/iprutils-2.4.7.ebuild46
-rw-r--r--sys-fs/iprutils/iprutils-2.4.8-r1.ebuild51
-rw-r--r--sys-fs/iprutils/metadata.xml8
15 files changed, 370 insertions, 0 deletions
diff --git a/sys-fs/iprutils/Manifest b/sys-fs/iprutils/Manifest
new file mode 100644
index 000000000000..3862039ba6f3
--- /dev/null
+++ b/sys-fs/iprutils/Manifest
@@ -0,0 +1,5 @@
+DIST iprutils-2.3.13-src.tgz 180225 SHA256 a225095819dce9402a24066ee65062ad57e0d9ba7f338477042ad7e45193ae7d SHA512 7c185f05300a25147e2b3a7c2e66be7fd5d8a9d5b2655dd86a1c845b9c71175cf8f211b869836b16c9b93655e701837496d736990f022bbccd5eff0056d1ecf0 WHIRLPOOL caeb901d78cf94b24dc4510a5de8b8a45561e583084f0ee4e22a0f1bf33d5c9f2b7998ef455a8bcacf7f0225495fd9ec6d4abc54259e1f1b5b11a62f50337fea
+DIST iprutils-2.3.18-src.tgz 1384924 SHA256 8e510659e740c00e2200bb3d1726c3bbe0c0f93e1c4320a63c007ff5ceceffa3 SHA512 230722556c080b6784574f05066230cfd932e0fb9812a19ec6d911f2b281b6a52b15dd4084c7dc29c2004edbfcc6e4b94080a6f0869746a9021116949ec318e0 WHIRLPOOL 88bb686c3128806a77b55a9a871c95c63fc31a3d24046f8ac519a04204e6ec3ce1a74c259322762ab3f1f35204a0938c11cb6af496da2f80bbfe78864d5c3603
+DIST iprutils-2.3.9-src.tgz 169854 SHA256 9d56d058dc377ec21323e6a8710742168f5d2148d13dc249021f7123b8ba360f SHA512 d9b05d070941970827140ef6b2b69d2566f862b06e85c91ceec2561dfb08c4c428fd3fafe36657acb7481f2f7c695d355cd1b43f60ad241275facd6bb8d43535 WHIRLPOOL 7f21d6212465338f93f97e0ee7a521065923a57ce9c28b266e7f8929927e0a4bb2d6dd2f89af9bbb8c43c8ad2498abd8a3370d8b7fdf72b1bc0725617f097162
+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
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/iprdump-r1 b/sys-fs/iprutils/files/iprdump-r1
new file mode 100755
index 000000000000..66c1e4c81928
--- /dev/null
+++ b/sys-fs/iprutils/files/iprdump-r1
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+
+depend() {
+ need logger iprinit
+}
+
+start() {
+ ebegin "Starting the ipr dump daemon"
+ start-stop-daemon --start --quiet --exec /usr/sbin/iprdump -- --daemon
+
+}
+
+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/iprinit-r1 b/sys-fs/iprutils/files/iprinit-r1
new file mode 100755
index 000000000000..892e287f605c
--- /dev/null
+++ b/sys-fs/iprutils/files/iprinit-r1
@@ -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 /usr/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..9aba8fee8303
--- /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 2>&1 > /dev/null
+ eend $? "Failed to complete ipr microcode updates"
+}
diff --git a/sys-fs/iprutils/files/iprupdate-r1 b/sys-fs/iprutils/files/iprupdate-r1
new file mode 100755
index 000000000000..48a63e8e2dcf
--- /dev/null
+++ b/sys-fs/iprutils/files/iprupdate-r1
@@ -0,0 +1,11 @@
+#!/sbin/runscript
+
+depend() {
+ need logger iprinit
+}
+
+start() {
+ ebegin "Checking ipr microcode levels"
+ /usr/sbin/iprupdate 2>&1 > /dev/null
+ eend $? "Failed to complete ipr microcode updates"
+}
diff --git a/sys-fs/iprutils/files/iprutils-2.4.7-tinfo.patch b/sys-fs/iprutils/files/iprutils-2.4.7-tinfo.patch
new file mode 100644
index 000000000000..406f3efff2a7
--- /dev/null
+++ b/sys-fs/iprutils/files/iprutils-2.4.7-tinfo.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -30,7 +30,10 @@
+ AC_CHECK_LIB([menu], [new_menu], [], [AC_ERROR("libmenu not found.")])
+ AC_CHECK_LIB([panel], [show_panel], [], [AC_ERROR("libpanel not found.")])
+ AC_CHECK_LIB([ncurses], [curses_version], [],
+- [AC_ERROR("libncurses not found.")])
++ AC_CHECK_LIB([tinfo], [curses_version], [],
++ [AC_ERROR("libncurses not found.")]))
++AC_CHECK_LIB([ncurses], [wnoutrefresh], [],
++ [AC_ERROR("libncurses not found.")])
+
+ # Checks for header files.
+ AC_CHECK_HEADERS([fcntl.h libintl.h locale.h netinet/in.h nl_types.h \
diff --git a/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch b/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch
new file mode 100644
index 000000000000..29930b76387e
--- /dev/null
+++ b/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -51,7 +51,10 @@
+
+ save_LIBS="$LIBS"
+ AC_CHECK_LIB([ncurses], [curses_version], [],
+- [AC_ERROR("libncurses not found.")])
++ AC_CHECK_LIB([tinfo], [curses_version], [],
++ [AC_ERROR("libncurses not found.")]))
++AC_CHECK_LIB([ncurses], [wnoutrefresh], [],
++ [AC_ERROR("libncurses not found.")])
+ AC_CHECK_LIB([form], [free_form], [], [AC_ERROR("libform not found.")])
+ AC_CHECK_LIB([m], [matherr], [], [AC_ERROR("libm not found.")])
+ AC_CHECK_LIB([menu], [new_menu], [], [AC_ERROR("libmenu not found.")])
diff --git a/sys-fs/iprutils/iprutils-2.3.13.ebuild b/sys-fs/iprutils/iprutils-2.3.13.ebuild
new file mode 100644
index 000000000000..e62ce44af247
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.3.13.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="IBM"
+KEYWORDS="~ppc ~ppc64"
+IUSE=""
+
+DEPEND=">=sys-libs/ncurses-5.4-r5
+ >=sys-apps/pciutils-2.1.11-r1
+ >=sys-fs/sysfsutils-1.3.0
+ virtual/udev"
+
+RDEPEND="${DEPEND}
+ virtual/logger"
+
+src_install () {
+ make INSTALL_MOD_PATH="${D}" install || die
+ dodoc ChangeLog
+
+ newinitd "${FILESDIR}"/iprinit iprinit
+ newinitd "${FILESDIR}"/iprupdate iprupdate
+ newinitd "${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
+}
diff --git a/sys-fs/iprutils/iprutils-2.3.18.ebuild b/sys-fs/iprutils/iprutils-2.3.18.ebuild
new file mode 100644
index 000000000000..574a2150c4cc
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.3.18.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+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="IBM"
+KEYWORDS="~ppc ~ppc64"
+
+DEPEND=">=sys-libs/ncurses-5.4-r5
+ >=sys-apps/pciutils-2.1.11-r1
+ >=sys-fs/sysfsutils-1.3.0
+ virtual/udev"
+
+RDEPEND="${DEPEND}
+ virtual/logger"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ # Respect CFLAGS and LDFLAGS, bug #377757
+ sed -i \
+ -e '/^CFLAGS/s/= -g/+=/' \
+ -e 's/$(CFLAGS)/\0 $(LDFLAGS)/g' \
+ Makefile || die
+
+ epatch_user
+}
+
+src_compile() {
+ # Respect CC, bug #377757
+ emake CC="$(tc-getCC)"
+}
+
+src_install () {
+ emake INSTALL_MOD_PATH="${D}" install
+
+ newinitd "${FILESDIR}"/iprinit iprinit
+ newinitd "${FILESDIR}"/iprupdate iprupdate
+ newinitd "${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"
+}
diff --git a/sys-fs/iprutils/iprutils-2.3.9.ebuild b/sys-fs/iprutils/iprutils-2.3.9.ebuild
new file mode 100644
index 000000000000..d28ed6c714c0
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.3.9.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="IBM"
+KEYWORDS="ppc ppc64"
+IUSE=""
+
+DEPEND=">=sys-libs/ncurses-5.4-r5
+ >=sys-apps/pciutils-2.1.11-r1
+ >=sys-fs/sysfsutils-1.3.0
+ virtual/udev"
+
+RDEPEND="${DEPEND}
+ virtual/logger"
+
+src_install () {
+ make INSTALL_MOD_PATH="${D}" install || die
+ dodoc ChangeLog
+
+ newinitd "${FILESDIR}"/iprinit iprinit
+ newinitd "${FILESDIR}"/iprupdate iprupdate
+ newinitd "${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
+}
diff --git a/sys-fs/iprutils/iprutils-2.4.7.ebuild b/sys-fs/iprutils/iprutils-2.4.7.ebuild
new file mode 100644
index 000000000000..8e47de291b45
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.4.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools 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"
+
+DEPEND="
+ >=sys-libs/ncurses-5.4-r5
+ >=sys-apps/pciutils-2.1.11-r1
+ virtual/udev
+"
+RDEPEND="
+ ${DEPEND}
+ virtual/logger
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.4.7-tinfo.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install () {
+ default
+
+ newinitd "${FILESDIR}"/iprinit-r1 iprinit
+ newinitd "${FILESDIR}"/iprupdate-r1 iprupdate
+ newinitd "${FILESDIR}"/iprdump-r1 iprdump
+
+ prune_libtool_files
+}
diff --git a/sys-fs/iprutils/iprutils-2.4.8-r1.ebuild b/sys-fs/iprutils/iprutils-2.4.8-r1.ebuild
new file mode 100644
index 000000000000..52fff2c51c53
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.4.8-r1.ebuild
@@ -0,0 +1,51 @@
+# 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
+
+ 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
+}
diff --git a/sys-fs/iprutils/metadata.xml b/sys-fs/iprutils/metadata.xml
new file mode 100644
index 000000000000..fc39b7328154
--- /dev/null
+++ b/sys-fs/iprutils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ppc64</herd>
+ <upstream>
+ <remote-id type="sourceforge">iprdd</remote-id>
+ </upstream>
+</pkgmetadata>