summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-02-13 20:34:47 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-02-13 20:34:47 +0000
commit6ac0bdf27329f2cd6ed055ac6861970eafbf5cf1 (patch)
treead111f7e24789691c8177235c95700cbe3689b42 /sys-apps
parentVersion bump to 5.3 (diff)
downloadgentoo-2-6ac0bdf27329f2cd6ed055ac6861970eafbf5cf1.tar.gz
gentoo-2-6ac0bdf27329f2cd6ed055ac6861970eafbf5cf1.tar.bz2
gentoo-2-6ac0bdf27329f2cd6ed055ac6861970eafbf5cf1.zip
Version bump.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rescan-scsi-bus/ChangeLog10
-rw-r--r--sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.56.ebuild41
2 files changed, 49 insertions, 2 deletions
diff --git a/sys-apps/rescan-scsi-bus/ChangeLog b/sys-apps/rescan-scsi-bus/ChangeLog
index 041aecd84ea7..77fd20cff615 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/ChangeLog,v 1.34 2011/02/02 09:30:32 robbat2 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/ChangeLog,v 1.35 2012/02/13 20:34:47 robbat2 Exp $
+
+*rescan-scsi-bus-1.56 (13 Feb 2012)
+
+ 13 Feb 2012; Robin H. Johnson <robbat2@gentoo.org>
+ +rescan-scsi-bus-1.56.ebuild:
+ Version bump.
*rescan-scsi-bus-1.48 (02 Feb 2011)
diff --git a/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.56.ebuild b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.56.ebuild
new file mode 100644
index 000000000000..17679fd11f2b
--- /dev/null
+++ b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.56.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 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.56.ebuild,v 1.1 2012/02/13 20:34:47 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~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}
+}