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