From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 2 10:10:10 2012 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 F07FB1065670 for ; Mon, 2 Jul 2012 10:10:10 +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 C80858FC18 for ; Mon, 2 Jul 2012 10:10:10 +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 q62AAAPM002546 for ; Mon, 2 Jul 2012 10:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q62AAAq9002545; Mon, 2 Jul 2012 10:10:10 GMT (envelope-from gnats) Resent-Date: Mon, 2 Jul 2012 10:10:10 GMT Resent-Message-Id: <201207021010.q62AAAq9002545@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, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A9AF1065675 for ; Mon, 2 Jul 2012 10:03:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 741088FC17 for ; Mon, 2 Jul 2012 10:03:06 +0000 (UTC) Received: from omta11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by qmta01.emeryville.ca.mail.comcast.net with comcast id VN1K1j0040mlR8UA1N30mg; Mon, 02 Jul 2012 10:03:00 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta11.emeryville.ca.mail.comcast.net with comcast id VN2z1j00J1t3BNj8XN2zx5; Mon, 02 Jul 2012 10:03:00 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 554B973A1B; Mon, 2 Jul 2012 03:02:59 -0700 (PDT) Message-Id: <20120702100259.554B973A1B@icarus.home.lan> Date: Mon, 2 Jul 2012 03:02:59 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/169595: Update sysutils/bsdhwmon to 20120702 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 10:10:11 -0000 >Number: 169595 >Category: ports >Synopsis: Update sysutils/bsdhwmon to 20120702 >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: Mon Jul 02 10:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 9.0-STABLE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Jun 8 18:09:07 PDT 2012 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64 >Description: Update sysutils/bsdhwmon to version 20120702. Changes per doc/CHANGES: Some general documentation adjustments; nothing important. Adjust some CFLAGS (remove -Wunused; implied by -Wall). Split collect.c up into individual chip_XXX.c files; easier to maintain. W83627DHG: Add support for the Nuvoton/Winbond 83627DHG-P and 83627DHG-PT. Properly fix SMBus slave address addressing "bug" in 20090703. smb(4) and ichsmb(4) changes made shortly after the release of 7.2-RELEASE (specifically __FreeBSD_version 702101) caused this. Key off of __FreeBSD_version to decide whether or not to shift the slave address or not. Thanks to Billy Newsom for bringing this to my attention. W83792D: Fetch Winbond chip revision for debugging purposes. Use exclusive locks when opening the /dev/smbX device; this ensures only one bsdhwmon process can access the device at a time. Fixes for small memory leaks (missing free() statements), re-order some include statements, and pre-initialise some structs. Valgrind came in handy here for sure! Try our best to adhere to style(9). This includes: - Making use of err(3) family functions and sysexits(3) codes - General code formatting changes Ensure consistency of variable sizes between x86 and amd64; make use of intXX_t and uintXX_t types. This also falls under style(9). Addition of doc/REFERENCES (technical reference material). Update author Email address (yes, again). Make better use of "const" throughout program, especially for the pinmap structs. Update all source code headers' copyright years. >How-To-Repeat: n/a >Fix: Apply below patch. Patch can also be downloaded at the below URL, once I've received a GNATS PR numbers: http://jdc.koitsu.org/freebsd/{prnum}/ Index: Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/bsdhwmon/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 28 Jun 2012 20:15:27 -0000 1.5 +++ Makefile 2 Jul 2012 09:57:21 -0000 @@ -6,7 +6,7 @@ # PORTNAME= bsdhwmon -PORTVERSION= 20090703 +PORTVERSION= 20120702 CATEGORIES= sysutils MASTER_SITES= http://bsdhwmon.koitsu.org/dist/ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/sysutils/bsdhwmon/distinfo,v retrieving revision 1.4 diff -u -r1.4 distinfo --- distinfo 19 Mar 2011 12:32:01 -0000 1.4 +++ distinfo 2 Jul 2012 09:57:21 -0000 @@ -1,2 +1,2 @@ -SHA256 (bsdhwmon-20090703.tar.gz) = bec4239593f82b402b70d478f02dde47a54c20897e4a2239708be82684772591 -SIZE (bsdhwmon-20090703.tar.gz) = 17112 +SHA256 (bsdhwmon-20120702.tar.gz) = 3b3ca7f5080002aacd0f89ba89d51a884e13f834a736920102e00ff626f0f32b +SIZE (bsdhwmon-20120702.tar.gz) = 20165 Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/sysutils/bsdhwmon/pkg-descr,v retrieving revision 1.2 diff -u -r1.2 pkg-descr --- pkg-descr 28 Jun 2012 20:15:27 -0000 1.2 +++ pkg-descr 2 Jul 2012 09:57:21 -0000 @@ -9,7 +9,8 @@ - Solely uses smb(4), significantly decreasing risks and CPU usage - Based heavily on documentation provided from the server and H/W monitoring IC manufacturers -- Full tested on both i386 and amd64 systems, using RELENG_6 and RELENG_7 +- Full tested on both i386 and amd64 systems, using RELENG_6, RELENG_7, RELENG_8, + and RELENG_9 - Written entirely in C - Completely standalone; relies on no third-party libraries or tools (autoconf, etc.) @@ -17,4 +18,4 @@ warnings) - Open-source, released under the FreeBSD 2-clause BSD license -WWW: http://bsdhwmon.koitsu.org/ \ No newline at end of file +WWW: http://bsdhwmon.koitsu.org/ >Release-Note: >Audit-Trail: >Unformatted: