Skip site navigation (1)Skip section navigation (2)
Date:      16 Sep 2005 11:34:59 -0000
From:      Armin Gruner <ag-freebsd@space.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        anders@FreeBSD.org
Subject:   ports/86209: Updates port to dmidecode-2.7
Message-ID:  <20050916113459.33280.qmail@adm.space.net>
Resent-Message-ID: <200509161140.j8GBeBqt099645@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86209
>Category:       ports
>Synopsis:       Updates port to dmidecode-2.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 16 11:40:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Armin Gruner
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
SpaceNet AG, Munich, Germany
>Environment:
System: FreeBSD ag.office.space.net 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #3: Fri Sep 9 19:40:16 CEST 2005 root@:/usr/obj/usr/src-5-stable/sys/SPACE i386


	
>Description:
	Port is out-of-date, current dmidecode version is 2.7
>How-To-Repeat:
>Fix:
	Please see attached patch

Regards, Armin

--- sysutils.dmidecode-2.7.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/dmidecode/Makefile,v
retrieving revision 1.6
diff -u -I^#: -I^"POT -r1.6 Makefile
--- Makefile	20 Mar 2005 21:24:32 -0000	1.6
+++ Makefile	16 Sep 2005 11:30:13 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dmidecode
-PORTVERSION=	2.6
+PORTVERSION=	2.7
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/dmidecode/distinfo,v
retrieving revision 1.4
diff -u -I^#: -I^"POT -r1.4 distinfo
--- distinfo	16 Mar 2005 20:46:20 -0000	1.4
+++ distinfo	16 Sep 2005 11:30:13 -0000
@@ -1,2 +1,2 @@
-MD5 (dmidecode-2.6.tar.bz2) = 16a31f6e70f6f1de864105c633e1a4c0
-SIZE (dmidecode-2.6.tar.bz2) = 40215
+MD5 (dmidecode-2.7.tar.bz2) = 7aaf44ff2501cafc33634bbaa0d2af13
+SIZE (dmidecode-2.7.tar.bz2) = 44749
Index: files/patch-Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/dmidecode/files/patch-Makefile,v
retrieving revision 1.1
diff -u -I^#: -I^"POT -r1.1 patch-Makefile
--- files/patch-Makefile	20 Mar 2005 21:24:32 -0000	1.1
+++ files/patch-Makefile	16 Sep 2005 11:30:13 -0000
@@ -1,31 +1,50 @@
---- Makefile.orig	Mon Feb 28 21:43:00 2005
-+++ Makefile	Sun Mar 20 22:16:32 2005
-@@ -8,9 +8,9 @@
- #	Licensed under the GNU Public License.
- #
- 
--CC      = gcc
--CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
--          -Wcast-align -Wwrite-strings -Wmissing-prototypes
-+CFLAGS  += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
-+          -Wcast-align -Wwrite-strings -Wmissing-prototypes ${CPPFLAGS} \
-+          -DHAVE_DECL_GETOPT
- #CFLAGS += -DBIGENDIAN
- #CFLAGS += -DALIGNMENT_WORKAROUND
- 
-@@ -19,12 +19,11 @@
- #CFLAGS += -g
- 
- # Pass linker flags here
--LDFLAGS =
-+LDFLAGS +=
- 
- DESTDIR =
--prefix  = /usr/local
--sbindir = $(prefix)/sbin
--mandir  = $(prefix)/man
-+sbindir = $(PREFIX)/sbin
-+mandir  = $(PREFIX)/man
- man8dir = $(mandir)/man8
- 
- all : dmidecode biosdecode ownership vpddecode
+*** Makefile.orig	Wed Jun 15 20:22:35 2005
+--- Makefile	Fri Sep 16 13:27:56 2005
+***************
+*** 10,16 ****
+  
+  CC      = gcc
+  CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+!           -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline
+  #CFLAGS += -DBIGENDIAN
+  #CFLAGS += -DALIGNMENT_WORKAROUND
+  
+--- 10,17 ----
+  
+  CC      = gcc
+  CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+!           -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline ${CPPFLAGS} \
+! 	  -DHAVE_DECL_GETOPT
+  #CFLAGS += -DBIGENDIAN
+  #CFLAGS += -DALIGNMENT_WORKAROUND
+  
+***************
+*** 19,32 ****
+  #CFLAGS += -g
+  
+  # Pass linker flags here
+! LDFLAGS =
+  
+  DESTDIR =
+! prefix  = /usr/local
+! sbindir = $(prefix)/sbin
+! mandir  = $(prefix)/share/man
+  man8dir = $(mandir)/man8
+! docdir  = $(prefix)/share/doc/dmidecode
+  
+  INSTALL         := install
+  INSTALL_DATA    := $(INSTALL) -m 644
+--- 20,32 ----
+  #CFLAGS += -g
+  
+  # Pass linker flags here
+! LDFLAGS +=
+  
+  DESTDIR =
+! sbindir = $(PREFIX)/sbin
+! mandir  = $(PREFIX)/man
+  man8dir = $(mandir)/man8
+! docdir  = $(PREFIX)/share/doc/dmidecode
+  
+  INSTALL         := install
+  INSTALL_DATA    := $(INSTALL) -m 644
--- sysutils.dmidecode-2.7.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050916113459.33280.qmail>