From a08f5513ab001a232b23438b6f26cd88d8ad5304 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 6 Mar 2020 10:09:39 +0100 Subject: [PATCH] sys-apps/sdparm: Bump to version 1.11 Package-Manager: Portage-2.3.92, Repoman-2.3.20 Signed-off-by: Lars Wendler --- sys-apps/sdparm/Manifest | 1 + sys-apps/sdparm/sdparm-1.11.ebuild | 34 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 sys-apps/sdparm/sdparm-1.11.ebuild diff --git a/sys-apps/sdparm/Manifest b/sys-apps/sdparm/Manifest index 4ff228257285..7dd0903bbf39 100644 --- a/sys-apps/sdparm/Manifest +++ b/sys-apps/sdparm/Manifest @@ -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 index 000000000000..52318ece3a5d --- /dev/null +++ b/sys-apps/sdparm/sdparm-1.11.ebuild @@ -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 +} -- 2.26.2