diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-06-11 11:24:09 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-06-11 11:24:09 +0000 |
commit | 41c43c869058867683f8291d444e65ad0f37085e (patch) | |
tree | 28ac9c519c7de4cecd147b0dc03d433f02533985 /sys-apps/lm_sensors-modules/files | |
parent | Version bump. (diff) | |
download | gentoo-2-41c43c869058867683f8291d444e65ad0f37085e.tar.gz gentoo-2-41c43c869058867683f8291d444e65ad0f37085e.tar.bz2 gentoo-2-41c43c869058867683f8291d444e65ad0f37085e.zip |
Initial commit, split out from sys-apps/lm_sensors. This fixes bug #84673.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/lm_sensors-modules/files')
3 files changed, 82 insertions, 0 deletions
diff --git a/sys-apps/lm_sensors-modules/files/digest-lm_sensors-modules-2.9.1 b/sys-apps/lm_sensors-modules/files/digest-lm_sensors-modules-2.9.1 new file mode 100644 index 000000000000..9b9f92a218ca --- /dev/null +++ b/sys-apps/lm_sensors-modules/files/digest-lm_sensors-modules-2.9.1 @@ -0,0 +1 @@ +MD5 f5af615e39441d95471bdb72a3f01709 lm_sensors-2.9.1.tar.gz 870765 diff --git a/sys-apps/lm_sensors-modules/files/lm_sensors-2.9.1-module-path.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-2.9.1-module-path.patch new file mode 100644 index 000000000000..e46fabcb3844 --- /dev/null +++ b/sys-apps/lm_sensors-modules/files/lm_sensors-2.9.1-module-path.patch @@ -0,0 +1,69 @@ +diff -urp lm_sensors-2.9.1/kernel/busses/Module.mk lm_sensors-2.9.1-module-path/kernel/busses/Module.mk +--- lm_sensors-2.9.1/kernel/busses/Module.mk 2004-11-14 15:28:09.000000000 +0100 ++++ lm_sensors-2.9.1-module-path/kernel/busses/Module.mk 2005-06-04 15:29:59.000000000 +0200 +@@ -105,16 +105,16 @@ all :: all-kernel-busses + + # + # If $MODPREF/kernel exists, we presume the new (2.4.0) /lib/modules/x.y.z directory +-# layout, so we install in kernel/drivers/i2c/busses and remove old versions in misc/ +-# and kernel/drivers/i2c/ . Otherwise we install in misc/ as before. ++# layout, so we install in drivers/i2c/busses and remove old versions in misc/ ++# and drivers/i2c/ . Otherwise we install in misc/ as before. + # + install-kernel-busses: all-kernel-busses + if [ -n "$(KERNELBUSSESTARGETS)" ] ; then \ +- $(MKDIR) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/busses ; \ +- $(INSTALL) -m 644 $(KERNELBUSSESTARGETS) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/busses ; \ ++ $(MKDIR) $(DESTDIR)$(MODPREF)/drivers/i2c/busses ; \ ++ $(INSTALL) -m 644 $(KERNELBUSSESTARGETS) $(DESTDIR)$(MODPREF)/drivers/i2c/busses ; \ + for i in $(KERNELBUSSESTARGETS) ; do \ +- $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i` \ +- $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/busses/`basename $$i`.gz ; \ ++ $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i` \ ++ $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i`.gz $(DESTDIR)$(MODPREF)/drivers/i2c/busses/`basename $$i`.gz ; \ + done ; \ + $(RMDIR) $(DESTDIR)$(MODPREF)/misc 2> /dev/null || true ; \ + fi +diff -urp lm_sensors-2.9.1/kernel/chips/Module.mk lm_sensors-2.9.1-module-path/kernel/chips/Module.mk +--- lm_sensors-2.9.1/kernel/chips/Module.mk 2005-03-10 20:03:52.000000000 +0100 ++++ lm_sensors-2.9.1-module-path/kernel/chips/Module.mk 2005-06-04 15:29:45.000000000 +0200 +@@ -186,13 +186,13 @@ all :: all-kernel-chips + + # + # If $MODPREF/kernel exists, we presume the new (2.4.0) /lib/modules/x.y.z directory +-# layout, so we install in kernel/drivers/i2c/chips/ and remove old versions in misc/ ++# layout, so we install in drivers/i2c/chips/ and remove old versions in misc/ + # and kernel/drivers/sensors/ . Otherwise we install in misc/ as before. + # + install-kernel-chips: all-kernel-chips + if [ -n "$(KERNELCHIPSTARGETS)" ] ; then \ +- $(MKDIR) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/chips ; \ +- $(INSTALL) -m 644 $(KERNELCHIPSTARGETS) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/chips ; \ ++ $(MKDIR) $(DESTDIR)$(MODPREF)/drivers/i2c/chips ; \ ++ $(INSTALL) -m 644 $(KERNELCHIPSTARGETS) $(DESTDIR)$(MODPREF)/drivers/i2c/chips ; \ + for i in $(KERNELCHIPSTARGETS) ; do \ + $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/kernel/drivers/sensors/`basename $$i` \ + $(DESTDIR)$(MODPREF)/kernel/drivers/sensors/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/chips/`basename $$i`.gz ; \ +diff -urp lm_sensors-2.9.1/prog/hotplug/Makefile.p4b lm_sensors-2.9.1-module-path/prog/hotplug/Makefile.p4b +--- lm_sensors-2.9.1/prog/hotplug/Makefile.p4b 2003-05-31 19:30:47.000000000 +0200 ++++ lm_sensors-2.9.1-module-path/prog/hotplug/Makefile.p4b 2005-06-04 15:29:25.000000000 +0200 +@@ -44,15 +44,15 @@ OBJS = p4b_smbus.o + all: $(OBJS) + + install: all +- install -d /lib/modules/$(KERNELVERSION)/kernel/drivers/i2c/busses +- install -c p4b_smbus.o /lib/modules/$(KERNELVERSION)/kernel/drivers/i2c/busses ++ install -d /lib/modules/$(KERNELVERSION)/drivers/i2c/busses ++ install -c p4b_smbus.o /lib/modules/$(KERNELVERSION)/drivers/i2c/busses + # test ! -x /dev/watchdog || mknod -m 600 /dev/watchdog c 10 130 + # test ! -x /dev/temperature || mknod -m 600 /dev/temperature c 10 131 + + inst: all + rmmod p4b_smbus +- install -d /lib/modules/$(KERNELVERSION)/kernel/drivers/i2c/busses +- install -c p4b_smbus.o /lib/modules/$(KERNEL)/kernel/drivers/i2c/busses ++ install -d /lib/modules/$(KERNELVERSION)/drivers/i2c/busses ++ install -c p4b_smbus.o /lib/modules/$(KERNEL)/drivers/i2c/busses + depmod -a + # modprobe p4b_smbus + diff --git a/sys-apps/lm_sensors-modules/files/lm_sensors-2.9.1-modules-only.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-2.9.1-modules-only.patch new file mode 100644 index 000000000000..e8b532fa7d29 --- /dev/null +++ b/sys-apps/lm_sensors-modules/files/lm_sensors-2.9.1-modules-only.patch @@ -0,0 +1,12 @@ +Only in lm_sensors-2.9.1: lm_sensors-2.9.1-modules-only.patch +diff -urp lm_sensors-2.9.1/Makefile lm_sensors-2.9.1-modules-only/Makefile +--- lm_sensors-2.9.1/Makefile 2005-03-19 12:18:17.000000000 +0100 ++++ lm_sensors-2.9.1-modules-only/Makefile 2005-06-11 12:53:34.000000000 +0200 +@@ -258,6 +258,7 @@ all:: + + # Include all makefiles for sub-modules + INCLUDEFILES := ++SRCDIRS=kernel kernel/busses kernel/chips + include $(patsubst %,%/Module.mk,$(SRCDIRS)) + ifneq ($(MAKECMDGOALS),clean) + ifneq ($(MAKECMDGOALS),uninstall) |