1 |
ssuominen 11/03/29 06:09:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lm_sensors-3.3.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.115 sys-apps/lm_sensors/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/ChangeLog?rev=1.115&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/ChangeLog?rev=1.115&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/ChangeLog?r1=1.114&r2=1.115 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v |
20 |
retrieving revision 1.114 |
21 |
retrieving revision 1.115 |
22 |
diff -u -r1.114 -r1.115 |
23 |
--- ChangeLog 25 Mar 2011 19:09:13 -0000 1.114 |
24 |
+++ ChangeLog 29 Mar 2011 06:09:44 -0000 1.115 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/lm_sensors |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.114 2011/03/25 19:09:13 xarthisius Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.115 2011/03/29 06:09:44 ssuominen Exp $ |
30 |
+ |
31 |
+*lm_sensors-3.3.0 (29 Mar 2011) |
32 |
+ |
33 |
+ 29 Mar 2011; Samuli Suominen <ssuominen@g.o> +lm_sensors-3.3.0.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
25 Mar 2011; Kacper Kowalik <xarthisius@g.o> lm_sensors-3.2.0.ebuild: |
37 |
ppc stable wrt #347435 |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/lm_sensors/lm_sensors-3.3.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: lm_sensors-3.3.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.0.ebuild,v 1.1 2011/03/29 06:09:44 ssuominen Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
inherit eutils linux-info toolchain-funcs multilib |
54 |
|
55 |
DESCRIPTION="Hardware Monitoring user-space utilities" |
56 |
HOMEPAGE="http://www.lm-sensors.org/" |
57 |
SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.bz2" |
58 |
|
59 |
LICENSE="GPL-2 LGPL-2.1" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" |
62 |
IUSE="sensord" |
63 |
|
64 |
DEPEND="sys-apps/sed |
65 |
sensord? ( net-analyzer/rrdtool )" |
66 |
RDEPEND="dev-lang/perl |
67 |
virtual/logger" |
68 |
|
69 |
CONFIG_CHECK="~HWMON ~I2C_CHARDEV ~I2C" |
70 |
WARNING_HWMON="${PN} requires CONFIG_HWMON to be enabled for use." |
71 |
WARNING_I2C_CHARDEV="sensors-detect requires CONFIG_I2C_CHARDEV to be enabled." |
72 |
WARNING_I2C="${PN} requires CONFIG_I2C to be enabled for most sensors." |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}"/${PN}-3.1.2-sensors-detect-gentoo.patch |
76 |
|
77 |
if use sensord; then |
78 |
sed -i -e 's:^#\(PROG_EXTRA.*\):\1:' Makefile || die |
79 |
fi |
80 |
|
81 |
# Respect LDFLAGS |
82 |
sed -i -e 's/\$(LIBDIR)$/\$(LIBDIR) \$(LDFLAGS)/g' Makefile || die |
83 |
} |
84 |
|
85 |
src_compile() { |
86 |
einfo |
87 |
einfo "You may safely ignore any errors from compilation" |
88 |
einfo "that contain \"No such file or directory\" references." |
89 |
einfo |
90 |
|
91 |
emake CC="$(tc-getCC)" || die |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
emake DESTDIR="${D}" PREFIX=/usr MANDIR=/usr/share/man LIBDIR=/usr/$(get_libdir) \ |
96 |
install || die |
97 |
|
98 |
newinitd "${FILESDIR}"/lm_sensors-3-init.d lm_sensors || die |
99 |
newinitd "${FILESDIR}"/fancontrol-init.d fancontrol || die |
100 |
|
101 |
if use sensord; then |
102 |
newconfd "${FILESDIR}"/sensord-conf.d sensord || die |
103 |
newinitd "${FILESDIR}"/sensord-3-init.d sensord || die |
104 |
fi |
105 |
|
106 |
dodoc CHANGES CONTRIBUTORS INSTALL README \ |
107 |
doc/{donations,fancontrol.txt,fan-divisors,libsensors-API.txt,progs,temperature-sensors,vid} |
108 |
|
109 |
docinto chips |
110 |
dodoc doc/chips/* |
111 |
|
112 |
docinto developers |
113 |
dodoc doc/developers/applications |
114 |
} |
115 |
|
116 |
pkg_postinst() { |
117 |
elog |
118 |
elog "Please run \`/usr/sbin/sensors-detect' in order to setup" |
119 |
elog "/etc/conf.d/lm_sensors." |
120 |
elog |
121 |
elog "/etc/conf.d/lm_sensors is vital to the init-script." |
122 |
elog "Please make sure you also add lm_sensors to the desired" |
123 |
elog "runlevel. Otherwise your I2C modules won't get loaded" |
124 |
elog "on the next startup." |
125 |
elog |
126 |
elog "You will also need to run the above command if you're upgrading from" |
127 |
elog "<=${PN}-2, as the needed entries in /etc/conf.d/lm_sensors has" |
128 |
elog "changed." |
129 |
elog |
130 |
elog "Be warned, the probing of hardware in your system performed by" |
131 |
elog "sensors-detect could freeze your system. Also make sure you read" |
132 |
elog "the documentation before running lm_sensors on IBM ThinkPads." |
133 |
elog |
134 |
elog "Also make sure you have read:" |
135 |
elog "http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31" |
136 |
elog |
137 |
elog "Please refer to the lm_sensors documentation for more information." |
138 |
elog "(http://www.lm-sensors.org/wiki/Documentation)" |
139 |
elog |
140 |
} |