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.

83 lines
3.0 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/sysvinit/sysvinit.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./src/paths.h.orig Sun Oct 21 17:36:43 2001
  23. +++ ./src/paths.h Sun Oct 21 19:11:24 2001
  24. @@ -13,9 +13,11 @@
  25. * as published by the Free Software Foundation; either version
  26. * 2 of the License, or (at your option) any later version.
  27. */
  28. +#if 0
  29. #define INITLVL "/etc/initrunlvl" /* COMPAT: New runlevel */
  30. #define INITLVL2 "/var/log/initrunlvl" /* COMPAT: New runlevel */
  31. /* Note: INITLVL2 definition needs INITLVL */
  32. +#endif
  33. #define PWRSTAT "/etc/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */
  34. #define VT_MASTER "/dev/vc/0" /* Virtual console master */
  35. #define CONSOLE "/dev/console" /* Logical system console */
  36. --- ./src/Makefile.orig Mon May 6 11:10:51 2002
  37. +++ ./src/Makefile Mon May 6 11:12:55 2002
  38. @@ -14,12 +14,8 @@
  39. STATIC =
  40. # For Debian we do not build all programs, otherwise we do.
  41. -ifeq ($(DEBIAN),)
  42. -PROGS = init halt shutdown killall5 runlevel sulogin utmpdump \
  43. +PROGS = init halt shutdown killall5 runlevel sulogin \
  44. last mesg wall
  45. -else
  46. -PROGS = init halt shutdown killall5 runlevel sulogin last mesg
  47. -endif
  48. BIN_OWNER = root
  49. BIN_GROUP = root
  50. @@ -46,9 +42,6 @@
  51. mesg: mesg.o
  52. $(CC) $(LDFLAGS) -o $@ mesg.o
  53. -utmpdump: utmpdump.o
  54. - $(CC) $(LDFLAGS) -o $@ utmpdump.o
  55. -
  56. runlevel: runlevel.o
  57. $(CC) $(LDFLAGS) -o $@ runlevel.o
  58. @@ -88,9 +81,7 @@
  59. $(INSTALL) -m 755 halt init killall5 sulogin \
  60. runlevel shutdown $(ROOT)/sbin
  61. # These are not installed by default
  62. -ifeq ($(DEBIAN),)
  63. - $(INSTALL) -m 555 utmpdump wall $(ROOT)/usr/bin
  64. -endif
  65. + $(INSTALL) -m 555 wall $(ROOT)/usr/bin
  66. # $(INSTALL) -m 755 etc/initscript.sample $(ROOT)/etc
  67. $(INSTALL) -m 755 mesg last $(ROOT)/usr/bin
  68. cd $(ROOT)/sbin; ln -sf halt reboot; chown $(BIN_COMBO) reboot
  69. @@ -101,9 +92,7 @@
  70. $(INSTALL) -m 644 initreq.h $(ROOT)/usr/include
  71. $(INSTALL) -m 644 ../man/*.8 $(ROOT)$(MANDIR)/man8
  72. $(INSTALL) -m 644 ../man/*.5 $(ROOT)$(MANDIR)/man5
  73. -ifeq ($(DEBIAN),)
  74. $(INSTALL) -m 644 ../man/wall.1 $(ROOT)$(MANDIR)/man1
  75. -endif
  76. $(INSTALL) -m 644 ../man/last.1 ../man/lastb.1 ../man/mesg.1 \
  77. $(ROOT)$(MANDIR)/man1
  78. #