Commit Graph
41 Commits
Author SHA1 Message Date
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
Mark D. Studebaker 64aeb747a4 remove -o and -g args to install
Date: Thu, 18 Dec 2003 22:42:36 +0100
From: Haakon Riiser <haakon.riiser@fys.uio.no>
To: sensors@Stimpy.netroedge.com
Subject: lm_sensors 2.8.2 / DESTDIR / root

The reason for this email is that I always try to avoid running
Makefiles as root, even during 'make install'.  Therefore, I
always use the DESTDIR feature, when it's available.  Until today,
I always built i2c and lm_sensors by doing

  $ make
  $ make -i install DESTDIR=/foo
  $ cd /foo && su root && fix permissions/ownership && install

The -i flag to make install is a kludge to avoid having to be root
while installing to the DESTDIR, and it's only required because
the files are installed with "-o root -g root".  Using the -i
flag is of course not a good idea, since more fatal errors can
easily fly by undetected.

Today, I upgraded to Linux 2.6.0, and tried a similar install
procedure for lm_sensors, except that the make target is now "user"
and the install target is "user_install".  I now noticed that the
DESTDIR variable is not used everywhere in "user_install", so I
couldn't use the -i kludge anymore.  Instead, I wrote a patch that
removes the "-o root -g root" arguments to install everywhere, and
I also tried to add DESTDIR to all files/directories installed.
(The patch only applies to lm_sensors, not i2c, since only
lm_sensors is required in Linux 2.6.0.)

There's really no reason to say -o root -g root anyway, since if you
do install directly with make install, you have to be logged in as
root, and then the files will get the right ownership by default.
Much of the point of installing to a temporary DESTDIR is that you
don't have to be root, and that you can prepare the installation
by hand.  Fixing the ownership is trivial:

  chown -R root.root $DESTDIR


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2189 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-23 23:13:38 +00:00
Mark D. Studebaker 46f0afa134 add guidance on major number from
Sergey Vlasov <vsu@altlinux.ru>
      Advance minor number to 1 (3.0.1)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2163 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 20:19:38 +00:00
Mark D. Studebaker 27e9877012 Add preliminary sysfs support. Two entries added to struct sensors_chip_feature.
chips.c support added only for w83781d as an example.
      Advance library version to 3.0.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2059 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 17:57:29 +00:00
Mark D. Studebaker bcb347f855 advance version to 2.0.2
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2031 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 01:46:09 +00:00
Jean Delvare c44fd17974 Bump lib version to 2.0.1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1916 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-29 10:30:17 +00:00
Jean Delvare dcd0dae9e2 Edit the warnings for clarity.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1876 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-08 12:47:41 +00:00
Jean Delvare 09b57fd0ea Hide warnings in flex-generated code (explicit rule for
lib/conf-lex.c with the -Wno-unused flag).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1831 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-02 16:37:34 +00:00
Mark D. Studebaker 0948e17ee9 add new build targets 'user' and 'user_install'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1822 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-28 20:04:51 +00:00
Mark D. Studebaker 00cd965818 advance library version to 2.0.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1805 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 17:25:33 +00:00
Mark D. Studebaker 367f92899a always generate warnings about libraries in /usr/lib since we can't
assume that ld.so puts /usr/lib last.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1676 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-19 15:04:15 +00:00
Mark D. Studebaker b48792f753 add several checks and warnings when installing libraries
to catch common problems where the new libs won't be found or used


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1675 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-18 02:49:54 +00:00
Mark D. Studebaker be62b338d5 add -lm to shared library so exp() and log() will be found
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1670 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-13 23:48:52 +00:00
Mark D. Studebaker 1d0d09cc26 add library support for logarithms and exponents (!) to support
vt1211 / vt8235 thermistor calculations. Add such calculations to
      vt1211/vt8235 section in sensors.conf; bump library version to 1.4.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1667 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-09 02:55:58 +00:00
Mark D. Studebaker d88451b2d1 bump version to 1.3.0 because of new dummy adapter support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1644 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-23 18:29:16 +00:00
Philip Edelbrock 168a3331b4 (Phil) tag and release 2.6.3
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1339 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-03-23 00:53:08 +00:00
Frodo Looijaard b94761e2e4 Updated version numbering for 2.6.0
> - Update, if necessary, the version number of `sensors'
>   (edit prog/sensors/main.c and change the VERSION define)
>   `cvs diff -r Vx-y-z prog/sensors' is your friend.

It seems that VERSION is now defined to LM_VERSION, so I removed this line
from the checklist.

> - Update if necessary, the version number of libsensors

I did a `cvs diff -r V2-5-5'. Looking at it, I see no interface changes,
but I do see new functionality. So I updated the library minor version.
The library version is now 1.2.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1129 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-12 21:58:26 +00:00
Philip Edelbrock 14aacc93f9 (Phil) Update versioning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@841 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-09 23:47:18 +00:00
Frodo Looijaard 66434a0213 Updated version numbers, as well as the release checklist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@820 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-06-18 16:45:12 +00:00
Frodo Looijaard 8199abde46 New sensors.conf keyword 'ignore'
This often-asked for, long-planned and somewhat-forgotten feature
makes it possible to tell libsensors-linked applications (like
the sensors program) that certain features should not be displayed.
This is very nice for things like unconnected temperature sensors
or fans.

Modifications to the library code, to the sensors program and to
the documentation and example sensors.conf file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@676 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 22:44:41 +00:00
Frodo Looijaard 01bad38253 Added DESTDIR Makefile variable
Set DESTDIR if you want to install at some other place then where you
will run everything from.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@675 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 19:52:28 +00:00
Frodo Looijaard 68a31e3480 Some code cleanups
* Removed several superfluous (struct i2c_client *) casts (they were left
  from the time we had separate structs for smbus and isa)
* Removed the internal lists of registered clients
  They have not been used for quite some time now, took memory space,
  and limited the maximum number of clients that could be registered.

Also removed two small Makefile errors - I am happy I caught them before
the next release!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@582 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 13:20:45 +00:00
Frodo Looijaard fc20445e02 Surer `make clean' implementation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@581 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 10:52:50 +00:00
Frodo Looijaard 0ee18505f5 Oops?!? the chips.h include file of the library was not installed?!?
I wonder how people using libsensors managed to work without it...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@212 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-10 14:59:56 +00:00
Frodo Looijaard 24792039f6 Adrian's copyright patch applied
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@207 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 22:50:29 +00:00
Frodo Looijaard 73026248d4 Man-pages
I finally merged in Adrian's man-pages. libsensors.3 is unchanged from his
version; sensors.conf.5 is heavily edited, not because he did a bad job,
but because his source material was not very well written :-). It should
now tell you more about the config file than you ever wanted to know...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@205 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 19:57:30 +00:00
Frodo Looijaard 634cb32ac0 Update to the latest (mod-19990118) kernel archive
I really hope I did not forget an add or remove. If strange things happen
when you compile, please let me know.

There may still be problems with the EXPORT_* stuff; it seems to work now
for kernel 2.0.36pre19, but it may give trouble for earlier kernels. We
need to check that.

Some i2c modules may be a bit verbose at this moment.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@184 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-29 13:40:25 +00:00
Frodo Looijaard a5f164aca5 Made 'make install' first make everything; disabled the installation
of the old i2c i2c-dev now we have our own.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@161 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 19:14:38 +00:00
Frodo Looijaard a59e9abc8b Several small GL518SM fixes
* (module) VIN limits are now set to sane values (3V instead of 30V, which
  caused nasty overflows)
* (module) VIN limits had min/max swapped in gl518_attach_adapter
* (lib) TEMP_HYST used the VID sysctl instead of the TEMP sysctl, leading
  to bogus readings
* (sensors) print n/a for gl518 not available readings.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@145 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-03 16:21:51 +00:00
Frodo Looijaard faa996f454 Moved some library functions around, to put them in more logical files.
No external changes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@119 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 21:51:59 +00:00
Frodo Looijaard b10d66cc58 The very beginnings of the new user-space application
It doesn't do much yet, but at least it compiles and links...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@99 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-21 16:49:11 +00:00
Frodo Looijaard 1779b684c1 More library stuff
Nice init and cleanup functions.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@97 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-20 21:57:39 +00:00
Frodo Looijaard 730efd78ca More library files
This brings the archive into synch with my harddisk...

Everything in the lib directory should compile without problems (yes, even
without warnings even if WARN=1). It is not well-tested, though, and there
are some minor functions which must still be added. It is now almost
usable.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@95 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-20 16:54:03 +00:00
Frodo Looijaard 8ffb8660b7 Again, some library files. These document for each chip how it can
be accessed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@93 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-19 13:18:16 +00:00
Frodo Looijaard e49c6712bf lib/Module.mk correction, to stop ldconfig from choking
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@92 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-19 10:36:55 +00:00
Frodo Looijaard c4cb096dd9 The first bunch of library files
These are the relatively well-tested files. They allow you to parse a
configuration file, and to build an internal abstract syntax tree.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@91 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-19 00:10:48 +00:00
Frodo Looijaard 52696a8d2d More Makefile stuff
* Added lib directory; the library will live here
* Added Makefile fragment in the lib dir
* Modified README.directories to include the new dir
* Added lib directory to the fragments the Makefile uses


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@90 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-18 18:39:32 +00:00