summaryrefslogtreecommitdiff
path: root/news/ifmail/files/patch-CONFIG
blob: 841e04ba588d50cfeb56df8dc4f89e48fdac2129 (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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
*** CONFIG	Sat Sep 13 15:41:44 1997
--- CONFIG.neu	Fri Dec  5 11:01:29 1997
***************
*** 8,21 ****
  # Debug messages turned on by -x key are written here.
  # Some error messages may occationally appear here too.
  # This may be changed in the 'config' file.
! DEBUGFILE   = "/var/log/ifmail/ifdebug"
  
  # Procession log. Usually gets several lines for each invocation.
  # Also look for error diagnostics here.  If HAS_SYSLOG defined,
  # only stdout and stderr from the packers and unpackers go to this
  # file, while actual logging is done via syslog() calls.
  # This may be changed in the 'config' file.
! LOGFILE     = "/var/log/ifmail/iflog"
  
  # Use syslog() facility codes for mail gate, news gate and ifcico.
  # Define -DHAS_SYSLOG (see below)
--- 8,21 ----
  # Debug messages turned on by -x key are written here.
  # Some error messages may occationally appear here too.
  # This may be changed in the 'config' file.
! DEBUGFILE   = "/var/spool/ifmail/ifdebug"
  
  # Procession log. Usually gets several lines for each invocation.
  # Also look for error diagnostics here.  If HAS_SYSLOG defined,
  # only stdout and stderr from the packers and unpackers go to this
  # file, while actual logging is done via syslog() calls.
  # This may be changed in the 'config' file.
! LOGFILE     = "/var/spool/ifmail/iflog"
  
  # Use syslog() facility codes for mail gate, news gate and ifcico.
  # Define -DHAS_SYSLOG (see below)
***************
*** 27,39 ****
  CICOLOG    = LOG_LOCAL0
  
  # Directory where UUCP lock files reside.
! #LOCKDIR     = "/var/spool/uucp"
! LOCKDIR     = "/var/lock"
  
  # Directory from which file requests are resolved.
  # This may be changed from the 'config' file.
! #PUBDIR      = "/home/ftp/pub"
! PUBDIR      = "/var/spool/uucppublic"
  
  # News spool directory (to check space only)
  #NEWSSPOOL   = "/usr/spool/news"
--- 27,39 ----
  CICOLOG    = LOG_LOCAL0
  
  # Directory where UUCP lock files reside.
! LOCKDIR     = "/var/spool/uucp"
! #LOCKDIR     = "/var/lock"
  
  # Directory from which file requests are resolved.
  # This may be changed from the 'config' file.
! PUBDIR      = "/home/ftp/pub"
! #PUBDIR      = "/var/spool/uucppublic"
  
  # News spool directory (to check space only)
  #NEWSSPOOL   = "/usr/spool/news"
***************
*** 152,171 ****
  # system, usually "-DINT32=long -DINT16=short"
  
  # Linux/x86:  (add -DHAS_BSD_SIGNALS if you have glibc2 aka libc6.x)
! OPTS        = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
! 		-DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \
! 		-DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \
! 		-DFORCEINTL -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_BSY \
! 		-DSLAVE_SENDS_NAK_TOO -DNEED_FORK \
! 		-DINT32=long -DINT16=short
  
  # 386BSD:
! #OPTS        = -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_SETSID -DHAS_NDBM_H \
! #		-DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_IOCTL_H \
! #		-DHAS_REGEX_H -DHAS_TCP -DHAS_SYSLOG -DNEED_UUCPFROM \
! #		-DNEED_BSY -DNEED_FORK -DNEGATIVE_SEEK_BUG \
! #		-DHAS_SYS_ERRLIST -DHAS_BSD_SIGNALS \
! #		-DINT32=long -DINT16=short
  
  # SVR4:
  #OPTS        = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \
--- 152,171 ----
  # system, usually "-DINT32=long -DINT16=short"
  
  # Linux/x86:  (add -DHAS_BSD_SIGNALS if you have glibc2 aka libc6.x)
! #OPTS        = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \
! #		-DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \
! #		-DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \
! #		-DFORCEINTL -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_BSY \
! #		-DSLAVE_SENDS_NAK_TOO -DNEED_FORK \
! #		-DINT32=long -DINT16=short
  
  # 386BSD:
! OPTS        = -DHAS_STATFS -DSTATFS_IN_MOUNT_H -DHAS_SETSID -DHAS_NDBM_H \
! 		-DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_IOCTL_H \
! 		-DHAS_REGEX_H -DHAS_TCP -DHAS_SYSLOG -DNEED_UUCPFROM \
! 		-DNEED_BSY -DNEED_FORK -DNEGATIVE_SEEK_BUG \
! 		-DHAS_SYS_ERRLIST -DHAS_BSD_SIGNALS \
! 		-DINT32=long -DINT16=short
  
  # SVR4:
  #OPTS        = -DHAS_STATVFS -DDONT_HAVE_TM_GMTOFF -DHAS_SETSID -DHAS_NDBM_H \
***************
*** 217,223 ****
  #		-DNEED_BSY -DSLAVE_SENDS_NAK_TOO -DINT32=int -DINT16=short
  
  # for make install, where to put binaries and what owner to set
! BINDIR = /usr/lib/ifmail
  OWNER = ifmail
  GROUP = uucp
  MODE = 0711
--- 217,223 ----
  #		-DNEED_BSY -DSLAVE_SENDS_NAK_TOO -DINT32=int -DINT16=short
  
  # for make install, where to put binaries and what owner to set
! BINDIR = ${PREFIX}/libexec/ifmail
  OWNER = ifmail
  GROUP = uucp
  MODE = 0711
***************
*** 237,243 ****
  TAR = tar
  
  #CFLAGS = -g -Wall
! # Linux, 386BSD, SunOS:
  CFLAGS = -O2 -Wall
  # SVR4:
  #CFLAGS = -O -Xa
--- 237,243 ----
  TAR = tar
  
  #CFLAGS = -g -Wall
! # Linux, 386BSD,FreeBsd, SunOS:
  CFLAGS = -O2 -Wall
  # SVR4:
  #CFLAGS = -O -Xa
***************
*** 254,264 ****
  # If you need TERM also add e.g. "/usr/src/term112/client.a"
  
  # Linux
! LIBS = -lgdbm
  # SunOS:
  #LIBS =
  # 386BSD:
  #LIBS = -lgdbm -lcompat
  # SVR4
  #LIBS = -ldbm -lform -lnsl -lsocket -lc -L/usr/ucblib -lucb
  # SCO
--- 254,266 ----
  # If you need TERM also add e.g. "/usr/src/term112/client.a"
  
  # Linux
! #LIBS = -lgdbm
  # SunOS:
  #LIBS =
  # 386BSD:
  #LIBS = -lgdbm -lcompat
+ # FreeBsd:
+ LIBS = -lgnuregex
  # SVR4
  #LIBS = -ldbm -lform -lnsl -lsocket -lc -L/usr/ucblib -lucb
  # SCO
***************
*** 275,281 ****
  # What programs are absent at your system?
  #NEEDED = strcasestr.o strncasecmp.o strcasecmp.o rename.o mkdir.o usleep.o \
  #		regexpr.o
! # Linux
  NEEDED =
  # SVR4
  #NEEDED = regexpr.o
--- 277,283 ----
  # What programs are absent at your system?
  #NEEDED = strcasestr.o strncasecmp.o strcasecmp.o rename.o mkdir.o usleep.o \
  #		regexpr.o
! # Linux, FreeBSD
  NEEDED =
  # SVR4
  #NEEDED = regexpr.o