pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/p5-FusionInventory-Agent Backport patch from upstr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/519ca7eb0fae
branches: trunk
changeset: 452271:519ca7eb0fae
user: bouyer <bouyer%pkgsrc.org@localhost>
date: Fri May 07 18:27:20 2021 +0000
description:
Backport patch from upstream for better Intel CPU report
Bump PKGREVISION
diffstat:
net/p5-FusionInventory-Agent/Makefile | 4 +-
net/p5-FusionInventory-Agent/distinfo | 4 +-
net/p5-FusionInventory-Agent/patches/patch-lib_FusionInventory_Agent_Tools_Generic.pm | 21 ++++++++-
3 files changed, 22 insertions(+), 7 deletions(-)
diffs (61 lines):
diff -r 7b85ee6d7d10 -r 519ca7eb0fae net/p5-FusionInventory-Agent/Makefile
--- a/net/p5-FusionInventory-Agent/Makefile Fri May 07 18:18:35 2021 +0000
+++ b/net/p5-FusionInventory-Agent/Makefile Fri May 07 18:27:20 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2021/05/06 20:25:15 bouyer Exp $
+# $NetBSD: Makefile,v 1.21 2021/05/07 18:27:20 bouyer Exp $
DISTNAME= FusionInventory-Agent-2.6
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/G/GB/GBOUGARD/}
diff -r 7b85ee6d7d10 -r 519ca7eb0fae net/p5-FusionInventory-Agent/distinfo
--- a/net/p5-FusionInventory-Agent/distinfo Fri May 07 18:18:35 2021 +0000
+++ b/net/p5-FusionInventory-Agent/distinfo Fri May 07 18:27:20 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2021/05/06 20:25:15 bouyer Exp $
+$NetBSD: distinfo,v 1.8 2021/05/07 18:27:20 bouyer Exp $
SHA1 (FusionInventory-Agent-2.6.tar.gz) = 288acf5707e550fa10275f8e6fab70b50aa790aa
RMD160 (FusionInventory-Agent-2.6.tar.gz) = 1d6504f2119bb531c527180c9275bb692b8a1a2a
@@ -12,4 +12,4 @@
SHA1 (patch-lib_FusionInventory_Agent_Task_Inventory_BSD_Storages.pm) = a2ffacd0b9ee84accc001b2013aa52a0c0dc419f
SHA1 (patch-lib_FusionInventory_Agent_Task_Inventory_Generic_PCI.pm) = 94f5afb7b4277a1729c322c7111c94481e1cbe34
SHA1 (patch-lib_FusionInventory_Agent_Tools_BSD.pm) = d312bc244889beb7c747a4c8b021590102a8294c
-SHA1 (patch-lib_FusionInventory_Agent_Tools_Generic.pm) = 1e8cc8d8ff4c03ba563c3c63ed348e22bd665e9d
+SHA1 (patch-lib_FusionInventory_Agent_Tools_Generic.pm) = 415b4c3483b6e322ca04bde01ed048c3640f0741
diff -r 7b85ee6d7d10 -r 519ca7eb0fae net/p5-FusionInventory-Agent/patches/patch-lib_FusionInventory_Agent_Tools_Generic.pm
--- a/net/p5-FusionInventory-Agent/patches/patch-lib_FusionInventory_Agent_Tools_Generic.pm Fri May 07 18:18:35 2021 +0000
+++ b/net/p5-FusionInventory-Agent/patches/patch-lib_FusionInventory_Agent_Tools_Generic.pm Fri May 07 18:27:20 2021 +0000
@@ -1,10 +1,25 @@
-$NetBSD: patch-lib_FusionInventory_Agent_Tools_Generic.pm,v 1.1 2021/05/06 20:25:15 bouyer Exp $
+$NetBSD: patch-lib_FusionInventory_Agent_Tools_Generic.pm,v 1.2 2021/05/07 18:27:20 bouyer Exp $
accept pcictl as alternative to lspci
+Bring in upstream patch for better CPU report
--- lib/FusionInventory/Agent/Tools/Generic.pm.orig 2020-11-09 14:49:31.000000000 +0100
-+++ lib/FusionInventory/Agent/Tools/Generic.pm 2021-05-06 21:25:27.448948334 +0200
-@@ -217,52 +217,103 @@
++++ lib/FusionInventory/Agent/Tools/Generic.pm 2021-05-07 20:08:32.214113753 +0200
+@@ -126,10 +126,12 @@
+ MANUFACTURER => $manufacturer
+ };
+ $cpu->{NAME} =
+- ($cpu->{MANUFACTURER} =~ /Intel/ ? $info->{'Family'} : undef) ||
+ $info->{'Version'} ||
++ $info->{'Family'} ||
+ $info->{'Processor Family'} ||
+ $info->{'Processor Version'};
++ # Cleanup cpu NAME
++ $cpu->{NAME} =~ s/\((R|TM)\)//gi if $cpu->{NAME};
+
+ if ($cpu->{ID}) {
+
+@@ -217,52 +219,103 @@
}
sub getPCIDevices {
Home |
Main Index |
Thread Index |
Old Index