NetBSD Problem Report #31529

From njoly@pasteur.fr  Sun Oct  9 09:49:01 2005
Return-Path: <njoly@pasteur.fr>
Received: from electre.pasteur.fr (electre.pasteur.fr [157.99.64.120])
	by narn.netbsd.org (Postfix) with ESMTP id 1775863B878
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  9 Oct 2005 09:49:01 +0000 (UTC)
Message-Id: <20051009094924.EF3CB42013@cixy.dial.pasteur.fr>
Date: Sun,  9 Oct 2005 11:49:24 +0200 (CEST)
From: njoly@pasteur.fr
Reply-To: njoly@pasteur.fr
To: gnats-bugs@netbsd.org
Subject: sysutils/dmidecode 2.7 update
X-Send-Pr-Version: 3.95

>Number:         31529
>Category:       pkg
>Synopsis:       sysutils/dmidecode 2.7 update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    reed
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 09 09:50:00 +0000 2005
>Closed-Date:    Sat Oct 29 15:33:55 +0000 2005
>Last-Modified:  Sat Oct 29 15:41:00 +0000 2005
>Originator:     Nicolas Joly
>Release:        NetBSD 3.99.9
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD cixy.dial.pasteur.fr 3.99.9 NetBSD 3.99.9 (CIXY) #0: Sat Oct 1 23:42:48 CEST 2005 njoly@cixy.dial.pasteur.fr:/local/src/NetBSD/obj/i386/sys/arch/i386/compile/CIXY i386
Architecture: i386
Machine: i386
>Description:
Here is a set of patches to update sysutils/dmidecode to version 2.7.
This has been successfully tested on -current NetBSD/i386 and NetBSD/amd64.
>How-To-Repeat:
n/a
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/dmidecode/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	26 May 2005 13:53:33 -0000	1.5
+++ Makefile	9 Oct 2005 08:56:35 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.5 2005/05/26 13:53:33 wiz Exp $
 #

-DISTNAME=	dmidecode-2.6
+DISTNAME=	dmidecode-2.7
 CATEGORIES=	sysutils
 MASTER_SITES=	http://savannah.gnu.org/download/dmidecode/

Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/dmidecode/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	26 May 2005 13:53:33 -0000	1.2
+++ PLIST	9 Oct 2005 08:56:35 -0000
@@ -7,3 +7,6 @@
 sbin/dmidecode
 sbin/ownership
 sbin/vpddecode
+share/doc/dmidecode/AUTHORS
+share/doc/dmidecode/CHANGELOG
+share/doc/dmidecode/README
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/dmidecode/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	26 May 2005 13:53:33 -0000	1.3
+++ distinfo	9 Oct 2005 08:56:35 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.3 2005/05/26 13:53:33 wiz Exp $

-SHA1 (dmidecode-2.6.tar.gz) = 739015b6783715cd626463705e05619f3168635d
-RMD160 (dmidecode-2.6.tar.gz) = e486d0f06fbee28624544a85ae00d23674a5d665
-Size (dmidecode-2.6.tar.gz) = 47761 bytes
-SHA1 (patch-aa) = 16aed9ff58014f41d59c966504eee1b2adbabcb2
+SHA1 (dmidecode-2.7.tar.gz) = 394cd6e4535a4676d2d464a44cf8c86f25df1d83
+RMD160 (dmidecode-2.7.tar.gz) = 53296b5dcc5301bb31860851d4ce58a0ce024096
+Size (dmidecode-2.7.tar.gz) = 52536 bytes
+SHA1 (patch-aa) = c40ec53a98b905f33193171880faf27d7185624e
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/dmidecode/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patches/patch-aa	12 Jan 2005 00:00:36 -0000	1.1.1.1
+++ patches/patch-aa	9 Oct 2005 08:56:35 -0000
@@ -1,13 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/01/12 00:00:36 hubertf Exp $
+$NetBSD$

---- Makefile.orig	2004-10-01 19:09:37.000000000 +0200
+--- Makefile.orig	2005-06-15 20:22:35.000000000 +0200
 +++ Makefile
-@@ -23,7 +23,7 @@ CFLAGS += -O2
+@@ -22,9 +22,9 @@ CFLAGS += -O2
  LDFLAGS =

  DESTDIR =
 -prefix  = /usr/local
 +prefix  = ${PREFIX}
  sbindir = $(prefix)/sbin
- mandir  = $(prefix)/man
+-mandir  = $(prefix)/share/man
++mandir  = $(prefix)/${PKGMANDIR}
  man8dir = $(mandir)/man8
+ docdir  = $(prefix)/share/doc/dmidecode
+ 

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->reed
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Tue, 11 Oct 2005 18:56:50 +0000
Responsible-Changed-Why:
I will handle this. But for now the MASTER_SITES is down for me.
I will try later.


State-Changed-From-To: open->closed
State-Changed-By: reed@netbsd.org
State-Changed-When: Sat, 29 Oct 2005 15:33:55 +0000
State-Changed-Why:
Updated the package.
Thanks for the PR.
I also added to the PLIST:
 @dirrm share/doc/dmidecode


From: "Jeremy C. Reed" <reed@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31529 CVS commit: pkgsrc/sysutils/dmidecode
Date: Sat, 29 Oct 2005 15:32:04 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	reed
 Date:		Sat Oct 29 15:32:04 UTC 2005

 Modified Files:
 	pkgsrc/sysutils/dmidecode: Makefile PLIST distinfo
 	pkgsrc/sysutils/dmidecode/patches: patch-aa

 Log Message:
 Update to 2.7. This is from Nicolas Joly via PR# 31529.
 And okayed by maintainer.

 Many changes, see CHANGELOG for all. Here are some highlights:
         * dmidecode.c: Add option -u, --dump. It disables decoding of the
           entries, raw dumps are displayed instead. This option is mainly
           intended for debugging.
         * vpddecode.c: Add option -u, --dump. It disables decoding of the
           VPD records, a raw dump is displayed instead. This option is
           mainly intended for debugging.
         * dmidecode.c: Add option -t, --type. It limits the output to
           the given type(s) of DMI entries.
         * dmiopt.c: Define keywords to be used with --type (instead of
           numeric values).
         * dmidecode.c, dmiopt.c, dmiopt.h: Add option -q, --quiet. It
           makes the output less verbose.
         * dmidecode.c, dmiopt.c, dmiopt.h: Add option -s, --string. It
           prints one selected DMI string instead of the regular output.

 This also installs AUTHORS, CHANGELOG, and README.
 And I added "@dirrm share/doc/dmidecode" to PLIST.

 patch-aa to use PKGMANDIR and also sets docdir.


 To generate a diff of this commit:
 cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/dmidecode/Makefile
 cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/dmidecode/PLIST
 cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/dmidecode/distinfo
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/sysutils/dmidecode/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.