1 |
dberkholz 08/03/17 07:59:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lm_sensors-3.0.1.ebuild |
5 |
Log: |
6 |
Add the next-generation version of lm_sensors. This is now chip-independent and is userspace-only, no kernel modules. The lm_sensors 2.x code was split into this and a separate package called i2c-tools. Non-i2c hardware monitoring stays here, and i2c monitoring is provided by that package. Bump OK'd by genstef. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.82 sys-apps/lm_sensors/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lm_sensors/ChangeLog?rev=1.82&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lm_sensors/ChangeLog?rev=1.82&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lm_sensors/ChangeLog?r1=1.81&r2=1.82 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v |
19 |
retrieving revision 1.81 |
20 |
retrieving revision 1.82 |
21 |
diff -u -r1.81 -r1.82 |
22 |
--- ChangeLog 26 Feb 2008 08:29:32 -0000 1.81 |
23 |
+++ ChangeLog 17 Mar 2008 07:59:27 -0000 1.82 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for sys-apps/lm_sensors |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.81 2008/02/26 08:29:32 zlin Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.82 2008/03/17 07:59:27 dberkholz Exp $ |
29 |
+ |
30 |
+*lm_sensors-3.0.1 (17 Mar 2008) |
31 |
+ |
32 |
+ 17 Mar 2008; Donnie Berkholz <dberkholz@g.o>; |
33 |
+ +files/lm_sensors-3.0.1-sensors-detect-gentoo.patch, |
34 |
+ +files/lm_sensors-3-init.d, +lm_sensors-3.0.1.ebuild: |
35 |
+ Add the next-generation version of lm_sensors. This is now chip-independent |
36 |
+ and is userspace-only, no kernel modules. The lm_sensors 2.x code was split |
37 |
+ into this and a separate package called i2c-tools. Non-i2c hardware |
38 |
+ monitoring stays here, and i2c monitoring is provided by that package. Bump |
39 |
+ OK'd by genstef. |
40 |
|
41 |
26 Feb 2008; Bo Ørsted Andresen <zlin@g.o> |
42 |
lm_sensors-2.10.1.ebuild, lm_sensors-2.10.2.ebuild, |
43 |
|
44 |
|
45 |
|
46 |
1.1 sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: lm_sensors-3.0.1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.0.1.ebuild,v 1.1 2008/03/17 07:59:27 dberkholz Exp $ |
56 |
|
57 |
inherit eutils flag-o-matic linux-info toolchain-funcs multilib |
58 |
|
59 |
DESCRIPTION="Hardware Monitoring user-space utilities" |
60 |
|
61 |
HOMEPAGE="http://www.lm-sensors.org/" |
62 |
SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
67 |
|
68 |
IUSE="sensord" |
69 |
|
70 |
COMMON="sensord? ( net-analyzer/rrdtool )" |
71 |
DEPEND="${COMMON} |
72 |
sys-apps/sed" |
73 |
RDEPEND="${COMMON} |
74 |
dev-lang/perl |
75 |
virtual/logger" |
76 |
|
77 |
pkg_setup() { |
78 |
linux-info_pkg_setup |
79 |
|
80 |
if ! linux_chkconfig_present HWMON; then |
81 |
eerror |
82 |
eerror "${P} requires CONFIG_HWMON to be enabled." |
83 |
eerror |
84 |
die "CONFIG_HWMON not detected" |
85 |
fi |
86 |
if ! linux_chkconfig_present I2C_CHARDEV; then |
87 |
ewarn |
88 |
ewarn "sensors-detect requires CONFIG_I2C_CHARDEV to be enabled." |
89 |
ewarn |
90 |
fi |
91 |
if ! linux_chkconfig_present I2C; then |
92 |
ewarn |
93 |
ewarn "${P} requires CONFIG_I2C to be enabled for most sensors." |
94 |
ewarn |
95 |
fi |
96 |
} |
97 |
|
98 |
src_unpack() { |
99 |
unpack ${A} |
100 |
|
101 |
cd "${S}" |
102 |
epatch "${FILESDIR}"/${PN}-3.0.1-sensors-detect-gentoo.patch |
103 |
|
104 |
if use sensord; then |
105 |
sed -i -e 's:^# \(PROG_EXTRA\):\1:' "${S}"/Makefile |
106 |
fi |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
einfo |
111 |
einfo "You may safely ignore any errors from compilation" |
112 |
einfo "that contain \"No such file or directory\" references." |
113 |
einfo |
114 |
|
115 |
filter-flags -fstack-protector |
116 |
|
117 |
emake CC=$(tc-getCC) \ |
118 |
|| die "emake failed" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man LIBDIR=/usr/$(get_libdir) \ |
123 |
install || die "emake install failed" |
124 |
|
125 |
newinitd "${FILESDIR}"/lm_sensors-3-init.d lm_sensors |
126 |
newinitd "${FILESDIR}"/fancontrol-init.d fancontrol |
127 |
|
128 |
if use sensord; then |
129 |
newconfd "${FILESDIR}"/sensord-conf.d sensord |
130 |
newinitd "${FILESDIR}"/sensord-init.d sensord |
131 |
fi |
132 |
|
133 |
dodoc BACKGROUND BUGS CHANGES CONTRIBUTORS INSTALL QUICKSTART \ |
134 |
README* TODO |
135 |
|
136 |
dodoc doc/donations doc/fancontrol.txt doc/fan-divisors doc/FAQ \ |
137 |
doc/progs doc/temperature-sensors doc/vid |
138 |
|
139 |
dohtml doc/lm_sensors-FAQ.html doc/useful_addresses.html |
140 |
|
141 |
docinto chips |
142 |
dodoc doc/chips/* |
143 |
|
144 |
docinto developers |
145 |
dodoc doc/developers/applications |
146 |
} |
147 |
|
148 |
pkg_postinst() { |
149 |
elog |
150 |
elog "Please run \`/usr/sbin/sensors-detect' in order to setup" |
151 |
elog "/etc/conf.d/lm_sensors." |
152 |
elog |
153 |
elog "/etc/conf.d/lm_sensors is vital to the init-script." |
154 |
elog "Please make sure you also add lm_sensors to the desired" |
155 |
elog "runlevel. Otherwise your I2C modules won't get loaded" |
156 |
elog "on the next startup." |
157 |
elog |
158 |
elog "You will also need to run the above command if you're upgrading from" |
159 |
elog "<=${PN}-2, as the needed entries in /etc/conf.d/lm_sensors has" |
160 |
elog "changed." |
161 |
elog |
162 |
elog "Be warned, the probing of hardware in your system performed by" |
163 |
elog "sensors-detect could freeze your system. Also make sure you read" |
164 |
elog "the documentation before running lm_sensors on IBM ThinkPads." |
165 |
elog |
166 |
elog "Please refer to the lm_sensors documentation for more information." |
167 |
elog "(http://www.lm-sensors.org/wiki/Documentation)" |
168 |
elog |
169 |
} |
170 |
|
171 |
|
172 |
|
173 |
-- |
174 |
gentoo-commits@l.g.o mailing list |