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.

192 lines
6.7 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/tsa/iptraf/path.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 -Nur iptraf-2.7.0.orig/CHANGES iptraf-2.7.0/CHANGES
  20. --- iptraf-2.7.0.orig/CHANGES 2002-05-19 14:56:21.000000000 +0200
  21. +++ iptraf-2.7.0/CHANGES 2003-06-02 23:03:14.000000000 +0200
  22. @@ -657,8 +657,8 @@
  23. Separated log file into different logs for each facility.
  24. Moved log files to /var/log/iptraf to avoid mixing them with the
  25. - mess in the /var/local/iptraf directory. At least that way,
  26. - we humans don't have to look in /var/local/iptraf anymore.
  27. + mess in the /var/iptraf directory. At least that way,
  28. + we humans don't have to look in /var/iptraf anymore.
  29. Relaxed multiple-instance restriction from a
  30. no-multiple-instances-of-IPTraf requirement to a
  31. diff -Nur iptraf-2.7.0.orig/Documentation/config.html iptraf-2.7.0/Documentation/config.html
  32. --- iptraf-2.7.0.orig/Documentation/config.html 2002-05-19 14:16:31.000000000 +0200
  33. +++ iptraf-2.7.0/Documentation/config.html 2003-06-02 23:01:01.000000000 +0200
  34. @@ -82,7 +82,7 @@
  35. main menu. The configuration is stored in the
  36. <TT
  37. CLASS="FILENAME"
  38. ->/var/local/iptraf/iptraf.cfg</TT
  39. +>/var/iptraf/iptraf.cfg</TT
  40. > file. If the file is not found, IPTraf uses
  41. the default settings. Any changes to the configuration immediately get
  42. stored in the configuration file.</P
  43. @@ -495,4 +495,4 @@
  44. ></DIV
  45. ></BODY
  46. ></HTML
  47. ->
  48. \ No newline at end of file
  49. +>
  50. diff -Nur iptraf-2.7.0.orig/Documentation/gettingstarted.html iptraf-2.7.0/Documentation/gettingstarted.html
  51. --- iptraf-2.7.0.orig/Documentation/gettingstarted.html 2002-05-19 14:16:25.000000000 +0200
  52. +++ iptraf-2.7.0/Documentation/gettingstarted.html 2003-06-02 23:01:51.000000000 +0200
  53. @@ -513,7 +513,7 @@
  54. > The resulting binaries will be placed in the
  55. <TT
  56. CLASS="FILENAME"
  57. ->/usr/local/bin</TT
  58. +>/usr/bin</TT
  59. > directory.
  60. All needed directories will also be created.</P
  61. ><P
  62. @@ -609,7 +609,7 @@
  63. ready-to-run precompiled software. This will copy the binaries to
  64. <TT
  65. CLASS="FILENAME"
  66. ->/usr/local/bin</TT
  67. +>/usr/bin</TT
  68. >, and
  69. create the necessary working directories.</P
  70. ></LI
  71. @@ -649,7 +649,7 @@
  72. > In both cases (downloaded and floppy), the installation will store the
  73. program in <TT
  74. CLASS="FILENAME"
  75. ->/usr/local/bin</TT
  76. +>/usr/bin</TT
  77. > with the binaries owned by
  78. user root, readable, writable, and executable by the owner,
  79. no permissions for the group, no permissions for all others. (700 octal,
  80. @@ -707,7 +707,7 @@
  81. ><P
  82. > Be sure <TT
  83. CLASS="FILENAME"
  84. ->/usr/local/bin</TT
  85. +>/usr/bin</TT
  86. > is included in
  87. your environment's <TT
  88. CLASS="ENVAR"
  89. @@ -781,4 +781,4 @@
  90. ></DIV
  91. ></BODY
  92. ></HTML
  93. ->
  94. \ No newline at end of file
  95. +>
  96. diff -Nur iptraf-2.7.0.orig/Documentation/iptraf.8 iptraf-2.7.0/Documentation/iptraf.8
  97. --- iptraf-2.7.0.orig/Documentation/iptraf.8 2002-03-18 09:05:19.000000000 +0100
  98. +++ iptraf-2.7.0/Documentation/iptraf.8 2003-06-02 23:02:30.000000000 +0200
  99. @@ -86,7 +86,7 @@
  100. .SH FILES
  101. /var/log/iptraf/*.log - log file
  102. - /var/local/iptraf/* - important IPTraf data files
  103. + /var/iptraf/* - important IPTraf data files
  104. .SH SEE ALSO
  105. Documentation/* - complete documentation written by the author
  106. diff -Nur iptraf-2.7.0.orig/Documentation/messages.html iptraf-2.7.0/Documentation/messages.html
  107. --- iptraf-2.7.0.orig/Documentation/messages.html 2002-05-19 14:16:32.000000000 +0200
  108. +++ iptraf-2.7.0/Documentation/messages.html 2003-06-02 23:02:12.000000000 +0200
  109. @@ -107,7 +107,7 @@
  110. program, and the necessary directory
  111. <TT
  112. CLASS="FILENAME"
  113. ->/var/local/iptraf</TT
  114. +>/var/iptraf</TT
  115. > does not
  116. exist. Can also be generated if you have a disk problem or if you
  117. have too many files open.</BLOCKQUOTE
  118. @@ -1188,4 +1188,4 @@
  119. ></DIV
  120. ></BODY
  121. ></HTML
  122. ->
  123. \ No newline at end of file
  124. +>
  125. diff -Nur iptraf-2.7.0.orig/Documentation/rvnamed.8 iptraf-2.7.0/Documentation/rvnamed.8
  126. --- iptraf-2.7.0.orig/Documentation/rvnamed.8 2000-03-13 13:03:59.000000000 +0100
  127. +++ iptraf-2.7.0/Documentation/rvnamed.8 2003-06-02 23:01:26.000000000 +0200
  128. @@ -11,7 +11,7 @@
  129. This program is only used by iptraf and, therefore, is useless alone.
  130. .SH FILES
  131. - /var/local/iptraf/rvnamed.log - log file
  132. + /var/iptraf/rvnamed.log - log file
  133. .SH SEE ALSO
  134. README.rvnamed - documentation from the author
  135. diff -Nur iptraf-2.7.0.orig/README.rvnamed iptraf-2.7.0/README.rvnamed
  136. --- iptraf-2.7.0.orig/README.rvnamed 2001-11-16 02:30:21.000000000 +0100
  137. +++ iptraf-2.7.0/README.rvnamed 2003-06-02 23:02:57.000000000 +0200
  138. @@ -14,7 +14,7 @@
  139. menu, the IP Traffic Monitor will attempt to start rvnamed. If for some
  140. reason rvnamed is already running, IPTraf will use it immediately.
  141. Otherwise, it will attempt to start rvnamed. As of IPTraf 1.2.0, the
  142. -rvnamed is placed together with the main IPTraf executable in /usr/local/bin.
  143. +rvnamed is placed together with the main IPTraf executable in /usr/bin.
  144. When the traffic monitor is done, IPTraf tells rvnamed to quit.
  145. diff -Nur iptraf-2.7.0.orig/src/dirs.h iptraf-2.7.0/src/dirs.h
  146. --- iptraf-2.7.0.orig/src/dirs.h 2001-05-03 12:44:11.000000000 +0200
  147. +++ iptraf-2.7.0/src/dirs.h 2003-06-02 23:00:39.000000000 +0200
  148. @@ -26,7 +26,7 @@
  149. */
  150. #ifndef WORKDIR
  151. -#define WORKDIR "/var/local/iptraf"
  152. +#define WORKDIR "/var/iptraf"
  153. #endif
  154. #ifndef LOGDIR
  155. @@ -34,7 +34,7 @@
  156. #endif
  157. #ifndef EXECDIR
  158. -#define EXECDIR "/usr/local/bin"
  159. +#define EXECDIR "/usr/bin"
  160. #endif
  161. /*
  162. diff -Nur iptraf-2.7.0.orig/src/Makefile iptraf-2.7.0/src/Makefile
  163. --- iptraf-2.7.0.orig/src/Makefile 2002-05-11 09:27:36.000000000 +0200
  164. +++ iptraf-2.7.0/src/Makefile 2003-06-02 23:00:12.000000000 +0200
  165. @@ -68,12 +68,12 @@
  166. # installation target directory. The iptraf and rvnamed programs get
  167. # stored here. iptraf also exec's rvnamed from this directory.
  168. -TARGET = /usr/local/bin
  169. +TARGET = /usr/bin
  170. # The IPTraf working directory; if you change this. Starting with this
  171. # version, this definition overrides dirs.h.
  172. -WORKDIR = /var/local/iptraf
  173. +WORKDIR = /var/iptraf
  174. # The IPTraf log file directory. IPTraf log files are placed here.
  175. # This definition overrides dirs.h