From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 24 22:20:06 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ABDA106564A for ; Thu, 24 Nov 2011 22:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2FBAC8FC14 for ; Thu, 24 Nov 2011 22:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAOMK6ar079017 for ; Thu, 24 Nov 2011 22:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAOMK6rR079016; Thu, 24 Nov 2011 22:20:06 GMT (envelope-from gnats) Resent-Date: Thu, 24 Nov 2011 22:20:06 GMT Resent-Message-Id: <201111242220.pAOMK6rR079016@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Deiter Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D570106564A for ; Thu, 24 Nov 2011 22:17:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 230E98FC0A for ; Thu, 24 Nov 2011 22:17:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAOMGxhv005034 for ; Thu, 24 Nov 2011 22:16:59 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pAOMGx0W005033; Thu, 24 Nov 2011 22:16:59 GMT (envelope-from nobody) Message-Id: <201111242216.pAOMGx0W005033@red.freebsd.org> Date: Thu, 24 Nov 2011 22:16:59 GMT From: Alex Deiter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/162861: [PATCH] sysutils/openipmi: update to 2.0.19 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 22:20:06 -0000 >Number: 162861 >Category: ports >Synopsis: [PATCH] sysutils/openipmi: update to 2.0.19 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Nov 24 22:20:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alex Deiter >Release: 10.0-CURRENT >Organization: >Environment: FreeBSD blackbox.deiter.ru 10.0-CURRENT-r227739 FreeBSD 10.0-CURRENT-r227739 #1: Sun Nov 20 03:32:49 MSK 2011 root@blackbox.deiter.ru:/usr/obj/usr/src/sys/BLACKBOX i386 >Description: sysutils/openipmi: update to 2.0.19 Changelog OpenIPMI 2.0.19: * Fix an issue with domain.iterate_mcs(). The callback name was inconsistent, causing issues. Make the callback name domain_iter_mc_cb in all cases. * Fix a bug in the malloc code to handle if no traceback is passed in. Port changes: * remove patch files/patch-lib-sensor.c * add patch for libexecinfo support * add backtrace option >How-To-Repeat: cd /usr/ports/sysutils make install >Fix: cd /usr/ports/sysutils patch -p0 < sysutils-openipmi.txt cd /usr/ports/sysutils/openipmi rm files/*.orig files/patch-lib-sensor.c make install Patch attached with submission follows: diff -urN openipmi.orig/Makefile openipmi/Makefile --- openipmi.orig/Makefile 2011-09-27 13:34:49.434688000 +0400 +++ openipmi/Makefile 2011-11-25 01:56:25.933143835 +0400 @@ -6,10 +6,10 @@ # PORTNAME= openipmi -PORTVERSION= 2.0.18 -PORTREVISION= 5 +PORTVERSION= 2.0.19 +PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= SF/${PORTNAME}/OpenIPMI%202.0%20Library/${PORTVERSION} +MASTER_SITES= SF/${PORTNAME}/OpenIPMI%202.0%20Library DISTNAME= OpenIPMI-${PORTVERSION} MAINTAINER= alex.deiter@gmail.com @@ -39,6 +39,7 @@ PYTHON "Python interface for OpenIPMI library" Off \ TCL "TCL interface for OpenIPMI library" Off \ TKINTER "GUI for OpenIPMI, written in Python" Off \ + TRACE "Enable backtrace inspecting" Off \ GDBM "Local SDR caching on startup" Off \ GLIB12 "Simply OS handler for glib 1.2" Off \ GLIB20 "Simply OS handler for glib 2.0" Off @@ -116,6 +117,10 @@ PLIST_SUB+= TCL="@comment " .endif +.if defined(WITH_TRACE) +LIB_DEPENDS+= execinfo.1:${PORTSDIR}/devel/libexecinfo +.endif + .if defined(WITH_GDBM) LIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm .endif diff -urN openipmi.orig/distinfo openipmi/distinfo --- openipmi.orig/distinfo 2011-11-25 01:12:04.024090063 +0400 +++ openipmi/distinfo 2011-11-25 00:26:00.365089929 +0400 @@ -1,2 +1,2 @@ -SHA256 (OpenIPMI-2.0.18.tar.gz) = 6c1679a1c16aade48dd929e5124d2640ff12224ac0de1bb3777e9f1030d62e01 -SIZE (OpenIPMI-2.0.18.tar.gz) = 2895686 +SHA256 (OpenIPMI-2.0.19.tar.gz) = 5b0de4741f07e350bf53b7d31bb20dd1109c2dc005dfb13969d8a9ff290f3a4e +SIZE (OpenIPMI-2.0.19.tar.gz) = 2971041 diff -urN openipmi.orig/files/patch-configure.in openipmi/files/patch-configure.in --- openipmi.orig/files/patch-configure.in 1970-01-01 03:00:00.000000000 +0300 +++ openipmi/files/patch-configure.in 2011-11-25 01:42:48.502109383 +0400 @@ -0,0 +1,10 @@ +--- configure.in.orig 2011-11-25 01:40:43.243119438 +0400 ++++ configure.in 2011-11-25 01:42:18.859147897 +0400 +@@ -274,6 +274,7 @@ + AC_CHECK_FUNCS(getaddrinfo) + + AC_CHECK_HEADERS(execinfo.h) ++AC_SEARCH_LIBS(backtrace_symbols, [execinfo]) + + AC_SUBST(OPENIPMI_VERSION_MAJOR) + AC_SUBST(OPENIPMI_VERSION_MINOR) diff -urN openipmi.orig/files/patch-lib-sensor.c openipmi/files/patch-lib-sensor.c --- openipmi.orig/files/patch-lib-sensor.c 2010-08-04 14:22:56.000000000 +0400 +++ openipmi/files/patch-lib-sensor.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,11 +0,0 @@ ---- lib/sensor.c.orig 2010-05-28 18:51:20.949496519 +0400 -+++ lib/sensor.c 2010-05-28 18:51:37.079705617 +0400 -@@ -1438,7 +1438,7 @@ - s[p]->id_type = IPMI_ASCII_STR; - } - -- if (share_count) { -+ if (share_count > 1) { - /* Duplicate the sensor records for each instance. Go - backwards to avoid destroying the first one until we - finish the others. */ >Release-Note: >Audit-Trail: >Unformatted: