12004-08-27  Martin Junius  <mj.at.n0ll.dot.net>
2
3	======= Release 4.4.10 ===============================================
4	------- CVS tag R4410 ------------------------------------------------
5	------- CVS ci -------------------------------------------------------
6
7	* test/tc.*: all test seem to run OK, with the usual +/-1 packet
8	  size difference due to DST.
9
102004-08-26  Martin Junius  <mj.at.n0ll.dot.net>
11
12	------- CVS ci -------------------------------------------------------
13
14	* src/ffx/ffx.c (main): fixed compiler warning.
15
16	* src/areafix/areafix.c (areafix_auth_cmd): fixed compiler warning.
17
18	* fidogate.spec: updated 4.4.10-1.fc2.
19
20	* fidogate.lsm: updated.
21
22	* ANNOUNCE: updated.
23
24	* doc/fidogate.texi (Config): added description of SilentBounces
25	  config option.
26
27	* test/*/run.verify: checked and re-created test verify files for
28	  bounce, gate7, gate8, rununpack.
29
302004-08-22  Martin Junius  <mj.at.n0ll.dot.net>
31
32	------- CVS ci -------------------------------------------------------
33
34	* ...: updated copyright and email address, anti-spam measure.
35
36	------- CVS ci -------------------------------------------------------
37
38	* src/gate/ftn2rfc.c (unpack): if * Origin is empty, don't use it
39	  for the Organization header, use default from config.
40
41	------- CVS ci -------------------------------------------------------
42
43	* test/Makefile (test verify): test target is now the same as verify.
44
45	* version.h (PATCHLEVEL): set to 10, version 4.4.10.
46
47	* ...: replaced all calls to log() with logit().
48
49	* src/include/prototypes.h: dito.
50
51	* src/common/log.c (logit): renamed old log() to avoid conflict
52	  with Standard-C math function.
53
54	------- CVS ci -------------------------------------------------------
55
56	* src/common/log.c (log_program): removed insecure code entirely,
57	  thanks to Niels Heinen for pointing this out.
58
59	* src/gate/send-fidogate.sh: added optimized version using rfc2ftn
60	  -f for INN 2.4, thanks to Viktor Kafke.
61	  Optimized versions for INN 2.2 und INN 2.4 enabled by
62	  OPTIMIZED=yes at the start of this script, default = commented =
63	  off.
64
652004-08-20  Martin Junius  <mj.at.n0ll.dot.net>
66
67	------- CVS ci -------------------------------------------------------
68
69	* src/common/log.c (log_program): commented getenv()s, create
70	  security risk for setuid news programs.
71
722004-03-14  Martin Junius  <mj@m-j-s.net>
73
74	* scripts/maintenance/Makefile (install): added logsendmail2.
75
76	------- CVS ci -------------------------------------------------------
77
78	* scripts/maintenance/logsendmail2.pl: added stats for sendmail
79	  bounce messages.
80
812004-03-08  Martin Junius  <mj@m-j-s.net>
82
83	------- CVS ci -------------------------------------------------------
84
85	* scripts/maintenance/Makefile (PROGS): added logsendmail2.
86
87	* scripts/maintenance/logsendmail2.pl: new version of logsendmail
88	  utility.
89
902004-02-12  Martin Junius  <mj@m-j-s.net>
91
92	* src/gate/rfc2ftn.c (receiver): "sysop" is always a valid name.
93
942004-02-11  Martin Junius  <mj@m-j-s.net>
95
96	------- CVS ci -------------------------------------------------------
97
98	* src/gate/rfc2ftn.c (mail_receiver): #if 0'ed BOUNCE log, already
99	  done in snd_mail().
100
101	* test/tc.bounce/run: added test case with SilentBounces.
102
103	* test/tc.bounce/config2: test config file for SilentBounces.
104
105	* src/gate/rfc2ftn.c (main): new option "SilentBounces" causes
106	  EX_NOHOST, EX_NOUSER errors to return OK without any message.
107	  Useful in the never ending fight against spam, when your gateway
108	  is flooded with messages to unknown adresses, such as Fido.DE :-(
109	  (snd_mail): check silent_bounces, if set return OK and log only.
110
1112003-12-13  Martin Junius  <mj@m-j-s.net>
112
113	------- CVS ci -------------------------------------------------------
114
115	* sendmail/cf/redhat9-morannon.mc: dito.
116
117	* sendmail/cf/redhat9-orodruin.mc: enabled TRUST_AUTH_MECH.
118
1192003-10-28  Martin Junius  <mj@m-j-s.net>
120
121	* sendmail/cf/redhat9-orodruin.mc: use masquerade and genericstable.
122
1232003-06-18  Martin Junius  <mj@m-j-s.net>
124
125	------- CVS ci -------------------------------------------------------
126
127	* sendmail/cf/mycfpost: changed output order, new rule first.
128
129	------- CVS ci -------------------------------------------------------
130
131	* sendmail/cf/mycfpost: post processor for .cf files generated
132	  with m4, adds some special rules.
133	  This script adds an extra rule to SParse1, which tries to match
134	  all @SOMETHING.x.virtdomain as @x.virtdomain in virtusertable,
135	  pointing to one single mailbox.
136
137	* sendmail/cf/redhat9-morannon.mc: new config for morannon.fido.de
138	  with RedHat 9.
139
1402003-06-09  Martin Junius  <mj@m-j-s.net>
141
142	======= Release 4.4.9 ================================================
143	------- CVS tag R449 -------------------------------------------------
144	------- CVS ci -------------------------------------------------------
145
146	* version.h (PATCHLEVEL): set to 9, version 4.4.9.
147
148	* fidogate.spec: updated.
149
150	* fidogate.lsm: updated.
151
152	* ANNOUNCE: updated.
153
154	* src/gate/send-fidogate.sh: fixed case statement.
155
1562003-06-08  Martin Junius  <mj@m-j-s.net>
157
158	------- CVS ci -------------------------------------------------------
159
160	* sendmail/cf/redhat6-morannon.mc: updated version for
161	  morannon.fido.de.
162
163	* src/gate/send-fidogate.sh: generic handling of interface to
164	  batch files. The optimized version for INN 2.2, rfc2ftn -f
165	  BATCH, is only used with INN 2.2, otherwise the script will use
166	  the standard INN batcher. This should make FIDOGATE compatible
167	  with all INN version, in particular INN 2.3.
168
1692003-04-26  Martin Junius  <mj@m-j-s.net>
170
171	* fidogate.spec: remove RPM_BUILD_ROOT/html after install.
172
173	* Makefile (install-uuin): fixed.
174
175	* build-rpms: must use rpmbuild for -ba.
176
177	* ANNOUNCE: updated.
178
179	======= Release 4.4.8 ================================================
180	------- CVS tag R448 -------------------------------------------------
181	------- CVS ci -------------------------------------------------------
182
183	* fidogate.lsm: updated.
184
185	* ANNOUNCE: updated.
186
187	* scripts/run/runpoll-orodruin.sh: don't run sendmail -q,
188	  may require special priviledge, removed -xterm stuff.
189
1902003-04-21  Martin Junius  <mj@m-j-s.net>
191
192	* sendmail/cf/redhat9-submit.mc: new m4 config file for RedHat9
193	  sendmail submit configuration.
194
195	* sendmail/cf/Makefile (install-redhat9): added new target for
196	  installing RedHat9 sendmail config files.
197
1982003-04-15  Martin Junius  <mj@m-j-s.net>
199
200	------- CVS ci -------------------------------------------------------
201
202	* fidogate.spec: updated, release 1.rh9x
203
204	* config.make (DEFAULT_F_NEWSLIBDIR): set to /usr/lib/news/lib for
205	  inn 2.3.4 / RedHat 9.
206
207	* version.h (PATCHLEVEL): set to 8, version 4.4.8, this will be
208	  the build for RedHat 9.
209
2102003-04-12  Martin Junius  <mj@m-j-s.net>
211
212	* sendmail/mailer/ffx.m4: dito.
213
214	* sendmail/mailer/ftn.m4: removed "MAILER(smtp)" in comment.
215
216	* sendmail/mailer/ffx.m4: removed ifdef.
217
218	* sendmail/mailer/ftn.m4: removed ifdef.
219
220	* sendmail/cf/redhat9-orodruin.mc: new sendmail config file for
221	  RedHat 9 with FIDOGATE.
222
2232003-04-11  Martin Junius  <mj@m-j-s.net>
224
225	* update-morannon: copy html docs to local fidogate web site.
226
227	======= Release 4.4.7 ================================================
228	------- CVS tag R447 -------------------------------------------------
229	------- CVS ci -------------------------------------------------------
230
231	* ANNOUNCE: updated.
232
2332003-04-10  Martin Junius  <mj@m-j-s.net>
234
235	------- CVS ci -------------------------------------------------------
236
237	* test/tc.*/run.verify: updated for this new release.
238
239	* test/tc.rununpack/run: use lha instead of arc.
240
241	* test/tc.ffx/rxxxx: was missing in sf.net CVS.
242
243	* fidogate.spec: updated.
244
245	* fidogate.lsm: updated.
246
247	* ANNOUNCE: updated.
248
2492003-02-16  Martin Junius  <mj@m-j-s.net>
250
251	------- CVS ci -------------------------------------------------------
252
253	* src/*: updated copyright.
254
255	* src/gate/rfc2ftn.c: address_error[] moved to here, new global
256	  var address_exit for EX_xxx exit code.
257	  (rfc_parse): set address_exit = EX_NOHOST for unknown hosts.
258	  (receiver): set address_exit = EX_NOUSER for unknown recipient.
259	  (snd_mail): return value of address_exit if mail_receiver()
260	  fails and address_exit is set.
261
262	* src/include/prototypes.h: address_error[] decl removed.
263
264	* src/common/address.c: address_error[] move to rfc2ftn.c, not
265	  used anymore in this file.
266
267	* src/include/fidogate.h: added up-to-date EX_xxx list.
268
269	* test/tc.aliases/run: output rfc2ftn exit codes.
270
2712003-01-05  Martin Junius  <mj@m-j-s.net>
272
273	------- CVS ci -------------------------------------------------------
274
275	* test/tc.aliases/run: added more test aliases.
276
277	* src/gate/rfc2ftn.c (receiver): only return NULL for unknown
278	  aliases in !newsmode.
279
2802003-01-01  Martin Junius  <mj@m-j-s.net>
281
282	------- CVS ci -------------------------------------------------------
283
284	* src/gate/rfc2ftn.c: make log() messages for netmail somewhat
285	  sendmail maillog like, using from=, to=, reject=.
286
2872002-12-16  Martin Junius  <mj@m-j-s.net>
288
289	------- CVS ci -------------------------------------------------------
290
291	* version.h (PATCHLEVEL): set to 7, version 4.4.7
292
293	------- CVS ci -------------------------------------------------------
294
295	* src/gate/rfc2ftn.c (snd_mail): added log() message for bounces
296	  from mail_receiver().
297
2982002-12-14  Martin Junius  <mj@m-j-s.net>
299
300	* sendmail/cf/Makefile (all): don't run m4 as the default, may
301	  cause errors with installed sendmail-cf package. New target
302	  redhat6, redhat7.
303
304	------- CVS ci -------------------------------------------------------
305
306	* doc/fidogate.texi (Config): added documentation for
307	  RegisteredHostsOnly, RegisteredAliasesOnly options.
308
309	* src/gate/rfc2ftn.c (receiver): also search for full name in
310	  aliases, this allows sending mail to User_Name to registered
311	  aliases with RegisteredAliasesOnly switched on.
312
313	* test/tc.aliases/run: added test cases for rfc2ftn with
314	  RegisteredAliasesOnly.
315
316	* test/tc.aliases/config: test config setting RegisteredAliasesOnly.
317
318	* src/gate/rfc2ftn.c (main): new config options
319	  RegisteredHostsOnly, opposite of the -i --ignore-hosts option, not
320	  yet functional, and RegisteredAliasesOnly.
321	  (receiver): if RegisteredAliasesOnly is set, flag missing alias
322	  as error "user is unknown", return NULL.
323
3242002-09-16  Martin Junius  <mj@m-j-s.net>
325
326	* update-morannon: added upload to sf.net and metalab via lftp.
327
328	======= Release 4.4.6 ================================================
329	------- CVS tag R446 -------------------------------------------------
330	------- CVS ci -------------------------------------------------------
331
332	* fidogate.spec: updated.
333
334	* fidogate.lsm: updated.
335
336	* README: updated.
337
338	* ANNOUNCE.OLD: moved old changes annoucements to new file.
339
340	* ANNOUNCE: updated.
341
3422002-09-15  Martin Junius  <mj@m-j-s.net>
343
344	* src/ffx/ffxqt.c (MAXARGS): increased to 256.
345
3462002-07-28  Martin Junius  <mj@m-j-s.net>
347
348	------- CVS ci -------------------------------------------------------
349
350	* doc/fidogate.texi (ftnhatch): added doc for new -r option.
351
352	* src/tick/ftnhatch.c (usage): added -r --replaces FILE option.
353	  (main): implemented -r --replaces FILE option.
354	  (hatch): new arg replaces, passed from -r option, sets tic.replaces.
355
3562002-07-21  Martin Junius  <mj@m-j-s.net>
357
358	------- CVS ci -------------------------------------------------------
359
360	* version.h (PATCHLEVEL): set to 6, version 4.4.6
361
362	------- CVS ci -------------------------------------------------------
363
364	* doc/fidogate.texi (Config): added documentation for this option.
365
366	* src/gate/ftn2rfc.c (main): added DontIgnore0x8d aka
367	  DontIgnoreSoftCR config option.
368
3692002-07-15  Martin Junius  <mj@m-j-s.net>
370
371	------- CVS ci -------------------------------------------------------
372
373	* src/common/message.c (msg_ignore_0x8d): flag for ignoring 0x8d,
374	  soft-CR, default true = remove 0x8d when it occurs in a message
375	  line.
376	  (msg_xlate_line): use msg_ignore_0x8d flag with c==0x8d.
377
378	* *: updated copyright years to 1990-2002, email address to
379	  mj@fidogate.org, removed Fido address.
380
3812002-07-10  Martin Junius  <mj@m-j-s.net>
382
383	------- CVS ci -------------------------------------------------------
384
385	* TODO: copied latest version from old source working dir.
386
3872002-07-09  Martin Junius  <mj@m-j-s.net>
388
389	* ====================================================================
390	* =      FIDOGATE CVS lives now at cvs.fidogate.sourceforge.net      =
391	* ====================================================================
392
3932001-12-27  Martin Junius  <mj@m-j-s.net>
394
395	======= Release 4.4.5 ================================================
396	------- CVS tag R445 -------------------------------------------------
397	------- CVS ci -------------------------------------------------------
398
399	* build-rpms: dito.
400
401	* cvsexp: use version script.
402
403	* version: new script, print version number from version.h
404
405	* README: moved important stuff to top ;-)
406
407	* ANNOUNCE: updated.
408
409	* fidogate.lsm: updated.
410
411	* fidogate.spec: changed to 4.4.5-1.7x
412
4132001-11-27  Martin Junius  <mj@m-j-s.net>
414
415	* sendmail/cf/redhat6-morannon.mc: orbl.org dnsbl removed, seems
416	  to have ceased working. Timeout.ident set to 0 = off.
417
4182001-10-30  Martin Junius  <mj@m-j-s.net>
419
420	------- CVS ci -------------------------------------------------------
421
422	* scripts/maintenance/logcheck.pl: separate hash %count for -k =
423	  output killip option.
424
4252001-10-21  Martin Junius  <mj@m-j-s.net>
426
427	------- CVS ci -------------------------------------------------------
428
429	* version.h (PATCHLEVEL): set to 5, version 4.4.5
430
431	* sendmail/cf/redhat6-morannon.mc: modified m4 config file for
432	  sendmail 8.11.6, using feature dnsbl.
433
434	* scripts/maintenance/logsendmail.pl: allow [a-z] in sendmail ID,
435	  sendmail 8.11.6 used longer IDs with mixed case than previous
436	  versions.
437
438	* scripts/maintenance/logcheck.pl: changed ORxx regex to match for
439	  sendmail 8.11.6 logs.
440
4412001-08-20  Martin Junius  <mj@m-j-s.net>
442
443	------- CVS ci -------------------------------------------------------
444
445	* config.make (SENDMAIL_CF_DIR): changed to /usr/share/sendmail-cf
446	  for RedHat 7.1.
447
448	* sendmail/cf/redhat7-orodruin.mc: new config file for RedHat 7.1,
449	  based on original redhat.mc from sendmail-cf-8.11.2-14.
450
4512001-07-28  Martin Junius  <mj@m-j-s.net>
452
453	------- CVS ci -------------------------------------------------------
454
455	* scripts/maintenance/logcheck.pl: added logging of new
456	  check_relay rejects for ORxx DNS blacklists.
457
4582001-07-27  Martin Junius  <mj@m-j-s.net>
459
460	------- CVS ci -------------------------------------------------------
461
462	* sendmail/cf/redhat6-morannon.mc: replaced mail-abuse rbls with
463	  ORBL, ORBZ, and ORDB.
464
4652001-06-03  Martin Junius  <mj@m-j-s.net>
466
467	* update-morannon: copy some files to /html/fidogate.
468
469	======= Release 4.4.4 ================================================
470	------- CVS tag R444 -------------------------------------------------
471	------- CVS ci -------------------------------------------------------
472
473	* fidogate.spec: added "noreplace" to %config.
474
4752001-05-28  Martin Junius  <mj@m-j-s.net>
476
477	------- CVS ci -------------------------------------------------------
478
479	* src/*/*: updated copyright to 1990-2001.
480
481	* fidogate.spec: updated.
482
483	* fidogate.lsm: updated.
484
485	* ANNOUNCE: updated.
486
487	* version.h (PATCHLEVEL): changed to 4, version 4.4.4.
488
489	* test/: re-run verify on all test cases, output is ok, with the
490	  usual diffs due to summer time ./. winter time 1-byte changes in
491	  packet length. Re-run all-mk-verfiy.
492
493	------- CVS ci -------------------------------------------------------
494
495	* test/tc.gate12/run: new test case for long References headers
496	  and the problems which are now fixed. Thanx to
497	  Stephan Heitbrink <heitbrink@gmx.net> for reporting the bug
498	  and providing the test input news article files.
499
500	* src/common/rfcheader.c (TMPS_LEN_GETCOMPLETE): set to
501	  BUFFERSIZE, 256 is too low for e.g. long References headers.
502
503	* examples/orodruin/fidogate.conf: dito.
504
505	* test/cf/fidogate.conf: new Regex1stLine.
506
5072001-05-27  Martin Junius  <mj@m-j-s.net>
508
509	* src/common/rfcheader.c (header_read): use input buf[] of
510	  BUFFERSIZE avoiding in particular problems with long References
511	  header lines, sometimes > BUFSIZ = 1024.
512
5132001-03-15  Martin Junius  <mj@m-j-s.net>
514
515	* scripts/misc/hosts2dns.pl: default MX is now only morannon.fido.de.
516
5172001-03-09  Martin Junius  <mj@m-j-s.net>
518
519	* scripts/Makefile (SUBDIRS): added missing areas dir.
520
5212001-03-04  Martin Junius  <mj@m-j-s.net>
522
523	* update-morannon: fixed some problems, copy .lsm
524
525	======= Release 4.4.3 ================================================
526	------- CVS tag R443 -------------------------------------------------
527	------- CVS ci -------------------------------------------------------
528
529	* update-morannon: copy to /u1/archive/fidogate, too.
530
531	* fidogate.spec: updated.
532
533	* fidogate.lsm: updated.
534
535	* ANNOUNCE: updated.
536
537	* scripts/areas/areassucksync.pl: include groups already in
538	  sucknewsrc in output.
539
5402001-02-01  Martin Junius  <mj@m-j-s.net>
541
542	* src/gate/rfc2ftn.c (main): new config options
543	  DontChangeContentTypeCharset, DontProcessReturnReceiptTo.
544	  (snd_mail): don't set RRREQ flag when DontProcessReturnReceiptTo
545	  is enabled.
546	  (snd_message): set cs_out_rfc to original value cs_in when
547	  DontChangeContentTypeCharset is enabled.
548
5492001-01-28  Martin Junius  <mj@m-j-s.net>
550
551	------- CVS ci -------------------------------------------------------
552
553	* scripts/outbound/outb-kill.sh: new script, remove node(s) from
554	  areas.bbs, kill all outbound files.
555
556	* scripts/outbound/outb.sh: new script, pager wrapper for out-ls.
557
558	* src/areafix/areafix.c: print "not active" message only for
559	  non-wildcard unsubscribe requests.
560
5612001-01-27  Martin Junius  <mj@m-j-s.net>
562
563	* src/areafix/runaftuil.sh: new script for running ftnafutil.
564
5652001-01-16  Martin Junius  <mj@m-j-s.net>
566
567	* scripts/areas/areassucksync.pl: new option -g, INN-style
568	  newsgroup selection with wildcards.
569
5702001-01-13  Martin Junius  <mj@m-j-s.net>
571
572	* src/areafix/ftnafutil.c (main): made n_flag global.
573	  (do_areasbbs): don't delete/mail/change if n_flag ist set.
574
5752001-01-07  Martin Junius  <mj@m-j-s.net>
576
577	------- CVS ci -------------------------------------------------------
578
579	* version.h (PATCHLEVEL): set to 3, version 4.4.3.
580
581	* scripts/areas/areassucksync.pl: new script fro synchronizing
582	  areas, areas.bbs, sucknewsrc, remote NNTP server newsgroups list.
583	  At first, it checks groups from areas.bbs with links against
584	  sucknewsrc and writes sucknewsrc entries to retrieving not yet
585	  sucked groups.
586
587	* scripts/maintenance/logcheck.pl: TH_RSS set to 50.
588
589	* src/areafix/ftnafutil.c (usage, do_cmd): new command "listdownlinks".
590	  (do_areasbbs): new command DO_LISTDOWNLINKS.
591	  (do_cmd): call cf_i_am_a_gateway_prog() for listdownlinks.
592	  (do_cmd): renamed to "listgwlinks".
593
5942001-01-04  Martin Junius  <mj@m-j-s.net>
595
596	------- CVS ci -------------------------------------------------------
597
598	* scripts/areas/areasbbssync.pl: moved from ../misc/ to here.
599
600	* scripts/areas/Makefile: new subdir for script managing areas,
601	  areas.bbs, sucknewsrc etc. synchronization.
602
6032001-01-02  Martin Junius  <mj@m-j-s.net>
604
605	* scripts/outbound/out-ls.pl: perl5'ified, rewritten to use
606	  config.pl and new %CONFIG_dosdrive, %CONFIG_zone.
607
608	* config.pl (CONFIG_read): special treatment for DosDrive and Zone
609	  config statement, store in %CONFIG_dosdrive and %CONFIG_zone
610	  hashes.
611
6122000-12-30  Martin Junius  <mj@m-j-s.net>
613
614	* fidogate.spec: seq dir was missing from %files.
615
616	* src/ffx/ffxmail.sh: morannon ist jetzt 242:1000/2
617
618	* scripts/run/runpoll-binkd.sh (BOSSNODE): ist jetzt 242:1000/2
619
6202000-12-29  Martin Junius  <mj@m-j-s.net>
621
622	* scripts/run/runpoll-binkd.sh: modified for binkd 0.9.4.
623
6242000-11-26  Martin Junius  <mj@fido.de>
625
626	* build-rpms: make sure to move newer .tar.gz from /var/tmp to
627	  /usr/src/redhat/SOURCES.
628
629	======= Release 4.4.2 ================================================
630	------- CVS tag R442 -------------------------------------------------
631	------- CVS ci -------------------------------------------------------
632
633	* fidogate.spec: updated.
634
6352000-11-25  Martin Junius  <mj@fido.de>
636
637	------- CVS ci -------------------------------------------------------
638
639	* src/ffx/ffxqt.c (run_ffx_cmd): only supply -f FQDN option for
640	  rmail command.
641
6422000-11-18  Martin Junius  <mj@fido.de>
643
644	* build-rpms: new script to run rpm -ba more easily.
645
646	------- CVS tag R442test1 for rpm building test ----------------------
647	------- CVS ci -------------------------------------------------------
648
649	* fidogate.spec: updated.
650
651	* fidogate.lsm: updated.
652
653	* README: updated.
654
655	* ANNOUNCE: updated.
656
657	* test/tc.*: updated verify files.
658
659	------- CVS ci -------------------------------------------------------
660
661	* src/ffx/ffxrmail.pl: new option -f RELAY, sets -pFFX:RELAY for
662	  sendmail, if FFXRmailSendmail already contains a -p option.
663
664	* src/ffx/ffxqt.c (run_ffx_cmd): new function for running ffx commands.
665	  (exec_ffx): use run_ffx_cmd().
666	  (run_ffx_cmd): now does proper fork() and execv(), avoiding
667	  security problems with system().
668
669	------- CVS ci -------------------------------------------------------
670
671	* version.h (PATCHLEVEL): set to 2, version 4.4.2.
672
673	* test/tc.ffx/run: test ffxqt, too.
674
675	* src/ffx/ffx.c (main): reset most command line options to default
676	  for setuid ffx.
677
678	* src/ffx/ffxqt.c (st_ffx): new field fqdn.
679	  (parse_ffxcmd): removed FFXUncompress parsing.
680	  (parse_ffx): parse FQDN in U line, include in debug() output.
681	  (exec_ffx): no longer support uncompressing.
682
6832000-11-17  Martin Junius  <mj@fido.de>
684
685	* test/tc.ffx/run: more output.
686
687	* src/ffx/ffx.c (main): option -n ressurected, but ignored for
688	  compatibility.
689	  (ffx): initialize ret.
690
691	------- CVS ci -------------------------------------------------------
692
693	* src/*/*.c (main): removed extra return after exit().
694
695	* src/common/exit.c: removed entirely.
696
697	* src/include/fidogate.h (exit): removed #define.
698
699	* src/ffx/ffx.c: removed data_*, DATA_* config stuff.
700	  (usage): removed -n.
701	  (main): removed -n.
702	  (main): removed reading FFXData* config stuff.
703	  (ffx): removed compr* args to function.
704	  (ffx): add FQDN to U line in control file.
705	  (ffx): no longer calls external command, directly copies stdin to
706	  data file.
707	  (main): ressurected FFXDataFlav / data_flav ;-)
708
7092000-10-18  Martin Junius  <mj@fido.de>
710
711	------- CVS ci -------------------------------------------------------
712
713	* src/toss/dbz.c: use #include "fidogate.h"
714
715	* src/*/*.c: got rid of all strcpy!!! Only the bison generated
716	  code in parsedate.c contains some strcpy(), strcat().
717
718	* src/toss/dbz.c (enstring): removed, replaced by strsave2().
719
720	* src/common/msgid.c (s_msgid_rfc_to_fido): use str_copy().
721
722	* src/common/hosts.c (hosts_parse_line): use new strsave2().
723
724	* src/common/xalloc.c (strsave): changed to use str_copy().
725	  (strsave2): new function like strsave(), saving concatenation of
726	  2 strings.
727
728	* src/common/outpkt.c (outpkt_fopen): fixed format error.
729
730	* src/common/parsedate.y: removed old test main().
731
732	* src/common/date.c (date_buf): major changes to formatting code,
733	  avoiding unsafe strcpy() and sprintf().
734	  (date_buf): new argument len to check buffer length against
735	  overflows.
736
737	* src/common/acl.c (acl_parse_line): use strsave().
738	  (Argify): dito.
739
7402000-10-17  Martin Junius  <mj@fido.de>
741
742	------- CVS ci -------------------------------------------------------
743
744	* src/tick/ftntick.c (do_tic): dito.
745
746	* src/gate/rfc2ftn.c (rfc_parse): dito.
747	  (mail_sender): dito.
748
749	* src/gate/ftn2rfc.c (unpack): dito.
750
751	* src/ffx/ffxqt.c (do_ffx): get rid of strcpy().
752
753	* src/toss/ftnpack.c (new_arc): fixed format error.
754
755	* src/*/*.c: various old rename_bad() removed.
756
757	* src/common/file.c: new module containing file-oriented functions.
758	  (rename_bad): new function consolidating various rename_bad()
759	  scattered in the FIDOGATE source.
760
761	* src/common/misc.c (str_change_ext): new function, see below.
762
763	* src/areafix/areafix.c (change_ext): new, safer function for
764	  changing the file extension. The old strcpy() code *should* have
765	  been ok, but one never knows ... ;-)
766	  (NEWEXT): macro as wrapper for change_ext(), assuming n=MAXPATH.
767	  (change_num): new function, changing extension to "oNN".
768	  (NEWNUM): macro as wrapper, n=MAXPATH.
769	  (rewrite_areas_bbs): change to use new NEWEXT(), NEWNUM(),
770	  avoids using strcpy(), sprintf().
771	  (change_ext): renamed to str_change_ext() and moved to misc.c
772
7732000-10-08  Martin Junius  <mj@fido.de>
774
775	* src/toss/ftnexpire.c (main): dito.
776
777	* src/toss/ftntoss.c (main): dito.
778
779	* src/tick/ftnhatch.c (hatch): dito.
780
781	* src/common/packet.c (pkt_get_hdr): fixed format warning.
782
783	* src/include/prototypes.h: supply all printf-style function with
784	  a GNU-C specific __attribute__(), __attribute__() defined to
785	  nothing for non-GNU-C.
786
7872000-08-27  Martin Junius  <mj@fido.de>
788
789	* scripts/outbound/out-ls.pl: some changes to get it running
790	  again, needs major rewrite.
791
7922000-06-28  Martin Junius  <mj@fido.de>
793
794	* src/common/misc.c (str_printf): make very sure that buf[] is 0
795	  terminated, see comment.
796
7972000-06-03  Martin Junius  <mj@fido.de>
798
799	------- CVS ci -------------------------------------------------------
800
801	* scripts/misc/hosts2dns.pl: new script, converting FIDOGATE hosts
802	  list to DNS MX records.
803
8042000-06-01  Martin Junius  <mj@fido.de>
805
806	------- CVS ci -------------------------------------------------------
807
808	* scripts/maintenance/logcheck.pl: more bells and whistles ... ;-)
809
8102000-04-19  Martin Junius  <mj@fido.de>
811
812	------- CVS ci -------------------------------------------------------
813
814	* scripts/run/Makefile (install): no more special install target
815	  for point and orodruin.
816
817	* scripts/run/runpoll.sh: updated.
818
819	* scripts/run/runpoll-binkd.sh: updated.
820
821	* scripts/run/runpoll-orodruin.sh: updated.
822
8232000-04-11  Martin Junius  <mj@fido.de>
824
825	======= Release 4.4.1 ================================================
826	------- CVS tag R441 -------------------------------------------------
827	------- CVS ci -------------------------------------------------------
828
829	* src/common/rematch.c: include <regex.h> after #ifdef.
830
831	------- CVS ci -------------------------------------------------------
832
833	* config.make (HTMLDIR): changed to /html/fidogate, sync'ed with
834	  http://www.fido.de/fidogate/
835
836	* Makefile (install-html): new target for installing online docs.
837
838	------- CVS ci -------------------------------------------------------
839
840	* src/ffx/ffxnews.sh: added tux.
841
842	* src/ffx/runffx.sh: added ftnpack for tux.
843
844	* src/ffx/ffxmail.sh: added tux.fido.de, clean-up.
845
846	------- CVS ci -------------------------------------------------------
847
848	* README: updated.
849
850	* fidogate.lsm: updated.
851
852	* ANNOUNCE: updated.
853
854	* src/gate/ftn2rfc.c (unpack): tl_clear() all textlists at end of
855	  main loop.
856	  (unpack): dito before all continue's.
857	  (unpack): dito for MsgBody body.
858	  (unpack): memory leaks seem to be fixed now.
859
860	* test/tc.memleak/run2: test script for running modified ftn2rfc.
861
862	* test/tc.history/run2: dito.
863
864	* test/tc.history/run1: adapted to new fidogate.conf
865
8662000-04-10  Martin Junius  <mj@fido.de>
867
868	* ANNOUNCE: updated.
869
870	------- CVS ci -------------------------------------------------------
871
872	* src/gate/rfc2ftn.c (snd_mail): fixed memory leak, tl must be
873	  cleared after for loop.
874
875	* test/tc.memleak/run1: new test case for memory leaks in various
876 	  FIDOGATE programs, starting with rfc2ftn.
877
8782000-03-07  Martin Junius  <mj@fido.de>
879
880	------- CVS ci -------------------------------------------------------
881
882	* ANNOUNCE: updated.
883
884	* fidogate.spec: updated.
885
886	* fidogate.lsm: updated.
887
888	* version.h (PATCHLEVEL): changed to 1, version 4.4.1.
889
8902000-03-06  Martin Junius  <mj@fido.de>
891
892	* src/gate/ftn2rfc.c (unpack): only accept non-NULL returns from
893	  charset_chrs_name(), make double sure that cs_in is non-NULL.
894
895	* src/charset/charset.c (charset_set_in_out): return ERROR if in
896	  or out is NULL.
897
8982000-02-21  Martin Junius  <mj@fido.de>
899
900	* fidogate.lsm: updated.
901
902	* ANNOUNCE: updated.
903
9042000-02-11  Martin Junius  <mj@fido.de>
905
906	* doc/fidogate.texi: update version to 4.4.
907
908	* update-morannon: upload script.
909
910	======= Release 4.4.0 ================================================
911	------- CVS tag R440 -------------------------------------------------
912	------- CVS ci -------------------------------------------------------
913
914	* README: updated.
915
916	* ANNOUNCE: updated, old changes moved to README.
917
918	* fidogate.lsm: updated.
919
9202000-01-30  Martin Junius  <mj@fido.de>
921
922	------- CVS ci -------------------------------------------------------
923
924	* fidogate.spec: some fixes.
925
926	* scripts/Makefile (SUBDIRS): removed cnews, inn.
927
928	------- CVS tag R440test3 for rpm building test ----------------------
929	------- CVS ci -------------------------------------------------------
930
931	* fidogate.spec: added dir /etc/news to %files, %config.
932
933	* examples/rpm/*: rpm config using Fido address 2:2499/999.1 with
934	  a point configuration.
935
936	* examples/rpm/: new dir for rpm example config files.
937
938	* scripts/inn/: removed entirely.
939
940	* fidogate.spec: added make install-config to %install.
941
942	* Makefile (install-config): new target for installing example
943	  config file for rpm.
944
945	* fidogate.spec: include mainly the FIDOGATE dirs in %files,
946	  config files are still missing.
947
948	* src/gate/rfc2ftn.c (main): initialize fp=NULL.
949
950	* src/common/mime.c (mime_dequote): initialize c=0.
951
952	* src/common/binkley.c (bink_attach): removed #if 0 old code.
953	  (bink_attach): changed log() message, removed unused char *flo.
954
955	* fidogate.spec: removed ffx stuff from %files.
956
957	------- CVS tag R440test2 for rpm building test ----------------------
958	------- CVS ci -------------------------------------------------------
959
960	* cvsexp: remove old stuff from previous csvexp first.
961
962	* Makefile (INSTALLDIRS): replace HTMLDIR/log with HTMLLOGDIR.
963
964	* config.make (HTMLDIR): changed to /html/mj/fidogate.
965
966	* Makefile (install-dirs): add PREFIX when checking -d.
967	  (INSTALLDIRS): added HTMLDIR/log.
968
969	* cvsexp: archive for tests renamed to fidogate-test-x.x.x.tar.gz
970
971	* Makefile (install-spec-src): tar renamed, includes copying
972	  source .tar.gz to RPMSOURCESDIR. Run "make install-spec-src"
973	  after running "cvsexp 4.4.0", then "rpm -ba
974	  RPMSPECSDIR/fidogate.spec" to build rpms.
975
9762000-01-29  Martin Junius  <mj@fido.de>
977
978	------- CVS tag R440test1 for rpm building test ----------------------
979	------- CVS ci -------------------------------------------------------
980
981	* Makefile (install-spec): new target for installing fidogate.spec.
982
983	* config.make (RPM*DIR): added macros for RPM build directories.
984
985	* cvsexp: extended usage help.
986
987	* fidogate.spec: new rpm spec file, not yet complete.
988
989	------- CVS ci -------------------------------------------------------
990
991	* test/tc.*/run.verify: updated.
992
993	* src/common/message.c (NOBREAK_LINE_LENGTH): new #define set to 79.
994	  (msg_format_buffer): don't break lines with length <=
995	  NOBREAK_LINE_LENGTH, this avoids problems with, eg quoted,
996	  messages where lines are hard formatted to more than FIDOGATE's
997	  MessageLineLength chars per line.
998
999	* test/tr.grepvar: replace version numbers in packet header output
1000	  with x.x, bink arcmail extension with .xx0.
1001
10022000-01-28  Martin Junius  <mj@fido.de>
1003
1004	------- CVS ci -------------------------------------------------------
1005
1006	* *: updated copyright notice to 1990-2000.
1007
1008	* version.h: version set to 4.4.0 stable.
1009
1010	* src/charset/charset.map: new mappings contributed by "Mathias
1011	  Pannike" <st000320@hrzpub.tu-darmstadt.de>, completing missing
1012	  mappings -> x-ibmpc, x-mac.
1013
10141999-12-28  Martin Junius  <mj@fido.de>
1015
1016	* scripts/misc/areasbbssync.pl: added ger.* to PATTERN,
1017	  binaer|dateien to NPATTERN.
1018
10191999-11-25  Martin Junius  <mj@fido.de>
1020
1021	* scripts/www/gate.cgi.pl: using <NEWSSPOOLDIR> doesn't work
1022	  because it points to .../articles.
1023
1024	* scripts/Makefile (SUBDIRS): must add www to SUBDIRS.
1025
1026	* version.h (PATCHLEVEL): set to 7 for next release, forget to set
1027	  this to 6 for release 4.3.6.
1028
10291999-11-21  Martin Junius  <mj@fido.de>
1030
1031	======= Release 4.3.6 ================================================
1032	------- CVS tag R436 -------------------------------------------------
1033	------- CVS ci -------------------------------------------------------
1034
1035	* examples/README: updated.
1036
1037	* fidogate.lsm: updated.
1038
1039	* ANNOUNCE: updated.
1040
1041	* scripts/maintenance/logcheck.pl: some clean-ups, now logs
1042	  separately mail-abuse.org RBL, DUL, RSS rejects.
1043
1044	* scripts/Makefile (install): "make install" now recurses into
1045	  subdirs.
1046
1047	* scripts/run/Makefile: standard "make install" installs nothing,
1048	  "make install-point" installs standard runpoll, "make
1049	  install-orodruin" the special runpoll/runpolli for orodruin.
1050
1051	* sendmail/cf/: updated some example files.
1052
1053	* examples/nevyn/: removed.
1054
1055	* examples/morannon/: updated example files.
1056
1057	* examples/orodruin/: updated example files.
1058
10591999-11-09  Martin Junius  <mj@fido.de>
1060
1061	* scripts/maintenance/logcheck.pl: always show relay for RBL
1062	  reject summary.
1063
10641999-11-07  Martin Junius  <mj@fido.de>
1065
1066	* scripts/www/gate.cgi.pl: changed to NEWSPOOLDIR/outgoing,
1067	  removed <SPOOLDIR>.
1068
10691999-10-20  Martin Junius  <mj@fido.de>
1070
1071	* scripts/maintenance/logcheck.pl: added processing of RBL rejects.
1072
1073	* sendmail/cf/mrbl.p3: sendmail config file patch required for new
1074	  RBL settings in redhat6-morannon.mc
1075
1076	* sendmail/cf/redhat6-morannon.mc: added RBL feature, see
1077	  http://www.mail-abuse.org/
1078
10791999-10-18  Martin Junius  <mj@fido.de>
1080
1081	* scripts/maintenance/logcheck.pl: check for "ruleset=check_xxx".
1082
10831999-10-17  Martin Junius  <mj@fido.de>
1084
1085	* sendmail/cf/redhat6-morannon.mc: error messages will be send to
1086	  postmaster-errors.
1087
1088	------- CVS ci -------------------------------------------------------
1089
1090	* scripts/www/gate.cgi.pl (my_ps_news): adapted to new ps output
1091	  of procps-2.0 package.
1092
1093	* scripts/maintenance/logsendmail.p: fixed orphan printf.
1094
1095	* scripts/misc/Makefile (install): install senduumail in BINDIR.
1096
1097	* scripts/maintenance/logcheck.pl: re patterns adapted for
1098	  sendmail 8.9.x
1099
11001999-10-10  Martin Junius  <mj@fido.de>
1101
1102	* Makefile (INSTALLDIRS): added BTBASEDIR/tick,ffx directories.
1103	  (install-uuin): added new target to set correct permissions for
1104	  uuin.
1105
11061999-10-09  Martin Junius  <mj@fido.de>
1107
1108	* sendmail/cf/redhat6-morannon.mc: add confDOMAIN_NAME to avoid
1109	  problems with reverse mapping pointing to faho.rwth-aachen.de.
1110
11111999-10-07  Martin Junius  <mj@fido.de>
1112
1113	* scripts/maintenance/runchklock.sh: new script removing stale
1114	  FIDOGATE lock files.
1115
1116	* sendmail/cf/redhat6-morannon.mc: use /etc/majordomo.aliases.
1117
11181999-10-04  Martin Junius  <mj@fido.de>
1119
1120	------- CVS ci -------------------------------------------------------
1121
1122	* doc/fidogate.texi (Config): updated.
1123	  (config.h): updated.
1124
1125	* src/gate/ftn2rfc.c (main): implemented config option
1126	  NetMailCharsetUse1st.
1127
1128	* src/common/message.c (msg_get_line_length): new function getting
1129	  config value MessageLineLength.
1130	  (msg_format_buffer): changed to use new msg_get_line_length().
1131
1132	* config.h (MAX_LINELEN): removed.
1133
1134	* examples/orodruin/fidogate.conf: included
1135	  NetMailCharsetUse1st and MessageLineLength.
1136
11371999-09-12  Martin Junius  <mj@fido.de>
1138
1139	* src/charset/Makefile (install): install charset map source, too.
1140
1141	* src/gate/send-fidogate.sh (FIDOGATE_LOGFILE): log output to
1142	  %G/log-news.
1143
11441999-09-05  Martin Junius  <mj@fido.de>
1145
1146	* sendmail/cf/redhat6-morannon.mc: new config file for morannon
1147	  with RedHat 6.0 / sendmail 8.9.
1148
11491999-09-01  Martin Junius  <mj@fido.de>
1150
1151	* src/common/binkley.c (bink_mkdir): log() if mkdir() fails.
1152
11531999-08-22  Martin Junius  <mj@fido.de>
1154
1155	* ANNOUNCE: updated.
1156
1157	* README: updated.
1158
1159	* scripts/run/runpoll-binkd.sh: send mail to DUMMYADDR to force
1160	  polling, BinkD won't poll for empty FLO file.
1161
11621999-08-08  Martin Junius  <mj@fido.de>
1163
1164	======= Release 4.3.5 ================================================
1165	------- CVS tag R435a ------------------------------------------------
1166	------- CVS ci -------------------------------------------------------
1167
1168	* sendmail/mklinks (DIRS): create DIRS if needed.
1169
1170	------- CVS tag R435 -------------------------------------------------
1171	------- CVS ci -------------------------------------------------------
1172
1173	* fidogate.lsm: updated.
1174
1175	* ANNOUNCE: updated.
1176
1177	* test/tc.flo/run: test case adapted to new bink_attach() behaviour.
1178
1179	------- CVS ci -------------------------------------------------------
1180
1181	* config.make
1182	  (DEFAULT_F_NEWSLIBDIR): changed for INN 2.2, RedHat 6.0.
1183	  (DEFAULT_F_NEWSSPOOLDIR): dito.
1184
11851999-08-04  Martin Junius  <mj@fido.de>
1186
1187	* src/gate/rfc2ftn.c (print_tear_line): output standard tear line,
1188	  if none of the X headers can be found, added X-GateSoftware.
1189
11901999-08-01  Martin Junius  <mj@fido.de>
1191
1192	------- CVS ci -------------------------------------------------------
1193
1194	* test/tc.bink/run: added some tests with ftnpack.
1195
1196	* src/common/binkley.c (bink_attach): pass bsy flag to flo_close()!
1197
11981999-07-23  Martin Junius  <mj@fido.de>
1199
1200	------- CVS ci -------------------------------------------------------
1201
1202	* src/toss/ftnpack.c (do_arcmail): call bink_attach() also for new
1203	  arcmail files.
1204
1205	* src/common/binkley.c (bink_attach): now searches thru FLO file
1206	  for file attachment. If the file attachment already is an entry
1207	  in the FLO it will be skipped.
1208
12091999-07-18  Martin Junius  <mj@fido.de>
1210
1211	* src/common/flo.c (flo_openx): additional argument flav, needed
1212	  for bink_attach().
1213	  (flo_openx): argument renamed to apmode, if TRUE open in "a+" mode.
1214
1215	* src/common/binkley.c (bink_attach): old FLO open code replaced
1216	  with call to new function flo_openx().
1217	  (bink_attach): use flo_close() as well.
1218
1219	* src/common/flo.c (flo_openx): if loop is repeated, don't remove
1220	  BSY file.
1221
1222	* test/tc.bink/run: new test case for bink_attach(), using
1223	  ftnfattach utility.
1224
1225	* src/common/binkley.c (main): removed test main() because it was
1226 	  actually the intended to be the same code as ftnfattach.c:main()
1227 	  ;-)
1228
1229	* sendmail/cf/redhat6-orodruin.mc: new orodruin configuration,
1230	  merging old orodruin[-check].mc and RedHat 6.0
1231	  /usr/lib/sendmail-cf/cf/redhat.mc.
1232
1233	* sendmail/cf/Makefile: adapted to new config.
1234
1235	------- CVS ci -------------------------------------------------------
1236
1237	* doc/fidogate.texi (config.make): added SENDMAIL_CF_DIR.
1238
1239	* sendmail/mkclean: new script, removing symlinks to
1240	  /usr/lib/sendmail-cf.
1241
1242	* sendmail/Makefile: new Makefile for sendmail dir.
1243
1244	* sendmail/mklinks (DIRS): new script, creating links to original
1245	  sendmail m4 config files living under /usr/lib/sendmail-cf.
1246
1247	* config.make (SENDMAIL_CF_DIR): new macro setting directory,
1248	  where sendmail m4 configuration files are installed.
1249
12501999-07-03  Martin Junius  <mj@fido.de>
1251
1252	* src/common/binkley.c (main): added test main().
1253
1254	* src/common/flo.c (flo_openx): renamed old flo_open() because of
1255	  new argument wpmode. If wpmode is TRUE, the function will try
1256	  again if the access() check fails after sucessfully locking the
1257	  FLO file.
1258	  (flo_open): wrapper for flo_openx(), wpmode=FALSE.
1259	  (flo_file): new function returning flo_fp.
1260
12611999-06-27  Martin Junius  <mj@fido.de>
1262
1263	------- CVS ci -------------------------------------------------------
1264
1265	* doc/fidogate.texi (ftntickpost): new section.
1266
1267	* src/tick/ftntickpost.pl: new postprocessor skeleton script for
1268	  ftntick.
1269
1270	* doc/fidogate.texi (ftntick): add -x --exec SCRIPT.
1271
1272	* version.h (PATCHLEVEL): set to 5, version 4.3.5
1273
1274	* src/tick/ftntick.c (usage): new -x --exec SCRIPT option.
1275	  (main): implemented -x --exec SCRIPT option.
1276	  (do_tic): if -x option is set, run script after sucessfully
1277 	  processing TIC file.
1278
12791999-06-20  Martin Junius  <mj@fido.de>
1280
1281	* ANNOUNCE: updated.
1282
1283	======= Release 4.3.4 ================================================
1284	------- CVS tag R434a ------------------------------------------------
1285	------- CVS ci -------------------------------------------------------
1286
1287	* src/include/prototypes.h: #undef strtok(), strtok_r, may be
1288	  defined as inline code when compiling with -O on Linux.
1289
1290	------- CVS tag R434 -------------------------------------------------
1291	------- CVS ci -------------------------------------------------------
1292
1293	* test/tc.*: checked and updated run.verify for all cases.
1294
1295	------- CVS ci -------------------------------------------------------
1296
1297	* ANNOUNCE (WARNING): updated.
1298
1299	* fidogate.lsm: updated.
1300
1301	* examples/point/newsfeeds: example newsfeeds entry for INN 1.x
1302
1303	* version.h (PATCHLEVEL): changed to 4, version 4.3.4.
1304
1305	* examples/point/*: added more example files for the configuration
1306	  as described in fidogate.texi.
1307
1308	* doc/fidogate.texi (Config): added description of Regex1stLine.
1309
1310	* examples/*/fidogate.conf: updated with regex patterns from test
1311	  cases.
1312
1313	* src/common/rematch.c (regex_init): removed default
1314	  initialization with compiled-in regex patterns.
1315
1316	* src/gate/rfc2ftn.c (get_name_from_body): append 2nd line only if
1317	  2nd line doesn't start with '>', '|', ':'.
1318
13191999-06-17  Martin Junius  <mj@fido.de>
1320
1321	------- CVS ci -------------------------------------------------------
1322
1323	* test/tc.1stline/run: new test case for 1st line pattern matching.
1324
1325	* src/gate/rfc2ftn.c (get_name_from_body): concatenate 1st and 2nd
1326	  non-empty line from message body for pattern matching.
1327
1328	* src/common/message.c (is_blank_line): no longer static.
1329
1330	* examples/point/fidogate.conf: dito.
1331
1332	* examples/win32/fidogate.conf: dito.
1333
1334	* examples/morannon/fidogate.conf: dito.
1335
1336	* examples/orodruin/fidogate.conf: added config example.
1337
1338	* src/gate/rfc2ftn.c (main): added regex_init().
1339	  (get_name_from_body): uses regex_match() for finding address in
1340	  1st line, #if 0'ed old wildmatch() code.
1341
1342	* src/common/rematch.c (regex_init): new function, initializes
1343	  regex list and processes Regex1stLine entries from fidogate.conf
1344	  (str_regex_match_sub): new function, copies i'th sub-expression
1345	  from regex match to string buffer.
1346
13471999-06-14  Martin Junius  <mj@fido.de>
1348
1349	* src/common/rematch.c (regex_new): new function, alloc/init Regex
1350	  struct.
1351	  (regex_parse_line): new function, compiling regex pattern string.
1352	  (regex_do_entry): new function, putting regex into linked list.
1353	  (regex_match): new function, matching string against list of
1354	  regex patterns.
1355	  (regex_match_sub): new function returns regmatch_t entry for
1356	  last matching regex.
1357	  (main): test main.
1358
1359	* src/common/Makefile (OBJS): added rematch.o module.
1360	  (testrematch): added test target.
1361
1362	* src/common/rematch.c: new modules, regular expression handling
1363	  for FIDOGATE, using POSIX regex functions, see HAVE_POSIX_REGEX in
1364	  config.h
1365
13661999-06-08  Martin Junius  <mj@fido.de>
1367
1368	* src/common/strtok_r.c (strtok_r_ext): changed logic
1369 	  somewhat. After returning from the function, *lasts will point to
1370 	  the beginning of the next token, 1st non-delim character, fixing
1371	  problems for the typical strtok(s,DELIM_WS), then
1372	  strtok(NULL,DELIM_EOL) scan.
1373	  (strtok_r_ext): more changes, now mostly relying on strchr() to
1374	  do the job.
1375	  Thus no longer "based" on NetBSD ... ;-)
1376
13771999-06-07  Martin Junius  <mj@fido.de>
1378
1379	------- CVS ci -------------------------------------------------------
1380
1381	* src/common/xstrtok.c: module removed, obsoleted by strtok_r.c
1382
1383	* src/common/Makefile (OBJS): removed xstrtok.o, obsoleted by new
1384	  module strtok_r.o
1385
1386	* src/common/strtok_r.c (strtok): reimplemented using strtok_r_ext().
1387	  (xstrtok): dito.
1388	  (strtok_r): dito.
1389
1390	* src/include/prototypes.h: added strtok_r.c functions and #define's.
1391
13921999-06-01  Martin Junius  <mj@fido.de>
1393
1394	------- CVS ci -------------------------------------------------------
1395
1396	* src/tick/ftntick.c (move): dito.
1397
1398	* src/toss/ftnroute.c (do_move): #ifndef CYGWIN32 WARNING message.
1399
1400	* src/common/Makefile: add strtok_r module, teststrtok test program.
1401
1402	* src/common/strtok_r.c: new module for reentrant strtok()
1403	  variants based on NetBSD strtok_r.c
1404
1405	* src/common/mime.c (mime_deheader): bugfix for processing
1406	  MIME_HEADER_CODE_START/END.
1407
1408	* doc/fidogate.texi: major update, all program descriptions are
1409	  now up-to-date.
1410
1411	* examples/namib.north.de/: completely removed.
1412
1413	* examples/abis.abra.de/: completely removed.
1414
14151999-05-29  Martin Junius  <mj@fido.de>
1416
1417	======= Release 4.3.3 ================================================
1418	------- CVS tag R433 -------------------------------------------------
1419	------- CVS ci -------------------------------------------------------
1420
1421	* ANNOUNCE: updated.
1422
1423	* config.h: fixed #ifdef __sun__ for Solaris 2.x, using #ifdef
1424	  __svr4__.
1425
1426	* src/include/declare.h: fixed for Solaris 2.x, using #ifndef
1427	  __svr4__.
1428
14291999-05-24  Martin Junius  <mj@fido.de>
1430
1431	------- CVS ci -------------------------------------------------------
1432
1433	* doc/fidogate.texi (Programs): updated, now lists all programs
1434 	  from the src/ directory.
1435	  (Programs): updated sequence of all following nodes with the
1436 	  program descriptions, added nodes for new programs. The
1437	  individual description are not yet up-to-date.
1438
14391999-05-23  Martin Junius  <mj@fido.de>
1440
1441	* doc/fidogate.texi (config.h): added HAS_POSIX_REGEX description.
1442	  (Routing): added description of new "RemapX" command, not yet
1443	  implemented.
1444
14451999-05-22  Martin Junius  <mj@fido.de>
1446
1447	* config.h (HAS_SNPRINTF): set for OS2.
1448	  (HAS_POSIX_REGEX): new #define for support of POSIX regex
1449	  functions regcomp(), regexec(), regerror(), regfree(); currently
1450	  only set for Linux.
1451
1452	------- CVS ci -------------------------------------------------------
1453
1454	* fidogate.lsm: updated.
1455
1456	* ANNOUNCE: updated.
1457
1458	* test/tc.*: updated run.verify for all test cases, debug() output
1459	  changed due to new features.
1460
1461	------- CVS ci -------------------------------------------------------
1462
1463	* version.h (PATCHLEVEL): set to 3 (version 4.3.3).
1464
1465	* doc/fidogate.texi (Example Point): updated.
1466	  (Example Point 2): updated.
1467	  (Example Node): updated.
1468
1469	* examples/point/fidogate.conf: new example config file for point
1470	  configuration.
1471
1472	* doc/fidogate.texi: some bugfixes.
1473
1474	-------- Integrated patch-1999-05-21 into main source ----------------
1475
1476	* doc/fidogate.texi (Programs): updated list of %X abbreviations.
1477	  (Config): Oeff! Complete update of all config options, now in
1478	  sync with the latest examples/orodruin/fidogate.conf.
1479	  (Areas): updated.
1480	  (Aliases): updated.
1481	  (Passwd): updated.
1482	  (Areas.bbs): updated.
1483
1484	* src/gate/ftn2rfc.c: removed #ifdef AI_2, now the default.
1485
1486	* src/gate/rfc2ftn.c (snd_message): set cs_in = CHARSET_STDRFC,
1487	  currently "iso-8859-1". Some messages are 8bit, but don't
1488	  contain MIME headers.
1489	  (snd_message): set cs_out to CHARSET_STD7BIT "us-ascii" if cs_in
1490	  is CHARSET_STD7BIT.
1491
1492	* config.h (CHARSET_STDRFC): new #define, charset used for RFC
1493	  messages without MIME headers.
1494
1495	* test/cf/fidogate.conf: dito.
1496
1497	* examples/orodruin/fidogate.conf: added UseXHeaderForTearline.
1498
1499	* config.h (AI_2): removed, now the default.
1500
1501	* src/gate/rfc2ftn.c: removed #ifdef AI_2, now the default. The
1502	  function associated with the alias_extended flag is now part of
1503	  #ifdef AI_1, which is not enabled per default.
1504
1505	* src/common/aliases.c: removed #ifdef AI_2, now the default.
1506
1507	* src/gate/rfc2ftn.c (main): new config option
1508	  UseXHeaderForTearline, replacing old AI_7 patches.
1509	  (st_mimeinfo): added type_boundary field.
1510	  (get_mime): added parsing for boundary=...
1511	  (get_mime): added NULL pointer check for mime.type.
1512
1513	* config.h (AI_7): removed, obsoleted by new UseXHeaderForTearline
1514	  config option.
1515
1516	* src/gate/rfc2ftn.c (snd_message): MIME header output only for
1517	  rfc_level > 0.
1518	  (snd_message): added new paramter node_from to pass node_from
1519	  from snd_mail().
1520	  (snd_message): replaced ftn_from from AI_2 patches with
1521	  node_from, removed some #ifdef's.
1522	  (print_origin): new paramter node_from.
1523	  (print_local_msgid): new parameter node_from.
1524	  (sendmail_t): renamed to snd_to_cc_bcc().
1525	  (main): use DEFAULT_NEWSSPOOLDIR instead of fixed "/var/spool/news".
1526	  (print_tear_line): #ifdef PASSTHRU_ECHOMAIL removed, new config
1527	  flag use_x_for_tearline enables getting tearline string from
1528	  headers X-FTN-Tearline, X-Mailer, User-Agent, X-Newsreader.
1529
1530	* src/gate/rfc2ftn.c (snd_message): added output of modified MIME
1531	  header lines, header_ca_rfc() won't do this anymore.
1532
1533	* config.h (RFC_LVL_1_HEADERS): removed MIME headers, will be done
1534	  "manually" in rfc2ftn.
1535
1536	* src/gate/rfc2ftn.c (snd_message): cs_out_rfc, cs_out_fsc contain
1537	  RFC 2045, FSC-0054 name of charset, used for Content-Type,
1538	  ^ACHRS, respectively.
1539	  (snd_message): change Content-Transfer-Encoding depending on
1540	  cs_out to "7BIT" or "8BIT".
1541
1542	* src/charset/charset.c (charset_alias_fsc): new function, searchs
1543	  FSC-0054 name for charset from alias list.
1544	  (charset_alias_rfc): new functions, search RFC 2045 name for
1545	  charset from alias list.
1546
1547	* src/charset/charset.map: added us-ascii -> * mappings, updated
1548	  comments.
1549
1550	* src/common/mime.c (mime_dequote): translate chars >= 0x80 using
1551	  charset_map_c().
1552
1553	* src/gate/rfc2ftn.c (snd_mail): copy list of newsgroups to
1554	  textlist, allowing strtok() to be used in functions called by
1555	  snd_mail().
1556	  (get_mime): parse Content-Type header, extract MIME type and
1557	  charset.
1558	  (snd_message): moved MIME debug() output to get_mime().
1559	  (get_mime): added .type_type and .type_charset to debug() output.
1560	  (main): call charset_init().
1561	  (snd_message): use s_copy() for cs_save.
1562	  (snd_message): convert cs_out to upper case and use for
1563	  ^ACHRS. Should be fixed to search for an FSC-0054 alias, because
1564	  it may be configured as e.g. "iso-8859-1" instead of "latin-1".
1565
1566	* src/common/misc.c (strip_space): function now returns char *
1567	  pointer to 1st non-space character of string. This change should
1568	  be compatible with the old void function.
1569
1570	* src/gate/rfc2ftn.c (st_mimeinfo): added fields type_type and
1571	  type_charset for components of Content-Type header.
1572
1573	----------------------------------------------------------------------
1574
15751999-05-19  Martin Junius  <mj@fido.de>
1576
1577	* examples/win32/config.make: was missing.
1578
1579	* src/common/packet.c (pkt_get_hdr): when reading FSC-0039 zone
1580	  fields from packet header, don't use zone 0.
1581
15821999-05-18  Martin Junius  <mj@fido.de>
1583
1584	======= Release 4.3.2 ================================================
1585	------- CVS tag R432a ------------------------------------------------
1586	------- CVS ci -------------------------------------------------------
1587
1588	* src/charset/russian.map: removed inline comments, no longer
1589	  allowed, causing compilation errors.
1590
1591	* cvsexp: cvs helper script for exporting FIDOGATE release.
1592
1593	------- CVS tag R432 -------------------------------------------------
1594	------- CVS ci -------------------------------------------------------
1595
1596	* fidogate.lsm: updated.
1597
1598	* config.h (HAS_STRERROR): #define for OS2.
1599
1600	* examples/orodruin/fidogate.conf: updated.
1601
1602	* src/common/mime.c (mime_dequote): bug fix for =<LF>.
1603
1604	------- CVS ci -------------------------------------------------------
1605
1606	* config.h (AI_9): removed, obsoleted by code changes.
1607
1608	* src/gate/rfc2ftn.c (main): added DefaultCharset/NetMailCharset
1609	  options.
1610	  (snd_message): preparation for charset mapping table, get cs_out
1611	  from FIDOGATE/area config, set mapping.
1612
1613	* src/common/mime.c (mime_dequote): function prepared to add
1614	  charset mapping.
1615
1616	* src/common/mime.c (mime_dequote): removed AI_9 patches.
1617
1618	* src/gate/rfc2ftn.c (check_downlinks): correct calculation for #
1619	  of downlinks, reduce by 1 if gateway is the first entry in LON.
1620	  (snd_mail): cf_set_curr/zone() directly after area is found.
1621	  (snd_message): removed AI_9 patches, correct lsize calculations
1622	  for lines with MIME soft line-breaks =<LF>.
1623
16241999-05-16  Martin Junius  <mj@fido.de>
1625
1626	* doc/fidogate.texi (Config files): updated.
1627
1628	* src/common/packet.c (pkt_get_hdr): initialize pkt->from/to.zone
1629	  values with cf_defzone(), avoid 0-Zone with really old tosser
1630	  programs which produce only 2D packets.
1631
16321999-05-15  Martin Junius  <mj@fido.de>
1633
1634	------- CVS ci -------------------------------------------------------
1635
1636	* ANNOUNCE (WARNING): updated.
1637
1638	* doc/fidogate.texi (config.make): updated.
1639	  (Integration): updated.
1640	  (Compiling): updated.
1641	  (Testing): removed old stuff.
1642	  (Connecting): updated.
1643
1644	* config.make: removed SHELL = /bin/sh
1645
1646	------- CVS ci -------------------------------------------------------
1647
1648	* src/common/dir.c (dir_compare): if size or mtime are the same,
1649	  compare name, yielding a deterministic order in which files with
1650	  the same mtime are processed.
1651
1652	* src/toss/rununpack.pl (run_prog): dito.
1653	  (run_arc): dito.
1654
1655	* src/toss/runtoss.pl (run_prog): $args[0] contains full path
1656	  name, using system { $fullpath } @args doesn't seem to work with
1657	  ActiveState perl on Win32.
1658
1659	* config.h: #undef HAS_GETTIMEOFDAY for Win32, returns wrong
1660	  system time (time zone). #undef NFS_SAFE_LOCK_FILES if
1661	  HAS_HARDLINKS is not defined, e.g. Win32.
1662
1663	* examples/win32/*: updated, added new example files.
1664
1665	* src/tick/ftntick.c (move): dito.
1666
1667	* src/toss/ftnroute.c (do_move): if utime() fails (seems to happen
1668	  on Win32) make this a warning.
1669
16701999-05-13  Martin Junius  <mj@fido.de>
1671
1672	* doc/fidogate.texi (config.h): updated for 4.3.
1673	  (Installation): updated.
1674	  (Introduction): updated.
1675
1676	* config.h (SECURE): removed, secure is now the one and only default.
1677
1678	* doc/fidogate.texi (Point): removed node.
1679
16801999-05-09  Martin Junius  <mj@fido.de>
1681
1682	* src/areafix/areafix.c (cmd_unlinked): use same check permissions
1683	  code as for command %list, so areas without access right aren't
1684	  listed for %unlinked.
1685
16861999-05-04  Martin Junius  <mj@fido.de>
1687
1688	* *: added patches for some minor problems when compiling with
1689	  Cygwin32.
1690
1691	* examples/win32/config.make: compile config file for Cygwin32
1692	  port, everything lives under /fidogate/...
1693
1694	* src/charset/charsetc.c: added some NULL pointer checks.
1695
16961999-04-18  Martin Junius  <mj@fido.de>
1697
1698	* src/common/config.c (cf_getline): don't allow inline '#'
1699	  comments, only lines starting with white space and a '#' are
1700	  treated as comments and skipped.
1701
17021999-04-10  Martin Junius  <mj@fido.de>
1703
1704	* scripts/*/Makefile: make all PROGS depend on config.make and
1705	  config.pl
1706
1707	* config.make (DEFAULT_F_IFMAILDIR): set to /usr/lib/ifcico, which
1708	  is the new directory where I installed ifcico-3.0.cm.alpha-4.1
1709	  ( distribution default is /usr/lib/ifmail ).
1710
17111999-04-09  Martin Junius  <mj@fido.de>
1712
1713	* ANNOUNCE: updated.
1714
1715	* src/common/misc.c (run_system): make cmd[] as large as buffer[],
1716	  may contain a long command line, e.g. from ffxqt!
1717
17181999-04-03  Martin Junius  <mj@fido.de>
1719
1720	------- CVS ci -------------------------------------------------------
1721
1722	* scripts/maintenance/logsendmail.pl: don't output $unaccounted,
1723 	  caused by from/to entries in different log files due to log file
1724 	  cycling.
1725
1726	* test/tc.*/run.verify: diffs seems to be OK, updated all.
1727
1728	* test/Makefile (all-mk-verify): added target for updating
1729	  run.verify for all test cases.
1730
1731	* test/tc.8bit/run: output outpkt/outrfc.
1732
1733	* src/*/*.c: fixed various small problems resulting from the
1734	  node_to_asc() replacement.
1735
1736	* scripts/Makefile: dito.
1737
1738	* Makefile: dito.
1739
1740	* src/Makefile (test): targets verify, test are the same as check.
1741
1742	* src/common/parsenode.c (str_znfp_print): must initialize s[] to
1743	  empty string first.
1744
1745	------- CVS ci -------------------------------------------------------
1746
1747	* version.h (PATCHLEVEL): set to 2 (version 4.3.2).
1748
1749	* src/common/parsenode.c (znfp): renamed to s_znfp().
1750
1751	* src/common/node.c (node_to_asc): removed.
1752
1753	* src/*/*.c: replaced all calls to node_to_asc() with znfp1(),
1754	  znfp2(), znf1(), znf2().
1755
1756	* src/common/parsenode.c (str_znfp_print): new function, writes
1757	  Z:N/F.P to s[len], based on old s_znfp_print().
1758	  (s_znfp_print): new function now calling str_znfp_print().
1759	  (znfp1): same as znfp() but returning a static buf[].
1760	  (znfp2): same as znfp() but returning a static buf[],
1761	  independent of znfp1() for printf etc.
1762	  (znf1): new function for output with point0=FALSE, wildcards=FALSE.
1763
17641999-03-28  Martin Junius  <mj@fido.de>
1765
1766	------- CVS ci -------------------------------------------------------
1767
1768	* src/toss/ftntoss.c (add_via): use DATE_VIA.
1769
1770	* src/toss/ftnroute.c (add_via): use DATE_VIA.
1771
1772	* src/gate/rfc2ftn.c (snd_message): use DATE_SPLIT.
1773	  (print_via): use DATE_VIA.
1774
1775	* src/gate/ftn2rfc.c (unpack): use DATE_FROM.
1776
1777	* src/common/outpkt.c (outpkt_netmail): use DATE_VIA.
1778
1779	* src/common/log.c (log): use DATE_LOG.
1780
1781	* src/common/bounce.c (bounce_header): use DATE_FROM.
1782
1783	* config.h (DATE_FROM): new #define for date in From_ lines.
1784	  (DATE_LOG): new #define for date in log() messages.
1785	  (DATE_VIA): new #define for date in ^AVia lines.
1786	  (DATE_SPLIT): new #define for date in ^ASPLIT lines.
1787
1788	* src/common/tick.c (tick_add_path): use DATE_TICK_PATH.
1789
1790	* config.h (DATE_TICK_PATH): renamed DATE_FIDO.
1791
1792	* src/common/packet.c (pkt_put_date): use DATE_FTS_0001 from
1793	  config.h as format string for date().
1794
17951999-03-27  Martin Junius  <mj@fido.de>
1796
1797	* src/toss/rununpack.pl (arc_type): return "RAR" if it's a RAR
1798	  archive.
1799
18001999-03-21  Martin Junius  <mj@fido.de>
1801
1802	* test/tc.y2k/run: new test case for Y2k and date/time functions.
1803
1804	* src/common/parsedate.y (main): test all date() % formats.
1805
18061999-03-20  Martin Junius  <mj@fido.de>
1807
1808	* src/common/Makefile (testdate): new test program.
1809
1810	* src/common/parsedate.y (main): new test main().
1811
1812	======= Release 4.3.1 ================================================
1813	------- CVS tag R431 -------------------------------------------------
1814	------- CVS ci -------------------------------------------------------
1815
1816	* doc/dirs.html: updated.
1817
1818	* README: updated.
1819
1820	* ANNOUNCE: 4.3aX changes moved to README.
1821
1822	* examples/morannon/fidogate.conf: Maus*, ftp removed. Old config
1823	  files removed.
1824
1825	* fidogate.lsm: updated.
1826
18271999-03-19  Martin Junius  <mj@fido.de>
1828
1829	* src/gate/ftn2rfc.c (unpack): xfree(cs_save) must be called after
1830	  creating the MIME headers. Thanx to
1831	  <root@neffets.isdn.cs.tu-berlin.de> for reporting this bug.
1832
1833	------- CVS ci -------------------------------------------------------
1834
1835	* ChangeLog*: ChangeLog.O moved to ChangeLog.OO, ChangeLog.O
1836	  contains now old ChangeLog entries up to version 4.3a5,
1837	  ChangeLog entries for version 4.3.0 and later.
1838
1839	* test/cf/fidogate.conf: dito.
1840
1841	* examples/orodruin/fidogate.conf: remove Maus*, ftp config.
1842
1843	* src/gate/rfc2ftn.c (rfc_parse): removed maus.de code.
1844	  (main): removed MausGate, MausDomain config options.
1845	  (addr_set_mausdomain): removed.
1846	  (addr_set_mausgate): removed.
1847
1848	* src/common/rfcaddr.c (main): call to maus_init() removed.
1849
1850	* test/tc.packprog/packing: use new fidogate.conf.
1851
1852	* test/tc.8bit/config*: based on new fidogate.conf.
1853
1854	------- CVS ci -------------------------------------------------------
1855
1856	* test/cf/common;ffx;gate;toss.conf: removed.
1857
1858	* ANNOUNCE: updated.
1859
1860	* test/: make verify now yields OK for all test cases.
1861
1862	* test/tc.tosskill/config*: dito.
1863
1864	* test/tc.tosskill/run: dito.
1865
1866	* test/tc.toss6/run: dito.
1867
1868	* test/tc.toss5/run: dito.
1869
1870	* test/tc.toss4/run: dito.
1871
1872	* test/tc.toss3/run: dito.
1873
18741999-03-17  Martin Junius  <mj@fido.de>
1875
1876	* test/tc.toss2/run: dito.
1877
1878	* test/tc.toss1/config*: dito.
1879
1880	* test/tc.toss1/run: dito.
1881
1882	* test/tc.tick/run: new fidogate.conf.
1883
1884	* test/cf/fidogate.conf: commented KillOld.
1885
1886	* test/tc.rununpack/run: dito.
1887
1888	* test/tc.route/run: dito.
1889
1890	* test/tc.route/config: new fidogate.conf.
1891
1892	* src/common/config.c (cf_check_gate): #if 0'ed "no Uplink or
1893	  GateAddress" check, cf_i_am_a_gateway_prog() will automatically
1894	  copy Address to Uplink if no Uplink is specified.
1895
1896	* test/tc.point2/fidogate.conf: modified test fidogate.conf for
1897	  point2 test case.
1898
18991999-03-16  Martin Junius  <mj@fido.de>
1900
1901	* test/tc.passthru/config: dito.
1902
1903	* test/tc.packprog/run: dito.
1904
1905	* test/tc.outpkt/run: dito.
1906
1907	* test/tc.nomsgid/run: dito.
1908
1909	* test/tc.ml/run: new fidogate.conf
1910
1911	* test/cf/fidogate.conf: commented NoFromLine, uncommented
1912	  ReplyAddrIfmailTX.
1913
1914	* test/tc.gateway/run: dito.
1915
1916	* test/tc.gatenode/run: dito, removed config.*.
1917
19181999-03-14  Martin Junius  <mj@fido.de>
1919
1920	------- CVS ci -------------------------------------------------------
1921
1922	* test/tc.gate11/config: dito.
1923
1924	* test/tc.gate11/run: dito.
1925
1926	* test/tc.gate10/run: dito.
1927
1928	* test/tc.gate9/config.gate: dito.
1929
1930	* test/tc.gate8/run: dito.
1931
1932	* test/tc.gate7/run: dito.
1933
1934	* test/tc.gate7/config: dito.
1935
1936	* test/tc.gate6/config*: dito.
1937
1938	* test/tc.gate6/run: dito.
1939
1940	* test/tc.gate4/check.conf: dito.
1941
1942	* test/tc.gate4/config.*: dito.
1943
1944	* test/tc.gate4/run: new fidogate.conf
1945
1946	* src/gate/rfc2ftn.c (snd_message): s_freeall() removed, must not
1947	  be called here.
1948
1949	* test/tc.gate1/config*: dito.
1950
1951	* test/tc.gate1/run: dito.
1952
1953	* test/tc.flo/config.dos: dito.
1954
1955	* test/tc.ffx/run: dito.
1956
1957	* test/tc.ffx/ffxmail: dito.
1958
1959	* test/tc.bounce2/config: dito.
1960
1961	* test/tc.bounce/run: new fidogate.conf.
1962
1963	* test/tc.boss/run: new fidogate.conf, extra config.* removed.
1964
1965	* src/common/config.c (cf_set_addr): set scf_ia=1, scf_ig=0.
1966	  (cf_set_uplink): set scf_ir=1.
1967	  (cf_set_addr): also set scf_ir=0.
1968
1969	* test/tc.aliases/run: dito.
1970
1971	* test/tc.af3/run: dito.
1972
1973	* test/tc.af2/run: dito.
1974
1975	* test/tc.af/config: new fidogate.conf
1976
19771999-03-07  Martin Junius  <mj@fido.de>
1978
1979	------- CVS ci -------------------------------------------------------
1980
1981	* src/toss/ftntoss.c: dito.
1982
1983	* src/toss/ftnroute.c (main): dito.
1984
1985	* src/toss/ftn2ftn.c (do_message): dito.
1986
1987	* src/ffx/ffx.c (ffx): dito.
1988
1989	* src/common/rfcaddr.c (rfcaddr_from_ftn): dito.
1990	  (rfcaddr_from_rfc): dito.
1991
1992	* src/common/packet.c (pkt_create): dito.
1993	  (pkt_open_node): dito.
1994
1995	* src/common/misc.c (strncpy0): removed, obsoleted by str_copy().
1996	  (strncat0): removed, obsoleted by str_append().
1997
1998	* src/common/message.c (pkt_get_body): dito.
1999	  (msg_format_buffer): dito.
2000
2001	* src/common/binkley.c (bink_bsy_name): dito.
2002	  (bink_find_flo): dito.
2003	  (bink_find_out): dito.
2004
2005	* src/common/address.c (try_pfnz): dito.
2006	  (inet_to_ftn): dito.
2007
2008	* src/areafix/ftnafpkt.c (rename_bad): use BUF_COPY() / BUF_APPEND().
2009
2010	* src/util/ftnflo.c (do_flo): dito.
2011
2012	* src/toss/ftntoss.c (do_echomail): dito.
2013
2014	* src/toss/ftnpack.c (arcmail_name): dito.
2015	  (packing_pkt_name): dito.
2016	  (do_arcmail): dito.
2017	  (do_prog): dito.
2018
2019	* src/gate/rfc2ftn.c (rfc_parse): dito.
2020	  (snd_message): dito.
2021
2022	* src/ffx/ffxqt.c (exec_ffx): dito.
2023
2024	* src/ffx/ffx.c (ffx): dito.
2025
2026	* src/common/tick.c (tick_send): use str_printf().
2027
2028	* src/common/textlist.c (tl_appendf): added check for buf[] overflow.
2029
2030	* src/common/parsenode.c (znfp_put_number): dito.
2031
2032	* src/common/packet.c (pkt_newname): dito.
2033
2034	* src/common/outpkt.c (outpkt_outputname): dito.
2035
2036	* src/common/node.c (node_to_asc_diff): dito.
2037	  (node_to_pfnz): dito.
2038
2039	* src/common/mail.c (mail_open): dito.
2040
2041	* src/common/lock.c (lock_lockfile_nfs): dito.
2042
2043	* src/common/flo.c (main): dito.
2044
2045	* src/common/binkley.c (bink_out_name): dito.
2046	  (bink_mkdir): dito.
2047
2048	* src/charset/charset.c (charset_qpen): use str_printf().
2049
2050	* src/areafix/areafix.c (areafix_tlprintf): check vsprintf()
2051	  returned length, fatal error if buf[] overflows.
2052
2053	------- CVS ci -------------------------------------------------------
2054
2055	* src/include/shuffle.h: removed, obsoleted by new TmpS temporary
2056	  strings used throughout FIDOGATE.
2057
2058	* src/common/parsenode.c (znfp_print): renamed to s_znfp_print().
2059	  (s_znfp_print): rewritten to use TmpS and str_copy(), str_append().
2060
2061	* src/common/rfcheader.c (header_getcomplete): renamed to
2062	  s_header_getcomplete().
2063	  (s_header_getcomplete): completely rewritten to use TmpS and
2064	  str_copy(), str_append().
2065
2066	* src/common/rfcaddr.c (rfcaddr_to_asc): renamed to s_rfcaddr_to_asc().
2067	  (s_rfcaddr_to_asc): got rid of SHUFFLEBUFFER, use s_printf().
2068
2069	* src/common/version.c (version_global): removed #ifdef's, simply
2070 	  return "MAJOR.MINOR.PATCHLEVEL".
2071	  (version_major, minor): simply return VERSION_MAJOR, _MINOR.
2072
2073	* version.h: completely changed, now 4 #define's:
2074	  VERSION_MAJOR		major version number
2075	  VERSION_MINOR		minor version number
2076	  PATCHLEVEL		patchlevel
2077	  STATE			development ./. stable
2078	  Current version: 4.3.1 (development)
2079
2080	* src/common/version.c (version_local): changed to use BUF_COPY().
2081
2082	* version.h (PATCHLEVEL): changed to 1, version 4.3.1
2083	  (ALPHA, BETA): removed.
2084	  (STATE): change to "development".
2085
2086	* src/gate/rfc2ftn.c (snd_mail): more TMPS_RETURN(), fixed missing
2087	  if(status) in newsgroups for loop.
2088
2089	* src/gate/ftn2rfc.c (unpack): changed log() message,
2090
20911999-03-06  Martin Junius  <mj@fido.de>
2092
2093	------- CVS ci -------------------------------------------------------
2094
2095	* src/util/pktdebug.c (main): call tmps_freeall().
2096
2097	* src/util/ftnoutpkt.c (do_addr): use TMPS_RETURN().
2098
2099	* src/toss/ftntoss.c (unpack_file): use TMPS_RETURN().
2100	  (unpack): dito.
2101
2102	* src/toss/ftnroute.c (do_file): use TMPS_RETURN().
2103	  (do_packet): dito.
2104
2105	* src/toss/ftnpack.c (main): calls to tmps_freeall().
2106	  (do_packing): use TMPS_RETURN().
2107	  (do_noarc): dito.
2108	  (do_file): dito.
2109
2110	* src/toss/ftn2ftn.c (unpack): use TMPS_RETURN().
2111	  (main): calls to tmps_freeall().
2112
2113	* src/tick/ftntick.c (do_tic): added call to tmps_freeall().
2114	  (process_tic): added call to tmps_freeall in for loop.
2115
2116	* src/tick/ftnhatch.c (main): added call to tmps_freeall().
2117
2118	------- CVS ci -------------------------------------------------------
2119
2120	* src/gate/ftn2rfc.c (main): added call to tmps_freeall().
2121	  (unpack): use tmps_freeall(), TMPS_RETURN().
2122
2123	* src/gate/rfc2ftn.c (main): added call to tmps_freeall().
2124	  (snd_mail): use TMPS_RETURN().
2125
2126	* src/gate/ftnin.c (do_packets): dito.
2127
2128	* src/ffx/ffxqt.c (do_ffx): added call to tmps_freeall() in for loop.
2129
2130	* src/ffx/ffx.c (main): added call to tmps_freeall().
2131
2132	* src/common/tmps.c (testf): added test function for TMPS_RETURN()
2133	  macro.
2134
21351999-03-03  Martin Junius  <mj@fido.de>
2136
2137	* src/common/address.c (str_printf): moved to misc.c.
2138
2139	* src/areafix/pkttmpl.c (do_file): use TMPS_RETURN().
2140
2141	* src/areafix/ftnafpkt.c (do_packet): use TMPS_RETURN().
2142
2143	* src/areafix/pkttmpl.c (do_packet): use TMPS_RETURN().
2144
2145	* src/areafix/ftnafutil.c (do_areasbbs): call tmps_freeall().
2146
2147	* src/areafix/ftnafpkt.c (do_file): use TMPS_RETURN().
2148
2149	* src/areafix/ftnaf.c (do_mail): use TMPS_RETURN().
2150
2151	* src/include/prototypes.h (TMPS_RETURN): new macro, calls
2152	  tmps_freeall() and returns from function.
2153
21541999-02-28  Martin Junius  <mj@fido.de>
2155
2156	* scripts/outbound/out-rm*.sh: updated.
2157
2158	* scripts/outbound/out-manip.pl: removed RCS log, use <BTBASEDIR>.
2159
2160	* scripts/run/runpoll-binkd.sh: add out-manip poll $BOSSNODE to
2161	  force binkd poll.
2162
2163	* scripts/run/runpoll-orodruin.sh: must use full path for xterm,
2164	  setuid wrapper resets PATH.
2165
2166	* scripts/run/runpoll*.sh: use $0 for exec xterm.
2167
21681999-02-21  Martin Junius  <mj@fido.de>
2169
2170	* scripts/misc/areasbbssync.pl: changed -l output to be suitable
2171	  for text listing.
2172
21731999-02-07  Martin Junius  <mj@fido.de>
2174
2175	------- CVS ci -------------------------------------------------------
2176
2177	* scripts/maintenance/logsendmail.pl: new version with many bug
2178	  fixes, new stats, and improved output.
2179
21801999-02-04  Martin Junius  <mj@fido.de>
2181
2182	* scripts/maintenance/logsendmail.pl: don't depend on $HOSTNAME
2183	  for parsing syslog line. Major changes, Perl5'ified. Added
2184	  counter for bounced messages, bounced messages are no longer
2185	  included in traffic matrix.
2186
21871999-01-30  Martin Junius  <mj@fido.de>
2188
2189	* scripts/maintenance/logdaily.sh: run logstat for log files
2190	  log-in, log-mail, log-news.
2191
21921999-01-16  Martin Junius  <mj@fido.de>
2193
2194	* examples/morannon/fidogate.conf: new example single
2195	  configuration with setting for morannon.fido.de (gateway and
2196	  large hub).
2197
2198	* scripts/run/runpoll-binkd.sh: modified version of
2199	  runpoll-orodruin.sh using binkd for polling boss node.
2200
22011999-01-10  Martin Junius  <mj@fido.de>
2202
2203	======= Release 4.3.0 ================================================
2204	------- CVS tag R430 -------------------------------------------------
2205	------- CVS ci -------------------------------------------------------
2206
2207	* fidogate.lsm: updated.
2208
2209	* ANNOUNCE: updated.
2210
2211	* README: updated.
2212
2213	* src/common/log.c (log): save errno before trying to open log
2214	  file and restore afterwards.
2215
2216	------- CVS ci -------------------------------------------------------
2217
2218	* config.make (DEFAULT_F_CONFIG_xxx): switch to new single config
2219	  file "fidogate.conf".
2220
22211999-01-09  Martin Junius  <mj@fido.de>
2222
2223	------- CVS ci -------------------------------------------------------
2224
2225	* test/tc.gate5/run: same as tc.gate3
2226
2227	* test/tc.gate3/run: use new fidogate.conf, added pktdebug output
2228	  of all created packets.
2229
2230	* test/tc.gate2/run: use new fidogate.conf, added output of all
2231	  created RFC messages.
2232
2233	* test/tc.newcf/run: new test case for checking configuration with
2234	  single config file fidogate.conf.
2235
2236	* examples/orodruin/fidogate.conf: example of new single
2237	  configuration file.
2238
2239	* src/toss/ftntoss.c (main): config option "EchoMail4D" renamed to
2240	  "TossEchoMail4D" to avoid conflicts with gateway "EchoMail4D"
2241	  configuration.
2242
2243	* config.make (DEFAULT_F_CONFIG_xxx): added new macro defs with
2244	  single config file fidogate.conf, commented for the time being.
2245
22461999-01-02  Martin Junius  <mj@fido.de>
2247
2248	------- CVS ci -------------------------------------------------------
2249
2250	* src/common/node.c (node_to_pfnz): modified to use static buf[]
2251	  for returning string.
2252	  (node_to_asc_diff): dito.
2253
2254	* src/gate/rfc2ftn.c (snd_message): use new s_msgid_rfc_to_fido(),
2255	  call s_freeall() at end of function.
2256
2257	* src/gate/ftn2rfc.c (unpack): use new s_msgid_xxx() functions.
2258
2259	* src/common/msgid.c (msgid_rfc_to_origid): removed, no longer needed.
2260	  (s_msgid_fido_to_rfc): converted shuffle.h stuff to TmpS.
2261	  (s_msgid_default): renamed to s_, converted shuffle.h stuff to TmpS.
2262	  (s_msgid_convert_origid): dito.
2263	  (s_msgid_rfc_to_fido): dito.
2264	  (msgid_domain): improved to only skip 1st char of domain name if
2265	  it really is a ".".
2266
2267	* src/gate/rfc2ftn.c (snd_message): removed #ifdef MSGID_ORIGID code.
2268
2269	* config.h (MSGID_ORIGID): #define removed.
2270
2271	* src/common/msgid.c (s_msgid_fido_to_rfc): renamed to s_, now
2272	  returns TmpS.
2273
2274	* src/gate/ftn2rfc.c (unpack): use new s_ftn_to_inet().
2275
2276	* src/common/rfcaddr.c (rfcaddr_from_ftn): use new str_ftn_to_inet().
2277
2278	* src/common/address.c (s_ftn_to_inet): TmpS wrapper for
2279	  str_ftn_to_inet().
2280	  (str_printf): new replacement for sprintf(), uses vsnprintf() if
2281	  available or terminates with fatal() error if buffer overflows.
2282	  (str_ftn_to_inet): renamed version of old ftn_to_inet()
2283	  function writing to str buffer.
2284	  (verify_host_flag): removed SHUFFLEBUFFERS.
2285
2286	* src/common/config.c (cf_i_am_a_gateway_prog): if neither
2287	  GateAddress nor Uplink is used, copy Address to Uplink (same
2288	  address for gateway and tosser).
2289
2290	* *: Copyright comments extended to year 1999.
2291
2292	* version.h: commented ALPHA, making this the new version
2293	  4.3.0. From now on, 4.3.x will be the development versions, 4.4.x
2294	  the future new stable versions.
2295
2296	* src/areafix/areafix.c (cmd_help): added log() if helpfile can't
2297	  be opened of AreaFixHelp is not defined.
2298
22991998-12-13  Martin Junius  <mj@fido.de>
2300
2301	* sendmail/cf/morannon-check.mc: added confCOPY_ERRORS_TO.
2302
23031998-11-28  Martin Junius  <mj@fido.de>
2304
2305	* scripts/run/runpoll.sh: modified (old) runpoll for generic point
2306	  excluding ffx programs.
2307
2308	* scripts/run/runpoll-orodruin.sh: new (old) runpoll including ffx
2309	  programs.
2310
23111998-11-23  Martin Junius  <mj@fido.de>
2312
2313	* src/toss/rununpack.pl (run_arc): removed extra "su" from regex.
2314
23151998-11-15  Martin Junius  <mj@fido.de>
2316
2317	* examples/morannon/*.conf: updated.
2318
2319	* scripts/www/gate.cgi.pl (my_ps_news): some cosmetic changes.
2320
2321	------- CVS ci -------------------------------------------------------
2322
2323	* scripts/www/gate.cgi.pl: new CGI script displaying gateway
2324	  status, who, last, processes, news and FIDOATE directories.
2325
2326	* scripts/www/: new directory for CGI scripts to be used with FIDOGATE.
2327
2328	* rules.make (%.cgi): added rule for .cgi.pl -> .cgi
2329
2330	* subst.pl: Perl5'ified, added -o OPTS options to #!PERL line.
2331
2332	* config.make (HTMLLOGDIR): directory for installing CGI scripts.
2333
23341998-11-14  Martin Junius  <mj@fido.de>
2335
2336	* scripts/misc/afmail.pl, areamgr.pl: removed.
2337
23381998-11-08  Martin Junius  <mj@fido.de>
2339
2340	------- CVS ci -------------------------------------------------------
2341
2342	* scripts/maintenance/rc.fidogate.sh: adapted to new FIDOGATE dir
2343	  hierarchy.
2344
2345	* scripts/maintenance/newsyslog.sh: removed (dito).
2346
2347	* scripts/maintenance/logmaint.sh: removed (replaced with
2348	  logrotate configuration).
2349
2350	* scripts/maintenance/logdaily.sh: added logstat, logreport.
2351
2352	* src/toss/runtoss.pl: use grade "o" for tossing "outpkt".
2353
2354	* scripts/maintenance/fidogate.logrotate: example logrotate
2355	  configuration for new FIDOGATE log files (run* scripts).
2356
2357	* src/gate/rungate.sh: don't use non-standard log file "log-gate".
2358
2359	* src/ffx/runffx.sh: add "orodruin" argument to send-ffx, use %B
2360	  for Binkley base dir.
2361
2362	* src/gate/send-fidogate.sh: new script interface to INN.
2363
2364	* src/ffx/send-ffx.sh: new script interface to INN, using new
2365	  ffxnews.
2366
2367	* src/ffx/ffxnews.sh: new script replacing old viaffx script.
2368
23691998-11-04  Martin Junius  <mj@fido.de>
2370
2371	* src/ffx/runffx.sh: new cron script for running ffx sub-system.
2372
2373	* src/toss/runin.sh: added ftntick.
2374
2375	* src/gate/rungate.sh: new cron script for running gateway progs.
2376