[clc-devel] unmaintained/lm_sensors: Port update

ncrfgs ncrfgs at tin.it
Wed Sep 1 18:46:44 UTC 2004


With the Linux 2.6.x series, lm_sensor' kernel space code was include into the 
kernel and after CRUX switched to Linux kernel 2.6.x series, lm_sensors port' 
"README" and "post-install" files became useless and the the following line can 
be safely deleted from the "Pkgfile" script.

	rm -f $PKG/lib/modules/`uname -r`/modules*

A possible patch is attached to this message.

http://clc.morpheus.net:6999/clc/tktview?tn=11


Best regards.
-- 
Value your freedom, or you will lose it, teaches history. 
``Don't bother us with politics,'' respond those who don't 
want to learn.

 -- Richard M. Stallman
    http://www.gnu.org/philosophy/linux-gnu-freedom.html
-------------- next part --------------
diff -Nru lm_sensors.orig/Pkgfile lm_sensors/Pkgfile
--- lm_sensors.orig/Pkgfile	2004-08-17 22:01:44.000000000 +0200
+++ lm_sensors/Pkgfile	2004-09-01 20:34:17.368443264 +0200
@@ -6,7 +6,7 @@
 
 name=lm_sensors
 version=2.8.7
-release=1
+release=2
 source=(http://www2.lm-sensors.nu/~lm78/archive/$name-$version.tar.gz)
 
 build () {
@@ -14,7 +14,5 @@
 	make user PREFIX=/usr
 	make PREFIX=$PKG/usr ETCDIR=$PKG/etc user_install
 	
-	rm -f $PKG/usr/include/linux/i2c-dev.h
-	rm -f $PKG/lib/modules/`uname -r`/modules*
+	rm $PKG/usr/include/linux/i2c-dev.h
 }
-
diff -Nru lm_sensors.orig/README lm_sensors/README
--- lm_sensors.orig/README	2004-08-17 22:01:44.000000000 +0200
+++ lm_sensors/README	1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-README for lm_sensors
-
-REQUIREMENTS
-
-PRE-INSTALL
-
-INSTALL
-- You will get footprint mismatches because of the kernel modules
-  that are installed. Don't worry ;)
-
-POST-INSTALL
-- Run the post-install script to update the module dependency files.
-
-PRECAUTION
-- Put your kernel sources to /usr/src/linux-version
diff -Nru lm_sensors.orig/post-install lm_sensors/post-install
--- lm_sensors.orig/post-install	2004-08-17 22:01:44.000000000 +0200
+++ lm_sensors/post-install	1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-depmod -a
-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.crux.nu/pipermail/crux-devel/attachments/20040901/4bd7dd18/attachment.asc>


More information about the crux-devel mailing list