From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hdparm/
Date: Sun, 10 Sep 2023 23:48:44 +0000 (UTC) [thread overview]
Message-ID: <1694389715.ea693b93b97f68109c3c19a83d410ca5b3c73080.sam@gentoo> (raw)
commit: ea693b93b97f68109c3c19a83d410ca5b3c73080
Author: Daniil Lunev <dlunev <AT> google <DOT> com>
AuthorDate: Sun Sep 10 23:03:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 10 23:48:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea693b93
sys-apps/hdparm: fix post-build strip
Export STRIP only for emake step, to avoid confusing portage's strip step.
- strip: strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
+ strip: llvm-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/sbin/hdparm
-strip: Unable to recognise the format of the input file `/build/cherry/tmp/portage/sys-apps/hdparm-9.65/image/sbin/hdparm'
[sam: I can't reproduce STRIP=: failing but the issue is clear here anyway,
we don't want to interfere with the environment's STRIP (even if maybe Portage
should ignore ebuild tampering with it). Just do the cleaner thing which makes
the ebuild simpler as a bonus.]
Closes: https://bugs.gentoo.org/913959
Signed-off-by: Daniil Lunev <dlunev <AT> google.com>
Closes: https://github.com/gentoo/gentoo/pull/32718
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/hdparm/hdparm-9.65-r1.ebuild | 45 +++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/sys-apps/hdparm/hdparm-9.65-r1.ebuild b/sys-apps/hdparm/hdparm-9.65-r1.ebuild
new file mode 100644
index 000000000000..7e814b104e2e
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.65-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Utility to change hard drive performance parameters"
+HOMEPAGE="https://sourceforge.net/projects/hdparm/"
+SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz"
+
+# GPL-2 only
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-9.60-build.patch
+)
+
+src_prepare() {
+ default
+
+ use static && append-ldflags -static
+}
+
+src_compile() {
+ emake STRIP="true" CC="$(tc-getCC)"
+}
+
+src_install() {
+ into /
+ dosbin hdparm contrib/idectl
+
+ newinitd "${FILESDIR}"/hdparm-init-8 hdparm
+ newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm
+
+ doman hdparm.8
+ dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
+
+ docinto wiper
+ dodoc wiper/{README.txt,wiper.sh}
+ docompress -x /usr/share/doc/${PF}/wiper/wiper.sh
+}
next reply other threads:[~2023-09-10 23:48 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-10 23:48 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-28 4:15 [gentoo-commits] repo/gentoo:master commit in: sys-apps/hdparm/ Sam James
2023-11-04 13:35 Sam James
2023-11-04 10:33 Sam James
2023-10-26 12:49 Sam James
2023-10-23 14:05 Arthur Zamarin
2023-10-22 12:22 Sam James
2023-10-22 11:40 Sam James
2023-10-22 11:39 Sam James
2023-10-22 11:39 Sam James
2023-10-22 11:39 Sam James
2023-10-22 11:39 Sam James
2022-11-18 10:53 Arthur Zamarin
2022-11-18 6:52 Arthur Zamarin
2022-11-18 6:45 Sam James
2022-11-18 6:45 Sam James
2022-11-18 6:44 Arthur Zamarin
2022-11-18 6:38 Arthur Zamarin
2022-11-18 6:38 Arthur Zamarin
2022-11-18 6:38 Arthur Zamarin
2022-09-23 2:09 Sam James
2022-09-16 10:16 Arthur Zamarin
2022-09-15 19:58 Arthur Zamarin
2022-09-14 19:41 Arthur Zamarin
2022-09-08 4:35 Sam James
2022-09-07 1:50 Sam James
2022-09-06 21:59 Jakov Smolić
2022-09-06 21:49 Jakov Smolić
2022-09-06 21:38 Sam James
2022-09-06 21:35 Sam James
2022-07-09 8:32 Sam James
2022-07-09 8:32 Sam James
2022-05-25 16:50 Jakov Smolić
2022-05-19 7:28 WANG Xuerui
2022-02-23 5:05 Arthur Zamarin
2022-02-19 9:36 Arthur Zamarin
2022-02-19 9:30 Arthur Zamarin
2022-02-19 3:02 Sam James
2022-02-19 2:36 Sam James
2022-02-19 2:36 Sam James
2022-02-19 2:28 Sam James
2022-02-19 2:24 Sam James
2022-01-11 2:57 Sam James
2021-06-13 6:32 Agostino Sarubbo
2021-06-13 6:10 Sam James
2021-06-12 16:32 Sam James
2021-06-12 16:07 Sam James
2021-06-12 15:49 Sam James
2021-06-12 15:49 Sam James
2021-06-12 15:49 Sam James
2021-05-14 22:14 David Seifert
2021-05-11 14:05 Lars Wendler
2021-05-11 14:05 Lars Wendler
2021-04-26 19:55 Lars Wendler
2020-11-21 23:55 Lars Wendler
2020-04-14 7:28 Sergei Trofimovich
2020-04-13 14:53 Agostino Sarubbo
2020-04-13 10:19 Agostino Sarubbo
2020-04-13 10:17 Agostino Sarubbo
2020-04-13 10:16 Agostino Sarubbo
2020-04-13 10:14 Agostino Sarubbo
2020-04-12 11:02 Sergei Trofimovich
2020-04-12 10:52 Mart Raudsepp
2018-11-27 19:03 Mart Raudsepp
2018-11-18 9:26 Mikle Kolyada
2018-10-26 15:23 Lars Wendler
2018-10-20 11:46 Sergei Trofimovich
2018-10-20 11:43 Sergei Trofimovich
2018-10-20 11:40 Sergei Trofimovich
2018-10-20 11:35 Sergei Trofimovich
2018-10-18 11:45 Tobias Klausmann
2018-10-17 18:38 Sergei Trofimovich
2018-10-17 16:24 Mikle Kolyada
2018-10-17 12:07 Thomas Deutschmann
2018-10-17 9:23 Lars Wendler
2018-10-17 9:23 Lars Wendler
2018-04-22 8:22 Mart Raudsepp
2018-03-25 21:37 Lars Wendler
2018-03-25 21:37 Lars Wendler
2018-03-17 21:01 Lars Wendler
2018-03-17 21:01 Lars Wendler
2018-03-04 8:16 Tobias Klausmann
2018-02-05 15:12 Lars Wendler
2018-01-10 6:19 Markus Meier
2018-01-07 23:35 Mikle Kolyada
2018-01-07 11:36 Sergei Trofimovich
2018-01-06 21:33 Sergei Trofimovich
2018-01-06 20:24 Sergei Trofimovich
2018-01-05 20:14 Sergei Trofimovich
2018-01-05 16:19 Lars Wendler
2017-06-17 22:07 Lars Wendler
2017-05-18 19:37 Michael Weber
2017-05-18 19:37 Michael Weber
2017-05-12 17:56 Tobias Klausmann
2017-05-06 10:01 Jeroen Roovers
2017-05-06 7:29 Markus Meier
2017-05-03 8:19 Agostino Sarubbo
2017-05-02 12:48 Lars Wendler
2017-05-02 12:48 Lars Wendler
2017-02-25 7:32 Markus Meier
2017-01-25 12:16 Tobias Klausmann
2017-01-23 16:27 Agostino Sarubbo
2017-01-23 6:35 Jeroen Roovers
2017-01-20 9:27 Agostino Sarubbo
2017-01-19 20:29 Lars Wendler
2016-11-25 23:47 Mike Frysinger
2016-10-20 9:27 Lars Wendler
2016-10-19 20:50 Lars Wendler
2016-10-19 20:50 Lars Wendler
2016-05-25 6:29 Matt Turner
2016-05-09 16:49 Patrice Clement
2016-04-27 13:08 Jeroen Roovers
2016-04-27 13:01 Jeroen Roovers
2016-04-03 19:07 Markus Meier
2016-04-02 13:44 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1694389715.ea693b93b97f68109c3c19a83d410ca5b3c73080.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox