From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dmidecode/
Date: Fri, 1 Jul 2022 06:38:21 +0000 (UTC) [thread overview]
Message-ID: <1656657496.8810174cf6793edeb4c8e2ffc455f69fbddea8bb.sam@gentoo> (raw)
commit: 8810174cf6793edeb4c8e2ffc455f69fbddea8bb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 1 06:38:12 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 1 06:38:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8810174c
sys-apps/dmidecode: add 3.4
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/dmidecode/Manifest | 1 +
sys-apps/dmidecode/dmidecode-3.4.ebuild | 45 +++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/sys-apps/dmidecode/Manifest b/sys-apps/dmidecode/Manifest
index f7691c3ec2e2..3b0473fab549 100644
--- a/sys-apps/dmidecode/Manifest
+++ b/sys-apps/dmidecode/Manifest
@@ -1 +1,2 @@
DIST dmidecode-3.3.tar.xz 56372 BLAKE2B 7a4557a203702da5d5d6722c72870342e18458b3777d095656e9d5c3a5f80cc712d16b775fa16e4ae9326965a789d393092d45651a449444e268438c1d16773e SHA512 dc77f40a7898011cea1b747d4677be2fbe8f52ec6ac460a5656de2f3389eca83bc416d6494acbe759971b5afce37b78f21ab55c34d62b1105b800e31566d1d22
+DIST dmidecode-3.4.tar.xz 61420 BLAKE2B f9f0429c5128692c2d1d560580552285ea900c1c9ef6f68f0e2133ae1ef05b85a943e882f915d3ef969b7a7e3f3f6bbc4ec391e7bd3d98092976ddbf02421c49 SHA512 62990b6159e5a7c8688d37e44957e7948391d2c6afeabaa4514ba9dad2d08b020297676e2dbbfcb6471efc6fb6f3682750422931a953f78f358bb3dd3745e95b
diff --git a/sys-apps/dmidecode/dmidecode-3.4.ebuild b/sys-apps/dmidecode/dmidecode-3.4.ebuild
new file mode 100644
index 000000000000..9cff88ef840e
--- /dev/null
+++ b/sys-apps/dmidecode/dmidecode-3.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Upstream often give "recommended patches" at https://www.nongnu.org/dmidecode/
+# Check regularly after releases!
+inherit toolchain-funcs
+
+DESCRIPTION="DMI (Desktop Management Interface) table related utilities"
+HOMEPAGE="https://www.nongnu.org/dmidecode/"
+SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~x86-solaris"
+IUSE="selinux"
+
+RDEPEND="selinux? ( sec-policy/selinux-dmidecode )"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "/^prefix/s:/usr/local:${EPREFIX}/usr:" \
+ -e "/^docdir/s:dmidecode:${PF}:" \
+ -e '/^PROGRAMS !=/d' \
+ Makefile || die
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)"
+}
+
+pkg_postinst() {
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ einfo "dmidecode needs root privileges to read /dev/xsvc"
+ einfo "To make dmidecode useful, either run as root, or chown and setuid the binary."
+ einfo "Note that /usr/sbin/ptrconf and /usr/sbin/ptrdiag give similar"
+ einfo "information without requiring root privileges."
+ fi
+}
next reply other threads:[~2022-07-01 6:38 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-01 6:38 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-24 13:57 [gentoo-commits] repo/gentoo:master commit in: sys-apps/dmidecode/ Sam James
2024-04-24 12:48 Sam James
2023-11-04 13:35 Sam James
2023-11-04 12:25 Sam James
2023-11-04 10:52 Sam James
2023-11-04 10:50 Sam James
2023-10-02 23:00 Robin H. Johnson
2023-10-02 21:42 Robin H. Johnson
2023-10-02 21:42 Robin H. Johnson
2023-06-17 21:03 Sam James
2023-06-17 15:13 Sam James
2023-06-17 10:42 Arthur Zamarin
2023-06-17 6:12 Sam James
2023-06-17 6:12 Sam James
2023-06-17 5:57 Sam James
2023-04-23 22:28 Sam James
2023-04-23 21:15 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:07 Sam James
2023-04-23 20:07 Sam James
2023-03-19 3:30 Sam James
2023-03-19 3:30 Sam James
2023-03-15 5:45 Sam James
2022-09-23 2:09 Sam James
2022-09-17 5:38 Arthur Zamarin
2022-09-06 21:59 Jakov Smolić
2022-09-06 21:49 Jakov Smolić
2022-09-06 21:46 Jakov Smolić
2022-09-06 21:36 Sam James
2022-09-06 21:28 Sam James
2022-05-05 9:51 WANG Xuerui
2021-09-01 9:24 Yixun Lan
2021-05-13 13:55 David Seifert
2021-05-10 14:44 David Seifert
2021-05-09 21:48 Sam James
2021-05-09 21:48 Sam James
2021-05-09 21:48 Sam James
2021-05-09 21:44 Sam James
2021-05-09 21:42 Sam James
2021-05-09 11:01 Sam James
2021-03-24 13:27 Ben Kohler
2020-10-14 20:52 Lars Wendler
2020-10-14 20:52 Lars Wendler
2020-06-13 12:29 Mart Raudsepp
2019-05-11 12:21 Mikle Kolyada
2019-05-07 20:14 Tobias Klausmann
2019-04-29 19:49 Sergei Trofimovich
2019-04-29 8:51 Sergei Trofimovich
2019-04-29 8:49 Sergei Trofimovich
2019-04-29 8:19 Sergei Trofimovich
2019-04-28 20:34 Thomas Deutschmann
2019-04-28 19:42 Mikle Kolyada
2018-10-24 4:10 Matt Turner
2018-09-17 7:56 Lars Wendler
2018-05-10 17:40 Mikle Kolyada
2018-05-10 17:15 Mikle Kolyada
2018-05-10 17:12 Mikle Kolyada
2018-04-21 9:14 Mikle Kolyada
2018-04-15 22:21 Sergei Trofimovich
2018-03-14 12:54 Mikle Kolyada
2018-03-14 7:20 Sergei Trofimovich
2018-03-13 23:07 Sergei Trofimovich
2017-05-30 4:57 Markus Meier
2017-05-26 14:05 Agostino Sarubbo
2017-05-26 7:08 Michael Weber
2017-05-25 23:17 Michael Weber
2017-05-25 10:44 Agostino Sarubbo
2017-05-24 14:29 Lars Wendler
2016-02-28 7:08 Matt Thode
2015-09-07 7:00 Lars Wendler
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=1656657496.8810174cf6793edeb4c8e2ffc455f69fbddea8bb.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