From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/
Date: Sat, 8 Jul 2023 18:43:32 +0000 (UTC) [thread overview]
Message-ID: <1688841701.3f05ae73ed97abb7c6907bef95d11bb4c2c75190.bkohler@gentoo> (raw)
commit: 3f05ae73ed97abb7c6907bef95d11bb4c2c75190
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 8 18:41:08 2023 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Sat Jul 8 18:41:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f05ae73
sys-apps/hwinfo: add 23.1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
sys-apps/hwinfo/Manifest | 1 +
sys-apps/hwinfo/hwinfo-23.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/sys-apps/hwinfo/Manifest b/sys-apps/hwinfo/Manifest
index 73b63fadf9b0..99feebef054c 100644
--- a/sys-apps/hwinfo/Manifest
+++ b/sys-apps/hwinfo/Manifest
@@ -1,3 +1,4 @@
DIST hwinfo-21.80-1.1.src.rpm 968192 BLAKE2B a11a1060137ff89504963c01c4129dcac93e8eea9747ea20272763f648068e8b4fb3f1c31ae761664b1b1ffedf32971b3b27804f125473f0367cc6eed03751bf SHA512 7bf64d9ee6b2381c43ffb22dc5623c8a8ed05c26b4e154c3093a9cb255779a1d482c18cd085b272ce619249743f1c43989337bed142685b4d6c634f4551893ee
DIST hwinfo-22.1-1.1.src.rpm 969862 BLAKE2B f295c941804d3264b45739fa3d1801c2e31d67ce50f49caafeaae5a4dbf809fcfb9b44eaefee6ac9c61f54c1639fe1cf7ba710a9bbae5c4adbc7b5740e706796 SHA512 83f5d2dc78dfb10987a57a52f194d5db38ec66e73daad8fdf08386b131cf862b6c7bc3404451550f91363bb3d4090e67ca36aeba001f506075e55721004f2759
DIST hwinfo-22.2-1.2.src.rpm 1063515 BLAKE2B 4baede16a2528421df77de2d6547f7301db8545de712327dc96a435819d2a35bac7d7ddd3bac5b0758d947ceb0360cb09d640154f392a844e8e201339781f4ed SHA512 76384ca7bce779ca92cd17f5312546ca6ff1ffd93be9d35253e65d1efda03bb8d596e89776024a51f9874c57cf2852938fb85c1f5b745d898e0bafe10cdbbdf9
+DIST hwinfo-23.1-1.1.src.rpm 1064746 BLAKE2B 59b3bac5dd8188abfec76a6f86bf0f9cbab5922900681d987ce3728911065331f730314df23d53dbd08992b4d67d7431b6f9566dcefa574b09956e41ccc8dfb0 SHA512 51622e3fff885e83b4f143e1f029915fb4a29b2a4b35d618945dfa8638a36e7e51c0b2edf51ad091a17a2599fd850cbc90c4d744889fcf375a9a7c5683966bdd
diff --git a/sys-apps/hwinfo/hwinfo-23.1.ebuild b/sys-apps/hwinfo/hwinfo-23.1.ebuild
new file mode 100644
index 000000000000..3152e42bc576
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-23.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm toolchain-funcs
+
+DESCRIPTION="Hardware detection tool used in SuSE Linux"
+HOMEPAGE="https://github.com/openSUSE/hwinfo/"
+#Using srpms from SUSE to get pregenerated changelog, otherwise we could use GH
+#SRC_URI="https://github.com/openSUSE/hwinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="http://download.opensuse.org/tumbleweed/repo/src-oss/src/${P}-1.1.src.rpm"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="amd64? ( dev-libs/libx86emu )
+ x86? ( dev-libs/libx86emu )"
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.17"
+BDEPEND="sys-devel/flex"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_prepare() {
+ # Respect AR variable.
+ sed -i \
+ -e 's:ar r:$(AR) r:' \
+ src/{,isdn,ids,smp,hd}/Makefile || die
+
+ # Respect LDFLAGS.
+ sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' src/ids/Makefile || die
+
+ # Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS.
+ sed -i \
+ -e 's:make:$(MAKE):' \
+ -e 's:-pipe -g::' \
+ -e 's:LDFLAGS.*=:LDFLAGS +=:' \
+ Makefile{,.common} || die
+ # Workaround from Arch, if using source tarballs from github
+ # echo 'touch changelog' > git2log
+ default
+}
+
+src_compile() {
+ tc-export AR
+ emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+ emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
+ keepdir /var/lib/hardware/udi
+
+ dodoc changelog README*
+ docinto examples
+ dodoc doc/example*.c
+ doman doc/*.{1,8}
+}
next reply other threads:[~2023-07-08 18:43 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-08 18:43 Ben Kohler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-04 10:30 [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwinfo/ WANG Xuerui
2023-12-28 14:16 Ben Kohler
2023-11-02 12:47 Ben Kohler
2023-11-01 19:20 Arthur Zamarin
2023-10-02 14:52 Ben Kohler
2023-09-27 17:56 Ben Kohler
2023-07-08 18:43 Ben Kohler
2023-06-01 14:46 Ben Kohler
2023-05-19 17:45 Sam James
2023-05-19 17:45 Sam James
2023-01-12 20:47 Ben Kohler
2022-10-04 15:50 Ben Kohler
2022-10-04 15:35 Ben Kohler
2022-09-27 7:08 Agostino Sarubbo
2022-09-27 6:05 Jakov Smolić
2022-09-27 6:05 Jakov Smolić
2022-08-12 12:20 Ben Kohler
2022-07-17 13:41 Ben Kohler
2022-06-21 14:26 Ben Kohler
2022-06-21 12:56 Ben Kohler
2022-05-25 16:50 Jakov Smolić
2022-02-19 13:14 Ben Kohler
2022-02-18 17:54 Sam James
2022-02-18 17:47 Sam James
2022-02-18 17:47 Sam James
2022-01-22 6:03 Arthur Zamarin
2022-01-07 17:09 Ben Kohler
2021-09-28 17:33 Ben Kohler
2021-09-28 17:33 Ben Kohler
2021-09-23 18:31 Ben Kohler
2021-09-17 9:20 Agostino Sarubbo
2021-09-17 9:18 Agostino Sarubbo
2021-08-02 13:30 Ben Kohler
2021-07-13 13:44 Ben Kohler
2021-06-25 19:36 Sam James
2021-06-25 19:33 Sam James
2021-06-25 19:32 Sam James
2021-05-25 11:11 Ben Kohler
2021-05-18 14:15 Ben Kohler
2021-04-23 16:13 Sam James
2021-04-22 20:15 Sam James
2021-04-22 20:15 Sam James
2021-03-23 19:41 Ben Kohler
2018-07-23 1:09 Mikle Kolyada
2018-05-27 16:11 Aaron Bauman
2018-05-21 16:18 Mikle Kolyada
2018-03-04 10:12 Sergei Trofimovich
2017-12-18 16:40 Jason Zaman
2016-02-09 14:57 Justin Lecher
2016-02-09 14:39 Justin Lecher
2016-02-09 14:31 Justin Lecher
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=1688841701.3f05ae73ed97abb7c6907bef95d11bb4c2c75190.bkohler@gentoo \
--to=bkohler@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