ports/162861: [PATCH] sysutils/openipmi: update to 2.0.19
Alex Deiter
alex.deiter at gmail.com
Thu Nov 24 22:20:06 UTC 2011
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list