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.

90 lines
3.5 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/base/modutils/use_old_postfix.diff
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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. --- ./man/Makefile.in.orig 2003-01-27 17:25:24.000000000 +0100
  20. +++ ./man/Makefile.in 2003-03-28 23:44:32.000000000 +0100
  21. @@ -16,9 +16,10 @@
  22. rm -f $(DESTDIR)$(mandir)/man5/conf.modules.5 $(DESTDIR)$(mandir)/man5/conf.modules.5.gz
  23. set -e; \
  24. for i in $(srcdir)/*.[1-8] ; do \
  25. - ext=`echo $$i | sed 's/.*\.//'`; \
  26. + ext=`echo $$i | sed 's/.*\.//'`; old='.old.'; \
  27. + [ $$ext != 1 -a $$ext != 8 ] && old='.'; \
  28. $(MKDIR) $(DESTDIR)$(mandir)/man$$ext/; \
  29. - $(INSTALL) -m 644 $$i $(DESTDIR)$(mandir)/man$$ext/; \
  30. + $(INSTALL) -m 444 $$i $(DESTDIR)$(mandir)/man$$ext/$${i%.*}$$old$$ext; \
  31. done
  32. realclean: clean
  33. --- ./depmod/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
  34. +++ ./depmod/Makefile.in 2003-01-28 00:55:31.000000000 +0100
  35. @@ -56,7 +56,7 @@
  36. install install-bin: all
  37. $(MKDIR) $(DESTDIR)$(sbindir)
  38. - $(INSTALL) $(STRIP) depmod $(DESTDIR)$(sbindir)
  39. + $(INSTALL) $(STRIP) depmod $(DESTDIR)$(sbindir)/depmod.old
  40. dep depend .depend: depmod.c
  41. $(CC) -M $(CFLAGS) $(DEFSNOARCH) $(DEFS) $^ > .depend
  42. --- ./genksyms/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
  43. +++ ./genksyms/Makefile.in 2003-01-28 00:55:46.000000000 +0100
  44. @@ -62,7 +62,7 @@
  45. install install-bin: all
  46. $(MKDIR) $(DESTDIR)$(sbindir)
  47. - $(INSTALL) $(STRIP) genksyms $(DESTDIR)$(sbindir)
  48. + $(INSTALL) $(STRIP) genksyms $(DESTDIR)$(sbindir)/genksyms.old
  49. # auto-generated dependancies are almost redundant once we add all the
  50. # rules to get the generated files built first.
  51. --- ./insmod/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
  52. +++ ./insmod/Makefile.in 2003-01-28 00:57:36.000000000 +0100
  53. @@ -116,16 +116,16 @@
  54. @set -ex;\
  55. for i in $(TARGETS_REAL); do \
  56. $(MKDIR) $(DESTDIR)$(sbindir); \
  57. - $(INSTALL) $(STRIP) $$i $(DESTDIR)$(sbindir); done;
  58. + $(INSTALL) $(STRIP) $$i $(DESTDIR)$(sbindir)/$$i.old; done;
  59. set -e; \
  60. for i in $(srcdir)/insmod_ksymoops_clean $(srcdir)/kernelversion; do \
  61. $(MKDIR) $(DESTDIR)$(sbindir); \
  62. - $(INSTALL) $$i $(DESTDIR)$(sbindir); done;
  63. + $(INSTALL) $$i $(DESTDIR)$(sbindir)/$$i.old; done;
  64. set -e; \
  65. for i in $(COMB); do \
  66. - ln -sf insmod $(DESTDIR)$(sbindir)/$$i; \
  67. + ln -sf insmod.old $(DESTDIR)$(sbindir)/$$i.old; \
  68. (test "$(insmod_static)" = yes && \
  69. - ln -sf insmod.static $(DESTDIR)$(sbindir)/$$i.static) || true; \
  70. + ln -sf insmod.static.old $(DESTDIR)$(sbindir)/$$i.static.old) || true; \
  71. done
  72. clean:
  73. --- ./kerneld/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
  74. +++ ./kerneld/Makefile.in 2003-01-28 00:57:52.000000000 +0100
  75. @@ -42,7 +42,7 @@
  76. set -e; \
  77. for i in $(PROGS); do \
  78. $(MKDIR) $(sbindir); \
  79. - $(INSTALL) $(STRIP) $$i $(sbindir); \
  80. + $(INSTALL) $(STRIP) $$i $(sbindir)/$$i.old; \
  81. done
  82. install-scripts: