Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 142232 Details for
Bug 198030
sys-apps/lm_sensors-2.10.7/3.0.2 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild for lm_sensors-3.0.1
lm_sensors-3.0.1.ebuild (text/plain), 3.61 KB, created by
Sonny Lander
on 2008-01-30 22:21:00 UTC
(
hide
)
Description:
New ebuild for lm_sensors-3.0.1
Filename:
MIME Type:
Creator:
Sonny Lander
Created:
2008-01-30 22:21:00 UTC
Size:
3.61 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.10.4.ebuild,v 1.6 2008/01/17 20:43:49 fmccor Exp $ > >inherit eutils flag-o-matic linux-info toolchain-funcs multilib > >DESCRIPTION="Hardware Monitoring user-space utilities" > >HOMEPAGE="http://www.lm-sensors.org/" >SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" > >IUSE="sensord" > >COMMON="sensord? ( net-analyzer/rrdtool )" >DEPEND="${COMMON} > sys-apps/sed > >=virtual/linux-sources-2.6.5" >RDEPEND="${COMMON} > dev-lang/perl > >=x11-misc/read-edid-1.4.1-r1 > virtual/logger" > >pkg_setup() { > linux-info_pkg_setup > > if kernel_is lt 2 6 14 && ! (linux_chkconfig_present I2C_SENSOR); then > eerror > eerror "${P} requires CONFIG_I2C_SENSOR to be enabled." > eerror > die "CONFIG_I2C_SENSOR not detected" > elif kernel_is gt 2 6 13 && ! (linux_chkconfig_present HWMON); then > eerror > eerror "${P} requires CONFIG_HWMON to be enabled for 2.6.14+ kernels." > eerror > die "CONFIG_HWMON not detected" > fi > if ! (linux_chkconfig_present I2C_CHARDEV); then > ewarn > ewarn "sensors-detect requires CONFIG_I2C_CHARDEV to be enabled." > ewarn > fi > if ! (linux_chkconfig_present I2C); then > ewarn > ewarn "${P} requires CONFIG_I2C to be enabled for most sensors." > ewarn > fi >} > >src_unpack() { > unpack ${A} > > cd "${S}" > epatch "${FILESDIR}"/${PN}-3.0.1-sensors-detect-gentoo.patch > > if use sensord; then > sed -i -e 's:^# \(PROG_EXTRA\):\1:' "${S}"/Makefile > fi >} > >src_compile() { > einfo > einfo "You may safely ignore any errors from compilation" > einfo "that contain \"No such file or directory\" references." > einfo > > filter-flags -fstack-protector > > emake CC=$(tc-getCC) LINUX=${KV_DIR} I2C_HEADERS=${KV_DIR}/include user \ > || die "emake user failed" >} > >src_install() { > emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man LIBDIR=/usr/$(get_libdir) \ > KERNELINCLUDEFILES="" user_install || die "emake user_install failed" > > newinitd "${FILESDIR}"/lm_sensors3-init.d lm_sensors > newinitd "${FILESDIR}"/fancontrol-init.d fancontrol > > if use sensord; then > newconfd "${FILESDIR}"/sensord-conf.d sensord > newinitd "${FILESDIR}"/sensord3-init.d sensord > fi > > dodoc BACKGROUND BUGS CHANGES CONTRIBUTORS INSTALL QUICKSTART \ > README* TODO > > dodoc doc/donations doc/fancontrol.txt doc/fan-divisors doc/FAQ \ > doc/progs doc/temperature-sensors doc/vid > > dohtml doc/lm_sensors-FAQ.html doc/useful_addresses.html > > docinto busses > dodoc doc/busses/* > > docinto chips > dodoc doc/chips/* > > docinto developers > dodoc doc/developers/applications doc/developers/design \ > doc/developers/new_drivers doc/developers/proc \ > doc/developers/sysctl doc/developers/sysfs-interface >} > >pkg_postinst() { > einfo > einfo "Please run \`/usr/sbin/sensors-detect' in order to setup" > einfo "/etc/conf.d/lm_sensors." > einfo > einfo "/etc/conf.d/lm_sensors is vital to the init-script." > einfo "Please make sure you also add lm_sensors to the desired" > einfo "runlevel. Otherwise your I2C modules won't get loaded" > einfo "on the next startup." > einfo > einfo "You will also need to run the above command if you're upgrading from" > einfo "<=${PN}-2.9.0, as the needed entries in /etc/conf.d/lm_sensors has" > einfo "changed." > einfo > einfo "Be warned, the probing of hardware in your system performed by" > einfo "sensors-detect could freeze your system. Also make sure you read" > einfo "the documentation before running lm_sensors on IBM ThinkPads." > einfo > einfo "Please refer to the lm_sensors documentation for more information." > einfo "(http://www.lm-sensors.org/wiki/Documentation)" > einfo >}
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 198030
:
142219
|
142231
| 142232 |
142234
|
142236
|
143563