summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-12-26 01:00:02 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-12-26 01:00:02 +0000
commit9ee5b21f9efad5a208cef7e2f5d67fd32e6fb4db (patch)
tree1a8f49ff5d6cc87c5953895f6163b19c7dcc3afd /sys-apps/rescan-scsi-bus
parentVersion bump per bug #298188. (diff)
downloadgentoo-2-9ee5b21f9efad5a208cef7e2f5d67fd32e6fb4db.tar.gz
gentoo-2-9ee5b21f9efad5a208cef7e2f5d67fd32e6fb4db.tar.bz2
gentoo-2-9ee5b21f9efad5a208cef7e2f5d67fd32e6fb4db.zip
Bug #297404, version bump.
(Portage version: 2.2_rc58/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/rescan-scsi-bus')
-rw-r--r--sys-apps/rescan-scsi-bus/ChangeLog8
-rw-r--r--sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.35.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/sys-apps/rescan-scsi-bus/ChangeLog b/sys-apps/rescan-scsi-bus/ChangeLog
index ce45a91bb890..8b2630e0d4ce 100644
--- a/sys-apps/rescan-scsi-bus/ChangeLog
+++ b/sys-apps/rescan-scsi-bus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/rescan-scsi-bus
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/ChangeLog,v 1.26 2009/10/31 14:43:32 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/ChangeLog,v 1.27 2009/12/26 01:00:02 robbat2 Exp $
+
+*rescan-scsi-bus-1.35 (26 Dec 2009)
+
+ 26 Dec 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +rescan-scsi-bus-1.35.ebuild:
+ Bug #297404, version bump.
31 Oct 2009; Brent Baude <ranger@gentoo.org> rescan-scsi-bus-1.29.ebuild:
Marking rescan-scsi-bus-1.29 ppc64 for bug 273074
diff --git a/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.35.ebuild b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.35.ebuild
new file mode 100644
index 000000000000..758629d82659
--- /dev/null
+++ b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.35.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.35.ebuild,v 1.1 2009/12/26 01:00:02 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="Script to rescan the SCSI bus without rebooting"
+HOMEPAGE="http://www.garloff.de/kurt/linux/"
+SCRIPT_NAME="${PN}.sh"
+SRC_NAME="${SCRIPT_NAME}-${PV}"
+SRC_URI="http://www.garloff.de/kurt/linux/${SRC_NAME}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=sys-apps/sg3_utils-1.24
+ sys-apps/module-init-tools
+ app-shells/bash"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ einfo "Unpacking into ${WORKDIR}/"
+ cp -f "${DISTDIR}"/${SRC_NAME} "${WORKDIR}"/${SCRIPT_NAME}
+ #epatch "${FILESDIR}"/${P}-support-sysfs-only-systems.patch
+}
+
+src_compile() {
+ einfo "Nothing to compile"
+}
+
+src_install() {
+ into /usr
+ dosbin ${SCRIPT_NAME}
+ # Some scripts look for this without the trailing .sh
+ # Some look for it with the trailing .sh, so have a symlink
+ dosym ${SCRIPT_NAME} /usr/sbin/${PN}
+}