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