diff options
author | Michael Januszewski <spock@gentoo.org> | 2005-07-13 16:30:52 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2005-07-13 16:30:52 +0000 |
commit | c134cd941b5a19fa0664449e7b16057fa62750c8 (patch) | |
tree | c3d24df024aa704872e0e278c43338653bde33fa | |
parent | stable 0.6, bump to 0.6b (diff) | |
download | gentoo-2-c134cd941b5a19fa0664449e7b16057fa62750c8.tar.gz gentoo-2-c134cd941b5a19fa0664449e7b16057fa62750c8.tar.bz2 gentoo-2-c134cd941b5a19fa0664449e7b16057fa62750c8.zip |
Version bump.
(Portage version: 1.589-cvs)
-rw-r--r-- | app-admin/hddtemp/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/hddtemp/files/digest-hddtemp-0.3_beta13 | 1 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-0.3_beta13-setsid.patch | 12 | ||||
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.3_beta13.ebuild | 55 | ||||
-rw-r--r-- | app-admin/hddtemp/metadata.xml | 3 |
5 files changed, 79 insertions, 1 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/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> |