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.

72 lines
2.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/base/sysstat/prefix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 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 sysstat-5.0.0.orig/build/CONFIG sysstat-5.0.0/build/CONFIG
  20. --- sysstat-5.0.0.orig/build/CONFIG 2003-11-05 20:45:35.000000000 +0100
  21. +++ sysstat-5.0.0/build/CONFIG 2003-11-29 02:34:02.000000000 +0100
  22. @@ -2,7 +2,7 @@
  23. # (C) 2000 Sebastien GODARD <sebastien.godard@wanadoo.fr>
  24. # Directories
  25. -PREFIX = /usr/local
  26. +PREFIX = /usr
  27. SA_DIR = /var/log/sa
  28. MAN_DIR = ${PREFIX}/man
  29. CLEAN_SA_DIR = n
  30. diff -Nur sysstat-5.0.0.orig/build/CONFIG.def sysstat-5.0.0/build/CONFIG.def
  31. --- sysstat-5.0.0.orig/build/CONFIG.def 2002-05-05 18:54:39.000000000 +0200
  32. +++ sysstat-5.0.0/build/CONFIG.def 2003-11-29 02:33:43.000000000 +0100
  33. @@ -2,7 +2,7 @@
  34. # (C) 2000 Sebastien GODARD <sebastien.godard@wanadoo.fr>
  35. # Directories
  36. -PREFIX = /usr/local
  37. +PREFIX = /usr
  38. SA_DIR = /var/log/sa
  39. MAN_DIR = ${PREFIX}/man
  40. CLEAN_SA_DIR = n
  41. diff -Nur sysstat-5.0.0.orig/build/Configure.sh sysstat-5.0.0/build/Configure.sh
  42. --- sysstat-5.0.0.orig/build/Configure.sh 2003-01-02 21:32:11.000000000 +0100
  43. +++ sysstat-5.0.0/build/Configure.sh 2003-11-29 02:34:30.000000000 +0100
  44. @@ -10,10 +10,10 @@
  45. # Installation directory
  46. -PREFIX=`${ASK} 'Installation directory:' "/usr/local" "prefix"`
  47. +PREFIX=`${ASK} 'Installation directory:' "/usr" "prefix"`
  48. if [ ! -d ${PREFIX} ]; then
  49. - echo "WARNING: Directory ${PREFIX} not found: Using default (/usr/local)."
  50. - PREFIX=/usr/local
  51. + echo "WARNING: Directory ${PREFIX} not found: Using default (/usr)."
  52. + PREFIX=/usr
  53. fi
  54. # System Activity directory
  55. diff -Nur sysstat-5.0.0.orig/sa.h sysstat-5.0.0/sa.h
  56. --- sysstat-5.0.0.orig/sa.h 2003-11-05 20:42:36.000000000 +0100
  57. +++ sysstat-5.0.0/sa.h 2003-11-29 02:31:58.000000000 +0100
  58. @@ -118,7 +118,7 @@
  59. #define NET_SOCKSTAT "/proc/net/sockstat"
  60. #define SADC "sadc"
  61. #define SADC_PATH "/usr/lib/sa/sadc"
  62. -#define SADC_LOCAL_PATH "/usr/local/lib/sa/sadc"
  63. +#define SADC_LOCAL_PATH "/usr/lib/sa/sadc"
  64. #define LOADAVG "/proc/loadavg"
  65. #define VMSTAT "/proc/vmstat"