commit: 633c2a1244a83cc6c44ffb4a7cf1d4311fd81e16 Author: Filip Kobierski <fkobi <AT> pm <DOT> me> AuthorDate: Mon May 12 14:29:24 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 21 21:43:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633c2a12
sys-apps/sdparm: bump EAPI - https links - remove empty IUSE Signed-off-by: Filip Kobierski <fkobi <AT> pm.me> Part-of: https://github.com/gentoo/gentoo/pull/42056 Closes: https://github.com/gentoo/gentoo/pull/42056 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/sdparm/sdparm-1.12-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/sys-apps/sdparm/sdparm-1.12-r1.ebuild b/sys-apps/sdparm/sdparm-1.12-r1.ebuild new file mode 100644 index 000000000000..97cb54215e98 --- /dev/null +++ b/sys-apps/sdparm/sdparm-1.12-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Utility to output and modify parameters on a SCSI device, like hdparm" +HOMEPAGE="https://sg.danny.cz/sg/sdparm.html" +SRC_URI="https://sg.danny.cz/sg/p/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +# Older releases contain a conflicting sas_disk_blink +RDEPEND=">=sys-apps/sg3_utils-1.45:0=" +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 +}