git: ff7949343c4a - main - sysutils/libcpuid: update to version 0.6.1, use upstream release archive
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Oct 2022 04:05:35 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ff7949343c4aeacc08afac2ff66d90c372c78584
commit ff7949343c4aeacc08afac2ff66d90c372c78584
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-10-30 04:04:40 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-10-30 04:04:40 +0000
sysutils/libcpuid: update to version 0.6.1, use upstream release archive
While few hundreds bytes larger, distfile is more cache-friendly (mtime
remains constant unlike for tarballs generated on the fly by GitHub) and
comes properly bootstrapped, allowing to drop `autoreconf' item from the
USES list.
Remove ONLY_FOR_ARCHS limitation: while currently support is limited for
x86 CPUs, it builds everywhere and gracefully handles unknown ones, thus
unbreaking more of those reverse dependencies mentioned in 9482644374c1.
PR: 267277 (partially applied)
---
sysutils/libcpuid/Makefile | 13 ++++---------
sysutils/libcpuid/distinfo | 6 +++---
sysutils/libcpuid/pkg-plist | 2 +-
3 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/sysutils/libcpuid/Makefile b/sysutils/libcpuid/Makefile
index 2dd994b020bf..434e823d3d06 100644
--- a/sysutils/libcpuid/Makefile
+++ b/sysutils/libcpuid/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libcpuid
-PORTVERSION= 0.6.0
-DISTVERSIONPREFIX= v
+PORTVERSION= 0.6.1
CATEGORIES= sysutils
+MASTER_SITES= https://github.com/anrieff/libcpuid/releases/download/v${PORTVERSION}/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Small x86 CPU identification library
@@ -10,18 +10,13 @@ WWW= http://libcpuid.sourceforge.net/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-ONLY_FOR_ARCHS= amd64 i386 powerpc64le powerpc64 powerpc
-
-USE_GITHUB= yes
-GH_ACCOUNT= anrieff
-
-USES= autoreconf libtool pathfix python:test shebangfix
+USES= libtool python:test shebangfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
TEST_TARGET= test
-SHEBANG_FILES= tests/create_test.py tests/run_tests.py
+SHEBANG_FILES= tests/run_tests.py
PORTDOCS= AUTHORS ChangeLog Readme.md
diff --git a/sysutils/libcpuid/distinfo b/sysutils/libcpuid/distinfo
index 1c0cea96c53f..08c9aaf0b4ea 100644
--- a/sysutils/libcpuid/distinfo
+++ b/sysutils/libcpuid/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664304419
-SHA256 (anrieff-libcpuid-v0.6.0_GH0.tar.gz) = 202f334e29c46f45a0a54c9209e04816f2a703fdeefdd9b18acc119589d6eafa
-SIZE (anrieff-libcpuid-v0.6.0_GH0.tar.gz) = 240709
+TIMESTAMP = 1666536989
+SHA256 (libcpuid-0.6.1.tar.gz) = e11fdd852398499c2cfdee9c06d18d894918f7a38036a35f95b8e10b243082cd
+SIZE (libcpuid-0.6.1.tar.gz) = 569036
diff --git a/sysutils/libcpuid/pkg-plist b/sysutils/libcpuid/pkg-plist
index ff091791e2e4..ad6f4403abfa 100644
--- a/sysutils/libcpuid/pkg-plist
+++ b/sysutils/libcpuid/pkg-plist
@@ -5,5 +5,5 @@ include/libcpuid/libcpuid_types.h
lib/libcpuid.a
lib/libcpuid.so
lib/libcpuid.so.16
-lib/libcpuid.so.16.0.0
+lib/libcpuid.so.16.0.1
libdata/pkgconfig/libcpuid.pc