diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-08-30 01:49:27 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-08-30 01:49:27 +0000 |
commit | f2e174785b68976ed0c6fcbcadf06854456df7a5 (patch) | |
tree | 219a53aefef7f6ed0512986779de0b473e46757a /x11-plugins/gkrellm-hddtemp | |
parent | removed gkrellkam (diff) | |
download | gentoo-2-f2e174785b68976ed0c6fcbcadf06854456df7a5.tar.gz gentoo-2-f2e174785b68976ed0c6fcbcadf06854456df7a5.tar.bz2 gentoo-2-f2e174785b68976ed0c6fcbcadf06854456df7a5.zip |
moved to x11-plugins
Diffstat (limited to 'x11-plugins/gkrellm-hddtemp')
-rw-r--r-- | x11-plugins/gkrellm-hddtemp/ChangeLog | 22 | ||||
-rw-r--r-- | x11-plugins/gkrellm-hddtemp/files/digest-gkrellm-hddtemp-0.1 | 1 | ||||
-rw-r--r-- | x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild | 50 |
3 files changed, 73 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-hddtemp/ChangeLog b/x11-plugins/gkrellm-hddtemp/ChangeLog new file mode 100644 index 000000000000..fbda9a19409f --- /dev/null +++ b/x11-plugins/gkrellm-hddtemp/ChangeLog @@ -0,0 +1,22 @@ +# ChangeLog for x11-plugins/gkrellm-hddtemp +# Copyright 2002 Imran Rafique; Distributed under the GPL V2 or later +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/ChangeLog,v 1.1 2002/08/30 01:49:27 seemant Exp $ + +*gkrellm-hddtemp-0.2 (10 Jun 2002) + + 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org> * : + + Relocated to x11-plugins + + 24 Jun 2002; George Shapovalov <george@gentoo.org> all : + + Reworked the ebuild to ask user to set suid bit on hddtemp instead of + setting it automatically. (it was decided that having an uncontrolled + by sysadmin suids is bad, besides hddtemp belongs to another package. + Please see the pkg_postinst function in ebuild for more). + + Ebuild submitted by Imran Rafique: + + 10 Jun 2002; Imran Rafique <imran@rafique.org> ChangeLog : + + initial release diff --git a/x11-plugins/gkrellm-hddtemp/files/digest-gkrellm-hddtemp-0.1 b/x11-plugins/gkrellm-hddtemp/files/digest-gkrellm-hddtemp-0.1 new file mode 100644 index 000000000000..90449ac89a21 --- /dev/null +++ b/x11-plugins/gkrellm-hddtemp/files/digest-gkrellm-hddtemp-0.1 @@ -0,0 +1 @@ +MD5 6f1f153970b61dd8e08024ea4ee2cbd7 gkrellm-hddtemp-0.1.tar.gz 9974 diff --git a/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild b/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild new file mode 100644 index 000000000000..ea554fe8b162 --- /dev/null +++ b/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild,v 1.1 2002/08/30 01:49:27 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="a GKrellM plugin for hddtemp (which reads the temperature of SMART IDE hard drives)" +SRC_URI="http://coredump.free.fr/linux/${P}.tar.gz" +HOMEPAGE="http://coredump.free.fr/linux/harddrive.html" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc sparc64" + +DEPEND=">=app-admin/gkrellm-1.2.1" +RDEPEND=">=app-admin/hddtemp-0.2" + +src_unpack() { + unpack ${A} ; cd ${S} + # patch Makefile + mv Makefile Makefile.orig + sed -e "s:^CFLAGS.*:CFLAGS=${CFLAGS} -fPIC:" Makefile.orig > Makefile +} + +src_compile() { + make || die +} + +src_install() { + dodoc README COPYING + + insinto /usr/lib/gkrellm/plugins + doins gkrellm-hddtemp.so +} + +pkg_postinst() { + einfo + einfo "#######################################################" + einfo "# #" + einfo "# Please note that hddtemp has to be set suid #" + einfo "# in order to allow regular user to run this #" + einfo "# plugin. #" + einfo "# #" + einfo "# Please execute (as root): #" + einfo "# chmod u+s /usr/bin/hddtemp #" + einfo "# to set the suid bit #" + einfo "# (this is not done automatically for #" + einfo "# security reasons) #" + einfo "# #" + einfo "#######################################################" +} |