Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 18:49:27 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433508 - in head/sysutils/mcelog: . files
Message-ID:  <201702061849.v16InRKs009692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lifanov
Date: Mon Feb  6 18:49:27 2017
New Revision: 433508
URL: https://svnweb.freebsd.org/changeset/ports/433508

Log:
  update sysutils/mcelog to 148
  
   - Intel Xeons from Ivy Bridge onwards support a processor identification number.
   - Fix warning with gcc 6.x
   - replace asprintf with xasprintf as per memutil.c
   - Return -ENOMEM for vasprintf in sysfs_write
  
  PR:		216789
  Submitted by:	ultima1252@gmail.com (maintainer)
  Reviewed by:	matthew
  Approved by:	matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D9454

Modified:
  head/sysutils/mcelog/Makefile
  head/sysutils/mcelog/distinfo
  head/sysutils/mcelog/files/patch-Makefile

Modified: head/sysutils/mcelog/Makefile
==============================================================================
--- head/sysutils/mcelog/Makefile	Mon Feb  6 18:29:22 2017	(r433507)
+++ head/sysutils/mcelog/Makefile	Mon Feb  6 18:49:27 2017	(r433508)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mcelog
-PORTVERSION=	147
+PORTVERSION=	148
 DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
 
@@ -25,6 +25,7 @@ SHEBANG_FILES=	tests/cache/inject tests/
 		tests/trigger tests/unknown/inject
 
 MAKE_ENV+=	FREEBSD=1
+MAKE_ARGS+=	CFLAGS="${CFLAGS}" prefix="${PREFIX}"
 LDFLAGS+=	-lkvm
 
 PLIST_FILES=	bin/mcelog man/man8/mcelog.8.gz

Modified: head/sysutils/mcelog/distinfo
==============================================================================
--- head/sysutils/mcelog/distinfo	Mon Feb  6 18:29:22 2017	(r433507)
+++ head/sysutils/mcelog/distinfo	Mon Feb  6 18:49:27 2017	(r433508)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484491926
-SHA256 (andikleen-mcelog-v147_GH0.tar.gz) = f18c5c12a8c8addf56f66f0046a8f0c7ba262f48f95bf57abed8430df0eeebe6
-SIZE (andikleen-mcelog-v147_GH0.tar.gz) = 296947
+TIMESTAMP = 1486231306
+SHA256 (andikleen-mcelog-v148_GH0.tar.gz) = 3de7312ee13b0968ae8e1aa0a77acaaee89a0ed7de45f7ce557939723df3dc04
+SIZE (andikleen-mcelog-v148_GH0.tar.gz) = 296927

Modified: head/sysutils/mcelog/files/patch-Makefile
==============================================================================
--- head/sysutils/mcelog/files/patch-Makefile	Mon Feb  6 18:29:22 2017	(r433507)
+++ head/sysutils/mcelog/files/patch-Makefile	Mon Feb  6 18:49:27 2017	(r433508)
@@ -1,13 +1,6 @@
---- Makefile.orig	2016-10-18 22:32:19 UTC
+--- Makefile.orig	2017-02-04 00:51:04 UTC
 +++ Makefile
-@@ -1,5 +1,4 @@
--CFLAGS := -g -Os
--prefix := /usr
-+prefix := /usr/local
- etcprefix :=
- MANDIR := ${prefix}/share/man
- # Define appropiately for your distribution
-@@ -27,14 +26,21 @@ all: mcelog
+@@ -27,14 +27,21 @@ all: mcelog
  
  .PHONY: install clean depend FORCE
  
@@ -32,7 +25,7 @@
  CLEAN := mcelog dmi tsc dbquery .depend .depend.X dbquery.o \
  	version.o version.c version.tmp
  DOC := mce.pdf
-@@ -43,7 +49,7 @@ ADD_DEFINES :=
+@@ -43,7 +50,7 @@ ADD_DEFINES :=
  
  SRC := $(OBJ:.o=.c)
  
@@ -41,16 +34,16 @@
  
  # dbquery intentionally not installed by default
  install: mcelog mcelog.conf mcelog.conf.5 mcelog.triggers.5
-@@ -82,7 +88,7 @@ depend: .depend
+@@ -82,7 +89,7 @@ depend: .depend
  
  version.tmp: FORCE
  	( echo -n "char version[] = \"" ; 	\
--	if type -p git >/dev/null; then 	\
-+	if command -v git >/dev/null; then 	\
+-	if command -v git >/dev/null; then 	\
++	if false; then 	\
  	if [ -d .git ] ; then 			\
  		git describe --tags HEAD | tr -d '\n'; 	\
  	else 					\
-@@ -98,8 +104,6 @@ version.c: version.tmp
+@@ -98,8 +105,6 @@ version.c: version.tmp
  .depend: ${SRC}
  	${CC} -MM -I. ${SRC} > .depend.X && mv .depend.X .depend
  



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