1 |
jlec 13/07/25 17:51:52 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: lm_sensors-3.3.4.ebuild |
5 |
Log: |
6 |
sys-apps/lm_sensors: Version BUmp, #474490 |
7 |
|
8 |
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 sys-apps/lm_sensors/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/metadata.xml?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/metadata.xml?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/metadata.xml?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/metadata.xml,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- metadata.xml 29 Nov 2012 04:05:00 -0000 1.6 |
24 |
+++ metadata.xml 25 Jul 2013 17:51:52 -0000 1.7 |
25 |
@@ -1,13 +1,13 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
- <maintainer> |
30 |
- <email>jdhore@g.o</email> |
31 |
- <name>Jeff Horelick</name> |
32 |
- </maintainer> |
33 |
- <use> |
34 |
- <flag name='sensord'>Enable sensord - a daemon that can be used to |
35 |
+ <maintainer> |
36 |
+ <email>jdhore@g.o</email> |
37 |
+ <name>Jeff Horelick</name> |
38 |
+ </maintainer> |
39 |
+ <use> |
40 |
+ <flag name="sensord">Enable sensord - a daemon that can be used to |
41 |
periodically log sensor readings from hardware health-monitoring |
42 |
chips</flag> |
43 |
- </use> |
44 |
+ </use> |
45 |
</pkgmetadata> |
46 |
|
47 |
|
48 |
|
49 |
1.137 sys-apps/lm_sensors/ChangeLog |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/ChangeLog?rev=1.137&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/ChangeLog?rev=1.137&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/ChangeLog?r1=1.136&r2=1.137 |
54 |
|
55 |
Index: ChangeLog |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v |
58 |
retrieving revision 1.136 |
59 |
retrieving revision 1.137 |
60 |
diff -u -r1.136 -r1.137 |
61 |
--- ChangeLog 13 Jul 2013 11:25:30 -0000 1.136 |
62 |
+++ ChangeLog 25 Jul 2013 17:51:52 -0000 1.137 |
63 |
@@ -1,6 +1,12 @@ |
64 |
# ChangeLog for sys-apps/lm_sensors |
65 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
66 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.136 2013/07/13 11:25:30 pacho Exp $ |
67 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.137 2013/07/25 17:51:52 jlec Exp $ |
68 |
+ |
69 |
+*lm_sensors-3.3.4 (25 Jul 2013) |
70 |
+ |
71 |
+ 25 Jul 2013; Justin Lecher <jlec@g.o> +lm_sensors-3.3.4.ebuild, |
72 |
+ +files/lm_sensors-3.3.4-sensors-detect-gentoo.patch, metadata.xml: |
73 |
+ Version BUmp, #474490 |
74 |
|
75 |
13 Jul 2013; Pacho Ramos <pacho@g.o> +files/fancontrol.service, |
76 |
+files/sensord.service, lm_sensors-3.3.3-r2.ebuild: |
77 |
|
78 |
|
79 |
|
80 |
1.1 sys-apps/lm_sensors/lm_sensors-3.3.4.ebuild |
81 |
|
82 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.4.ebuild?rev=1.1&view=markup |
83 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.4.ebuild?rev=1.1&content-type=text/plain |
84 |
|
85 |
Index: lm_sensors-3.3.4.ebuild |
86 |
=================================================================== |
87 |
# Copyright 1999-2013 Gentoo Foundation |
88 |
# Distributed under the terms of the GNU General Public License v2 |
89 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-3.3.4.ebuild,v 1.1 2013/07/25 17:51:52 jlec Exp $ |
90 |
|
91 |
EAPI=5 |
92 |
|
93 |
inherit eutils linux-info multilib systemd toolchain-funcs |
94 |
|
95 |
DESCRIPTION="Hardware Monitoring user-space utilities" |
96 |
HOMEPAGE="http://www.lm-sensors.org/" |
97 |
SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${P}.tar.bz2" |
98 |
|
99 |
LICENSE="GPL-2 LGPL-2.1" |
100 |
SLOT="0" |
101 |
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
102 |
IUSE="sensord static-libs" |
103 |
|
104 |
RDEPEND=" |
105 |
dev-lang/perl |
106 |
sensord? ( |
107 |
net-analyzer/rrdtool |
108 |
virtual/logger |
109 |
)" |
110 |
DEPEND="${RDEPEND} |
111 |
sys-devel/bison |
112 |
sys-devel/flex" |
113 |
|
114 |
CONFIG_CHECK="~HWMON ~I2C_CHARDEV ~I2C" |
115 |
WARNING_HWMON="${PN} requires CONFIG_HWMON to be enabled for use." |
116 |
WARNING_I2C_CHARDEV="sensors-detect requires CONFIG_I2C_CHARDEV to be enabled." |
117 |
WARNING_I2C="${PN} requires CONFIG_I2C to be enabled for most sensors." |
118 |
|
119 |
src_prepare() { |
120 |
epatch "${FILESDIR}"/${P}-sensors-detect-gentoo.patch |
121 |
|
122 |
use sensord && { sed -i -e 's:^#\(PROG_EXTRA.*\):\1:' Makefile || die; } |
123 |
|
124 |
# Respect LDFLAGS |
125 |
sed -i -e 's/\$(LIBDIR)$/\$(LIBDIR) \$(LDFLAGS)/g' Makefile || die |
126 |
|
127 |
# Fix shipped unit file paths |
128 |
sed -i -e 's:\(^EnvironmentFile=\).*:\1/etc/conf.d/lm_sensors:' \ |
129 |
prog/init/lm_sensors.service || die |
130 |
|
131 |
use static-libs || { sed -i -e '/^BUILD_STATIC_LIB/d' Makefile || die; } |
132 |
} |
133 |
|
134 |
src_compile() { |
135 |
einfo |
136 |
einfo "You may safely ignore any errors from compilation" |
137 |
einfo "that contain \"No such file or directory\" references." |
138 |
einfo |
139 |
|
140 |
emake CC="$(tc-getCC)" |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
emake \ |
145 |
DESTDIR="${D}" \ |
146 |
PREFIX="${EPREFIX}/usr" \ |
147 |
MANDIR="${EPREFIX}/usr/share/man" \ |
148 |
ETCDIR="${EPREFIX}/etc" \ |
149 |
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ |
150 |
install |
151 |
|
152 |
newinitd "${FILESDIR}"/${PN}-3-init.d ${PN} |
153 |
systemd_dounit prog/init/lm_sensors.service |
154 |
|
155 |
newinitd "${FILESDIR}"/fancontrol-init.d-2 fancontrol |
156 |
systemd_dounit "${FILESDIR}"/fancontrol.service |
157 |
|
158 |
if use sensord; then |
159 |
newconfd "${FILESDIR}"/sensord-conf.d sensord |
160 |
newinitd "${FILESDIR}"/sensord-4-init.d sensord |
161 |
systemd_dounit "${FILESDIR}"/sensord.service |
162 |
fi |
163 |
|
164 |
dodoc CHANGES CONTRIBUTORS INSTALL README \ |
165 |
doc/{donations,fancontrol.txt,fan-divisors,libsensors-API.txt,progs,temperature-sensors,vid} |
166 |
|
167 |
docinto developers |
168 |
dodoc doc/developers/applications |
169 |
} |
170 |
|
171 |
pkg_postinst() { |
172 |
echo |
173 |
elog "Please run \`/usr/sbin/sensors-detect' in order to setup" |
174 |
elog "/etc/conf.d/${PN}." |
175 |
echo |
176 |
elog "/etc/conf.d/${PN} is vital to the init-script." |
177 |
elog "Please make sure you also add ${PN} to the desired" |
178 |
elog "runlevel. Otherwise your I2C modules won't get loaded" |
179 |
elog "on the next startup." |
180 |
echo |
181 |
elog "You will also need to run the above command if you're upgrading from" |
182 |
elog "<=${PN}-2, as the needed entries in /etc/conf.d/${PN} has" |
183 |
elog "changed." |
184 |
echo |
185 |
elog "Be warned, the probing of hardware in your system performed by" |
186 |
elog "sensors-detect could freeze your system. Also make sure you read" |
187 |
elog "the documentation before running ${PN} on IBM ThinkPads." |
188 |
echo |
189 |
elog "Also make sure you have read:" |
190 |
elog "http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31" |
191 |
echo |
192 |
elog "Please refer to the ${PN} documentation for more information." |
193 |
elog "(http://www.lm-sensors.org/wiki/Documentation)" |
194 |
echo |
195 |
} |