ports/155664: [PATCH]sysutils/dmidecode: update to 2.11

bf bf at FreeBSD.org
Fri Mar 18 17:30:16 UTC 2011


>Number:         155664
>Category:       ports
>Synopsis:       [PATCH]sysutils/dmidecode: update to 2.11
>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 Mar 18 17:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        9-CURRENT amd64
>Organization:
-
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/dmidecode/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	9 Feb 2010 03:52:46 -0000	1.13
+++ Makefile	18 Mar 2011 16:52:10 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dmidecode
-PORTVERSION=	2.10
+PORTVERSION=	2.11
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -18,21 +18,15 @@
 ONLY_FOR_ARCHS=	i386 amd64 ia64
 
 USE_BZIP2=	yes
-MAKE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DOCSDIR="${DOCSDIR}"
+MAKE_ENV+=	DOCSDIR="${DOCSDIR}" LDFLAGS="${LDFLAGS}"
+LICENSE=	GPLv2
 
-PORTDOCS=	AUTHORS CHANGELOG README
-
-post-patch:
 .if defined(NOPORTDOCS)
+post-patch:
 	@${REINPLACE_CMD} -e '/^install.*:/s,install-doc,,' ${WRKSRC}/Makefile
-.endif
 
-post-install:
-.if !defined(NOPORTDOCS)
-	${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
+.else
+PORTDOCS=	AUTHORS CHANGELOG README
 .endif
 
 .include <bsd.port.pre.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/sysutils/dmidecode/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo	14 Dec 2008 20:19:55 -0000	1.9
+++ distinfo	18 Mar 2011 16:00:03 -0000
@@ -1,3 +1,2 @@
-MD5 (dmidecode-2.10.tar.bz2) = 3c9c4d55a40b78600f3b43bfa64616f9
-SHA256 (dmidecode-2.10.tar.bz2) = 4d74a3e93353320317a424816f9a045df06d9ed4b5b80881e16fdfcc74c9e2c0
-SIZE (dmidecode-2.10.tar.bz2) = 51904
+SHA256 (dmidecode-2.11.tar.bz2) = 6da5643479b3b591b71a91122a25b89b77920b66e1ad0a5162d3c75b50423b51
+SIZE (dmidecode-2.11.tar.bz2) = 54537
Index: files/patch-Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/dmidecode/files/patch-Makefile,v
retrieving revision 1.3
diff -u -r1.3 patch-Makefile
--- files/patch-Makefile	7 Feb 2006 08:51:09 -0000	1.3
+++ files/patch-Makefile	18 Mar 2011 16:57:03 -0000
@@ -1,7 +1,7 @@
---- Makefile.orig	Tue Feb  7 09:45:21 2006
-+++ Makefile	Tue Feb  7 09:47:11 2006
-@@ -8,25 +8,25 @@
- #	Licensed under the GNU Public License.
+--- Makefile.orig	2010-10-11 10:08:16.000000000 -0400
++++ Makefile	2011-03-18 12:55:54.000000000 -0400
+@@ -12,30 +12,30 @@
+ #   (at your option) any later version.
  #
  
 -CC      = gcc
@@ -20,7 +20,7 @@
  
  # Pass linker flags here
 -LDFLAGS =
-+LDFLAGS+=
++LDFLAGS+= $(CFLAGS)
  
  DESTDIR =
 -prefix  = /usr/local
@@ -33,4 +33,11 @@
 +docdir  = $(DOCSDIR)
  
  INSTALL         := install
- INSTALL_DATA    := $(INSTALL) -m 644
+-INSTALL_DATA    := $(INSTALL) -m 644
++INSTALL_DATA    := $(BSD_INSTALL_DATA)
+ INSTALL_DIR     := $(INSTALL) -m 755 -d
+-INSTALL_PROGRAM := $(INSTALL) -m 755
++INSTALL_PROGRAM := $(BSD_INSTALL_PROGRAM)
+ RM              := rm -f
+ 
+ # BSD make provides $MACHINE, but GNU make doesn't


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



More information about the freebsd-ports-bugs mailing list