From 37c7fa3cf66edb7141c847a41835f39c22102292 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Mon, 21 Dec 2015 18:35:57 +0000 Subject: - Update to 3.0 Changes: http://git.savannah.gnu.org/cgit/dmidecode.git/tree/CHANGELOG PR: 205070 Submitted by: pi --- sysutils/dmidecode/Makefile | 5 ++--- sysutils/dmidecode/distinfo | 4 ++-- sysutils/dmidecode/files/patch-Makefile | 9 ++++++--- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'sysutils') diff --git a/sysutils/dmidecode/Makefile b/sysutils/dmidecode/Makefile index ed430770414b..6e74d3abede4 100644 --- a/sysutils/dmidecode/Makefile +++ b/sysutils/dmidecode/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= dmidecode -PORTVERSION= 2.12 -PORTREVISION= 2 +PORTVERSION= 3.0 CATEGORIES= sysutils MASTER_SITES= SAVANNAH @@ -16,7 +15,7 @@ OPTIONS_DEFINE= DOCS ONLY_FOR_ARCHS= i386 amd64 ia64 MAKE_ENV= DOCSDIR="${DOCSDIR}" -USES= tar:bzip2 +USES= tar:xz PLIST_FILES= etc/periodic/daily/dmidecode \ man/man8/dmidecode.8.gz \ diff --git a/sysutils/dmidecode/distinfo b/sysutils/dmidecode/distinfo index 19dc8731e013..72f3e7ed8158 100644 --- a/sysutils/dmidecode/distinfo +++ b/sysutils/dmidecode/distinfo @@ -1,2 +1,2 @@ -SHA256 (dmidecode-2.12.tar.bz2) = 913ff3055d563a62a420789b8ee33b038de9afa18ea61254760ddf8ab87a5088 -SIZE (dmidecode-2.12.tar.bz2) = 55191 +SHA256 (dmidecode-3.0.tar.xz) = 7ec35bb193729c1d593a1460b59d82d24b89102ab23fd0416e6cf4325d077e45 +SIZE (dmidecode-3.0.tar.xz) = 58704 diff --git a/sysutils/dmidecode/files/patch-Makefile b/sysutils/dmidecode/files/patch-Makefile index 591677f737d9..577dd7df6ed1 100644 --- a/sysutils/dmidecode/files/patch-Makefile +++ b/sysutils/dmidecode/files/patch-Makefile @@ -1,14 +1,17 @@ ---- Makefile.orig 2010-10-11 14:08:16 UTC +--- Makefile.orig 2015-09-03 06:03:19 UTC +++ Makefile -@@ -12,30 +12,29 @@ +@@ -12,8 +12,8 @@ # (at your option) any later version. # -CC = gcc -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ ++#CC = gcc +CFLAGS+= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef - #CFLAGS += -DBIGENDIAN + + # Let lseek and mmap support 64-bit wide offsets +@@ -23,23 +23,23 @@ CFLAGS += -D_FILE_OFFSET_BITS=64 #CFLAGS += -DALIGNMENT_WORKAROUND # When debugging, disable -O2 and enable -g. -- cgit