Fabrice Fontaine
e31cb3b2f8
Add support for static only build
...
This patch adds support for a BUILD_SHARED_LIB variable that allows to
enable/disable the build of the shared library, in order to support
static-only builds.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/lm-sensors/0001-static-build.patch ]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com >
2020-07-13 11:30:36 +02:00
Ondřej Lysoněk
e8afbda10f
3.5.0 release
...
soname was bumped due to commit dcf23676cc which introduced an ABI
change.
Fixes #29
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com >
2018-11-23 18:05:48 +01:00
Jean Delvare
e0abfe8c5d
Add libsensors.map to the list of dependencies for libsensors.so.
2014-05-09 05:53:10 +00:00
Jean Delvare
ff7e16dafa
Bump libsensors version
2014-01-29 09:27:23 +00:00
Jean Delvare
6ee8f6096d
Merge 4 regular expressions into a single one, this is faster.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6046 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:21:00 +00:00
Jean Delvare
08d713c412
libsensors: Fix warning about library path not in /etc/ld.so.conf
...
On recent systems, extra configuration files can live in
/etc/ld.so.conf.d, so check this directory too, before warning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6045 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:18:45 +00:00
Jean Delvare
ae877a1e55
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6035 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-14 07:43:39 +00:00
Jean Delvare
cae654385e
Only export from libsensors symbols which are actually public (i.e.
...
listed in the public header files and documented in the manual page.)
Patch from Cristian Rodriguez <crrodriguez@opensuse.org >.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5939 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-06 20:20:55 +00:00
Jean Delvare
05a24e5bb2
libsensors: Add support for intrusion detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5879 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-11-03 13:00:59 +00:00
Jean Delvare
f292e9f408
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5863 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-10-10 19:15:54 +00:00
Jean Delvare
e369e65d42
Change libsensors license from GPL to LGPL.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5844 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-07-01 11:56:42 +00:00
Jean Delvare
6e78c8c779
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5819 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-02 20:14:53 +00:00
Hans de Goede
271aec857a
Add sensor3.conf.5 symlink to sensors.conf.5 manpage
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5776 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-01 07:43:41 +00:00
Jean Delvare
0a55087719
Bump library version to 4.2.0.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5741 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-20 12:00:22 +00:00
Andre Prendel
3e310f8a8f
libsensors: Take into account distribution LDFLAGS (Patch from Didier Roche).
...
From: Didier Roche <didrocks@ubuntu.com >
Hi lm-sensors developer,
It would be great if lm-sensors can take into account distribution
LDFLAGS so that exported variables change linker behavior.
For instance, ubuntu uses -Wl,-Bsymbolic-functions. Taking this patch
will enable us to just sync from debian on this package.
In Ubuntu, we've applied the attached patch to achieve the following:
* handle default ubuntu LDFLAGS for linking option (LP: #321632 )
- Remove the old hack directly pushed in lib/Module.mk (now
lib/Module.mk if from pristine source)
- add debian/patches/07-use-LDFLAGS.patch to take LDFLAGS into account
Debian and Ubuntu thought you might be interested to handle this
directly upstream.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5713 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-04-28 11:54:40 +00:00
Jean Delvare
2ea3bf392b
Make it possible to skip building of the static library. Just run:
...
make BUILD_STATIC_LIB=0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5711 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-04-20 09:18:06 +00:00
Jean Delvare
e0ad43a545
Include generated source files in dependency checking.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5710 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-04-20 08:42:11 +00:00
Jean Delvare
0ffa44331c
Set library version to 4.1.0.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5663 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-25 07:47:13 +00:00
Jean Delvare
d53ba9bb1c
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5254 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-18 16:07:48 +00:00
Jean Delvare
f2e518511d
Patch from Aurelien Jarno:
...
I have just noticed that the FSF address is the old one in all files
except COPYING. Please find a patch below to fix that.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5163 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-26 13:37:12 +00:00
Jean Delvare
3af8a8e6b8
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5114 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-28 17:47:23 +00:00
Jean Delvare
67218f03c3
libsensors: No longer depend on libsysfs.
...
Instead, access sysfs directly, using 3 embedded helper
functions. My motivations for doing this are:
* As far as I know, libsysfs is no longer maintained.
* libsysfs does much more than we need. For example, when asking for a
device attribute list, libsysfs will read the contents and permissions
of all attributes. Not only does this waste CPU cycles per se, but in
the case of hwmon driver it also triggers register reads, which can be
slow for SMBus chips.
* libsysfs enforces the difference between devices and class devices,
while future changes will be easier if we can handle both types alike.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5067 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-10 13:30:22 +00:00
Jean Delvare
f1a894e4e1
No warnings about ld configuration for staged installations, as these
...
make no sense: we have no idea how the target system will be configured.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5047 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-26 13:54:31 +00:00
Jean Delvare
5742812cfe
Hide a warning in flex-generated file.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4848 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 12:36:56 +00:00
Mark M. Hoffman
e95e7694f5
Fix -W options so flex/yacc code compiles completely without warnings. Also,
...
Use -Wundef everywhere except flex/yacc code, specifically.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4794 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-16 14:50:37 +00:00
Jean Delvare
7a2ab38ecf
Move sensors_proc_read and sensors_proc_write to sysfs.c, and rename them
...
to something more in line with what they do.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4553 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 15:03:22 +00:00
Jean Delvare
b79274babd
Add some more warning flags, and fix these warnings.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4545 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:03:22 +00:00
Jean Delvare
8fdfa3f19d
Move the few lines of code remaining in chips.c to data.c, and finally
...
delete chips.c. RIP.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4507 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 09:53:01 +00:00
Jean Delvare
75d55dc5ae
Delete the chip-specific code from libsensors. It's about time to get
...
the generic code to work.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4506 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 09:38:31 +00:00
Jean Delvare
c8b02ddfa3
Install libsensors as libsensors.so.4, and sensors as sensors3. This makes
...
it possible to install both the old and the new libsensors and sensors,
making testing much easier. sensors3 will be renamed back to sensors before
we release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4461 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-25 11:39:08 +00:00
Jean Delvare
85393f35b6
Always build libsensors with sysfs support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4458 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-25 08:18:47 +00:00
Mark M. Hoffman
c5ffa7b635
Merge from trunk (4303:4355) out to 3.0.0 branch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4357 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-03 12:55:30 +00:00
Philip Edelbrock
b71ee14a2d
Prep for 2.10.2 release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4297 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-15 23:30:51 +00:00
Philip Edelbrock
03d8bdbada
Release of 2.10.1, and some clean ups to the release checklist.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4177 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-24 22:28:55 +00:00
Jean Delvare
73413d0d92
Remove empty include directories on make user_uninstall.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4163 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 15:47:04 +00:00
Jean Delvare
ebbd0ba836
Bump lib version to 3.1.0 for the upcoming lm_sensors 2.10.0
...
release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3253 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-11 18:54:49 +00:00
Mark M. Hoffman
a116313d54
(mmh)
...
This patch makes optional the sysfs support in libsensors. The default is to
*disable* sysfs support if a 2.4.x kernel is detected, for all other versions,
support will be enabled. This can be overridden in the top-level Makefile.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3096 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:39:53 +00:00
Mark M. Hoffman
87fba1c487
(mmh)
...
This patch adds the files lib/sysfs.h and lib/sysfs.c, beginning with a rewrite
of the sysfs detection code (using libsyfs). In the process, I replaced two
poorly named globals with better names, and moved them to sysfs.c. The sysfs
detection now happens very early during library init, rather than later.
The long term plan is for the two global variables to disappear anyway, as
everything to do with sysfs should get moved into lib/sysfs.c.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3093 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:30:44 +00:00
Mark M. Hoffman
10337cf80b
(mmh)
...
This trivial patch links the libsysfs library to the libsensors library.
One needs to build and install sysfsutils first:
http://linux-diag.sourceforge.net/Sysfsutils.html
This patch is naive, at least to start. Later it will be made optional
depending on whether support for Linux 2.6.x is needed, or just 2.4.x.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3092 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-18 20:25:25 +00:00
Philip Edelbrock
97649c80b4
Tag and release 2.9.2
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3066 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-06 19:44:58 +00:00
Mark D. Studebaker
44c0a5bdfe
bump to 3.0.8 for upcoming 2.9.1 release
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2927 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-10 19:24:54 +00:00
Mark D. Studebaker
f3957ff416
bump to 3.0.7 for 2.9.0 release
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2807 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-23 17:37:59 +00:00
Mark D. Studebaker
51f33c9474
bump to 3.0.6
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2694 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-19 17:45:17 +00:00
Jean Delvare
e7e4c799da
Implement "make user_uninstall". Original patch contributed by
...
Rudolf Marek.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2604 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-20 14:18:28 +00:00
Mark D. Studebaker
39d1d4dfa5
remove old library versions in make clean
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2472 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 17:31:34 +00:00
Jean Delvare
e9d2d1aa95
Bump version.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2454 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:47:46 +00:00
Mark D. Studebaker
e1c3e50aac
correctly install shared lib 755
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2344 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 16:43:49 +00:00
Jean Delvare
b7706a11a1
Bump lib version.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2343 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 15:06:03 +00:00
Jean Delvare
72531a8512
Advance to 3.0.3.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2312 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-22 17:49:28 +00:00
Mark D. Studebaker
7dcb173d2a
advance to 3.0.2
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2264 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-03 02:41:49 +00:00