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.

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