From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A6FB1382C5 for ; Tue, 13 Mar 2018 15:18:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A22A9E092B; Tue, 13 Mar 2018 15:18:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E53BE092B for ; Tue, 13 Mar 2018 15:18:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAA0F335C56 for ; Tue, 13 Mar 2018 15:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B56191F1 for ; Tue, 13 Mar 2018 15:18:16 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1520954292.903377ade6e5a8af8f51413457a8f8327aa11002.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dmidecode/, sys-apps/dmidecode/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/dmidecode/Manifest sys-apps/dmidecode/dmidecode-2.12-r1.ebuild sys-apps/dmidecode/files/2.12-supported-smbios-version.patch X-VCS-Directories: sys-apps/dmidecode/ sys-apps/dmidecode/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 903377ade6e5a8af8f51413457a8f8327aa11002 X-VCS-Branch: master Date: Tue, 13 Mar 2018 15:18:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: eb769f4e-d7c9-49be-b6ed-689d0adc8dd8 X-Archives-Hash: e2a54be7c09f9443986b6c24384f6398 commit: 903377ade6e5a8af8f51413457a8f8327aa11002 Author: Lars Wendler gentoo org> AuthorDate: Tue Mar 13 15:17:58 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Mar 13 15:18:12 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903377ad sys-apps/dmidecode: Removed old. Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-apps/dmidecode/Manifest | 1 - sys-apps/dmidecode/dmidecode-2.12-r1.ebuild | 43 ----------------- .../files/2.12-supported-smbios-version.patch | 55 ---------------------- 3 files changed, 99 deletions(-) diff --git a/sys-apps/dmidecode/Manifest b/sys-apps/dmidecode/Manifest index 73149901d34..55c8d215754 100644 --- a/sys-apps/dmidecode/Manifest +++ b/sys-apps/dmidecode/Manifest @@ -1,3 +1,2 @@ -DIST dmidecode-2.12.tar.bz2 55191 BLAKE2B b04ecd5d53a17a5bab60754651ddc90030f3d99c851a747983c92adf0faeec7f92ac9864d6c54cf70893aaf90db8567f60b8d0c6d9f8d4330b6981fe7f26d278 SHA512 15d5a6dca04de48267f969f6866079915964a8a3abad083b1720a4425723f9c100770d05c0d475df9609c5b54741f231a587761d1beb1ae6de4b2836d60724c4 DIST dmidecode-3.0.tar.xz 58704 BLAKE2B d3e22cfeb8f537f461523d0927cc5eb5fa6214638b8a9360b2159abff1b9f60c8a8753f24a233a77f7c413b074f9a910f000a0c49ca166ebf3297ad673e9fb93 SHA512 fa31190e43ae7a0b61f6313b45f5eba3ab66390accd587129419e48fca931b631cbb331d6893cf0c1bfca94c86ff8c557215166e0881dee93b3af10a86878eb1 DIST dmidecode-3.1.tar.xz 61204 BLAKE2B 439e265dd3f7b225d61b5d4228c0a77b25dd44b5d3672fdd9bbe432f5ae59ac23d2abd80e40621cda934643c9819b05f34d4f5befc8a75b93ae1840caf717cea SHA512 226557ad5747a2a2eb54a938543373b9ddcff032d330ca3b9a066cc81c0e137028f606ffedc042e0220b523346e2f2f7abb0e4b8b34a8bd173719aa858519de9 diff --git a/sys-apps/dmidecode/dmidecode-2.12-r1.ebuild b/sys-apps/dmidecode/dmidecode-2.12-r1.ebuild deleted file mode 100644 index 03c53646f8f..00000000000 --- a/sys-apps/dmidecode/dmidecode-2.12-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit flag-o-matic toolchain-funcs eutils - -DESCRIPTION="DMI (Desktop Management Interface) table related utilities" -HOMEPAGE="http://www.nongnu.org/dmidecode/" -SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-solaris" -IUSE="selinux" - -RDEPEND="selinux? ( sec-policy/selinux-dmidecode )" -DEPEND="" - -src_prepare() { - epatch "${FILESDIR}/${PV}-supported-smbios-version.patch" - 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 -} diff --git a/sys-apps/dmidecode/files/2.12-supported-smbios-version.patch b/sys-apps/dmidecode/files/2.12-supported-smbios-version.patch deleted file mode 100644 index 84feaca79ef..00000000000 --- a/sys-apps/dmidecode/files/2.12-supported-smbios-version.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -uNr dmidecode-2.12.ORIG/dmidecode.c dmidecode-2.12/dmidecode.c ---- dmidecode-2.12.ORIG/dmidecode.c 2014-05-06 14:24:27.703057950 +0100 -+++ dmidecode-2.12/dmidecode.c 2014-05-06 14:24:43.136058719 +0100 -@@ -69,7 +69,7 @@ - #define out_of_spec "" - static const char *bad_index = ""; - --#define SUPPORTED_SMBIOS_VER 0x0207 -+#define SUPPORTED_SMBIOS_VER 0x0208 - - /* - * Type-independant Stuff -@@ -712,7 +712,6 @@ - { 0x3D, "Opteron 6200" }, - { 0x3E, "Opteron 4200" }, - { 0x3F, "FX" }, -- - { 0x40, "MIPS" }, - { 0x41, "MIPS R4000" }, - { 0x42, "MIPS R4200" }, -@@ -729,7 +728,6 @@ - { 0x4D, "Opteron 6300" }, - { 0x4E, "Opteron 3300" }, - { 0x4F, "FirePro" }, -- - { 0x50, "SPARC" }, - { 0x51, "SuperSPARC" }, - { 0x52, "MicroSPARC II" }, -@@ -1176,7 +1174,7 @@ - "Socket LGA1356-3" /* 0x2C */ - }; - -- if (code >= 0x01 && code <= 0x2A) -+ if (code >= 0x01 && code <= 0x2C) - return upgrade[code - 0x01]; - return out_of_spec; - } -@@ -2236,7 +2234,7 @@ - if (code == 0) - printf(" Unknown"); - else -- printf(" %.3f V", (float)(i16)code / 1000); -+ printf(" %.3f V", (float)code / 1000); - } - - static const char *dmi_memory_device_form_factor(u8 code) -@@ -2338,7 +2336,7 @@ - { - int i; - -- for (i = 1; i <= 14; i++) -+ for (i = 1; i <= 15; i++) - if (code & (1 << i)) - printf(" %s", detail[i - 1]); - }