sys-apps/sdparm: Bump to version 1.11
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 6 Mar 2020 09:09:39 +0000 (10:09 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 6 Mar 2020 09:09:51 +0000 (10:09 +0100)
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-apps/sdparm/Manifest
sys-apps/sdparm/sdparm-1.11.ebuild [new file with mode: 0644]

index 4ff22825728593b738520c2e3601c0502e3bdd27..7dd0903bbf396f1b1fe2b3776f4e32b8b6414885 100644 (file)
@@ -1 +1,2 @@
 DIST sdparm-1.10.tgz 361464 BLAKE2B e2e7f09936fcdbdd50b7f397c62023592b494d5b1f8a998d32a4777134ec2edc39b11433ed00f5518ba6a8d04f7dee36e6a070221901b9c31a1a0d25da8439e5 SHA512 1cfa95ced443d190ee9e4a899c9cfc6b98367ba39a9cc201c0db2f8c92dd4e74368182be3b8bfe28e51761b1ededf914ee669ef8ff6023d1ec1f05d69889a35f
+DIST sdparm-1.11.tgz 473501 BLAKE2B 7c8b8a1c14b72de3c36cd701c6d870e0b671df2f17d17a63eb00cce41a80f3cbfbe9e3f2afca08f1a1a9be5a08fbb98a9ddb1ccdc117bceef508790407513754 SHA512 cb5d1dd351464fcc05005429bb8f452b05e6673b1dd8b699f762d005ab3e612b3b7d6ea400ffbd5e98e33e3e78da735d01705353b8a9b9567aac55a3f6b6d813
diff --git a/sys-apps/sdparm/sdparm-1.11.ebuild b/sys-apps/sdparm/sdparm-1.11.ebuild
new file mode 100644 (file)
index 0000000..52318ec
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+# Older releases contain a conflicting sas_disk_blink
+RDEPEND=">=sys-apps/sg3_utils-1.42"
+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
+
+       # These don't exist yet. Someone wanna copy hdparm's and make them work? :)
+       #newinitd ${FILESDIR}/sdparm-init-1 sdparm
+       #newconfd ${FILESDIR}/sdparm-conf.d-1 sdparm
+}