summaryrefslogtreecommitdiff
path: root/misc/amanda/files/patch-ac
blob: 9f100d5644e096ded0980e1b8d312c5252297c65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
*** config/options.h-vanilla	Fri Feb 10 11:21:59 1995
--- config/options.h	Tue Feb 28 16:34:30 1995
***************
*** 42,51 ****
   *	LIBEXEC_DIR	- Internal support programs
   *	MAN_DIR		- Man pages
   */
! #define CONFIG_DIR "/etc/amanda"
  #define LIBEXEC_DIR "/usr/local/libexec/amanda"
  #define BIN_DIR	"/usr/local/sbin"
! #define MAN_DIR	"/usr/share/local/man/man8"
  
  
  /*
--- 42,51 ----
   *	LIBEXEC_DIR	- Internal support programs
   *	MAN_DIR		- Man pages
   */
! #define CONFIG_DIR "/usr/local/etc/amanda"
  #define LIBEXEC_DIR "/usr/local/libexec/amanda"
  #define BIN_DIR	"/usr/local/sbin"
! #define MAN_DIR	"/usr/local/man/man8"
  
  
  /*
***************
*** 53,59 ****
   * I compile with -g to compile in a full symbol table, but you might choose
   * to use -O or something else.
   */
! #define MK_CCOPTS -g
  /*
   * You can also redefine MK_CC here if you wish to override the system
   * dependent C compiler.  If you have a stable version of GCC, you may
--- 53,59 ----
   * I compile with -g to compile in a full symbol table, but you might choose
   * to use -O or something else.
   */
! #define MK_CCOPTS -O
  /*
   * You can also redefine MK_CC here if you wish to override the system
   * dependent C compiler.  If you have a stable version of GCC, you may
***************
*** 77,83 ****
   * Since 2.2.1 is a major change, I recommend defining this for existing
   * Amanda sites.
   */
! #define USE_VERSION_SUFFIXES
  
  
  /*
--- 77,83 ----
   * Since 2.2.1 is a major change, I recommend defining this for existing
   * Amanda sites.
   */
! /*#define USE_VERSION_SUFFIXES*/
  
  
  /*
***************
*** 182,196 ****
  #define HAVE_GZIP
  
  #ifdef HAVE_GZIP
! #  define COMPRESS_PATH  	"/usr/imports/bin/gzip"
  #  define COMPRESS_SUFFIX 	".gz"
  #  define COMPRESS_FAST_OPT	"--fast"
  #  define COMPRESS_BEST_OPT	"--best"
! #  define UNCOMPRESS_CMD	"gzcat"
  #else
  #  define COMPRESS_PATH		COMPRESS	/* defined in config.h */
  #  define COMPRESS_SUFFIX	".Z"
  #  define COMPRESS_FAST_OPT	"-f"		/* -f doesn't do anything */
  #  define COMPRESS_BEST_OPT	"-f"		/* it's just a placeholder */
! #  define UNCOMPRESS_CMD	"zcat"
  #endif
--- 182,196 ----
  #define HAVE_GZIP
  
  #ifdef HAVE_GZIP
! #  define COMPRESS_PATH  	"/usr/bin/gzip"
  #  define COMPRESS_SUFFIX 	".gz"
  #  define COMPRESS_FAST_OPT	"--fast"
  #  define COMPRESS_BEST_OPT	"--best"
! #  define UNCOMPRESS_CMD	"/usr/bin/gzcat"
  #else
  #  define COMPRESS_PATH		COMPRESS	/* defined in config.h */
  #  define COMPRESS_SUFFIX	".Z"
  #  define COMPRESS_FAST_OPT	"-f"		/* -f doesn't do anything */
  #  define COMPRESS_BEST_OPT	"-f"		/* it's just a placeholder */
! #  define UNCOMPRESS_CMD	"/usr/bin/zcat"
  #endif