mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/avm/slmodem/nodepmod.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -ruN slmodem-2.9.8/drivers/Makefile slmodem-2.9.8-new/drivers/Makefile
  20. --- slmodem-2.9.8/drivers/Makefile 2003-12-21 22:15:54.000000000 +0100
  21. +++ slmodem-2.9.8-new/drivers/Makefile 2004-06-24 15:52:10.855671664 +0200
  22. @@ -75,14 +75,14 @@
  23. cp /etc/modules.conf /etc/modules.conf.slamr && \
  24. echo 'alias char-major-212 slamr' >> /etc/modules.conf && \
  25. echo 'alias char-major-213 slusb' >> /etc/modules.conf
  26. - /sbin/depmod -a
  27. + echo 'ROCK: Please run /etc/cron.d/00-updates afterwards!'
  28. uninstall:
  29. /sbin/modprobe -r slamr slusb
  30. cp /etc/modules.conf /etc/modules.conf.slamr && \
  31. egrep -ve 'alias char-major-212 slamr|alias char-major-213 slusb' /etc/modules.conf.slamr > /etc/modules.conf
  32. $(RM) $(module-dir)/slamr.o
  33. $(RM) $(module-dir)/slusb.o
  34. - /sbin/depmod -a
  35. + echo 'ROCK: Please run /etc/cron.d/00-updates afterwards!'
  36. uninstall-old:
  37. $(RM) $(module-dir)/slmdm.o \
  38. $(module-dir)/slfax.o \
  39. @@ -102,13 +102,13 @@
  40. install:
  41. install -D -m 644 slamr.ko $(module-dir)/slamr.ko
  42. install -D -m 644 slusb.ko $(module-dir)/slusb.ko
  43. - /sbin/depmod -a
  44. + echo 'ROCK: Please run /etc/cron.d/00-updates afterwards!'
  45. uninstall:
  46. modprobe -r slamr ; echo -n
  47. modprobe -r slusb ; echo -n
  48. $(RM) $(module-dir)/slamr.ko
  49. $(RM) $(module-dir)/slusb.ko
  50. - /sbin/depmod -a
  51. + echo 'ROCK: Please run /etc/cron.d/00-updates afterwards!'
  52. endif
  53. endif