ChangeLog

# ChangeLog for app-admin/hddtemp
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.70 2008/07/07 13:38:53 armin76 Exp $

07 Jul 2008; Raúl Porcel
hddtemp-0.3_beta15-r3.ebuild:
Add ~alpha/~ia64

08 Jun 2008; Michał Januszewski files/hddtemp-init:
Add 'net' as a initscript dependency (bug #217243).

31 May 2008; Michał Januszewski files/hddtemp.db:
Update the upstream hddtemp database (bug #223755).

18 May 2008; Michał Januszewski files/hddgentoo.db:
HDD DB update (bug #221211).

03 Feb 2008; Jeroen Roovers
-hddtemp-0.3_beta15-r1.ebuild, -hddtemp-0.3_beta15-r2.ebuild,
hddtemp-0.3_beta15-r3.ebuild:
Stable for HPPA (bug #208625). Clean up old versions.

14 Jan 2008; Tobias Scherbaum
hddtemp-0.3_beta15-r3.ebuild:
ppc. stable

19 Dec 2007; Doug Klima hddtemp-0.3_beta15-r3.ebuild:
amd64 stable

19 Dec 2007; Raúl Porcel
hddtemp-0.3_beta15-r3.ebuild:
sparc/x86 stable

21 Oct 2007; Michał Januszewski files/hddgentoo.db:
Add ST3250620AS to the hdd DB.

01 Oct 2007; Michał Januszewski files/hddgentoo.db:
HDD DB update -- 3 new drives from Doug Goldstein .

09 Sep 2007; Michał Januszewski files/hddgentoo.db:
HDD DB update (#191834).

*hddtemp-0.3_beta15-r3 (05 Sep 2007)

05 Sep 2007; Michał Januszewski +files/hddgentoo.db,
+hddtemp-0.3_beta15-r3.ebuild:
Update the DB with new drives (bug #187430).

29 Jul 2007; Michał Januszewski
-files/hddtemp-0.3_beta13-setsid.patch, -hddtemp-0.3_beta13.ebuild,
-hddtemp-0.3_beta15.ebuild:
Remove old ebuilds.

*hddtemp-0.3_beta15-r2 (29 Jul 2007)

29 Jul 2007; Michał Januszewski
+files/hddtemp-0.3_beta15-execinfo.patch,
+files/hddtemp-0.3_beta15-iconv.patch,
+files/hddtemp-0.3_beta15-nls.patch, +hddtemp-0.3_beta15-r2.ebuild:
Add support for uclibc (bug #132308).

25 Mar 2007; Michał Januszewski files/hddtemp-init:
Use --exec instead of --name in the initscript to make it compatible with
baselayout-2.

24 Mar 2007; nixnut hddtemp-0.3_beta15-r1.ebuild:
Stable on ppc wrt bug 171661

22 Mar 2007; Jeroen Roovers hddtemp-0.3_beta15-r1.ebuild:
Stable for HPPA (bug #171661).

22 Mar 2007; Steve Dibb hddtemp-0.3_beta15-r1.ebuild:
amd64 stable, bug 171661

15 Mar 2007; Gustavo Zacarias
hddtemp-0.3_beta15-r1.ebuild:
Stable on sprac

12 Mar 2007; Raúl Porcel
hddtemp-0.3_beta15-r1.ebuild:
x86 stable

*hddtemp-0.3_beta15-r1 (10 Feb 2007)

10 Feb 2007; Michał Januszewski
+files/hddtemp-0.3_beta15-satacmds.patch, +hddtemp-0.3_beta15-r1.ebuild:
Remove SATA sense checks so that hddtemp works with 2.6.20+ kernels (bug
#165453).

10 Feb 2007; Michał Januszewski
-files/hddtemp-0.3_beta14-sizeofdsk.patch, -hddtemp-0.3_beta14.ebuild,
-hddtemp-0.3_beta14-r1.ebuild:
Remove old ebuilds.

16 Sep 2006; Tobias Scherbaum
hddtemp-0.3_beta15.ebuild:
ppc stable

07 Sep 2006; Daniel Gryniewicz
hddtemp-0.3_beta15.ebuild:
Marked stable on amd64 for bug #146733

02 Sep 2006; Michał Januszewski
hddtemp-0.3_beta15.ebuild:
Fix the package's description (bug #145988).

11 Aug 2006; Michał Januszewski
hddtemp-0.3_beta15.ebuild:
Fix bug #143515.

08 Aug 2006; Michał Januszewski
-files/hddtemp-0.3_beta15-maxtor-diamondmax10.patch,
hddtemp-0.3_beta15.ebuild:
Remove the Maxtor DiamondMax patch as it breaks with current hddtemp.db
versions. The patch has been sent upstream, so hopefully it will be merged
into the mainline hddtemp.db.

15 Jul 2006; Bryan Østergaard metadata.xml:
Remove aliz from metadata.xml as he's retired.

15 Jul 2006; Michał Januszewski files/hddtemp-conf.d,
files/hddtemp-init:
Separated general options and drives to monitor into two different variables
in the config file (bug #140297).

14 Jul 2006; Michał Januszewski
hddtemp-0.3_beta14-r1.ebuild, hddtemp-0.3_beta15.ebuild:
Inform the user about emerge --config (bug #140371).

26 Jun 2006; Gustavo Zacarias
hddtemp-0.3_beta15.ebuild:
Stable on sparc

17 Jun 2006; Guy Martin hddtemp-0.3_beta15.ebuild:
Stable on hppa.

26 May 2006; Robin H. Johnson files/hddtemp.db,
hddtemp-0.3_beta15.ebuild:
Bug #134409, screwed up hddtemp handling, put a newer version in FILESDIR
first ;-).

*hddtemp-0.3_beta15 (26 May 2006)

26 May 2006; Robin H. Johnson
+files/hddtemp-0.3_beta15-byteswap.patch,
+files/hddtemp-0.3_beta15-maxtor-diamondmax10.patch,
+hddtemp-0.3_beta15.ebuild:
Version bump. Also bug #130407 - Fix SATA names for big-endian platforms.
Also include more Maxtor support in hddtemp.

27 Apr 2006; Marien Zwart
files/digest-hddtemp-0.3_beta13, files/digest-hddtemp-0.3_beta14,
files/digest-hddtemp-0.3_beta14-r1, Manifest:
Fixing SHA256 digest for real, pass three...

27 Apr 2006; Marien Zwart
files/digest-hddtemp-0.3_beta13, files/digest-hddtemp-0.3_beta14,
files/digest-hddtemp-0.3_beta14-r1, Manifest:
Fixing SHA256 digest, pass two.

09 Apr 2006; Michał Januszewski
+files/hddtemp-0.3_beta14-sizeofdsk.patch, hddtemp-0.3_beta14-r1.ebuild:
Fixed segfaulting when running hddtemp for 2 or more drives which are not in
its database (bug #126775).

*hddtemp-0.3_beta14-r1 (19 Feb 2006)

19 Feb 2006; Michał Januszewski metadata.xml,
+hddtemp-0.3_beta14-r1.ebuild:
Moved hddtemp db update code to pkg_config (bug #116348).

23 Dec 2005; Michael Hanselmann
hddtemp-0.3_beta14.ebuild:
Stable on sparc because -r13 is broken on it.

08 Nov 2005; Michał Januszewski
hddtemp-0.3_beta14.ebuild:
Removed explicit dependencies on libc and wget since these two are in the
system profile.

*hddtemp-0.3_beta14 (06 Nov 2005)

06 Nov 2005; Michał Januszewski
-files/hddtemp-0.2-db_location.patch, -hddtemp-0.2.ebuild,
-hddtemp-0.3_beta8.ebuild, -hddtemp-0.3_beta10.ebuild,
-hddtemp-0.3_beta11.ebuild, -hddtemp-0.3_beta12.ebuild,
+hddtemp-0.3_beta14.ebuild:
Version bump (#111232). Removed old ebuilds.

19 Sep 2005; Marcus D. Hanwell
hddtemp-0.3_beta13.ebuild:
Stable on amd64.

19 Sep 2005; Gustavo Zacarias
hddtemp-0.3_beta13.ebuild:
Stable on sparc

17 Sep 2005; Michael Hanselmann
hddtemp-0.3_beta13.ebuild:
Stable on ppc.

16 Sep 2005; Michał Januszewski
hddtemp-0.3_beta13.ebuild:
Marked 0.3_beta13 stable on x86.

*hddtemp-0.3_beta13 (13 Jul 2005)

13 Jul 2005; Michał Januszewski
+files/hddtemp-0.3_beta13-setsid.patch, metadata.xml,
+hddtemp-0.3_beta13.ebuild:
Version bump. Closes bugs #86550 and #91972.

29 Apr 2005; Gustavo Zacarias
hddtemp-0.3_beta12.ebuild:
Stable on sparc

19 Mar 2005; Jason Wever hddtemp-0.3_beta12.ebuild:
Changed -sparc keyword to ~sparc.

*hddtemp-0.3_beta12 (25 Oct 2004)

25 Oct 2004; Lars Weiler +hddtemp-0.3_beta12.ebuild:
Version bump. At least on ppc this resolves problems with
>linux26-headers-2.6.8.

25 Oct 2004; Lars Weiler hddtemp-0.2.ebuild,
hddtemp-0.3_beta10.ebuild, hddtemp-0.3_beta11.ebuild,
hddtemp-0.3_beta8.ebuild:
Changed all appearances of http://coredump.free.fr to http://www.guzu.net

29 Jun 2004; Aron Griffis hddtemp-0.2.ebuild:
add sed-4 dep

14 Apr 2004; Daniel Ahlberg hddtemp-0.2.ebuild:
Added IUSE=.

31 Mar 2004; Daniel Ahlberg hddtemp-0.3_beta11.ebuild:
Mark stable on x86, removing an old version.

*hddtemp-0.3_beta11 (11 Feb 2004)

11 Feb 2004; Daniel Ahlberg hddtemp-0.3_beta11.ebuild,
files/hddtemp-conf.d, files/hddtemp-init, files/hddtemp.db:
Version bump, added init script and conf.d script by Sam Wouters
in #36047. Also updated hddtemp.db

10 Jan 2004; Jason Wever hddtemp-0.3_beta10.ebuild:
Changed ~sparc keyword to -sparc as src/backtrace.c only works for x86 and
requires an include file not found on sparc.

04 Jan 2004; Jason Wever hddtemp-0.2.ebuild,
hddtemp-0.3_beta10.ebuild, hddtemp-0.3_beta6-r1.ebuild,
hddtemp-0.3_beta6.ebuild, hddtemp-0.3_beta8.ebuild:
Marked 0.3_beta8 stable on sparc and updated copyright dates on all ebuilds.

*hddtemp-0.3_beta10 (17 Dec 2003)

17 Dec 2003; Daniel Ahlberg hddtemp-0.3_beta10.ebuild,
hddtemp-0.3_beta8.ebuild, files/hddtemp.db:
Version bump, keywords update and new hddtemp.db.

01 Sep 2003; Daniel Ahlberg hddtemp-0.3_beta8.ebuild :
I was working on this update too, but Martin commited his bump before me.
My new version uses the new configuration script and tries to download the latest hddtemp.db file.

*hddtemp-0.3_beta8 (31 Aug 2003)

31 Aug 2003; Martin Holzer hddtemp-0.3_beta8.ebuild:
Version bumped.

*hddtemp-0.3_beta6-r1 (11 Jun 2003)

11 Jun 2003; Robin Johnson hddtemp-0.3_beta6-r1.ebuild:
Changes to ebuild to make it easy to bump the version for getting the
database updates. One reason for just not updating the hddtemp.db in the
tree is that in some cases you might want to go back versions, and the
author is also considering changing the hddtemp.db file format.
Redo the concept of the hddtemp.db patch, using sed, so we can change the
location inside the ebuild. This is important as we want to be able to
easily update the file without worrying about CONFIG_PROTECT.

*hddtemp-0.3_beta6 (15 Apr 2003)

09 May 2003; Martin Holzer hddtemp-0.2.ebuild,
hddtemp-0.3_beta6.ebuild:
Updated Homepage. Closes #18742.

15 Apr 2003; Martin Holzer Manifest,
hddtemp-0.2.ebuild, hddtemp-0.3_beta6.ebuild, files/hddtemp.db:
Version bumped, moved hddtemp.db out of portage tree.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

*hddtemp-0.2 (10 Jun 2002)

29 Jul 2002; Calum Selkirk hddtemp-0.2.ebuild :

Added ppc to KEYWORDS.

21 June 2002; George Shapovalov hddtemp-0.2.ebuild :

cleaned up ebuild (removed non-standard USE flag and recommended better solution
of an issue) and committed the package

ebuild submitted by Imran Rafique:

10 Jun 2002; Imran Rafique ChangeLog :

Initial release.
I patched the source so that the support file (*.db) installs neatly under /usr/share/hddtemp/.
Enforced my own USE flag ('gkrellm'). If enabled, this flag will cause the hddtemp binary to be installed 'setuid'. This is required for use by the gkrellm-hddtemp plugin.

Manifest

AUX hddgentoo.db 733 RMD160 82f58e86fbb38fd3dbfbf7a0a778f737cee35180 SHA1 f93c172960fda731e308c039454164cb210eaf9e SHA256 d745ca6623ea8ea207cd40be5b3465ad7fe1a67b01490a20b703038fcafeee8a
AUX hddtemp-0.3_beta15-byteswap.patch 1037 RMD160 969720123d9d100ae83f6d9f3b48d2c4cd2b58b5 SHA1 72ffeecc2214c9277b5036adef53f662e3d00bb9 SHA256 85eeaff97c96d2f77a93caa3270ee598f756c4eb0da6753e5ee8602fa1a5bdec
AUX hddtemp-0.3_beta15-execinfo.patch 751 RMD160 a5ca235ce4c4601c4eec82182a9ef825ef2db46a SHA1 17cf64c2d445950d52d90ff883338e84b8b403c8 SHA256 8f896c478f8f2b1776ff4e16fe1f12f0829d044a14e37df48e098aec80812c5c
AUX hddtemp-0.3_beta15-iconv.patch 780 RMD160 b6209e93ec0db66eff2b12653cac0209482d5d56 SHA1 dffe2d4300dfd2632545d9c63539c4d4f056b795 SHA256 542f5b064098961b2fae4ab0185731b47d412c7e4cc8d8972694228f9bb1415f
AUX hddtemp-0.3_beta15-nls.patch 414 RMD160 85adfd2f30ddeed6ab147cc9f3e1c02bc5c1cbec SHA1 1814fa835a292870a754a21e86189a3acb9d3390 SHA256 c81efff92e3cd52257438b834df652cfea8535140fe8b67ebded14fd29c3dd9c
AUX hddtemp-0.3_beta15-satacmds.patch 986 RMD160 445eb1a1c77738b0d62595a15955708c93310b16 SHA1 c81c89d0c8770aae5f667b5416e22c75518d122b SHA256 f3ae8ebd08d598cf9292d08e5fe07f54f894da7a90f02dcc9c46bb8d37afde56
AUX hddtemp-conf.d 410 RMD160 0562571d46330a562768cfa6f0f071339ebd09a8 SHA1 3a642df90eb05bbd4524b622c58ce35b5f4dd4e8 SHA256 4b7b6793edbe54669965bf49dac95b273f128481aabe4b2b9e6c263f0e0a9ff5
AUX hddtemp-init 547 RMD160 7387fd49f4f525ea82895c7fa1429a635abf7ace SHA1 f441e83730105a47055d7a78785ad126bd4e3745 SHA256 bf1253682d16fc54808451925bd001afe83a0dc3926a2250e00f986bf1a29f06
AUX hddtemp.db 29069 RMD160 218cd2529ae446ba2df7f94f3828a80b4568efe7 SHA1 471b001b094c7a6e185f9efe5a943f16b769e898 SHA256 ca43f8ab1e4fb3919af940a2fe6a95feb03939f685450a48666763a3edc326bb
DIST hddtemp-0.3-beta15.tar.bz2 256372 RMD160 82b6affbbb14d23b5a8f3fecf3fff7acc0bd9def SHA1 65393b0a4d9862c030c81702d95c1acd00da275b SHA256 618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b
EBUILD hddtemp-0.3_beta15-r3.ebuild 2089 RMD160 7e540ce2ad7c4c8c4d735a9c6ce8991901ff6097 SHA1 6dff069b5f117850f125da5096f262b5f989161a SHA256 0b1de76358586e62d11ca2bc72180e37f0dac480128b28563d09145ae7d9cd34
MISC ChangeLog 11503 RMD160 ac4319e722949815552482011cf0a7df3187d935 SHA1 2df74a6c7ed4c0388ebb198b3603f23218a3ff2d SHA256 420fb6a9cedd49c923141e5ada8cd43d575d01dce8bc7c734edf8294e55efefc
MISC metadata.xml 220 RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 SHA1 7810907f03c5a3ee23eeaa4b42699ce17bc5c3a7 SHA256 969b4125e7620e2fe0d616cb3cabbe52bd79e6c4bdd725ce807d5f4c7c1ad75d

files

hddtemp-0.3_beta15-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r3.ebuild,v 1.6 2008/07/07 13:38:53 armin76 Exp $

inherit eutils autotools

MY_P=${P/_beta/-beta}

DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives"
HOMEPAGE="http://www.guzu.net/linux/hddtemp.php"
SRC_URI="http://www.guzu.net/files/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ~ia64 ppc sparc x86"
IUSE="nls"

DEPEND=""

S="${WORKDIR}/${MY_P}"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-satacmds.patch
epatch "${FILESDIR}"/${P}-byteswap.patch
epatch "${FILESDIR}"/${P}-execinfo.patch
epatch "${FILESDIR}"/${P}-nls.patch
epatch "${FILESDIR}"/${P}-iconv.patch
AT_M4DIR="m4" eautoreconf
}

src_compile() {
local myconf

myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db"
# disabling nls breaks compiling
use nls || myconf="--disable-nls ${myconf}"
econf ${myconf} || die
emake || die
}

src_install() {
make DESTDIR="${D}" install || die
dodoc README TODO ChangeLog

insinto /usr/share/hddtemp
doins "${FILESDIR}"/hddtemp.db
doins "${FILESDIR}"/hddgentoo.db

update_db "${D}/usr/share/hddtemp/hddgentoo.db" "${D}/usr/share/hddtemp/hddtemp.db"
newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp
newinitd "${FILESDIR}"/hddtemp-init hddtemp
}

pkg_postinst() {
einfo "In order to update your hddtemp database, run:"
einfo " emerge --config =${CATEGORY}/${PF}"
}

update_db() {
local src=$1
local dst=$2

while read line ; do
if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then
echo "${line}" >> "${dst}"
fi

id=$(echo "${line}" | grep -o '"[^"]*"')

grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}"
done < "${src}"
}

pkg_config() {
cd "${ROOT}"/usr/share/hddtemp

einfo "Trying to download the latest hddtemp.db file"
wget http://www.guzu.net/linux/hddtemp.db -O hddtemp.db \
|| die "failed to download hddtemp.db"

update_db "hddgentoo.db" "hddtemp.db"
}

metadata.xml




no-herd

spock@gentoo.org