summaryrefslogtreecommitdiff
path: root/misc/amanda/files/patch-ac
blob: 8da6374c4de1541363b5c3805c26b2f5c2a113df (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
*** config/options.h-vanilla.orig	Mon May 20 11:11:25 1996
--- config/options.h-vanilla	Fri Dec  3 00:29:56 1999
***************
*** 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	"%%PREFIX%%/etc/amanda"
! #define LIBEXEC_DIR	"%%PREFIX%%/libexec/amanda"
! #define BIN_DIR	"%%PREFIX%%/sbin"
! #define MAN_DIR	"%%PREFIX%%/man/man8"
  
  
  /*
***************
*** 53,66 ****
   * 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
   * well want to use that instead of the system compiler.
   */
! /* #undef  MK_CC		*/
! /* #define MK_CC gcc -Wall	*/
  
  
  /*
--- 53,68 ----
   * I compile with -g to compile in a full symbol table, but you might choose
   * to use -O or something else.
   */
! #define MK_CCOPTS	%%CFLAGS%%
  /*
   * 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
   * well want to use that instead of the system compiler.
   */
! #undef  MK_INSTALL
! #define MK_INSTALL	%%INSTALL%%
! #undef  MK_CC
! #define MK_CC	%%CC%%
  
  
  /*
***************
*** 77,83 ****
   * Since 2.2.1 is a major change, I recommend defining this for existing
   * Amanda sites.
   */
! #define USE_VERSION_SUFFIXES
  
  
  /*
--- 79,85 ----
   * Since 2.2.1 is a major change, I recommend defining this for existing
   * Amanda sites.
   */
! /*#define USE_VERSION_SUFFIXES*/
  
  
  /*
***************
*** 182,198 ****
  #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
  
  /*
--- 184,200 ----
  #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
  
  /*