OpenSDE Packages Database (without history before r20070)
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.

56 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../iptraf/path.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. diff -Nur iptraf-2.7.0.orig/src/dirs.h iptraf-2.7.0/src/dirs.h
  18. --- iptraf-2.7.0.orig/src/dirs.h 2001-05-03 12:44:11.000000000 +0200
  19. +++ iptraf-2.7.0/src/dirs.h 2003-06-02 23:00:39.000000000 +0200
  20. @@ -26,7 +26,7 @@
  21. */
  22. #ifndef WORKDIR
  23. -#define WORKDIR "/var/local/iptraf"
  24. +#define WORKDIR "/var/iptraf"
  25. #endif
  26. #ifndef LOGDIR
  27. @@ -34,7 +34,7 @@
  28. #endif
  29. #ifndef EXECDIR
  30. -#define EXECDIR "/usr/local/bin"
  31. +#define EXECDIR "/usr/bin"
  32. #endif
  33. /*
  34. diff -Nur iptraf-2.7.0.orig/src/Makefile iptraf-2.7.0/src/Makefile
  35. --- iptraf-2.7.0.orig/src/Makefile 2002-05-11 09:27:36.000000000 +0200
  36. +++ iptraf-2.7.0/src/Makefile 2003-06-02 23:00:12.000000000 +0200
  37. @@ -68,12 +68,12 @@
  38. # installation target directory. The iptraf and rvnamed programs get
  39. # stored here. iptraf also exec's rvnamed from this directory.
  40. -TARGET = /usr/local/bin
  41. +TARGET = /usr/bin
  42. # The IPTraf working directory; if you change this. Starting with this
  43. # version, this definition overrides dirs.h.
  44. -WORKDIR = /var/local/iptraf
  45. +WORKDIR = /var/iptraf
  46. # The IPTraf log file directory. IPTraf log files are placed here.
  47. # This definition overrides dirs.h