Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1682 Details for
Bug 3615
gkrellm-hddtemp-0.1.ebuild (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
amended ebuild
gkrellm-hddtemp-0.1.ebuild (text/plain), 1.26 KB, created by
Imran Sher Rafique
on 2002-06-22 01:14:26 UTC
(
hide
)
Description:
amended ebuild
Filename:
MIME Type:
Creator:
Imran Sher Rafique
Created:
2002-06-22 01:14:26 UTC
Size:
1.26 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># Author: Imran Rafique <imran@rafique.org> > >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" > >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() { > insinto /usr/lib/gkrellm/plugins > doins gkrellm-hddtemp.so >} > >pkg_postinst() { > # hddtemp needs to run with root permissions > # However, only make hddtemp setuid, if we are confident that the binary was installed via the hddtemp ebuild > # if hddtemp is not in /usr/bin, or its not executable, or not owned by root, then this means that it wasn't installed by the hddtemp ebuild - in which case, do nothing ! > if [ -x "/usr/bin/hddtemp" -a `ls -l /usr/bin/hddtemp | awk '{print $3}'` = "root" ]; then > chmod u+s /usr/bin/hddtemp > fi >} > >pkg_postrm() { > if [ -f "/usr/bin/hddtemp" ]; then > chmod u-s /usr/bin/hddtemp > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3615
:
1444
|
1445
|
1446
| 1682