Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dmidecode/
Date: Fri, 23 Sep 2022 02:09:30
Message-Id: 1663898934.e734a0885fdc2d4fff5b364ef736382c8df7fc46.sam@gentoo
1 commit: e734a0885fdc2d4fff5b364ef736382c8df7fc46
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 02:01:54 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 02:08:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e734a088
7
8 sys-apps/dmidecode: drop 3.3
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-apps/dmidecode/Manifest | 1 -
13 sys-apps/dmidecode/dmidecode-3.3.ebuild | 43 ---------------------------------
14 2 files changed, 44 deletions(-)
15
16 diff --git a/sys-apps/dmidecode/Manifest b/sys-apps/dmidecode/Manifest
17 index 3b0473fab549..c411b41d00d9 100644
18 --- a/sys-apps/dmidecode/Manifest
19 +++ b/sys-apps/dmidecode/Manifest
20 @@ -1,2 +1 @@
21 -DIST dmidecode-3.3.tar.xz 56372 BLAKE2B 7a4557a203702da5d5d6722c72870342e18458b3777d095656e9d5c3a5f80cc712d16b775fa16e4ae9326965a789d393092d45651a449444e268438c1d16773e SHA512 dc77f40a7898011cea1b747d4677be2fbe8f52ec6ac460a5656de2f3389eca83bc416d6494acbe759971b5afce37b78f21ab55c34d62b1105b800e31566d1d22
22 DIST dmidecode-3.4.tar.xz 61420 BLAKE2B f9f0429c5128692c2d1d560580552285ea900c1c9ef6f68f0e2133ae1ef05b85a943e882f915d3ef969b7a7e3f3f6bbc4ec391e7bd3d98092976ddbf02421c49 SHA512 62990b6159e5a7c8688d37e44957e7948391d2c6afeabaa4514ba9dad2d08b020297676e2dbbfcb6471efc6fb6f3682750422931a953f78f358bb3dd3745e95b
23
24 diff --git a/sys-apps/dmidecode/dmidecode-3.3.ebuild b/sys-apps/dmidecode/dmidecode-3.3.ebuild
25 deleted file mode 100644
26 index 4bf9154f283b..000000000000
27 --- a/sys-apps/dmidecode/dmidecode-3.3.ebuild
28 +++ /dev/null
29 @@ -1,43 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit toolchain-funcs
36 -
37 -DESCRIPTION="DMI (Desktop Management Interface) table related utilities"
38 -HOMEPAGE="https://www.nongnu.org/dmidecode/"
39 -SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.xz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="-* ~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv x86 ~x86-solaris"
44 -IUSE="selinux"
45 -
46 -RDEPEND="selinux? ( sec-policy/selinux-dmidecode )"
47 -DEPEND=""
48 -
49 -src_prepare() {
50 - default
51 - sed -i \
52 - -e "/^prefix/s:/usr/local:${EPREFIX}/usr:" \
53 - -e "/^docdir/s:dmidecode:${PF}:" \
54 - -e '/^PROGRAMS !=/d' \
55 - Makefile || die
56 -}
57 -
58 -src_compile() {
59 - emake \
60 - CFLAGS="${CFLAGS} ${CPPFLAGS}" \
61 - LDFLAGS="${LDFLAGS}" \
62 - CC="$(tc-getCC)"
63 -}
64 -
65 -pkg_postinst() {
66 - if [[ ${CHOST} == *-solaris* ]] ; then
67 - einfo "dmidecode needs root privileges to read /dev/xsvc"
68 - einfo "To make dmidecode useful, either run as root, or chown and setuid the binary."
69 - einfo "Note that /usr/sbin/ptrconf and /usr/sbin/ptrdiag give similar"
70 - einfo "information without requiring root privileges."
71 - fi
72 -}