summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2005-07-13 16:30:52 +0000
committerMichael Januszewski <spock@gentoo.org>2005-07-13 16:30:52 +0000
commit4d4c179cfef5f169ee208ce358b87b70f6b7d59c (patch)
tree1d5f6e3c827051cf22ed51176a354bae722ff03a /app-admin/hddtemp
parentstable 0.6, bump to 0.6b (diff)
downloadhistorical-4d4c179cfef5f169ee208ce358b87b70f6b7d59c.tar.gz
historical-4d4c179cfef5f169ee208ce358b87b70f6b7d59c.tar.bz2
historical-4d4c179cfef5f169ee208ce358b87b70f6b7d59c.zip
Version bump.
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'app-admin/hddtemp')
-rw-r--r--app-admin/hddtemp/ChangeLog9
-rw-r--r--app-admin/hddtemp/Manifest13
-rw-r--r--app-admin/hddtemp/files/digest-hddtemp-0.3_beta131
-rw-r--r--app-admin/hddtemp/files/hddtemp-0.3_beta13-setsid.patch12
-rw-r--r--app-admin/hddtemp/hddtemp-0.3_beta13.ebuild55
-rw-r--r--app-admin/hddtemp/metadata.xml3
6 files changed, 87 insertions, 6 deletions
diff --git a/app-admin/hddtemp/ChangeLog b/app-admin/hddtemp/ChangeLog
index 38bb0f59baf8..9b4119f7e357 100644
--- a/app-admin/hddtemp/ChangeLog
+++ b/app-admin/hddtemp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/hddtemp
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.23 2005/04/29 23:45:05 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/ChangeLog,v 1.24 2005/07/13 16:30:52 spock Exp $
+
+*hddtemp-0.3_beta13 (13 Jul 2005)
+
+ 13 Jul 2005; Michał Januszewski <spock@gentoo.org>
+ +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 <gustavoz@gentoo.org>
hddtemp-0.3_beta12.ebuild:
diff --git a/app-admin/hddtemp/Manifest b/app-admin/hddtemp/Manifest
index aed5338400e9..e6965aa533f4 100644
--- a/app-admin/hddtemp/Manifest
+++ b/app-admin/hddtemp/Manifest
@@ -3,24 +3,27 @@ Hash: SHA1
MD5 93d04b229719250dd5b60f22037dd611 hddtemp-0.3_beta11.ebuild 1265
MD5 7ecb6cd08be82281bfdb2c4e4de32fe5 hddtemp-0.2.ebuild 940
+MD5 1b856f47c295d04f75681b406c1de1b3 hddtemp-0.3_beta13.ebuild 1321
MD5 67358d9fae033adf04e11bd6e19204d6 hddtemp-0.3_beta10.ebuild 1135
-MD5 7174d8001e0a1d70aa25d08fcb61edc8 ChangeLog 4250
-MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220
+MD5 a3af49393d0865fcb5e46bef13d82295 ChangeLog 4470
+MD5 ac68604576ccfc58e653bc0982bef4d4 metadata.xml 281
MD5 a68cddcf81bf2b2853e3064f5c1185f1 hddtemp-0.3_beta12.ebuild 1264
MD5 8bb14bf26d828268c3494f280039c866 hddtemp-0.3_beta8.ebuild 1142
MD5 fb10a6dcf20731e49bdd8a408702e27a files/digest-hddtemp-0.3_beta10 70
MD5 f9c75dfa602045fbaff0c841ee327006 files/digest-hddtemp-0.3_beta11 70
MD5 104bbcc814d96186d58c38da7f001fda files/digest-hddtemp-0.3_beta12 71
+MD5 d2b4b7b99f1a5c3a26d093cea53e85a0 files/digest-hddtemp-0.3_beta13 71
MD5 0a2d5f9cdc1a222625e215b2b4025bb5 files/digest-hddtemp-0.3_beta8 70
MD5 f816512c3feee3cc9a92a9a8d27e9cff files/hddtemp.db 11325
MD5 92bf0d7e78de1bafcedee9c9042df8b2 files/hddtemp-conf.d 342
MD5 06b275391f52469a2773a41b9ccc48d6 files/digest-hddtemp-0.2 115
MD5 52e2d71a98fe1eabc27e90f889796a6a files/hddtemp-init 538
MD5 a4e0540c259f86b5ed2c4af2a7ead160 files/hddtemp-0.2-db_location.patch 593
+MD5 91e4b7762278d6c80f97ce6039442e8d files/hddtemp-0.3_beta13-setsid.patch 370
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCcscLKRy60XGEcJIRAlNxAKCjqyR0kli1FirFDjRGJ/SjpKbOXQCbBDAb
-6KKc3FaAoESjnJ4GJb5PP9I=
-=s2UW
+iD8DBQFC1UHWchej4aZK9/cRApKFAJ4uNmppzFlpuBDJ03ICMwINWOQXdwCeMutk
+Xqhbof5BU2y7/16g3VLhMuw=
+=133M
-----END PGP SIGNATURE-----
diff --git a/app-admin/hddtemp/files/digest-hddtemp-0.3_beta13 b/app-admin/hddtemp/files/digest-hddtemp-0.3_beta13
new file mode 100644
index 000000000000..146f63eeec92
--- /dev/null
+++ b/app-admin/hddtemp/files/digest-hddtemp-0.3_beta13
@@ -0,0 +1 @@
+MD5 36d98101daeac1ae8c1589a75aaab00c hddtemp-0.3-beta13.tar.bz2 234021
diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta13-setsid.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta13-setsid.patch
new file mode 100644
index 000000000000..6e8da2a267d0
--- /dev/null
+++ b/app-admin/hddtemp/files/hddtemp-0.3_beta13-setsid.patch
@@ -0,0 +1,12 @@
+diff -Naur hddtemp-0.3-beta13/src/daemon.c hddtemp-0.3-beta13-setsid/src/daemon.c
+--- hddtemp-0.3-beta13/src/daemon.c 2005-03-15 00:43:52.000000000 +0100
++++ hddtemp-0.3-beta13-setsid/src/daemon.c 2005-07-13 02:19:01.000000000 +0200
+@@ -294,6 +294,8 @@
+ close(i);
+ }
+
++ setsid();
++
+ /* redirect signals */
+ for(i = 0; i <= _NSIG; i++) {
+ switch(i) {
diff --git a/app-admin/hddtemp/hddtemp-0.3_beta13.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta13.ebuild
new file mode 100644
index 000000000000..433a5a4ebb2c
--- /dev/null
+++ b/app-admin/hddtemp/hddtemp-0.3_beta13.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta13.ebuild,v 1.1 2005/07/13 16:30:52 spock Exp $
+
+inherit eutils
+
+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/linux/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+IUSE="nls"
+
+DEPEND="virtual/libc
+ net-misc/wget"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ epatch ${FILESDIR}/${P}-setsid.patch
+
+ ebegin "Trying to download the latest hddtemp.db file"
+ wget -q --timeout=10 http://www.guzu.net/linux/hddtemp.db
+ eend $?
+}
+
+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
+ if [ -f hddtemp.db ]; then
+ doins hddtemp.db
+ else
+ doins ${FILESDIR}/hddtemp.db
+ fi
+
+ insinto /etc/conf.d ; donewins ${FILESDIR}/hddtemp-conf.d hddtemp
+ exeinto /etc/init.d ; newexe ${FILESDIR}/hddtemp-init hddtemp
+}
diff --git a/app-admin/hddtemp/metadata.xml b/app-admin/hddtemp/metadata.xml
index 8060c04f89e1..8bf662d61f92 100644
--- a/app-admin/hddtemp/metadata.xml
+++ b/app-admin/hddtemp/metadata.xml
@@ -5,4 +5,7 @@
<maintainer>
<email>aliz@gentoo.org</email>
</maintainer>
+<maintainer>
+ <email>spock@gentoo.org</email>
+</maintainer>
</pkgmetadata>