summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-02-02 09:30:32 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-02-02 09:30:32 +0000
commit12bb8218ec8ed239ca027af95da538794d8f336f (patch)
tree661ceedba47c6a2541198546435a36da75f13a95 /sys-apps
parentversion bump (diff)
downloadgentoo-2-12bb8218ec8ed239ca027af95da538794d8f336f.tar.gz
gentoo-2-12bb8218ec8ed239ca027af95da538794d8f336f.tar.bz2
gentoo-2-12bb8218ec8ed239ca027af95da538794d8f336f.zip
Version bump.
(Portage version: 2.2.0_alpha19/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.48.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 7a3aec3f7ad8..041aecd84ea7 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/ChangeLog,v 1.33 2010/08/29 17:10:45 armin76 Exp $
+# 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 $
+
+*rescan-scsi-bus-1.48 (02 Feb 2011)
+
+ 02 Feb 2011; Robin H. Johnson <robbat2@gentoo.org>
+ +rescan-scsi-bus-1.48.ebuild:
+ Version bump.
29 Aug 2010; Raúl Porcel <armin76@gentoo.org>
rescan-scsi-bus-1.29.ebuild:
diff --git a/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.48.ebuild b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.48.ebuild
new file mode 100644
index 000000000000..48feebde7ec5
--- /dev/null
+++ b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.48.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 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.48.ebuild,v 1.1 2011/02/02 09:30:32 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}
+}