From owner-freebsd-current@FreeBSD.ORG Sun Sep 2 13:56:58 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5BF916A420; Sun, 2 Sep 2007 13:56:58 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 7246513C442; Sun, 2 Sep 2007 13:56:58 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l82DuN3B010188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Sep 2007 15:56:28 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l82DuNab003355; Sun, 2 Sep 2007 15:56:23 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l82DvMim061236; Sun, 2 Sep 2007 15:57:22 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) X-Authentication-Warning: titan.flintsbach.schmalzbauer.de: harry set sender to h.schmalzbauer@omnisec.de using -f From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-current@freebsd.org Date: Sun, 2 Sep 2007 15:57:21 +0200 User-Agent: KMail/1.9.7 References: <200708210339.l7L3dUX0038042@repoman.freebsd.org> <46CB50FE.7000306@FreeBSD.org> In-Reply-To: <46CB50FE.7000306@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709021557.22191.h.schmalzbauer@omnisec.de> Cc: "Constantine A. Murenin" Subject: Re: GSoC2007: cnst-sensors.2007-08-20.patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 13:56:59 -0000 Am Dienstag, 21. August 2007 22:54:22 schrieb Constantine A. Murenin: > Dear freebsd-current@, > > It is my pleasure to present a Technology Preview patch that ports most > of the base components of OpenBSD's hardware sensors framework to FreeBSD. [*SNIP*] > Apply to FreeBSD 7.0-CURRENT as of 2007-08-20 by doing: > > cd /usr/src > fetch > http://p4web.freebsd.org/depot/projects/soc2007/cnst-sensors/cnst-sensors.2 >007-08-20.patch mkdir sys/dev/lm sys/modules/lm usr.sbin/sensorsd > patch < cnst-sensors.2007-08-20.patch For your convenience I wrote a little shell script which dosn't only do all the neccessary steps to apply the patch (including download) but also removes it (for example if one wants to recsup the tree). Otherwise you would end up breaking build if not cleanly removed before applied again. It also uses the latest version of coretemp.c which isn't included in the original patch. Please find it at http://www.schmalzbauer.de/downloads/sensors_patch.sh Best regards, -Harry