summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/sdparm')
-rw-r--r--sys-apps/sdparm/ChangeLog9
-rw-r--r--sys-apps/sdparm/sdparm-1.08-r1.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/sys-apps/sdparm/ChangeLog b/sys-apps/sdparm/ChangeLog
index 3eed9da4ad9c..b5122402a63d 100644
--- a/sys-apps/sdparm/ChangeLog
+++ b/sys-apps/sdparm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/sdparm
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sdparm/ChangeLog,v 1.75 2013/06/10 03:32:16 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sdparm/ChangeLog,v 1.76 2014/01/02 16:05:35 vapier Exp $
+
+*sdparm-1.08-r1 (02 Jan 2014)
+
+ 02 Jan 2014; Mike Frysinger <vapier@gentoo.org> +sdparm-1.08-r1.ebuild:
+ Fix depend on sg3_utils #479578 by Eric F. GARIOUD.
*sdparm-1.08 (10 Jun 2013)
diff --git a/sys-apps/sdparm/sdparm-1.08-r1.ebuild b/sys-apps/sdparm/sdparm-1.08-r1.ebuild
new file mode 100644
index 000000000000..589b029128ae
--- /dev/null
+++ b/sys-apps/sdparm/sdparm-1.08-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sdparm/sdparm-1.08-r1.ebuild,v 1.1 2014/01/02 16:05:35 vapier Exp $
+
+EAPI="4"
+
+DESCRIPTION="Utility to output and modify parameters on a SCSI device, like hdparm"
+HOMEPAGE="http://sg.danny.cz/sg/sdparm.html"
+SRC_URI="http://sg.danny.cz/sg/p/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE=""
+
+# Older releases contain a conflicting sas_disk_blink
+RDEPEND=">=sys-apps/sg3_utils-1.28"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog CREDITS README notes.txt )
+
+src_configure() {
+ # sdparm ships with a local copy of this lib, but will use the system copy if it
+ # detects it (see the README file). Force the use of the system lib. #479578
+ export ac_cv_lib_sgutils2_sg_ll_inquiry=yes
+ default
+}
+
+src_install() {
+ default
+ dosbin scripts/sas*
+
+ # These don't exist yet. Someone wanna copy hdparm's and make them work? :)
+ #newinitd ${FILESDIR}/sdparm-init-7 sdparm
+ #newconfd ${FILESDIR}/sdparm-conf.d.3 sdparm
+}