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 0C2FB138350 for ; Tue, 4 Feb 2020 18:09:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AFB7E0894; Tue, 4 Feb 2020 18:09:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 26CFCE0894 for ; Tue, 4 Feb 2020 18:09:16 +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 24C1334E743 for ; Tue, 4 Feb 2020 18:09:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D444138 for ; Tue, 4 Feb 2020 18:09:10 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1580838507.228180e0d7a54d0b8d826419022cb610ab0993e4.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/cpuid/, sys-apps/cpuid/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/cpuid/Manifest sys-apps/cpuid/cpuid-20200203.ebuild sys-apps/cpuid/files/cpuid-20200203-makefile.patch X-VCS-Directories: sys-apps/cpuid/files/ sys-apps/cpuid/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 228180e0d7a54d0b8d826419022cb610ab0993e4 X-VCS-Branch: master Date: Tue, 4 Feb 2020 18:09:10 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a876f074-a8bb-4777-a238-6b4771a47c40 X-Archives-Hash: f26640b9b3a96b92cedffb03872e4648 commit: 228180e0d7a54d0b8d826419022cb610ab0993e4 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Feb 4 17:15:15 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Feb 4 17:48:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228180e0 sys-apps/cpuid: bump to version 20200203 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Conrad Kostecki gentoo.org> sys-apps/cpuid/Manifest | 1 + sys-apps/cpuid/cpuid-20200203.ebuild | 33 +++++++++++++++++++ sys-apps/cpuid/files/cpuid-20200203-makefile.patch | 37 ++++++++++++++++++++++ 3 files changed, 71 insertions(+) diff --git a/sys-apps/cpuid/Manifest b/sys-apps/cpuid/Manifest index 7e34bf03aaf..4c592e48ed0 100644 --- a/sys-apps/cpuid/Manifest +++ b/sys-apps/cpuid/Manifest @@ -1 +1,2 @@ DIST cpuid-20180519.src.tar.gz 84784 BLAKE2B 87098145a378081d296f0473f9106e7c5b6654c2bd63d385dc27e293079adf3a527801fa644000ede53228e087e9e9afdf807a3c8d9cc8eb93826f01a5a89e9a SHA512 565738c41777669e750a2ef2e122ed0568de5ac8cc2584fa5047ba66d42eb5c3324b283bda25605e055d85402a4e2d109bc6d033ccd34243caab728465792669 +DIST cpuid-20200203.src.tar.gz 113144 BLAKE2B fea8a51559e77bac779cda096e694992090d5b6e4f6efbee3b67f66727267028da062c317ca045155b668292c5f3f6c2d027a59f74d27f138c8ebb529f8df820 SHA512 ae80275fba522688161d08b58d4df6437bad66853a7fce9591b5ca10ecd649ce712616f46d6c9f47a36ff3a1f09c65a10dc70fb409bc58c5e30ae413cfd92aa0 diff --git a/sys-apps/cpuid/cpuid-20200203.ebuild b/sys-apps/cpuid/cpuid-20200203.ebuild new file mode 100644 index 00000000000..60a214f3c40 --- /dev/null +++ b/sys-apps/cpuid/cpuid-20200203.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Linux tool to dump x86 CPUID information about the CPUs" +HOMEPAGE="http://www.etallen.com/cpuid.html" +SRC_URI="http://www.etallen.com/${PN}/${P}.src.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-lang/perl" +DEPEND="app-arch/gzip" + +DOCS=( "ChangeLog" "FUTURE" ) + +PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) + +src_prepare() { + default + + tc-export CC +} + +src_install() { + emake BUILDROOT="${ED}" install + + einstalldocs +} diff --git a/sys-apps/cpuid/files/cpuid-20200203-makefile.patch b/sys-apps/cpuid/files/cpuid-20200203-makefile.patch new file mode 100644 index 00000000000..9cfad5ef594 --- /dev/null +++ b/sys-apps/cpuid/files/cpuid-20200203-makefile.patch @@ -0,0 +1,37 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,11 @@ +-CFLAGS+=-g ++CFLAGS+= + CPPFLAGS?= + LDFLAGS?= + ifneq (,$(findstring arch=i386,$(CFLAGS))) + CISA=-m32 + endif + CFL=$(CPPFLAGS) $(CFLAGS) $(CISA) -Wall -W -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wimplicit-fallthrough -Wunused-parameter -D_FILE_OFFSET_BITS=64 -DVERSION=$(VERSION) +-INSTALL_STRIP=-s ++INSTALL_STRIP= + + PACKAGE=cpuid + VERSION=20200203 +@@ -40,7 +40,7 @@ + + BUILDROOT= + +-default: $(PROG) $(PROG).man.gz cpuinfo2cpuid cpuinfo2cpuid.man.gz ++default: $(PROG) cpuinfo2cpuid + + $(PROG): cpuid.c Makefile + $(CC) $(CFL) $(LDFLAGS) -o $@ cpuid.c +@@ -56,9 +56,9 @@ + + install: $(PROG) $(PROG).man.gz cpuinfo2cpuid cpuinfo2cpuid.man.gz + install -D $(INSTALL_STRIP) -m 755 $(PROG) $(BUILDROOT)/usr/bin/$(PROG) +- install -D -m 444 $(PROG).man.gz $(BUILDROOT)/usr/share/man/man1/$(PROG).1.gz ++ install -D -m 444 $(PROG).man $(BUILDROOT)/usr/share/man/man1/$(PROG).1 + install -D -m 755 cpuinfo2cpuid $(BUILDROOT)/usr/bin/cpuinfo2cpuid +- install -D -m 444 cpuinfo2cpuid.man.gz $(BUILDROOT)/usr/share/man/man1/cpuinfo2cpuid.1.gz ++ install -D -m 444 cpuinfo2cpuid.man $(BUILDROOT)/usr/share/man/man1/cpuinfo2cpuid.1 + + clean: + rm -f $(PROG) $(PROG).i386 $(PROG).x86_64