ChangeLog revision 131702
12004-05-12  Erez Zadok  <ezk@cs.sunysb.edu>
2
3	* m4/macros/check_map_funcs.m4: imported bug-fixed version from
4	6.1 branch.
5
6	* config.guess, config.sub, ltmain.sh: updates from the latest GNU
7	distributions.
8
9	* configure.in: don't check for dbm_open unless needed.
10
11	* m4/macros/header_templates.m4: template for NEW_DBM_H header
12	file.  This completes the migration of bison/flex and n/dbm fixes
13	from 6.1 to to 6.0.
14
15	* include/am_defs.h: Move ALLOCA logic here.
16	Add new db/ndbm/gdbm logic here.
17
18	* fsinfo/fsinfo.h, fsinfo/fsinfo.c, fsinfo/fsi_lex.l,
19	amd/conf_tok.l: Fixes to avoid problems with modern yacc/lex
20	implementations.
21
22	* amd/conf_parse.y: move ALLOCA checks out of yacc code.  Fixes to
23	avoid problems with modern yacc/lex implementations.
24
25	* configure.in: search for gdbm/ndbm.h.  Add logic to deal with
26	db/ndbm/gdbm mess.
27
282004-01-20  Ion Badulescu  <ionut@moisil.badula.org>
29
30	* amd/conf.c (gopt_nfs_allow_insecure_port): support function for
31	the new "nfs_allow_insecure_port" amd.conf directive
32
33	* amd/nfs_prot_svc.c (nfs_program_2): complain about the insecure
34	port and drop the request only if the "nfs_allow_insecure_port"
35	option is not set in amd.conf
36
37	* doc/am-utils.texi (Global Parameters): documented the new
38	amd.conf directive "nfs_allow_insecure_port"
39
40	* scripts/amd.conf.5 (nfs_allow_insecure_port): ditto
41
42	* scripts/amd.conf-sample (nfs_allow_insecure_port): added the
43	"nfs_allow_insecure_port" directive
44
452004-01-20  Erez Zadok  <ezk@cs.sunysb.edu>
46
47	* doc/am-utils.texi: amd-workers is defunct.
48
492004-01-19  Erez Zadok  <ezk@cs.sunysb.edu>
50
51	* cvs-server.txt: updated instructions
52
532004-01-18  Erez Zadok  <ezk@cs.sunysb.edu>
54
55	* minor new port: i386-unknown-freebsd5.2.
56
57	* hlfsd/hlfsd.c (hlfsd_init), amd/amq_subr.c
58	(amqproc_mnttree_1_svc, amqproc_stats_1_svc,
59	amqproc_getmntfs_1_svc, xdr_amq_mount_tree): force double casting
60	to avoid gcc-3.3 complaints on Solaris 9 about "dereferencing
61	type-punned pointer will break strict-aliasing rules".
62
632004-01-06  Erez Zadok  <ezk@cs.sunysb.edu>
64
65	* minor new port: i386-unknown-freebsd4.9.
66
67	* include/am_defs.h: Don't include malloc.h if stdlib.h exists,
68	because modern systems (e.g., BSD) complain if you use malloc.h
69	instead of stdlib.h.  Let's hope there are no systems out
70	there that need both.
71
722004-01-05  Erez Zadok  <ezk@cs.sunysb.edu>
73
74	* MIRRORS.{txt,html}: verify each mirror site, update to new
75	locations (if found), and remove stale mirrors URLs.
76
77	* updated copyright year to 2004 on all files.
78
79	* Makefile.am (install-snapshot): new directory to install
80	snapshots (now that am-utils home page is moved).
81
82	* INSTALL, README.autofs: remove forced text-mode.
83
84	* doc/am-utils.texi: fix Amd book URL.
85
86	* Makefile.am (EXTRA_DIST): include new mirror files in tarball.
87
88	* AUTHORS, BUGS, README, README.y2k, configure.in,
89	doc/am-utils.texi: revisions to use newer URLs for Web site, FTP,
90	and mailing lists.
91
92	* MIRRORS.{html,txt}: copied from 6.1 branch.
93
94	* doc/Makefile.am: install mirror lists officially.
95
962003-10-21  Ion Badulescu  <ionut@moisil.badula.org>
97
98	* buildall: added support for -i (make install), other fixes from
99	the trunk
100
1012003-08-27  Ion Badulescu  <ionut@buggy.badula.org>
102
103	* conf/nfs_prot/nfs_prot_freebsd3.h (na_uid): freebsd4.5 uses nfs
104	atttributes field named "uid".  So #define na_uid to it. [backport
105	of Erez's 6.1 change from 2002-02-26]
106
1072003-08-22  Nick Williams <Nick.Williams@morganstanley.com>
108
109	* amd/info_ldap.c (amu_ldap_init): don't try to pass a null
110	pointer as a string to plog, Solaris (and other OS's) don't like
111	it and will dump core.
112
1132003-07-17  Erez Zadok  <ezk@filer.fsl.cs.sunysb.edu>
114
115	* fsinfo/*.[hc]: rename fsinfo function log() to fsi_log(), to
116	avoid conflict with builtin function in gcc-3.3.
117
1182003-07-17  Philippe Troin  <phil@fifi.org>
119
120	* amd/amfs_auto.c (amfs_auto_mount): When pref:=NULL set am_pref
121	to strdup("") instead of NULL since this value will be
122	freed. Contributed by Matt Chapman <matthewc@cse.unsw.edu.au>.
123
1242003-06-09  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
125
126	* mk-amd-map/mk-amd-map.c (main): open temp db file using O_EXCL,
127	next best thing to using mkstemp().  Patch from Hendrik Scholz
128	<hscholz@raisdorf.net>.
129
1302003-05-08  Ion Badulescu  <ion@guppy.limebrokerage.com>
131
132	* libamu/mount_fs.c (compute_automounter_mount_flags): use
133	MNT2_GEN_OPT_AUTOMNTFS if available; minor cleanup, removed
134	redundant code for MNT2_GEN_OPT_OVERLAY
135
136	* m4/macros/header_templates.m4: added template for
137	MNT2_GEN_OPT_AUTOMOUNTED
138
1392003-04-23  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
140
141	* conf/transp/transp_sockets.c (create_amq_service): minor cpp
142	directive indentation and commenting.
143
1442003-04-22  Ion Badulescu  <ionut@moisil.badula.org>
145
146	* conf/transp/transp_sockets.c (create_amq_service): Ugly *BSD fix for
147	an RPC library DoS issue (original patch from Martin Blapp,
148	massaged into something more digestable by me)
149
1502003-04-13  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
151
152	* doc/Makefile.am (DVIPS): use proper options for dvips.
153
154	* doc/am-utils.texi (opts Option): document new 'unmount' option,
155	and better explain the 'nounmount' option.  Also some misc options
156	for better generation of html manual.
157
158	* doc/Makefile.am (install-html): support newer text2html 4.0
159	options, as older options were renamed or changed behavior.
160
161	* amd/autil.c (am_mounted): support new 'unmount' option, to allow
162	all file system mounts to timeout and thus expire.  This option is
163	useful for removable local media such as CD-ROMs, USB drives,
164	etc. so they can expire when not in use, and get unmounted (such
165	drives can get work out when they keep spinning).  Patch from
166	Christos Zoulas <christos@zoulas.com> (originally from Koji
167	Imada).
168
1692003-04-10  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
170
171	* configure.in: use AM_MAINTAINER_MODE, so maintainer-only rules
172	do not get added to Makefiles by default (they are confusing to
173	users who don't have autotools installed).
174
1752003-04-04  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
176
177	* libamu/xutil.c (switch_to_logfile): don't try to print logfile
178	if it is null (strlen core dump on solaris).  Bug report from John
179	P. Rouillard <rouilj@ieee.org>.
180
1812003-03-31  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
182
183	* fsinfo/fsinfo.8: typo co-ordinate -> coordinate.  Typo report
184	from Perry E. Metzger" <perry@piermont.com>.
185
1862003-03-20  Erez Zadok  <ezk@suse73.fsl.cs.sunysb.edu>
187
188	* minor new port: sparc64-unknown-linux-suse7.3.
189
1902003-03-20  Erez Zadok  <ezk@a-freebsd5.fsl.cs.sunysb.edu>
191
192	* minor new port: i386-unknown-freebsd5.0.
193
194	* configure.in: detect nfsclient/nfsargs.h.
195
196	* conf/nfs_prot/nfs_prot_freebsd3.h: include
197	<nfsclient/nfsargs.h>, needed in FreeBSD 5.0.
198
1992003-03-15  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
200
201	* amd/amd.8, amd/amd.8, fixmount/fixmount.8, hlfsd/hlfsd.8,
202	scripts/amd.conf.5, scripts/expn.1: minor spell checking and
203	extraneous space elimination.
204
2052003-01-25  Erez Zadok  <ezk@cs.sunysb.edu>
206
207	* BUGS (Note): document AIX-5.1 NFS-client side bug (hangs in
208	vmount).
209
2102003-01-25  Ion Badulescu  <ionut@moisil.badula.org>
211
212	*******************************************************************
213	*** Released am-utils-6.0.9					***
214	*******************************************************************
215
2162003-01-23  Ion Badulescu  <ion@guppy.limebrokerage.com>
217
218	* NEWS: updated for Darwin changes
219
220	* .cvsignore: added A.i386-apple-darwin6.0 and
221	A.sparc-sun-solaris2.9
222
223	* m4/macros/check_nfs_fh_dref.m4: darwin/rhapsody is another
224	freebsd22 derivative
225
2262002-12-28  Ion Badulescu  <ionut@moisil.badula.org>
227
228	* amd/srvr_nfs.c (start_nfs_pings): don't set FSF_PINGING if
229	pings are disabled
230
231	* libamu/misc_rpc.c (make_rpc_packet): fix make_rpc_packet() on
232	64-bit big-endian platforms, bug report from Bill Fenner
233	<fenner@research.att.com>
234
235	* configure.in: increase library patchlevel
236
237	* libamu/xutil.c (amu_release_controlling_tty): close and reopen
238	file descriptors 0,1,2 before calling setsid()
239
2402002-12-27  Erez Zadok  <ezk@cs.sunysb.edu>
241
242	* updated copyright year to 2003 on all files
243
2442002-12-11  Ion Badulescu  <ionut@moisil.badula.org>
245
246	Solaris9 build fixes:
247
248	* amd/info_ldap.c (amu_ldap_rebind): call ldap_enable_cache() only
249	if configure detected it
250
251	* configure.in: check for ldap_enable_cache()
252
2532002-12-10  Erez Zadok  <ezk@localhost.localdomain>
254
255	* rename "aux/" subdir into "m4/" so as to avoid problems with
256	MS-DOS systems (where "AUX" is a reserved name).  This required
257	fixing numerous files.
258
2592002-11-21  Erez Zadok  <ezk@cs.sunysb.edu>
260
261	* config.guess.long: updated script so it will properly find the
262	version number of the new Itanium 2 machines running "Red Hat
263	Linux Advanced Workstation release 2.1AW (Derry)".  The script now
264	will report ia64-unknown-linux-rh2.1AW.
265
2662002-11-11  Ion Badulescu  <ion@guppy.limebrokerage.com>
267
268	* doc/am-utils.texi (Keep-alives): removed outdated info about not
269	maintaining the state of TCP NFS servers
270
2712002-10-01  Ion Badulescu  <ion@guppy.limebrokerage.com>
272
273	* hlfsd/hlfsd.h: removed sys_nerr declaration
274
275	* amq/amq.c, hlfsd/hlfsd.c, libamu/xutil.c: always use strerror()
276
277	* libamu/strerror.c: new file, strerror() implementation for
278	systems that don't have it
279
280	* libamu/Makefile.am: added strerror.c
281
282	* include/am_utils.h: debug code improvements ported from 6.1
283
284	* conf/mount/mount_aix.c: compile fix for --disable-debug
285
2862002-09-09  Ion Badulescu  <ion@guppy.limebrokerage.com>
287
288	*******************************************************************
289	*** Released am-utils-6.0.8					***
290	*******************************************************************
291
2922002-09-09  Ion Badulescu  <ion@guppy.limebrokerage.com>
293
294	* amd/srvr_nfs.c (nfs_timed_out): add #ifdef DEBUG around dlog
295
2962002-09-04  Ion Badulescu  <ion@guppy.limebrokerage.com>
297
298	* amd/mntfs.c (free_mntfs): sanity check for mf_refc [patch from
299	George Ross ported from 6.1]
300
301	* amd/srvr_nfs.c (nfs_timed_out): allocate a new XID on server
302	timeout to avoid problems with late ping replies [patch from
303	George Ross ported from 6.1]
304
3052002-07-11  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
306
307	* scripts/expn.{1,in}: fixed typos as reported by Thomas Klausner
308	<wiz@danbala.ifoer.tuwien.ac.at>.
309
3102002-06-26    <ezk@agora.fsl.cs.sunysb.edu>
311
312	* doc/Makefile.am (install-html): don't use locally hacked
313	texi2html features.
314
315	* doc/am-utils.texi: don't use ':' in @cindex entries.
316
3172002-06-24  Ion Badulescu  <ionut@moisil.badula.org>
318
319	* doc/am-utils.texi (automount2amd): minor rewording
320
321	* aux/macros/struct_nfs_args.m4: added test for aix51_nfs_args
322
323	* conf/nfs_prot/nfs_prot_aix5_1.h: rename aix42_nfs_args to
324	aix51_nfs_args, rename unknown fields to u<number>
325
3262002-06-24  Ion Badulescu  <ion@guppy.limebrokerage.com>
327
328	* buildall: use ksh for configure on aix5.1; pass the extra
329	arguments after "--" to configure, not to make; fix 'buildall -b'
330	on hpux9 and aix5.1
331
3322002-06-22  Ion Badulescu  <lionut@gonzales.badula.org>
333
334	* hlfsd/homedir.c (homedir): use setgid() instead of setegid()
335
336	* buildall: use ksh for configure on aix5.1
337
3382002-06-21  Ion Badulescu  <ion@guppy.limebrokerage.com>
339
340	* Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF
341
342	* conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails
343	with EINVAL and we have MOUNT_TYPE_NFS3_BIS defined, retry the
344	mount with the alternative nfs3_args structure
345
346	* conf/nfs_prot/nfs_prot_aix4_3.h: added alternative nfs3_args
347	structure, similar to that in aix5.1, for a hack that tries to
348	compensate for IBM's brain fart
349
350	* conf/nfs_prot/nfs_prot_aix5_1.h: new nfs_prot header for aix5.1+
351
352	* aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+
353
354	* BUGS: update for direct mounts on Linux; document the brokenness
355	of /bin/sh on AIX 5.1 and HP-UX 9
356
3572002-06-21  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
358
359	* ALL source/header files: change use of HAVE_FIELD_* macros to
360	HAVE_*, since aux/macros/check_field.m4 changed as well.
361
362	* configure.in, Makefile.am, bootstrap, aux/amdgrep,
363	aux/macros/*.m4: MAJOR port of autotool files from 6.1 branch, to
364	work with newer autotools.
365
3662002-06-21  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
367
368	* aux/macros/with_addon.m4: correct M4 quoting.
369
370	* aux/macros/cache_check_dynamic.m4: correct M4 quoting.
371
372	* bootstrap: show version of autotools being used.  Helps
373	maintainer debugging.
374
375	* configure.in: new proper syntax for libtool and
376	ansi2knr-filtering rules, required by autoconf 1.53 and higher.
377
3782002-06-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
379
380	* aux/GNUmakefile: new search paths for "update" target.
381
382	* config.guess, config.sub, doc/texinfo.tex, ltmain: updates from
383	the latest GNU distributions.
384
3852002-05-30  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
386
387	* config.guess.long: support SuSE version names in long
388	config.guess format.
389
3902002-05-03  Ion Badulescu  <ion@guppy.limebrokerage.com>
391
392	* hlfsd/homedir.c (homedir): last chance checking for zombies; 
393	(interlock): anal-retentive checking for all sorts of error
394	conditions during child recovery
395
396	* hlfsd/hlfsd.c (main): use SA_RESTART in sigaction
397	(cleanup): indentation
398
3992002-05-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
400
401	* scripts/lostaltmail.in (vrfy_user): unlink temp files if too
402	small.
403
4042002-03-29  Ion Badulescu  <ionut@moisil.badula.org>
405
406	* amd/nfs_start.c: use plog() instead of perror()
407
4082002-03-28  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
409
410	* amd/info_ldap.c: patch from "Sebastien Bahloul"
411	<sebastien.bahloul@medasys.org> to fix a simple initialization bug
412	and change "HE" to HE_ENT so as to compile on HPUX.
413
4142002-02-12  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
415
416	* scripts/lostaltmail.in: don't verify user if -noverify option
417	was turned on.  fix comment typo.
418
4192002-02-11  Ion Badulescu  <ion@guppy.limebrokerage.com>
420
421	* Ripped out all traces of autofs support
422
4232002-02-11  Ion Badulescu  <ion@guppy.limebrokerage.com>
424
425	* README: require newer auto-tools, update mailing list address
426
427	* README.autofs: point to the 6.1 branch for autofs support
428
4292002-01-20  Erez Zadok  <ezk@localhost.localdomain>
430
431	* updated copyright year to 2002 on all files
432
433	* hlfsd/hlfsd.h (HLFSD_VERSION): up version of hlfsd to 1.2,
434	because we made some important changes.
435
4362002-01-20  Ion Badulescu  <lionut@gonzales.badula.org>
437
438	* NEWS: document latest changes
439
440	* amd/map.c (unmount_mp): same fix as for hlfsd, update the
441	seconds field in mtime because Linux ignores the useconds field
442
443	* hlfsd/homedir.c: made some global vars static
444	(plt_init): remove all trailing '/' chars from root's home;
445	use root's home, not the username (silly bugfix)
446
4472002-01-20  Ion Badulescu  <lionut@gonzales.badula.org>
448
449	* hlfsd/homedir.c (homedir): don't special case uid 0 as having /
450	as home; instead use the root accounts home
451	(plt_init): properly initialize root_home from the root account's
452	home directory, or as "" if root doesn't exist
453	(plt_reset): free root_home
454
4552002-01-20  Ion Badulescu  <lionut@gonzales.badula.org>
456
457	* hlfsd/hlfsd.h: update prototype for homedir()
458
459	* hlfsd/stubs.c (nfsproc_lookup_2_svc): get the credentials at the
460	begining of the function and assign the uid to the symlink
461	attributes; increment the mtime's seconds field each time the uid
462	changes
463	(nfsproc_lookup_2_svc): ditto
464	(nfsproc_readlink_2_svc): pass the groupid to homedir();
465
466	* hlfsd/homedir.c (homedir): take a second argument, the user's
467	primary gid, and switch to it when doing filesystem operations;
468	save the old uid and gid and revert to them instead of the
469	hardcoded uid 0
470
4712002-01-10  Ion Badulescu  <ion@guppy.limebrokerage.com>
472
473	* conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo
474	parameter 2 orders of magnitude larger than udp (patch from Trond
475	Myklebust)
476
4772001-12-13  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
478
479	* scripts/amd.conf.5: correct title to section 5, not 8.  Correct
480	reversed meaning of nfs_proto and nfs_vers parameters.  Typos
481	reported by Peter Breitenlohner <peb@mppmu.mpg.de>.
482
4832001-12-02  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
484
485	* scripts/ctl-amd.in: run "test" or "[" in front of -x/-f
486
487	* scripts/ctl-hlfsd.in: run "test" or "[" in front of -x/-f
488
4892001-11-29  Ion Badulescu  <ion@guppy.limebrokerage.com>
490
491	* tasks: updated
492
493	* amq/amq.8: better document the -f option
494
4952001-11-29  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
496
497	* libamu/mount_fs.c (mnt_flags): same as for nolock option
498	handling, do for maxgrps.
499
5002001-11-28  Philippe Troin  <phil@fifi.org>
501
502	* libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount
503	opts.
504	(compute_nfs_args): Added nolock handling.
505	Adapted from an original patch from Avery Pennarun <apenwarr@nit.ca>.
506
5072001-11-27  Erez Zadok  <ezk@a-hpux11i.fsl.cs.sunysb.edu>
508
509	* ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler.
510	Couldn't use bison/flex because of 32-bit vs. 64-bit binaries
511	issues.  Had to use HP's own yacc/lex.  This was discovered by
512	using HP's non-GNU make program.
513
5142001-11-26  Erez Zadok  <ezk@a-hpux11i.fsl.cs.sunysb.edu>
515
516	* */Makefile.am: don't use $(OBJECTS) directly because it is no
517	longer automatically defined now that Automake has automatic
518	dependency tracking (which I turn off).  Instead, hard-code
519	minimal dependencies on am-utils' header files to depend on
520	PROG_OBJECTS (where PROG is the program name being built)
521
522	* amd/nfs_start.c (checkup): cast getpagesize() return val to
523	long, to avoid conflicts in division of a long by an int (on
524	hpux11i, with their ANSI/C compiler).
525
526 	* INSTALL, doc/am-utils.texi: port updates
527
528	* minor new ports: ia64-hp-hpux11.20, i386-unknown-freebsd5.0,
529	i386-unknown-freebsd4.4, i386-pc-linux-rh7.2,
530	ia64-unknown-linux-rh7.1.
531
532	* include/am_defs.h: actually declare extern definition for
533	xdr_callmsg() if it doesn't already exist.
534
535	* aux/macros/header_templates.m4: declare template for
536	HAVE_EXTERN_XDR_CALLMSG.
537
538	* configure.in: check for extern definition for xdr_callmsg()
539	because hpux11 has that function but a bad <rpc/xdr.h> header file
540	that doesn't define it in the right place.
541
542	* libamu/mount_fs.c (print_nfs_args): cast ->rdev to u_long b/c
543	on hpux11 its type is dev_t.
544
545	* conf/nfs_prot/nfs_prot_hpux11.h: don't support autofs on hpux11
546	yet.
547
5482001-11-16  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
549
550	* buildall (Usage): separate $cnf_flags and $extra_cnf_flags due
551	to /bin/sh limitations.
552
553	* bootstrap (cmd): turn back on --ignore-deps (this Automake may
554	have problems)
555
556	* libamu/xutil.c: remove __attribute__ format_arg statement for 
557	expand_error() because this function, although taking a
558	printf-like string, does not use it in a printf function; it only
559	expands a non-printf amd-special syntax %m.
560
5612001-11-14  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
562
563	* conf/nfs_prot/nfs_prot_linux.h: define KERNEL_VERSION macro
564	before using it because older Linux systems don't define this
565	(e.g., Red Hat 4.2)
566
5672001-11-13  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
568
569	* configure.in: convert to using autoconfig 2.52.  Use new macros.
570	AC_MSG_NOTICE for messages; AH_TOP and AH_BOTTOM to top and bottom
571	parts of autogenerated config.h.in; increase autoconf
572	pre-requisite to version 2.50; use AC_DISABLE_SHARED not
573	AM_DISABLE_SHARED.
574
575	* aux/macros/cache_check_dynamic.m4: finally I can use the new
576	$ECHO_N syntax in macros instead of $ac_n, since I'm using a new
577	autoconf.  Isn't it nice to be such forward looking and having
578	placed a comment "XXX: use the next line for autoconf-2.14 and
579	newer"... :-)
580
581	* aux/macros/save_state.m4: highlight message with ***'s
582
583	* aux/macros/host_macros.m4: use proper M4 quoting ([], not "")
584
585	* config.{guess,sub}: upated from latest prep ftp distributions
586	
587	* depcomp, missing, mkinstalldirs: upated from latest Automake 1.5
588
589	* ltmain.sh: updated from latest Libtool 1.4.2
590	
591	* bootstrap: finally, new autoconf doesn't print silly "AC_TRY_RUN
592	called without default to allow cross compiling" warnings.  And,
593	it only took like 3+ years to fix this.  But, now it has anoter,
594	albeit less annoying warning (which the manual says to ignore):
595	"AC_PROG_LEX invoked multiple times".
596	When autoheader is run, don't treat the "all clear" message
597	"config.h.in is update" as an error.
598
599	* ltconfig: removed. not needed with latest version of libtool
600
601	* aux/macros/header_templates.m4: replaces acconfig.h and defines
602	all CPP macros we use in this package, including their
603	accompanying C /* comments */.
604
605	* acconfig.h: removed. replaced by new autoconf system to generate
606	header templates using AH_TEMPLATE macros and such.
607
608	* aux/macros/msg.m4: removed.  Replaced with new macro
609	AC_MSG_NOTICE 
610
611	* Makefile.am (EXTRA_DIST_AUX): remove aux/macros/msg.m4.  Add
612	aux/macros/header_templates.m4
613
614	* configure.in: early, in host_macros.m4, I'm renaming silly linux
615	$host_os names such as linux-gnu and lignux to plain "linux".
616	Alas, RMS finally had his way and libtool will NOT recognize
617	"linux" as a valid system, only "linux-gnu".  Sigh.  Rich, I know
618	you're responsible to Linux's fame.  Kudos to you and your
619	cohorts.  But please don't force the rest of us to use those ugly
620	or long names.  Solution: temporarily name $host_os to "linux-gnu"
621	before calling the AC_PROG_LIBTOOL macro, then name it back to
622	"linux".  (That way I don't have to maintain my own version of
623	ltmain.sh.
624
625	* buildall: force running configure -C (to create and use a local
626	config.cache file).  New default behavior for autoconf is NOT to
627	use cache files.  Yeah, that's gonna fly real well with am-utils,
628	with its 700+ automatic tests.
629
630	* conf/mtab/mtab_mach3.c (rewrite_mtab): use mkstemp instead of
631	mktemp, if the former is available.
632
633	* conf/mtab/mtab_file.c (rewrite_mtab): use mkstemp instead of
634	mktemp, if the former is available.
635
636	* mk-amd-map/mk-amd-map.c (main): use mkstemp instead of mktemp,
637	if the former is available.
638
639	* aux/macros/check_nfs_socket_connection.m4: AC_DEFINE calls must
640	be on a separate line, as per new Autoconf manual, to avoid some
641	Bourne Shell syntactical bizarreness.
642
6432001-11-12  Ion Badulescu  <ionut@buggy.badula.org>
644
645	* libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer
646	pointing to '\0' on success, so we need to allow for it. This
647	fixes the problem with rejecting numerical mount options if they
648	are the last option in the string.
649
650	* configure.in: increased library patchlevel
651
652	* NEWS: document the parsing bug; document other previous changes
653
6542001-10-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
655
656	* aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc. 
657	* BUGS: Explain this.
658
6592001-10-02  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
660
661	* doc/am-utils.texi (redhat-ctl-amd): document new script.
662
663	* scripts/Makefile.am: build redhat-ctl-amd but do not install it.
664
665	* scripts/redhat-ctl-amd.in: new script, useful to correctly
666	control Amd on Red Hat Linux systems.  Script adapted from ctl-amd
667	and Red Hat's own rc.d script.
668	
6692001-10-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
670
671	* conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h.
672	(MNT2_NFS_OPT_AUTO): Disable.
673	* Makefile.am (EXTRA_DIST_CONF): Reflect new name.
674	* aux/macros/check_nfs_prot_headers.m4: Use this file for all
675	Tru64 UNIX V5 and up releases.
676
6772001-09-24  Ion Badulescu  <ionut@moisil.badula.org>
678
679	* include/mount_headers1.h (MFS): define as 1 instead of nothing,
680	to fix compile problems on OS X (patch from Ahmon Dancy)
681
682	* aux/macros/try_compile_anyfs.m4 (MFS): ditto
683
6842001-08-13  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
685
686	* doc/am-utils.texi (in_network Selector Variable): document
687	expanded syntax
688
689	* libamu/wire.c (is_network_member): support for network/netmask
690	as well as network/bits syntax in in_network()
691
6922001-07-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
693
694	* amd/get_args.c (get_args): a better way to handle GNU and
695	non-GNU getopts without strdup-ing the getopt string.
696
6972001-07-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
698
699	* amd/info_ldap.c (amu_ldap_rebind): The first time you called
700	amu_ldap_init, aldh->ldap is not set.  So when amu_ldap_rebind is
701	called, this function is absolutely sure to return 0.  Then
702	amu_ldap_init return 0 without having opened any LDAP connection.
703	This is not the correct behaviour.
704	(get_ldap_timestamp, amu_ldap_search): error to free an object
705	("entry") that is automatically freed by the library.  Patch from
706	Sebastien Bahloul <sebastien.bahloul@mangoosta.fr>.
707
7082001-07-19  Ion Badulescu  <ionut@moisil.badula.org>
709
710	* AUTHORS (variables): added Philippe Troin
711
712	* Makefile.am (EXTRA_DIST): added bootstrap
713
714	* amd/map.c (unmount_node_wrap): fix a couple of comments (already
715	fixed in 6.1)
716
717	* amd/amfs_auto.c (try_mount): print the path for the request that
718	failed (already in 6.1)
719
720	* include/am_compat.h (xfs_args_t): define as u_int if the
721	filesystem is supported but we can't autodetect the type for
722	xfs_args_t. This allows Linux to mount xfs filesystems.
723
7242001-07-12  Philippe Troin  <phil@fifi.org>
725
726	* aux/macros/with_addon.m4: Created. Wrapper around AC_ARG_WITH
727	with only the `yes' and `no' as possible answers.
728
729	* configure.in: Added support for disabling LDAP and HESIOD even
730	if the supporting libraries are found.
731
732	* Makefile.am (EXTRA_DIST_AUX): Added with_addon.m4 macro file.
733
7342001-07-12  Philippe Troin  <phil@fifi.org>
735
736	* include/am_compat.h: Removed forced definition of MNTTAB_OPT_DEV
737	if MNT2_GEN_OPT_NODEV was found. Actually, the dev= (SVR4) options
738	and the linux nodev options are different beasts.
739
740	* conf/mount/mount_linux.c (opt_map): Removed the MNTTAB_OPT_DEV
741	entry (not really necessary on linux).
742
7432001-07-12  Philippe Troin  <phil@fifi.org>
744
745	* amd/get_args.c (get_args): Prepend "+" to the getopt string if
746	HAVE_GNU_GETOPT to avoid getting all options (even the ones after
747	the first non-option argument) slurped in by GNU getopt.
748
749	* aux/macros/check_gnu_getopt.m4: Created. Defines HAVE_GNU_GETOPT
750	if GNU/glibc getopt implementation is detected.
751
752	* configure.in: Added call to AC_CHECK_GNU_GETOPT.
753
754	* acconfig.h: Document HAVE_GNU_GETOPT.
755
756	* Makefile.am (EXTRA_DIST_AUX): Added check_gnu_getopt.m4 macro file.
757
7582001-06-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
759
760	*******************************************************************
761	*** Released am-utils-6.0.7					***
762	*******************************************************************
763
7642001-06-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
765
766	* config.guess, config.sub, doc/texinfo.tex: updates from the
767	latest GNU distributions.
768	
769	* INSTALL, doc/am-utils.texi (Supported Platforms): update info on
770	freebsd5.0
771
772	* LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all
773	am-utils URL references use www.am-utils.org, not the columbia
774	URL.
775
7762001-05-24  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
777
778	* conf/transp/transp_sockets.c (create_nfs_service): cast to u_long
779	to ensure clean compile on freebsd5 and bsdi2.
780
7812001-05-19  Erez Zadok  <ezk@kosh.dyn.optonline.net>
782
783	* conf/mount/mount_linux.c: typo: added comma after '0' element.
784
7852001-05-19  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
786
787	* conf/mount/mount_linux.c (linux_nfs_error): don't special case
788	the 0 result, just put it into the translation list
789
7902001-05-19  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
791
792	* conf/mount/mount_linux.c (linux_nfs_error): don't report success
793	(0) as error (NE_IO)!
794
7952001-05-18  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
796
797	* amd/amfs_host.c (amfs_host_mount): don't fail the mount if at
798	least one share is already mounted
799
8002001-05-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
801
802	*******************************************************************
803	*** Released am-utils-6.0.6					***
804	*******************************************************************
805
8062001-05-01  Ion Badulescu  <ionut@gonzales.dev.hydraweb.com>
807
808	* conf/mount/mount_linux.c: fixed stupid error in the linux
809	nfs_errormap[], which was mapping ENOENT to success!!!
810
8112001-04-28  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
812
813	* BUGS: added info about the direct mount problems on Linux and
814	about the kernel patches on www.am-utils.org.
815
816	* amd/autil.c (forcibly_timeout_mp): always log a message when the
817	forced unmount request is ignored
818
8192001-04-23  Ion Badulescu  <ionut@buggy.dev.hydraweb.com>
820
821	* amd/ops_autofs.c (autofs_lookuppn): renamed
822	CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS
823	(leftover from 03/29/01)
824
8252001-04-14  Erez Zadok  <ezk@whitestar.dyn.optonline.net>
826
827	* COPYING: update copyright year
828
829	* amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c,
830	amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c,
831	amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c,
832	amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c,
833	conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c,
834	conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c,
835	conf/transp/transp_sockets.c, conf/transp/transp_tli.c,
836	libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog
837	messages for clarity, to avoid duplication, to better recognize
838	what the message means and where it ran, and to fix typos.
839
840	* amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of
841	function's name to the beginning of the function, before any other
842	messages are logged.
843
8442001-04-05  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
845
846	* include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS,
847	MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO
848	work (needed for MacOS X); removed duplicate definition of NFS.
849
8502001-04-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
851
852	* released snapshot am-utils-6.0.6s2
853
8542001-03-29  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
855
856	* amd/amd.h, amd/amfs_auto.c, amd/conf.c,
857	doc/am-utils.texi,
858	scripts/amd.conf-sample, scripts/amd.conf.5:
859	renamed selectors_on_default to selectors_in_defaults,
860	kept the former as a deprecated option;
861	renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS;
862	renamed gopt_selectors_on_default() to gopt_selectors_in_defaults()
863
8642001-03-15  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
865
866	* conf/mount/mount_linux.c (parse_opts): added support for lofs
867	(mount_linux): support lofs through bind mounts and/or FiST lofs
868
869	* scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to
870	/var/mail and /usr/spool/mail
871
872	* conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if
873	kernel is newer than 2.4.0
874	(MNTTYPE_LOFS): ditto
875
876	* acconfig.h: added MNT2_GEN_OPT_BIND
877
878	* configure.in: bumped up library patchlevel; added detection for
879	the MS_BIND generic mount option
880
8812001-02-28  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
882
883	* aux/macros/check_mount_trap.m4,
884	aux/macros/check_nfs_fh_dref.m4,
885	aux/macros/check_nfs_prot_headers.m4,
886	aux/macros/type_recvfrom_fromlen.m4,
887	aux/macros/type_yp_order_outorder.m4:
888	Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to
889	aix[1-3], osf[1-3] and hpux[6-9].
890
8912001-02-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
892
893	* check_mount_style.m4, check_mount_trap.m4,
894	check_network_transport_type.m4, check_nfs_fh_dref.m4,
895	check_nfs_prot_headers.m4, check_nfs_sa_dref.m4,
896	check_nfs_socket_connection.m4, os_cflags.m4,
897	type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more
898	cleanup (use [[0-1]] instead of M4 changequote commands).
899
900	* Makefile.am: removed unused conf/trap/trap_hpux11.h
901
9022001-02-27  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
903
904	* aux/macros/check_network_transport_type.m4,
905	aux/macros/check_mount_style.m4,
906	aux/macros/check_mount_trap.m4,
907	aux/macros/check_network_transport_type.m4,
908	aux/macros/check_nfs_fh_dref.m4,
909	aux/macros/check_nfs_prot_headers.m4,
910	aux/macros/check_nfs_sa_dref.m4,
911	aux/macros/check_nfs_socket_connection.m4,
912	aux/macros/os_cflags.m4,
913	aux/macros/type_auth_create_gidlist.m4,
914	aux/macros/type_recvfrom_fromlen.m4,
915	aux/macros/type_yp_order_outorder.m4:
916	Reworked the scripts, so that a new _unknown_ version of a known OS
917	will use the option for the newest _known_ version of that OS. For
918	example, when freebsd6 comes out, it will use the stuff for
919	freebsd5, not the stuff for freebsd2. This makes configure more
920	likely to succeed on new systems/versions.
921
9222001-02-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
923
924	* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in
925	distributions.
926
9272001-02-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
928
929	* libamu/mtab.c: added the functions hasmnteq and haseq to
930	ease checks for non-numeric values in opt=value strings.
931	Recoded hasmntval to qualify input as numeric, allow hex and
932	octal strings on rhs of =, and log when the value is missing
933	or invalid.
934
935	* conf/mount/mount_linux.c: revised mount_linux to use new
936	hasmnteq function to extract type of non-nfs mounts, and added
937	a log message to catch possible failure of strdup.
938
939	* amd/am_ops.c: revised merge_ops to use new haseq function
940
941	* amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to
942	discover protocol setting.
943
944	* include/am_utils.h: added function prototypes for hasmnteq
945	and haseq
946
9472001-02-19  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
948
949	* include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid
950	pulling in unwanted declarations from 2.2.19pre and 2.4.1ac
951
952	* include/am_defs.h (_LINUX_NFS3_H): ditto
953
954	* conf/nfs_prot/nfs_prot_linux.h: whitespace, comments
955
9562001-02-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
957
958	* aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo"
959	command.
960
9612001-02-18  Erez Zadok  <ezk@earth.cs.columbia.edu>
962
963	* released snapshot am-utils-6.0.6s1
964
965	* aux/macros/mount_headers.m4, include/mount_headers[12].h: split
966	mount_headers.h in two because one relative header (nfs_prot.h)
967	file cannot be included inside another from the start directory of
968	the first (it's relative to the directory of the first).
969
9702001-02-09  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
971
972	* AUTHORS: added Ahmon Dancy <dancy@franz.com>
973
974	* (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy
975
976	* aux/macros/mount_headers.m4: moved all the C code into a
977	separate file, include/mount_headers.h; the effect is that
978	configure goes down in size by a factor of 2.5!
979
980	* include/mount_headers.h: new file, with C code from
981	aux/macros/mount_headers.m4
982
9832001-02-01  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
984
985	* conf/mount/mount_linux.c: made linux_nfs_error() more robust.
986
9872001-02-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
988
989	*******************************************************************
990	*** Released am-utils-6.0.5					***
991	*******************************************************************
992
9932001-02-01  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
994
995	* conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition
996	of nfs_error here, from mount_linux.c, so that it can actually be
997	used.
998
999	* conf/mount/mount_linux.c: added unused errno 41 to the
1000	nfs_errormap array, lest the following errno's get shifted up by
1001	one!
1002
10032001-01-12  Ion Badulescu  <ionut@buggy.dev.hydraweb.com>
1004
1005	* include/am_defs.h: don't allow linux/fs.h to be sucked in via
1006	linux/auto_fs.h, it breaks the compile on glibc platforms.
1007
1008Sat Jan 13 00:04:38 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1009
1010	* amd/amd.h (autofs_lookuppn): Fixup whitespace.
1011	* amd/amfs_auto.c (amfs_auto_bgmount): Likewise.
1012	* amd/amfs_error.c: (amfs_error_match): Likewise.
1013	* amd/amfs_host.c (fetch_fhandle): Fixup whitespace.  Remove
1014	unnecessary temporary variable.
1015	* amd/info_file.c (read_line): Likewise.
1016	(search_or_reload_file): Likewise.
1017	* amd/info_ldap.c (get_ldap_timestamp): Likewise.
1018	* amd/nfs_prot_svc.c: Likewise.
1019	* amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn,
1020	foofs_readlink, foofs_ffserver): Likewise. 
1021	* amd/ops_autofs.c (autofs_bgmount): Likewise.
1022	* amd/ops_lofs.c (lofs_match): Likewise.
1023	* amd/ops_nfs.c (got_nfs_fh): Fixup whitespace.
1024	* amd/ops_xfs.c (xfs_match): Likewise.
1025	* amd/srvr_amfs_auto.c (srvrlog): Line break.
1026	* amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged,
1027	nfs_srvr_port): Fixup whitespace.
1028	* conf/nfs_prot/nfs_prot_bsdi2.h: Likewise.
1029	* conf/nfs_prot/nfs_prot_hpux.h: Likewise.
1030	* conf/nfs_prot/nfs_prot_hpux11.h: Likewise.
1031	* conf/nfs_prot/nfs_prot_irix5.h: Likewise.
1032	* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
1033	* conf/nfs_prot/nfs_prot_nextstep.h: Likewise.
1034	* conf/nfs_prot/nfs_prot_osf2.h: Likewise.
1035	* conf/nfs_prot/nfs_prot_osf4.h: Likewise.
1036	* conf/nfs_prot/nfs_prot_osf5_1.h: Likewise.
1037	* conf/nfs_prot/nfs_prot_sunos3.h: Likewise.
1038	* conf/nfs_prot/nfs_prot_sunos4.h: Likewise.
1039	* conf/nfs_prot/nfs_prot_ultrix.h: Likewise.
1040	* conf/transp/transp_tli.c (get_mount_client): Likewise.
1041	* hlfsd/nfs_prot_svc.c: Likewise.
1042	* include/am_defs.h (sys_errlist): Likewise.
1043	* include/am_utils.h (am_get_progname, am_get_hostname,
1044	amq_program_1): Likewise.
1045	(nfsxprt): Moved declaration.
1046
1047Fri Jan 12 23:46:31 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1048
1049	* hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001.
1050
1051Fri Jan 12 23:31:45 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1052
1053	Removed support for amq -M.
1054
1055	* acconfig.h (ENABLE_AMQ_MOUNT): Removed.
1056	* aux/macros/opt_amq_mount.m4: Removed.
1057	* Makefile.am (EXTRA_DIST_AUX): Don't distribute
1058	opt_amq_mount.m4.
1059	* configure.in (AC_OPT_AMQ_MOUNT): Removed invocation.
1060
1061	* amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed.
1062	* amd/amq_svc.c (amq_program_1): Removed amq -M support.
1063	* amq/amq.c (mount_map): Removed.
1064	(main): Removed -M option handling.
1065	Removed transport-type specific CLIENT creation.
1066	(get_secure_amd_client, amq_bind_resv_port, privsock): Removed.
1067
1068	* amq/amq.8: Removed -M documentation.
1069	* doc/am-utils.texi (Top-level Filesystem): Removed amq -M
1070	reference, but retain comment on mount -t amd.
1071	(Controlling Amd): Likewise.
1072
1073	* tasks: Removed this task.
1074
10752001-01-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1076
1077	* Makefile.am (EXTRA_DIST): distribute new LDAP files.
1078
1079	* README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information,
1080	proposed Schema, and internet draft.
1081
1082Fri Jan 12 22:27:07 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1083
1084	* Support Tru64 UNIX V5.1:
1085
1086	* conf/nfs_prot/nfs_prot_osf5_1.h: New file.
1087
1088	* Makefile.am (EXTRA_DIST_CONF): Distribute it.
1089
1090	* aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has
1091	AutoFS, need to disable it until a port exists.
1092
1093	* INSTALL, doc/am-utils.texi (Supported Platforms): Mention new
1094	minor port.
1095
10962001-01-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1097
1098	* ALL: bump copyright year to 2001.
1099
11002001-01-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1101
1102	* acconfig.h: correct comments for NODEV/NONDEV mount options
1103
1104Fri Jan  5 05:12:02 2001  Erez Zadok  <ezk@subzero.cs.columbia.edu>
1105
1106	* libamu/xdr_func.c: removed ugly casts to "groups*", now that
1107	irix6's nfs_prot.h is fixed.
1108
1109	* conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of
1110	<rpcsvc/mount.h> here so we don't have to include this header.
1111
11122001-01-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1113
1114	* conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to
1115	struct groups, not the pointer to this struct.
1116
1117	* include/am_xdr_func.h: prototype should take "groups *" as 2nd
1118	arg.
1119
1120	* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change 
1121	casting of second arg of xdr_groups to "groups *".  It's only
1122	needed for irix6, due to problems with xdr_groups on that platform.
1123	(xdr_groups): prototype should take "groups *" as 2nd arg.
1124
1125	* conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern
1126	definition.  Report from Ahmon Dancy <dancy@franz.com>.	
1127
11282000-12-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1129
1130	* released snapshot am-utils-6.0.5s4
1131
1132	* minor port i386-unknown-freebsd4.2 (documented)
1133
11342000-12-07  Ion Badulescu  <lionut@gonzales.dev.hydraweb.com>
1135
1136	* configure.in (LIBTOOL_LDFLAGS): fix libtool version
1137
11382000-12-02  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
1139
1140	* doc/am-utils.texi (opts Option): document lock/nolock
1141
1142	* libamu/mount_fs.c (mnt_flags): allow the use of the "nolock"
1143	option
1144
1145	* include/am_defs.h: don't include <linux/fs.h> on a glibc2 system
1146
1147	* include/am_compat.h: define the "nolock" mnttab option if the
1148	NONLM NFS mount option is defined
1149
1150	* acconfig.h: added MNT2_NFS_OPT_NONLM
1151
1152	* configure.in: added detection of the NONLM Linux NFS mount
1153	option; added a clarification for the library versioning rules and
1154	increased the patchlevel
1155
11562000-11-27  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
1157
1158	* libamu/wire.c (getwire_lookup): truncate the hostname to
1159	MAXHOSTNAMELEN characters.
1160
11612000-11-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1162
1163	* include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to
1164	256 bytes, not 64.   Suggestion form Kris Kennaway
1165	<kris@FreeBSD.org>.
1166
11672000-11-26  Erez Zadok  <ezk@dmath5.geometrie.tuwien.ac.at>
1168
1169	* configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount
1170	options kerb, rdirplus, readdirsize, and xlatecookie
1171	(NetBSD-1.5K).
1172
1173	* acconfig.h: recognize NFS mount options rdirplus, readdirsize,
1174	and xlatecookie (NetBSD-1.5K)
1175
11762000-11-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1177
1178	* amd/srvr_nfs.c: comment on NFS proto search order.
1179
1180	* libamu/xutil.c (real_plog): don't try to write the last byte of
1181	the fmt buf.  Security suggestion from NetBSD: Thomas Klausner
1182	<wiz@danbala.ifoer.tuwien.ac.at>
1183
11842000-11-22  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
1185
1186	* amd/amfs_auto.c (amfs_auto_bgmount),
1187	amd/ops_autofs.c (autofs_bgmount): removed the initialization of
1188	fattr.na_fileid, it is now done in map.c when the map is initialized
1189
1190	* amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not
1191	to 0, to avoid cache aliasing problems on Linux (and to follow the
1192	NFS spec!)
1193
11942000-11-22  Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
1195
1196	* libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf
1197	(security)
1198
1199	* libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use
1200	__attribute__, __format__, and __printf__ for GCC string auditing.
1201
1202	* wire-test/wire-test.8: this is not a section 8L man page.
1203
1204	* libamu/xutil.c (expand_error): don't use sys_nerr on systems
1205	that support strerror().
1206	(dplog): fmt is const
1207	(plog): fmt is const
1208	(real_plog): fmt is const.  use new expand_error function with its
1209	new return value. be more careful about running off the end of
1210	char[] fixed size buffers.
1211
1212	* libamu/wire.c (getwire): fix alignment error on alpha using an
1213	extra automatic storage variable ifrpool.
1214
1215	* hlfsd/hlfsd.c (fatal): use proper printf style to plog.
1216
1217	* fsinfo/fsinfo.c (find_username): getlogin() returns a const.
1218
1219	* fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use
1220	vfprintf.
1221
1222	* fsinfo/fsi_lex.l (yyerror): use vfprintf.
1223
1224	* fixmount/fixmount.8: this is not a section 8L man page.
1225
1226	* doc/am-utils.texi (Hesiod maps): fixed typo.
1227
1228	* amd/sched.c (do_task_notify): typo in comment.
1229
1230	* amd/opts.c (expand_op): expand_error[] is a const char *.
1231
1232	* amd/amd.c (main): use proper printf style to plog.
1233
12342000-11-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1235
1236	* libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize
1237	proplist mnttab flag.  Bug fix from Wolfram Klaus
1238	<klaus@physik.fu-berlin.de>.
1239
12402000-11-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1241
1242	* released snapshot am-utils-6.0.5s3
1243
1244	* updated config.guess, config.sub, and doc/texinfo.tex from
1245	mirrors
1246
1247	* Makefile.am (update): proper updating of config.* and texinfo
1248	from mirrors.
1249
1250	* aux/macros/check_nfs_prot_headers.m4: newer netbsd systems
1251	reports their system name as "netbsdelf" in config.guess.
1252
12532000-11-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1254
1255	* released snapshot am-utils-6.0.5s2
1256
12572000-11-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1258
1259	* doc/am-utils.texi (opts Option): document new mount option
1260	"proplist"
1261
1262	* include/am_compat.h: define amd mount option "proplist" if the
1263	system doesn't recognize it, but the NFS bit flag exists.
1264
1265	* configure.in, acconfig.h: recognize/support "proplist" NFS mount
1266	option in Amd, useful under DU-4.0 to process ACLs over NFS
1267	mounts.
1268
12692000-11-10  Ion Badulescu  <ib42@earth.cs.columbia.edu>
1270
1271	* conf/mount/mount_linux.c (mount_linux): removed unnecessary
1272	rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+
1273
12742000-11-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1275
1276	* MIRRORS (Note): added a mirror at ufl.edu
1277
12782000-10-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1279
1280	* scripts/am-eject.in: accept "cdrom" and "floppy" as arguments.
1281
12822000-10-11  Erez Zadok  <ezk@lorien.dev.hydraweb.com>
1283
1284	* amq/amq.8: synchronize Amq's options with reality
1285
1286	* amq/amq.c (main): synchronize Amq's usage() string with reality
1287
12882000-10-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1289
1290	* scripts/ctl-amd.in: add targets condrestart (redhat) and
1291	reload.
1292
12932000-10-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1294
1295	* scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is
1296	defined.
1297
12982000-10-02  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
1299
1300	* aux/macros/mount_headers.m4: only include <linux/fs.h>
1301	on a non-glibc2 system
1302
1303	* aux/macros/try_compile_anyfs.m4: ditto
1304
1305	* aux/macros/check_mount_type.m4: linux 2.4 stores loadable modules
1306	in a different directory structure
1307
1308	* aux/macros/check_mnttab_type.m4: ditto
1309
1310	* aux/macros/check_fs_mntent.m4: ditto; also, replace the nfs3
1311	linux hack with a hopefully more stable hack
1312
13132000-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1314
1315	* amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not
1316	\a.
1317
13182000-09-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1319
1320	* include/am_utils.h: removed unused field opt_autopref
1321
1322	* amd/opts.c: removed unused variable $autopref
1323
13242000-09-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1325
1326	* released snapshot am-utils-6.0.5s1
1327
13282000-09-11  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
1329
1330	* aux/macros/check_fs_mntent.m4 (_LINUX_NFS_XDR_H): define it so
1331	linux/nfs_xdr.h doesn't get included (not intended for user space)
1332
13332000-09-05  Erez Zadok  <ezk@aladdin.dev.hydraweb.com>
1334
1335	* conf/mtab/mtab_svr4.c (lockfile): function not needed unless
1336	MOUNT_TABLE_ON_FILE is defined.
1337	mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE.
1338	(update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE.
1339
13402000-09-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1341
1342	* buildall (Usage): typo in usage string
1343
13442000-08-25  Erez Zadok  <ezk@lynn.soscorp.com>
1345
1346	* conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may
1347	is no defined on older Linux systems (kernel 2.0.36)
1348
13492000-08-19  Erez Zadok  <ezk@earth.cs.columbia.edu>
1350
1351	* scripts/amd.conf.5: correct swapped descriptions for ldap_base
1352	and ldap_hostports.
1353
1354	* doc/am-utils.texi: correct swapped descriptions for ldap_base
1355	and ldap_hostports.
1356
1357	* scripts/amd.conf-sample: swap examples for ldap_base and
1358	ldap_hostports.
1359
13602000-08-13  Erez Zadok  <ezk@earth.cs.columbia.edu>
1361
1362	* scripts/amd.conf-sample: -O is CLI equivalent to "os"
1363	amd.conf parameter
1364
13652000-07-30  Erez Zadok  <ezk@earth.cs.columbia.edu>
1366
1367	* scripts/amd.conf-sample (nfs_retransmit_counter): correct
1368	meaning and use of parameter
1369
13702000-07-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1371
1372	* doc/am-utils.texi: updated URLs to www.am-utils.org.
1373
13742000-07-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1375
1376	*******************************************************************
1377	*** Released am-utils-6.0.4					***
1378	*******************************************************************
1379
13802000-07-08  Erez Zadok  <ezk@earth.cs.columbia.edu>
1381
1382	* configure.in: update shared library information
1383
13842000-07-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1385
1386	* INSTALL: document osf4.0f
1387
1388	* doc/am-utils.texi (Supported Platforms): document osf4.0f
1389
13902000-06-19  Erez Zadok  <ezk@vir.cs.columbia.edu>
1391
1392	* doc/am-utils.texi (dollar Selector Variable): document
1393	${dollar}.
1394
1395	* amd/opts.c: special new variable ${dollar} which expands into a
1396	literal '$' sign.  Otherwise there is no way to include a literal
1397	dollar symbol in an amd map.
1398
13992000-06-11  Erez Zadok  <ezk@earth.cs.columbia.edu>
1400
1401	* amd/opts.c: correct comment name at top of opt_fields.
1402
14032000-06-11  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
1404
1405	* config.guess.long: munge config.guess' output so that intel
1406	linux appears as i386-pc-linux
1407
1408Fri Jun  9 16:06:56 2000  Erez Zadok  <ezk@defiant.dev.hydraweb.com>
1409
1410	* conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken.
1411	Don't use it.
1412
14132000-06-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1414
1415	* amd/mapc.c (maptypes): Change default allocation mode to
1416	MAPC_INC where reload support is missing to avoid warning in
1417	mapc_create().
1418
14192000-06-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1420
1421	* conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for
1422	solaris 2.5 until a full port can be done.
1423
14242000-06-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1425
1426	* released snapshot am-utils-6.0.4s5
1427
1428	* Makefile.am, aux/GNUmakefile: fix maintainer rules to update
1429	config.* and texinfo.tex files.
1430
1431	* amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the
1432	mtime update of the symlinks on the SYMTTL option, but rather
1433	delay unmount of what was looked up using am_timeo_w.  Patch from
1434	Nick Williams <Nick.Williams@msdw.com>.  As Nick says "Basically:
1435	during unmount, increment the parent dir's mtime (fixes people
1436	doing amq -u). During stat, increase the TTL (to fix bad-luck
1437	timeouts), but leave the mtime alone."
1438
1439	(nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir,
1440	nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s.
1441	Patch from Nick Williams <Nick.Williams@msdw.com>.
1442
1443	* amd/map.c (unmount_mp): update mtime of amd symlink to further
1444	reduce the chances of race conditions between unmounting and
1445	looking up an entry again.  Patch from Nick Williams
1446	<Nick.Williams@msdw.com>.
1447
1448	* README: updated instructions
1449
1450	* bootstrap: remove log file before existing
1451
14522000-06-06  Erez Zadok  <ezk@aladdin.dev.hydraweb.com>
1453
1454	* configure.in: no longer using aux/ subdir. don't force autoconf
1455	2.14. comment out (but leave explanation) everything that's needed
1456	for autoconf 2.14, so for now it works with autoconf-2.13, but the
1457	code is ready for 2.14 when it is released.  Similar changes to
1458	make code work with automake-1.4, until the next release comes
1459	out.
1460
1461	* libamu/Makefile.am: include definitions that are required in
1462	automake 1.4, but won't be necessary when the next release of
1463	automake comes out (see XXX comments).
1464
1465	* cache_check_dynamic.m4, check_checkmount_style.m4,
1466	check_mnttab_style.m4, check_mount_style.m4,
1467	check_network_transport_type.m4, check_nfs_prot_headers.m4,
1468	check_umount_style.m4: use symlink creation code that works for
1469	both autoconf 2.13 and 2.14 (when the latter comes out).
1470
1471	* bootstrap: new script for maintainers to run to update autoconf,
1472	automake, and libtool related files.  Has the same effect as
1473	"buildall -K".
1474
1475	* removed dependencies on CVS versions of autoconf, automake, and
1476	libtool, especially the modified automake I had.  This is so that
1477	maintainers could built the auto* files out of the latest released
1478	GNU autoconf, automake, and libtool.  However, without my nice
1479	patches to automake, many files that used to live in the aux/
1480	subdir now were moved to the top level source directory: acconfig.h,
1481	acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess,
1482	config.guess.long, config.h.in, config.sub, configure.in, depcomp,
1483	install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs.  Also
1484	texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir.
1485
14862000-06-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1487
1488	* cvs-server.txt: instructions for maintainers to access the CVS
1489	server for am-utils.
1490
14912000-06-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1492
1493	* amd/am_ops.c (ops_match): changed XLOG_USER messages about
1494	merging addopts options to the more appropriate XLOG_INFO.  Patch
1495	submitted by Tom Schmidt <tschmidt@micron.com>.
1496
1497	* config.{guess,sub}: make sure chmod'ed a+rx.  Updated from
1498	latest GNU copies.
1499
15002000-05-30  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1501
1502	* released snapshot am-utils-6.0.4s4
1503
15042000-05-29  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
1505
1506	* conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of
1507	svc_getcaller() to sockaddr_in, to appease glibc 2.2
1508
15092000-05-28  Erez Zadok  <ezk@mulberry.mcl.cs.columbia.edu>
1510
1511	* doc/am-utils.texi (Network Filesystem Group): minor typos
1512
15132000-05-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1514
1515	* amd/amfs_auto.c (amfs_auto_readdir_browsable): cast pointers to
1516	long for 64-bit architectures.
1517
1518	* libamu/xutil.c (amu_release_controlling_tty): eliminate an
1519	unused variable "tempfile"
1520
1521	* libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with
1522	one or two arguments (bsdi3 vs. bsdi4)
1523
15242000-05-26  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
1525
1526	* libamu/xutil.c (amu_release_controlling_tty): close standard
1527	file descriptors, re-open them as /dev/null
1528
1529	* include/am_defs.h: don't try to include both <ndbm.h> and
1530	<db1/ndbm.h>, it really doesn't work
1531
15322000-05-16  Ion Badulescu  <ib42@earth.cs.columbia.edu>
1533
1534	* hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime
1535	on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from
1536	getattr).  This fixes the problem introduced by the Linux nfsv3
1537	patches.
1538
15392000-04-30  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
1540
1541	* include/am_defs.h, aux/macros/mount_headers.m4,
1542	aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and
1543	linux/list.h before including linux/fs.h, and define __KERNEL__
1544	for those two headers.  All of this to get a couple of definitions
1545	that are needed in the new struct vfsmount.
1546
1547	* aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>.
1548
1549	* include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts
1550	between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by
1551	defining _LINUX_IN_H so it doesn't get included.
1552
15532000-04-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1554
1555	* minor new ports: i686-pc-linux-gnu-rh6.2,
1556	i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2.
1557
15582000-04-03  Erez Zadok  <ezk@vir.cs.columbia.edu>
1559
1560	* aux/acconfig.h: move all #undef macros above @TOP@, so they can
1561	be recognized by pickier autoconf.
1562
15632000-04-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1564
1565	* aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n
1566	or \c.
1567
15682000-03-25  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
1569
1570	* include/am_defs.h: ditto
1571
1572	* aux/macros/{mount_headers,try_compile_anyfs}.m4: force
1573	non-inclusion of <linux/string.h>.  Breaks build on newer 2.3
1574	kernels.
1575
15762000-02-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1577
1578	* doc/am-utils.texi (Amq -w option): document new amq -w option.
1579
1580	* amq/amq.8: document new amq -w option.
1581
1582	* amq/amq.c: disable last remains of insecure amq -M code.
1583	(main): add amq -H option to show usage.
1584	(main): new amq -w option, translates getpwd() into an amd path.
1585
15862000-02-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1587
1588	* minor new port: alphaev6-dec-osf5.0
1589
1590	* doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3,
1591	but only for UDP.
1592
1593	* released snapshot am-utils-6.0.4s3
1594
1595	* conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11.  Note
1596	that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the
1597	kernel!  Must set nfs_proto=udp in amd.conf [global].
1598
1599	* aux/config.guess.long: set and export PATH separately.  DU5
1600	/bin/sh doesn't like setting it on the command line in a
1601	back-tick'ed `script`.
1602
16032000-02-24  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
1604
1605	* Makefile.am: removed struct_nfs_mount_data.m4
1606
1607	* aux/macros/struct_nfs_mount_data.m4: deleted
1608	
1609	* aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA
1610
1611	* aux/configure.in: removed check for struct nfs_mount_data
1612
16132000-02-24  Ion Badulescu  <ib42@beetle.mcl.cs.columbia.edu>
1614
1615	* amd/amfs_auto.c (amfs_auto_bgmount): changed log message to
1616	avoid having 'failed' in a message not indicating a failure
1617	(amfs_auto_lookuppn): ditto
1618
1619	* amd/ops_autofs.c (autofs_bgmount): ditto
1620	(autofs_lookuppn): ditto
1621
16222000-02-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1623
1624	* added .cvsignore files into the CVS repository.
1625
1626	* remove files which can be regenerated: .in, configure, some
1627	files in aux/, and more.
1628
16292000-02-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1630
1631	* doc/am-utils.texi (nfs_vers/nfs_proto): description of two
1632	parameters was reversed.  Reported by Paul Jenner
1633	<p.jenner@eim.surrey.ac.uk>.
1634
16352000-02-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1636
1637	* released snapshot am-utils-6.0.4s2
1638
1639	* amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such
1640	as inherit, error, and toplvl (failover code).
1641
1642	* amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented)
1643	global options in amd.conf: one to set the NFS version globally
1644	(i.e., nfs_vers=2), and one to set the NFS protocol globally
1645	(i.e., nfs_proto=udp).
1646
1647	* amd/mntfs.c (realloc_mntfs): attempt to fix the failover code,
1648	so when a matching mount entry failed, try the next one.
1649
16502000-02-15  Erez Zadok  <ezk@moisil.cs.columbia.edu>
1651
1652	* amd/amfs_auto.c: a new debug option "readdir" to trace the
1653	progress of the browsable_dirs code.
1654
1655	* conf/mount/mount_linux.c (mount_linux): ensure that the new
1656	linux NFSv3 code works for v2-only machines.
1657
16582000-02-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1659
1660	* aux/configure.in: cleanup unused dnl entries.
1661
1662	* conf/mount/mount_linux.c (parse_opts): typo: check for string
1663	equality, not string inequality for pcfs and cdfs.
1664
1665	* aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well.
1666
1667	* libamu/mount_fs.c (compute_mount_flags): check for INTR and
1668	NOINTR options as well (intr was never passed to linux mount
1669	syscall).
1670
16712000-02-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1672
1673	* released snapshot am-utils-6.0.4s1
1674
1675	* aux/GNUmakefile: buildall -k (for maintainers) temporarily now
1676	ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is
1677	obsolete".  It is harmless but annoying, and will be fixed when
1678	autoconf and automake in their respective CVS trees are working
1679	and in sync again.
1680
1681	* scripts/amd.conf.5: document -D hrtime,xdrtrace
1682
1683	* all man pages: update copyright to 2000.
1684
1685	* doc/am-utils.texi: update copyright to 2000.
1686
1687Wed Feb  9 14:22:31 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1688
1689	* include/am_utils.h (D_XDRTRACE): Define.
1690	(D_TEST): Disable here.
1691
1692	* libamu/xutil.c (dbg_opt): Handle it.
1693
1694	* doc/am-utils.texi (-D-Option): Document it.
1695
1696	* libamu/xdr_func.c: Use it instead of D_TRACE.
1697
1698	* include/am_utils.h (D_HRTIME): Define.
1699
1700	* doc/am-utils.texi (-D-Option): Document it.
1701
1702	* libamu/xutil.c (show_time_host_and_name): Print high-resolution
1703	timestamp if available and activated.
1704
1705	* aux/configure.in (clock_gettime): Check for it in -lrt and
1706	-lposix4.
1707
1708	* hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME
1709	if defined, even for some systems with in kernel mount tables.
1710
17112000-02-08  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
1712
1713	* aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to
1714	allow compiles against libc5
1715
1716	* aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under
1717	linux when the kernel doesn't support it
1718
1719	* include/am_compat.h: add workaround for linux efs
1720
17212000-02-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1722
1723	* aux/configure.in: test for ANSI C compiler (before AC_C_CONST).
1724	Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway).
1725
17262000-02-07  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
1727
1728	* libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for
1729	nfs (linux NFSv3).
1730
1731	* include/am_defs.h: avoid reinclusion of some header files under
1732	linux.
1733
1734	* conf/nfs_prot/nfs_prot_linux.h: support NFSv3.
1735
1736	* conf/mount/mount_linux.c (mount_linux): support nfs mount
1737	 (implementation) version 4 for NFSv3.
1738
1739	* aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS.
1740
1741	* aux/macros/mount_headers.m4: don't include <linux/fs.h> (may
1742	need to fix the code on other linux machines).
1743
1744	* aux/macros/check_mnttab_type.m4 (ac_safe): ditto.
1745
1746	* aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option
1747	under linux (depends on ac_cv variable, is that a good idea?)
1748
1749	* added NFSv3 support for linux
1750
1751	* aux/{configure.in,acconfig.h}: new option ver3
1752
1753	* aux/macros/mount_headers.m4: commented out inclusion of
1754	linux/fs.h, it's not needed on rh61 (and actually generates
1755	conflicts), we should see if it's still needed on libc5 systems
1756
1757	* aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than
1758	try to have its own (out of date) list of headers and ifdef's and
1759	...
1760
17612000-02-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1762
1763	*******************************************************************
1764	*** Released am-utils-6.0.3					***
1765	*******************************************************************
1766
17672000-02-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1768
1769	* conf/mount/mount_default.c: dummy empty file to work around a
1770	limitation of automake (it looks for LIBBOBJS in aclocal.m4 and
1771	processes them even if they are optional, enclosed in if/else).
1772
17732000-01-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1774
1775	* released snapshot am-utils-6.0.3s5
1776
17772000-01-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1778
1779	* update to use latest version of autoconf, automake, and libtool.
1780
1781	* aux/GNUmakefile (depcomp): "make update" should also update the
1782	depcomp script.
1783
1784	* Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution.
1785
1786	* aux/configure.in: use renamed AC_CHECK_AMU_FS.
1787
1788	* aux/macros/check_amu_fs.m4: renamed macro name and file name to
1789	say AMU_FS, not AM_FS.
1790
1791	* aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because
1792	latest version of autoconf doesn't handle it (bug in 2.14a)
1793
1794	* aux/configure.in: require version 2.14 of autoconf.
1795
1796	* amd/mapc.c (mapc_reload_map): more fixes from Nick Williams.
1797
1798	* doc/am-utils.texi (Automount Filesystem): document type:=auto
1799	map browsability option.
1800
1801	* amd/mapc.c (make_entry_chain): patch from Steven Danz
1802	<sdanz@awc.kc.noaa.gov> to allow browsable auto maps.
1803
18042000-01-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1805
1806	* released snapshot am-utils-6.0.3s4
1807
1808	* amd/mapc.c (mapc_reload_map): fixes to sync maps even if they
1809	are set to mapcache:=sync.  Fix from Nick Williams
1810	<Nick.Williams@msdw.com>.
1811
18122000-01-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1813
1814	* released snapshot am-utils-6.0.3s3
1815
1816	* minor port to i386-unknown-netbsd1.4.1
1817
1818	* amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams
1819	<Nick.Williams@msdw.com> to fix (or reduce the incidence of) stale
1820	file handles when doing rapid mounts and umounts in succession
1821	such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo"
1822
18232000-01-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1824
1825	* minor port to i386-pc-bsdi4.1.
1826
18272000-01-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1828
1829	* libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd)
1830	argument to irs_gen_acc(), which was changed in bsdi 4.1.
1831
18322000-01-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1833
1834	* amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for
1835	systems with in-kernel mount tables unless this macro is defined
1836	(Solaris 8).
1837
18382000-01-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1839
1840	* ALL: bump copyright year to 2000.
1841
18421999-12-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1843
1844	* conf/mount/mount_svr4.c (mount_svr4): optionstr exists on
1845	solaris 7, but should not be used unless MAX_MNTOPT_STR also
1846	exists (solaris 8).
1847
1848	* doc/am-utils.texi (opts Option): document new mount option:
1849	optionstr.
1850
1851Fri Dec 10 01:31:53 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1852
1853	* conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to
1854	mount_svr4().
1855	(mount_svr4): Adapt prototype.
1856	* conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so
1857	they are evaluated and show up in Solaris 8 in-kernel mnttab. 
1858
1859	* aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2)
1860	option. 
1861	* aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template.
1862
18631999-12-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1864
1865	* released snapshot am-utils-6.0.3s2
1866
18671999-12-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1868
1869	* doc/am-utils.texi (opts Option): document noexec and nomnttab
1870	(new to Solaris 8).
1871
1872	* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in
1873	distribution.
1874
1875	* applied fixes from Rainer Orth for Solaris 8.
1876
1877	* libamu/wire.c (getwire): increment the cp pointer in the loop
1878	body, because the ioctl() inside the "for" loop will overwrite the
1879	ifr structure, thus not detecting all of the interfaces.  Bug
1880	reported and fixed by Amitha Perera <perera@cs.rpi.edu>.
1881
1882Thu Dec  9 19:09:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1883
1884	* conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if
1885	MOUNT_TABLE_ON_FILE.
1886
1887	* amd/get_args.c (get_args): Initialize mnttab_file_name even for
1888	in-kernel mount table.  conf/mtab/mtab_svr4.c (read_mtab) depends
1889	on a non-NULL value.
1890
1891	* amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque
1892	LDAP structure to get error code, but use it directly.
1893	(amu_ldap_search): Likewise.
1894
1895	* conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong
1896	ldap support.
1897	* conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise.
1898
1899	* conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef
1900	nfsstat, already in <nfs/nfs.h>.
1901	* aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris
1902	versions beyond 7.
1903	Allow for micro versions of SunOS 5.[67].
1904
1905	* aux/configure.in: Check for new Solaris 8 Beta Refresh
1906	MS_NOMNTTAB mount(2) option.
1907	* aux/macros/check_mnttab_location.m4: Use it to test for
1908	mntfs-based in-kernel mnttab.
1909
1910	* aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7.
1911
1912	* aux/macros/check_fs_headers.m4: Revert test for duplicate
1913	objects. 
1914	* aux/macros/check_fs_mntent.m4: Likewise
1915
1916	* aux/macros/HEADER: Fixed typo.
1917
1918	* include/am_defs.h: Likewise.
1919
19201999-12-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1921
1922	* aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11)
1923
19241999-11-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1925
1926	* BUGS: document glibc-2.1 nis file descriptor leak in yp_bind.
1927
1928	* amd/info_ldap.c (string2he): updated function which does not
1929	corrupt strings when called more than once.  Patch from
1930	JOHANN.PFEFFERL.JP@germany.agfa.com.
1931
19321999-11-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1933
1934	* MIRRORS (Asia): two new mirrors in Japan.
1935
19361999-11-10  Erez Zadok  <ezk@kosh.cs.columbia.edu>
1937
1938	* doc/am-utils.texi: document new variables for ${uid} and ${gid}.
1939
1940	* amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the
1941	last lookup from the RPC credentials.
1942
1943	* aux/configure.in: upped version-info to 4:0:2 because I've added
1944	a new interface to libamu.
1945
1946	* libamu/misc_rpc.c (getcreds): moved function from hlfsd to here,
1947	so it can be used by amd.
1948
1949	* amd/opts.c: new variables ${uid} and ${gid}.
1950
19511999-10-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1952
1953	* scripts/ctl-amd.in: add "status" command that tells you if amd
1954	is running on not (same output as RedHat scripts).
1955	Added start_msg and stop_msg targets as they are used on HPUX.
1956	reported by Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
1957
19581999-10-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1959
1960	* released snapshot am-utils-6.0.3s1
1961
19621999-10-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1963
1964	* amd/amd.c (main): On AIX you must lower the stack size using
1965	ulimit() before calling plock.  Otherwise plock will reserve a lot
1966	of memory space based on your maximum stack size limit.  Since it
1967	is not easily possible to tell what should the limit be, I print a
1968	warning before calling plock(). See the manual pages for
1969	ulimit(1,3,4) on your AIX system.
1970
1971	* include/am_defs.h: define default extern for vsnprintf()
1972
1973	* aux/configure.in: check for extern definition for vsnprintf()
1974
19751999-10-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1976
1977	* amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams
1978	<njw@ms.com>.  SYMPTOMS: 'occasionally' sublinks do not point to
1979	the correct location, but to the top level of the mountpoint and
1980	an (error-hook) is seen being mounted in the log file. This causes
1981	things to Go Wrong(TM).
1982	CAUSE: When evaluating two locations which are requested
1983	'practically simultaneously', and the two locations resolve to the
1984	same NFS mountpoint (but different sublinks), the later request
1985	will be "deferred" and retried after wakeup when the first mount
1986	succeeds. To do this, it rewinds the options location string to
1987	re-evaluate the location when the mount is retried. However, it
1988	shouldn't rewind the options for two reasons: (a) the semantics of
1989	the map language say you shouldn't and (b) the NFS mount reference
1990	is not reset at the same time, meaning that on the retry it will
1991	have an options structure out-of-sync with the mount
1992	structure. The "shortcut" code when retrying the mount sees the
1993	mount structure is already filled in and does not fully evaluate
1994	the options structure.... so if the first location is not the one
1995	which ties in with the mountpoint (see ordering in the
1996	recreate-by), you're now well messed up.
1997
1998	* BUGS: mention aix4.3 plock() bug (memory usage blows up and
1999	plock fails)
2000
20011999-10-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2002
2003	* aux/GNUmakefile: certain files should be copied if they are
2004	newer, not also if they are bigger: install-sh, ltconfig,
2005	ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex.
2006
2007	* minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1)
2008
20091999-10-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2010
2011	* aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5.
2012
2013	* aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5.
2014
20151999-09-30  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2016
2017	*******************************************************************
2018	*** Released am-utils-6.0.2					***
2019	*******************************************************************
2020
20211999-09-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2022
2023	* conf/mount/mount_linux.c (mount_linux): print the updated mount
2024	flags.
2025
2026	* doc/am-utils.texi: document $full_os and $vendor.
2027
2028	* scripts/amd.conf-sample: examples of $full_os and $vendor.
2029
2030	* scripts/amd.conf.5: document $full_os and $vendor.
2031
2032	* amd/conf.c: add support for $full_os and $vendor.
2033
20341999-09-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2035
2036	* doc/am-utils.texi (netgrp Selector Function): don't give
2037	examples with old single '=' assignment variable.  Use foo:=bar.
2038
2039	* amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long
2040	comment describing this complex function.
2041
2042	* doc/Makefile.am (alldocs): do install-ps last (because distiller
2043	is slow) and install-html next to last (because texi2html is also
2044	slow).
2045
2046	* amd/amd.8: Major fixes to the description of the option -t
2047	timeout.retransmit.
2048
2049	* doc/am-utils.texi: better description of "trace" debug option.
2050	amd -H (not -v) shows log_options and debug_options.  Major fixes
2051	to the description of amd -t timeout.retransmit, and the amd.conf
2052	parameters nfs_retransmit_counter and nfs_retry_interval.
2053
2054	* scripts/amd.conf.5: better description of "trace" debug option.
2055	amd -H (not -v) shows log_options and debug_options.  Major fixes
2056	to the description of the parameters nfs_retransmit_counter and
2057	nfs_retry_interval.
2058
20591999-09-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2060
2061	* doc/am-utils.texi (Automount Filesystem): cache:= is not a mount
2062	option, but a mount map option.
2063
2064	* libamu/xutil.c (switch_to_logfile): log the name of the log file
2065	we switched into, after the log file had been [re]opened.
2066
20671999-09-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2068
2069	* amd/mapc.c (mapc_reload_map): count and show the number of times
2070	a map was reloaded.  Only reload a map if its modify-time was
2071	updated.  But amq -f forced a reload no matter what.
2072
2073	* amd/amd.h: new flag to struct mnt_map to count number of times a
2074	map was reloaded.
2075
2076	* amd/mapc.c (mapc_reload_map): attempt to reload the map without
2077	losing current data by reloading into a temp copy, and switching
2078	the hashes round only if the reload was successful.  Patch from Jon
2079	Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
2080	(mapc_sync): mapc_reload_map() always succeeds.
2081
20821999-09-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2083
2084	* amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to
2085	rebind to an LDAP server forever.  Try up to 10 times.
2086
2087	* fsinfo/fsi_lex.l (yyerror): rework code that will never happen
2088
2089	* released snapshot am-utils-6.0.2s2
2090
2091	* aux/configure.in: bumped library version-info to 3:2:1, since
2092	some libamu code got changed.
2093
2094	* libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which
2095	is better and more secure.  Fix from "David O'Brien"
2096	<obrien@NUXI.com>.
2097
2098	* aux/configure.in: check for vsnprintf.
2099
21001999-09-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2101
2102	* aux/macros/linux_headers.m4: use AC_MSG_ERROR.
2103
2104	* aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is
2105	not optional.  Make sure ARG is supplied else flag an error.
2106
21071999-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2108
2109	* minor port i386-unknown-freebsdelf3.3
2110
2111	* released snapshot am-utils-6.0.2s1
2112
21131999-09-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2114
2115	* aux/configure.in (AC_CHECK_FUNCS): check for getitimer().
2116
2117	* include/am_defs.h: extern definition for getitimer().
2118
2119	* aux/configure.in: use AC_CHECK_EXTERNS.  Look for getitimer()
2120	extern.
2121
2122	* aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS
2123	that calls AC_CHECK_EXTERN in a loop.  This saves repeated code in
2124	configure.
2125
2126	* aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use
2127	'int' as the 5th arg to authunix_create().
2128
2129	* aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a
2130	size_t for the 6th arg of recvfrom().
2131
2132	* aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for
2133	aix4.x systems.
2134
2135	* libamu/mount_fs.c (print_nfs_args): cast some values to int, to
2136	avoid gcc -Wall errors.
2137
2138	* scripts/expn.in: use sockaddr_in(), not pack() to correctly fill
2139	in a struct sockaddr_in.  On Solaris x86 hosts, using pack()
2140	results in byte-misaligned values.   Bug fix from Jeffrey C Honig
2141	<jch@BSDI.COM>.
2142
2143	* libamu/mount_fs.c (compute_automounter_mount_flags): turn on
2144	automntfs (ignore on bsdi-4.1) flag.
2145	(compute_automounter_nfs_args): ditto.
2146
2147	* aux/acconfig.h: add new flag for automntfs (ignore)
2148
2149	* aux/configure.in: check for new automntfs flag (bsdi-4.1).
2150
21511999-09-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2152
2153	* MIRRORS: added new site in Germany.  Updated status of umn.edu
2154	and ferginc.com, who may no longer be mirroring am-utils.
2155
21561999-09-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2157
2158	*******************************************************************
2159	*** Released am-utils-6.0.1					***
2160	*******************************************************************
2161
21621999-09-08  Erez Zadok  <ezk@cs.columbia.edu>
2163
2164	* aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct
2165	netexport defined.
2166
2167	* aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and
2168	struct netexport defined.
2169
21701999-09-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2171
2172	* aux/macros/check_field.m4 (ac_upcase_var_name): include
2173	<ifaddrs.h> so we can detect fields within struct ifaddrs.
2174
2175	* libamu/wire.c (getwire): bsdi-2.1 uses a second arg to
2176	getifaddrs() and struct ifaddrs has no ifa_next field.
2177
2178	* aux/configure.in: check if 'struct ifaddrs' has a field
2179	ifa_next.
2180
2181	* include/amq_defs.h (AMQ_STRLEN): double size of amq string
2182	length to 2048 bytes.
2183
2184	* conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs
2185	header files and ufs/ufs/ufsmount.h.  Bug reported by <Christos
2186	Zoulas> christos@zoulas.com.
2187
2188	* aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>.
2189	Bug reported by <Christos Zoulas> christos@zoulas.com.
2190
2191	* aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h>
2192
21931999-09-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2194
2195	* libamu/xutil.c (expand_error): use strerror if available instead
2196	of sys_errlist.  Bug reported by <Christos Zoulas>
2197	christos@zoulas.com.
2198
2199	* hlfsd/hlfsd.c (fatal): use strerror if available instead of
2200	sys_errlist.
2201
2202	* amq/amq.c (show_mi): use strerror if available instead of
2203	sys_errlist.
2204
2205	* aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4
2206	nfs_prot header is used for any future (1.5 etc.) netbsd systems.
2207
2208	* amq/pawd.c (find_mt): check for type nfsl as well.  Fix from
2209	"Andrew J. Korty" <ajk@purdue.edu>
2210
22111999-08-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2212
2213	* doc/am-utils.texi (Supported Platforms): updates for redhat
2214	systems.
2215
2216	* INSTALL: updates for redhat systems.
2217
2218	* libamu/wire.c (getwire_lookup): spell "succeeded" correctly
2219
22201999-08-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2221
2222	* scripts/ctl-amd.in: sleep 1 second between killing amd and
2223	restarting it, because amq may respond that amd is down, where in
2224	fact it is still trying to unmount itself after unmapping itself
2225	from the portmapper.
2226
2227	* aux/config.guess.long: new script to print long version of
2228	config.guess output.
2229
2230	* buildall (host_alias): use long version of config.guess.
2231
22321999-08-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2233
2234	* scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop
2235	scripts.
2236
22371999-08-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2238
2239	* released snapshot am-utils-6.0.1s11
2240
2241	* libamu/xutil.c (expand_error): make sure expanding the string
2242	with textual version of errno doesn't overrun the 1024 bytes
2243	buffer.
2244	(real_plog): null terminate msg, just in case.
2245
2246	* amq/amq.c (main): don't getopt -M option and don't process it
2247	unless ENABLE_AMQ_MOUNT is on.
2248
2249	* amd/amq_svc.c (amq_program_1): all code that relates to amq -M
2250	is conditional on #ifdef ENABLE_AMQ_MOUNT.
2251
2252	* amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked
2253	when amq -M code is disabled.  Not taking any chances.
2254
22551999-08-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2256
2257	* released snapshot am-utils-6.0.1s10
2258
2259Sun Aug 22 16:18:59 1999  Erez Zadok  <ezk@subzero.cs.columbia.edu>
2260
2261	* libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on
2262	128.59.16.0), try to shift the network out of zeros (e.g.,
2263	128.59.16) and try again.  Irix 6.4 requires short network
2264	numbers.
2265
22661999-08-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2267
2268	* libamu/wire.c (getwire_lookup): correctly compute subnet using
2269	netmask.
2270
2271	* libamu/mount_fs.c (compute_automounter_nfs_args): require that
2272	Amd's own NFS mounts use reserved ports (if possible).  IP packet
2273	security fix from Jeffrey C Honig <jch@BSDI.COM>.
2274
2275	* conf/transp/transp_tli.c (create_autofs_service): use correct
2276	autofs_port.  IP packet security fix from Jeffrey C Honig
2277	<jch@BSDI.COM>.
2278
2279	* conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary
2280	function.  IP packet security fix from Jeffrey C Honig
2281	<jch@BSDI.COM>.
2282	(create_nfs_service): use bind_resv_port() directly.  ensure that
2283	privileged ports are used.  IP packet security fix from Jeffrey C
2284	Honig <jch@BSDI.COM>.
2285
2286	* amd/nfs_prot_svc.c (nfs_program_2): verify that requests come
2287	from reserved ports and from a local IP address.  IP packet
2288	security fix from Jeffrey C Honig <jch@BSDI.COM>.
2289
2290	* amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of
2291	hard-coded 1024.  IP packet security fix from Jeffrey C Honig
2292	<jch@BSDI.COM>.
2293	(amqproc_mount_1_svc): provide information on the caller making an
2294	amq -M request.  IP packet security fix from Jeffrey C Honig
2295	<jch@BSDI.COM>.
2296
2297	* amd/map.c (free_map_if_success): If the program doing an unmount
2298	of a program filesystem fails, amd tries to interpret the return
2299	code as an errno.  Fix from Jeffrey C Honig <jch@BSDI.COM>.
2300
2301	* amd/info_nis.c (determine_nis_domain): don't always print
2302	warning about NIS domain name not being set, even if NIS is not in
2303	use.
2304
23051999-08-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2306
2307	* amd/info_ldap.c (get_ldap_timestamp): initialize variable err.
2308	(amu_ldap_search): initialize variable err.
2309
23101999-08-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2311
2312	* libamu/wire.c: written using getifaddrs() for BSD systems,
2313	contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>).
2314
23151999-08-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2316
2317	* include/am_utils.h (SALLOC): a simple macro to allocate N bytes.
2318
2319	* aux/configure.in: check for irs.h and ifaddrs.h.
2320	Increase libamu.so --version-info to 3:1:1 since we've changed the
2321	source code for the library.
2322	Check for getifaddrs() function.
2323
23241999-08-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2325
2326	* libamu/mount_fs.c (print_nfs_args): print fields namlen and
2327	bsize if they exist.
2328
2329	* conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen
2330	and ->bsize fields correctly, if those fields exist.  This is a
2331	bug in that amd neglected to set these fields, but told the
2332	kernel it is mounting the nfs_args_t structure using mount version
2333	3 (which requires both bsize and namlen fields).
2334
2335	* aux/configure.in: test for two new nfs_args_t fields (used on
2336	newer linux with mount versions 2 and 3): bsize and namlen.
2337
2338	* doc/am-utils.texi (netgrpd Selector Function): document new
2339	selector function.
2340
2341	* amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to
2342	test if the current host (fully-qualified name) is in the ARG host
2343	netgroup.  The netgrp() function uses the short form of a host
2344	name.  Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>.
2345
2346	* doc/am-utils.texi (automount2amd): document new script.
2347
2348	* scripts/Makefile.am: create, install, and distribute
2349	automount2amd perl script and its man page.
2350
2351	* scripts/automount2amd.8: new man page for automount2amd.
2352
2353	* scripts/automount2amd.in: new file, contributed a in 1993 by
2354	Mike Walker <mike@tab00.larc.nasa.gov>.  Fixed to use addopts for
2355	any automount map options specified.
2356
23571999-08-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2358
2359	* released snapshot am-utils-6.0.1s9
2360
23611999-08-09  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
2362
2363	* amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to
2364	1.
2365	(amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0.
2366	(amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of
2367	(u_int)~0.
2368
2369	* amd/mapc.c (make_entry_chain): NFS cookies should be
2370	monotonically increasing, because Linux 2.3 expects that, even
2371	though it is not in the spec (RFC-1094) for NFS V2.
2372
23731999-08-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2374
2375	* aux/macros/check_lib_funcs.m4: removed unused macro.
2376
2377	* aux/macros/linux_headers.m4: new macro to ensure that linux
2378	kernel headers match running kernel version.
2379
2380	* aux/acconfig.h: define HOST_HEADER_VERSION so we can check if
2381	amd is configured on linux hosts that run one kernel but have
2382	headers for a different version.
2383
2384	* amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the
2385	logic which uses nis_isup and has_yp_order.  Make sure it is used
2386	correctly , esp. for NIS+ in NIS-compatibility mode.  Bug fix from
2387	Peter Breitenlohner <peb@mppmu.mpg.de>.
2388
2389	* include/am_defs.h: fix conflicts on linux 2.2 systems with older
2390	libc5.  Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>.
2391
2392	* scripts/lostaltmail.in: use sockaddr_in(), not pack() to
2393	correctly fill in a struct sockaddr_in.  On Solaris x86 hosts,
2394	using pack() results in byte-misaligned values.
2395
23961999-08-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2397
2398	* conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3
2399	mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>.  Also use
2400	better macros for case statement.
2401
2402	* conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures
2403	unless ldap is actually available.
2404
2405	* use updated config.guess and config.sub.  Use newer automake
2406	that fixes problems with distributing optional libamu files
2407	(clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c,
2408	and ualarm.c)
2409
24101999-07-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2411
2412	* minor port i386-unknown-openbsd2.5
2413
24141999-07-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2415
2416	* minor ports to freebsdelf 3.[0-2] and 4.0 completed
2417
2418	* aux/macros/check_nfs_prot_headers.m4: support freebsdelf
2419
2420	* aux/macros/check_nfs_socket_connection.m4: support freebsdelf
2421
24221999-06-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2423
2424	* released snapshot am-utils-6.0.1s8
2425
24261999-06-23  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
2427
2428	* include/am_defs.h: avoid various header conflicts on
2429	RedHat/Linux 6.0 and kernels 2.2.10 or newer.
2430
2431	* aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and
2432	kernel 2.2.10)
2433
2434	* amd/amfs_program.c (amfs_program_exec): make sure logfp is
2435	initialized dynamically to stderr if needed.
2436
2437	* libamu/xutil.c (dplog): make sure logfp is initialized
2438	dynamically to stderr if needed.
2439	(plog): ditto.
2440
2441	* amd/amfs_program.c (amfs_program_exec): set logfp to stderr if
2442	not initialized.
2443
2444	* libamu/xutil.c: don't initialize logfp statically to stderr,
2445	because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer
2446	be manipulated like a variable.
2447
2448	* include/am_defs.h: avoid more conflicts between <linux/fs.h> and
2449	<sys/mount.h> on 2.2 linux kernels.
2450	include <db1/ndbm.h> as needed (RedHat/Linux 6.0)
2451
24521999-04-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2453
2454	* all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS)
2455
2456	* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER):
2457	renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake
2458	won't attempt to add it to the header files to distribute.
2459
24601999-04-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2461
2462	* aux/GNUmakefile: invoke aclocal with new --altdir flag.
2463
24641999-04-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2465
2466	* minor new port: i386-unknown-netbsd1.4 (ALPHA)
2467
2468	* aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h>
2469	and <isofs/cd9660/cd9660_mount.h> because they are also included
2470	from MOUNT_HEADERS.  Causes multiple inclusion of unprotected
2471	headers on netbsd-1.4_ALPHA.
2472
24731999-04-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2474
2475	* aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's
2476	sys_errlist extern doesn't end with [].
2477
2478	* aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support.
2479
24801999-04-11  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2481
2482	* newer automake wants texinfo.tex to be in aux/ not doc/
2483
24841999-03-30  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2485
2486	* amd/conf_parse.y: alloca support.
2487
2488	* fsinfo/fsi_gram.y: alloca support.
2489
2490	* libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if
2491	needed.
2492
2493	* aux/configure.in: test for alloca support.  Needed because bison
2494	generates parsers that use alloca, and hpux9 does have alloca and
2495	its /bin/cc doesn't support it builtin (the way gcc does).
2496
2497	* libamu/alloca.c: new file, needed on hpux9 with /bin/cc.  Taken
2498	verbatim from bison-1.25.
2499
2500	* include/am_defs.h: fixed typo #errir -> #error
2501
2502	* released snapshot am-utils-6.0.1s7
2503
2504	* README.y2k: more information about am-utils' compatibility, from
2505	Paul Balyoz <pbalyoz@sedona.ch.intel.com>.
2506
2507	* scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K
2508	compliant format.  Patch from Paul Balyoz
2509	<pbalyoz@sedona.ch.intel.com>
2510
2511	* doc/am-utils.texi (Supported Platforms): hpux10.20 could have
2512	nfs v.3 support (with some vendor patches), but it is turned off.
2513
2514	* aux/macros/os_cflags.m4: use ansi compiler options on hpux.
2515
2516	* conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid
2517	confusing am-utils.  10.20 with some patches has incomplete
2518	support.  Patch from Jon Peatfield
2519	<J.S.Peatfield@damtp.cam.ac.uk>.
2520
25211999-03-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2522
2523	* minor port i386-pc-bsdi4.0.1
2524
25251999-03-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2526
2527	* doc/am-utils.texi (Supported Platforms): add forgotten listing
2528	for powerpc-linux.
2529
25301999-03-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2531
2532	* scripts/amd.conf.5: fix typo.  From Jeffrey C Honig
2533	<jch@BSDI.COM>.
2534
2535	* doc/am-utils.texi: document iso9660 options norrip, gens, and
2536	extatt.
2537	(opts Option): documented dumbtimr and noauto options.  From
2538	Jeffrey C Honig <jch@BSDI.COM>.
2539
2540	* include/am_compat.h: define default strings for options norrip,
2541	gens, and extatt.
2542
2543	* amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and
2544	extatt.
2545
2546	* aux/macros/mount_headers.m4: also include
2547	<isofs/cd9660/cd9660_mount.h> as needed.
2548
2549	* aux/configure.in: check for isofs mount options for bsdi4:
2550	norrip, gens, and extatt.  Reported by Jeffrey C Honig
2551	<jch@BSDI.COM>.
2552
2553	* aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags
2554	(bsdi4).
2555
25561999-03-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2557
2558	* conf/nfs_prot/nfs_prot_freebsd3.h: ditto.
2559
2560	* conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>,
2561	for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>.
2562
25631999-03-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2564
2565	* get latest copies of config.guess, config.sub, ltconfig, and
2566	ltmain.sh from libtool-1.2f.
2567
2568	* all Makefile.am: don't use continuation lines (using \) for
2569	short lists of files.
2570
2571	* libamu/Makefile.am (DISTCLEANFILES): make distclean should
2572	remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c.
2573	Reported by Jeffrey C Honig <jch@BSDI.COM>.
2574
2575	* fixmount/Makefile.am (DISTCLEANFILES): make distclean should
2576	remove checkmount.c.  Reported by Jeffrey C Honig <jch@BSDI.COM>.
2577
2578	* Makefile.am (DISTCLEANFILES): make distclean should remove
2579	amu_nfs_prot.h, config.cache.old, and dbgcf.h.  Reported by
2580	Jeffrey C Honig <jch@BSDI.COM>.
2581
25821999-03-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2583
2584	* released snapshot am-utils-6.0.1s6
2585
25861999-03-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2587
2588	* INSTALL: document freebsdelf.
2589
2590	* doc/am-utils.texi (Supported Platforms): document freebsdelf.
2591
25921999-03-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2593
2594	* minor new ports: i386-unknown-freebsdelf3.1 and
2595	i386-unknown-freebsdelf4.0
2596
2597	* aux/macros/check_nfs_prot_headers.m4: freebsd4 support.
2598
2599	* aux/macros/check_nfs_socket_connection.m4: freebsd4 support.
2600
2601	* aux/macros/check_nfs_fh_dref.m4: freebsd4 support.
2602
2603	* amd/opts.c (eval_opts): changed log level of "executing
2604	negated..." message from USER to INFO, as per Guntram Wolski
2605	<gwolsk@sei.com>.
2606
26071999-02-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2608
2609	* */Makefile.am (LDADD): force linking against an installed
2610	libamu.{a,so}.
2611
2612	* doc/am-utils.texi (addopts Option): document remopts interaction
2613	with addopts.
2614
2615	* amd/am_ops.c (ops_match): if addopts are specified, apply them
2616	to the value of remopts as well as opts.
2617
2618	* amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used.
2619
26201999-02-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2621
2622	* released snapshot am-utils-6.0.1s5
2623
2624	* conf/mount/mount_linux.c (mount_linux): set default nfs_args
2625	options for ac{reg,dir}{min,man} as per the mount-2.8a package,
2626	but only if noac option was not used.
2627
26281999-02-05  Erez Zadok  <ezk@retro.cs.columbia.edu>
2629
2630	* conf/mount/mount_linux.c (mount_linux): print nfs_args again
2631	since it was updated.
2632	(mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels
2633	and newer.  Bug was found by Neil Conway
2634	<nconway.list@ukaea.org.uk>
2635
26361999-02-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2637
2638	* released snapshot am-utils-6.0.1s4
2639
26401999-02-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2641
2642	* amq/amq.c (main): don't list -M as a valid amq option unless
2643	configure'd with --enable-amq-mount.
2644
2645Wed Feb  3 18:11:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2646
2647	* amd/nfs_start.c (amd_use_autofs): Define.
2648	(mount_automounter): Create autofs service listener only if
2649	necessary to avoid unnecessary clashes with e.g. automountd.
2650
2651	* amd/amd.h (amd_use_autofs): Declare.
2652
2653	* amd/conf.c (gopt_mount_type): Set amd_use_autofs.
2654	(ropt_mount_type): Likewise.
2655
26561999-02-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2657
2658	* aux/macros/check_mnt2_nfs_opt.m4:: ditto
2659
2660	* aux/macros/check_mnt2_cdfs_opt.m4: ditto
2661
2662	* aux/macros/check_mnt2_gen_opt.m4: ditto
2663
2664	* aux/macros/check_mnttab_opt.m4: new macro in this file to loop
2665	over AC_CHECK_MNTTAB_OPT.  Reduces size of configure script a lot.
2666
2667	* conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h,
2668	nfs/nfs.h and nfs/nfsmount.h if they exist.  Patch from
2669	christos@zoulas.com (Christos Zoulas).
2670
2671	* amd/info_hesiod.c: some forward declarations.  Patch from
2672	christos@zoulas.com (Christos Zoulas).
2673
26741999-01-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2675
2676	* libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn
2677	option if it was already in that state.  Patch from David
2678	Wolfskill <dhw@whistle.com>.
2679
26801999-01-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2681
2682	* aux/configure.in: automake nowadays supports LTLIBOBJS (but not
2683	LTALLOCA yet).  Substitute value of LIBTOOL_DEPS for libtool
2684	rebuild make rules.
2685
2686	* Makefile.am: new rules to remake libtool (maintainers only)
2687
2688	* amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags
2689	if -D trace was used.
2690
26911999-01-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2692
2693	* buildall: all if statements should have an else clause because
2694	of Ultrix's /bin/sh.
2695
26961999-01-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2697
2698	* amq/amq.c: removed dummy variables.
2699
2700	* amq/pawd.c: removed dummy variable.s
2701
2702	* fixmount/fixmount.c (usage): removed dummy variables.
2703
2704	* fsinfo/fsinfo.c: removed dummy variables.
2705
2706	* hlfsd/hlfsd.c: removed dummy variables.
2707
2708	* wire-test/wire-test.c: removed dummy variables.
2709
2710	* mk-amd-map/mk-amd-map.c: removed dummy variables.
2711
2712	* doc/texinfo.tex: updates from GNU mirror.
2713
2714	* aux/GNUmakefile (../doc/texinfo.tex): new rule to update
2715	doc/texinfo.tex from GNU mirror.
2716
2717	* released snapshot am-utils-6.0.1s3
2718
2719	* Makefile.am (install-snapshot): better snapshot and new
2720	install-snapshot and test-snapshot rules (maintainer).
2721
2722	* amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the
2723	args may be NULL.
2724	Some dlog() entries were not enclosed in #ifdef DEBUG.  Fix from
2725	Bill Paul <wpaul@ctr.columbia.edu>
2726
27271999-01-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2728
2729	* check for experimental generic 'ignore' mount flag on freebsd3.
2730
2731	* Update library -version-info to 3:0:1 (will result in 2.1.0 .so
2732	version, which is backwards compatible with older versions.)  Only
2733	one new interface was added to libamu.
2734
2735	* amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags
2736	that are specific to automounter mounts.
2737
2738	* aux/configure.in: update libamu.so age and revision since a new
2739	interface was added to libamu/mount_fs.c
2740	(compute_automounter_mount_flags).
2741
2742	* libamu/mount_fs.c (compute_automounter_mount_flags): new
2743	function to compute generic mount flags that are specific to mount
2744	points only.
2745
2746	* aux/{configure.in,acconfig.h}: add support for generic mount
2747	entry ignore option.
2748
2749	* released snapshot am-utils-6.0.1s2
2750
2751	* amd/info_ldap.c (get_ldap_timestamp): dlog format fixes.
2752
2753	* libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format
2754	of knc_semantics from u_long to u_int.
2755
2756	* aux/macros/check_mount_style.m4: freebsd3 no longer needs a
2757	special mount helper.
2758
27591999-01-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2760
2761	* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS):
2762	amu_nfs_conf.h should always be found in $top_builddir.
2763
2764Tue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2765
2766	* conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine
2767	to avoid wrong reports from show_fstypes.
2768
2769	* conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise.
2770
2771	* conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise.
2772
2773Tue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2774
2775	* BUGS (mips-dec-ultrix4.3): Update Ultrix caveats.
2776
2777Tue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2778
2779	* hlfsd/homedir.c (delay): Cast child to long, adapt format.
2780	(hlfsd_getpwent): Likewise for pw_uid.
2781
2782	* amd/info_nis.c (nis_init): Cast order to unsigned long, adapt
2783	format. 
2784
2785	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast
2786	tv_sec to int to match format.
2787	(get_nfs_version): Cast nfs_version, NFS_VERSION to int to match
2788	formats. 
2789
2790	* amd/amfs_program.c (amfs_program_exec): Cast ptr difference to
2791	long, adapt format.
2792
2793	* include/am_defs.h: Handle __attribute__ if available.  From
2794	GNU fileutils 4.0 lib/errors.h.
2795
2796Mon Jan 11 13:46:44 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2797
2798	* libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to
2799	match format.
2800
2801	* hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long,
2802	adapt format.
2803	(nfsproc_lookup_2_svc): Likewise.
2804	(nfsproc_readlink_2_svc): Likewise for userid, groupid.
2805
2806	* hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
2807	format.
2808
2809	* hlfsd/homedir.c (homedir): Cast uid, child to long, adapt
2810	format. 
2811
2812	* amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned
2813	long, adapt format.
2814
2815	* amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to
2816	unsigned long, adapt format.
2817	(got_nfs_fh): Likewise.
2818	(prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match
2819	format. 
2820	(call_mountd): Likewise, mnt_version also.
2821	(mount_nfs_fh): Likewise.
2822
2823	* amd/ops_autofs.c (autofs_program_1): Cast args to int to match
2824	format.
2825	(autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to
2826	unsigned long, adapt formats.
2827	(autofs_bgmount): Cast opt_fs to unsigned to, adapt format.
2828	(autofs_bgmount): Use long format to match arg.
2829	(autofs_lookuppn): Removed superfluous arg.
2830
2831	* amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match
2832	format. 
2833	(got_portmap): Likewise for port.
2834	(recompute_portmap): Likewise for fs->fs_version, mnt_version.
2835	(find_nfs_srvr): Likewise for nfs_version.
2836
2837	* amd/sched.c (sched_task): Cast wchan to unsigned long, adapt
2838	format. 
2839
2840	* amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem
2841	to unsigned long, adapt format.
2842	Cast tvv.tv_sec to int to match format.
2843
2844	* amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
2845	format.
2846
2847	* amd/map.c (root_fh): Cast pid to long, adapt format.
2848	(timeout_mp): Cast time_t to long, adapt format.
2849
2850	* amd/clock.c (reschedule_timeouts): Use long format, cast time_t
2851	arg.
2852
2853	* amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to
2854	match format.
2855	(amfs_host_fmount): Likewise.
2856	(amfs_host_umounted): Likewise.  Removed superfluous arg.
2857
2858	* amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned
2859	long, adapt format.
2860	(amfs_auto_bgmount): Use long format, cast time_t arg.
2861	(amfs_auto_lookuppn): Removed superfluous arg.
2862
2863	* amd/amd.c (main): Cast geteuid() result to long, adapt format.
2864
2865	* conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version
2866	to int to match format.
2867
2868	* include/am_utils.h: Declare plog, dplog as printf-like.
2869
2870	* conf/mount/mount_irix6.c (mount_irix): Print type as char *.
2871
2872Mon Jan 11 13:46:44 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2873
2874	* amd/info_hesiod.c (hesiod_isup): New function.
2875	* amd/mapc.c (maptypes): Add it.
2876
28771999-01-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2878
2879	* released snapshot am-utils-6.0.1s1
2880
28811999-01-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2882
2883	* ALL: bump copyright year to 1999.
2884
2885Fri Jan  8 15:24:15 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2886
2887	* aux/macros/check_mtype_type.m4: Ultrix uses an int mount type,
2888	too. 
2889
2890	* aux/macros/check_mtype_printf_type.m4: Adapt corresponding
2891	printf type.
2892
2893Fri Jan  8 15:24:15 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2894
2895	* aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused.
2896
2897	* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
2898
2899	* conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise.
2900
2901	* conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise.
2902
2903	* Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current
2904	automake.
2905
2906Thu Jan  7 02:55:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2907
2908	* aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not
2909	in current automake.
2910
2911Thu Jan  7 02:55:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2912
2913	* doc/am-utils.texi: Added some missing inter-punctation after
2914	@xref, or use @pxref/@ref as appropriate.  Spotted by makeinfo
2915	from texinfo 3.12b.
2916
29171999-01-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2918
2919	* doc/texinfo.tex: updated off of latest GNU mirror.
2920
29211999-01-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2922
2923	* doc/am-utils.texi (Supported Platforms): update platforms that
2924	support NFS v.3.  Nicer postscript printing on double-sided pages.
2925
2926	* amd/info_hesiod.c: add extern definition for hesiod_init()
2927
29281999-01-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2929
2930	*******************************************************************
2931	*** Released am-utils-6.0					***
2932	*******************************************************************
2933
29341998-12-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2935
2936	* conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7.
2937
29381998-12-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2939
2940	* conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on
2941	bsdi4 for NFS V3/nfs mounts.
2942
29431998-12-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2944
2945	* using latest libtool (1.2e + patches), now supporting shared
2946	libraries on many more systems.  Also using latest autoconf and
2947	automake (unreleased GNU CVS'd versions.)
2948
2949	* minor new ports: hppa2.0w-hp-hpux11.00,
2950	i386-unknown-netbsd1.3.3, mips-sgi-irix6.5.
2951
2952	* fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that
2953	have /usr/bin/flex but not libfl.
2954
29551998-12-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2956
2957	* lots of code cleanup, to make sure libamu.so does not use
2958	undefined symbols.  Some system's shared libraries cannot handle
2959	that.
2960
29611998-12-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2962
2963	* include/am_defs.h: only defined seteuid extern if function also
2964	exists and is not superceded by setresuid (hpux).
2965
2966	* amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit
2967	braces to avoid confusion with nested if-then-else clauses.
2968
2969	* aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs:
2970	updated from latest versions.
2971
29721998-12-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2973
2974	* minor new port: i386-pc-bsdi4.0
2975
2976	* conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header
2977	definitions for bsdi4.
2978
2979	* {amd,fsinfo}/Makefile.am: force path to .y/.l files, because
2980	some make programs (bsdi4) do not support VPATH correctly.
2981
29821998-12-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2983
2984	* conf/mount/mount_aix.c: minor code cleanup
2985
2986	* aux/configure.in: check for extern definition to xdr_groups.
2987
29881998-12-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2989
2990	* minor new port: powerpc-ibm-aix4.3.1.0
2991
2992	* aux/macros/*.m4: updates for aix 4.3
2993
29941998-12-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2995
2996	* minor new port: i386-unknown-openbsd2.4
2997
2998	* aux/configure.in: don't check for xfs on openbsd because
2999	openbsd-2.4 introduces a new file system named xfs, but different
3000	than Irix's XFS.  Sigh.
3001
3002	* minor new port: i386-unknown-freebsd2.2.8
3003
30041998-12-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3005
3006	* amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host
3007	name match.  Bug fix from Douglas K. Rand" <rand@aero.und.edu>.
3008
30091998-11-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3010
3011	* scripts/ctl-amd.in: wait4amd2die runs in the stop action, to
3012	avoid race conditions when shutting down systems running amd.
3013
3014	* Makefile.am: add a dist-hook to change modes of the directories
3015	in the tar file so they are not world writable.
3016
3017	* conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support,
3018	since it is now finally defined in the header files and
3019	(hopefully) stable.
3020
3021	* amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option
3022	is specified in mount options.  freebsd patches from David
3023	O'Brien.
3024
3025	* amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c
3026	(main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main),
3027	amd/get_args.c (get_args): posix: use -1 to check for return from
3028	getopt() (not EOF), as per posix.
3029
3030	* amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David
3031	O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree.  Use
3032	real variable whose pointer is on the stack for decoding a long
3033	int.
3034
30351998-11-11  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3036
3037	* scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's
3038	chkconfig utility.
3039
30401998-11-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3041
3042	* released snapshot am-utils-6.0b2s3
3043
3044	* conf/transp/transp_sockets.c (create_nfs_service): remove C++
3045	style comments.
3046
30471998-11-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3048
3049	* released snapshot am-utils-6.0b2s2
3050
3051	* created CVS package
3052
3053	* amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race
3054	condition between unmounting and re-mounting an entry, by
3055	increasing the ttl of a looked up entry before unmounting it.
3056	Patch from Mike Mitchell <mcm@unx.sas.com>.
3057
3058	* All files: spell comments and strings.
3059
30601998-11-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3061
3062	* aux/configure.in: look for yp_all in libnsl only if yp_all not
3063	already found elsewhere (in libc or other default libraries).
3064	This is so RedHat 5.1 systems could find yp functions in libnsl,
3065	but also so AIX 4.2.1 will NOT include libnsl, because the latter
3066	has broken nis functionality that also exists and works ok in libc.
3067
30681998-10-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3069
3070	* amd/amd.c (main): bug fix: swapped arguments to kill(2).  Fix
3071	from Danny Rathjens <dkr@cs.fiu.edu>.
3072
30731998-10-28  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
3074
3075	* released snapshot am-utils-6.0b2s1
3076
30771998-10-27  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
3078
3079	* aux/macros/*.m4: support bsdi4 as bsdi3.
3080
3081	* aux/macros/os_ldflags.m4: enable detection of LDAP on solaris
3082	2.7 (libraries located in /usr/lib/fn).  This is off until Sun
3083	includes LDAP header information.
3084
30851998-10-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3086
3087	*******************************************************************
3088	*** Released am-utils-6.0b1					***
3089	*******************************************************************
3090
30911998-10-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3092
3093	* mk-amd-map/mk-amd-map.c (main): use perror not strerror.
3094	(main): set return type to int if no ndbm maps.
3095
3096	* include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1
3097	kernels.
3098
30991998-10-18  Erez Zadok  <ezk@london.mcl.cs.columbia.edu>
3100
3101	* A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup
3102	for netbsd 1.3.2.
3103
31041998-10-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3105
3106	* aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1
3107	systems put NIS functions there.
3108
3109	* mk-amd-map/mk-amd-map.c: patch from "David O'Brien"
3110	<obrien@NUXI.com> merged in.  Use POSIX -1 return code from
3111	getopt(), not EOF.  Use .db extentions for systems that use it,
3112	instead of .{pag,dir}.
3113
31141998-10-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3115
3116	* wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c,
3117	amd/amd.c (main): avoid overrunning hostname buffer.  Bug fix from
3118	"David O'Brien" <obrien@NUXI.com>.
3119
3120	* scripts/amd.conf.5: minor typo reported by "David O'Brien"
3121	<obrien@NUXI.com> in .TH section of man page.
3122
3123	* amd/info_nis.c (am_yp_all): don't leak key-val entries.  Patch
3124	from Thomas Richter <richter@chemie.fu-berlin.de>.
3125
31261998-10-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3127
3128	* doc/am-utils.texi (Program Filesystem): minor typo fixed as per
3129	Andreas Stolcke <stolcke@speech.sri.com>.
3130
3131	* minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7,
3132	and sparc-sun-solaris2.7.
3133
3134	* conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now
3135	a 4.4lite kernel, and somethings were removed, such as
3136	INITMOUNTNAMES.
3137
3138	* amd/ops_autofs.c (autofs_lookuppn): don't leak memory while
3139	processing /defaults.  Free temporary opts.  Patch from
3140	dsr@mail.lns.cornell.edu (Daniel S. Riley)
3141
3142	* amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while
3143	processing /defaults.  Free temporary opts.  Patch from
3144	dsr@mail.lns.cornell.edu (Daniel S. Riley)
3145
3146	* conf/mtab/mtab_osf.c (read_mtab): patch from
3147	 dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access
3148	 uninitialized memory on Digital Unix.
3149
31501998-10-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3151
3152	* aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most
3153	systems now use "char *" as their mount type.
3154
31551998-10-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3156
3157	* amd/conf.c (gopt_map_type, ropt_map_type): check if map type
3158	exists.
3159
3160	* amd/mapc.c (mapc_type_exists): function to test if a map of
3161	certain type exists.
3162
31631998-10-08  Erez Zadok  <ezk@horatio.mcl.cs.columbia.edu>
3164
3165	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
3166	include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl
3167	in RH-5.1 sparc64 between <netinet/in.h> and
3168	<linux/byteorder/generic.h> (2.1 kernels).
3169
31701998-09-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3171
3172	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat
3173	5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket
3174	from yp_all().
3175
31761998-09-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3177
3178	* conf/mount/mount_linux.c (parse_opts): check for pcfs support
3179	only if autoconfigured.
3180
31811998-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3182
3183	* Makefile.am (EXTRA_DIST): distribute README.yk2 file.
3184
3185	* README.y2k: explain y2k compliance status of am-utils.
3186
31871998-09-16  Erez Zadok  <ezk@iguana.mcl.cs.columbia.edu>
3188
3189	* amd/amfs_host.c (fetch_fhandle, amfs_host_fmount,
3190	amfs_host_umounted): clnt_sperrno() may return a const.
3191
3192Sat Aug  8 23:28:32 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3193
3194	* aux/configure.in: check for <nfs/nfsmount.h>, as per Christos
3195	Zoulas. Turned on checking for mount options: async, synchronous,
3196	deadthresh, leasterm, nqnfs, and readahead.
3197
3198	* amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas)
3199	to include prototype definition for nis_isup().
3200
3201Sun Jul 19 18:50:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3202
3203	* hlfsd/stubs.c (getcreds): force sscanf arg to u_long.
3204
3205Tue Jul 14 20:34:25 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3206
3207	* released snapshot am-utils-6.0a17s1
3208
3209Wed Jul  8 21:49:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3210
3211	* aux/macros/host_macros.m4: all x86 hosts should have $arch be
3212	i386, not i[456]86.
3213
3214Tue Jul  7 18:55:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3215
3216	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
3217	include/am_defs.h: include <linux/posix_types.h> before
3218	<linux/fs.h> because on redhat 5.1, there is a bug (misuse) of
3219	headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of
3220	__KERNEL_STRICT_NAMES).
3221
3222	* aux/configure.in: check for <linux/posix_types.h> because it is
3223	need for RedHat 5.1.
3224
3225Wed Jun 17 00:05:33 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3226
3227	* scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from
3228	.in as well, so it doesn't get removed by make clean.
3229
3230Tue Jun 16 22:00:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3231
3232	* aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
3233	check_mount_type.m4}: redhat 5.1 puts some modules in
3234	/lib/modules/preferred/.
3235
3236Wed May 13 16:33:57 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3237
3238	* amd/ops_autofs.c (mount_autofs): cast pid to long.
3239
3240Tue Apr 28 15:12:36 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3241
3242	* conf/nfs_prot/nfs_prot/nfs_prot_irix6.h,
3243	conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to
3244	avoid amd/am_ops.c (show_fstypes) from erroneously claiming
3245	support.
3246
3247Fri Apr 24 23:02:11 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3248	
3249	* libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON
3250	unconditionally, may be missing on Ultrix V4.3.
3251
3252Thu Apr 23 20:24:33 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3253
3254	* conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define,
3255	missing from <sys/mntent.h>.
3256	
3257	* conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h>
3258	without KERNEL defined here.
3259
3260	* aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>,
3261	<cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of
3262	ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed.
3263
3264	* amd/ops_ufs.c (mount_ufs): Removed obsolete comment.
3265
3266	* ChangeLog: Fixed confusing linebreaks from ChangeLog imports.
3267	Removed purely local (and obsolete) entry.
3268
3269Thu Apr 23 00:22:17 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3270
3271	*******************************************************************
3272	*** Released am-utils-6.0a16					***
3273	*******************************************************************
3274
3275Wed Apr 22 01:20:39 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3276
3277	* aux/macros/check_mount_style.m4: define freebsd3 mount style.
3278
3279	* aux/macros/check_mount_trap.m4: new mount trap for freebsd3.
3280
3281	* aux/macros/check_mtype_printf_type.m4,
3282	aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as
3283	of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not
3284	integers, but I'll keep them as integers and do the mapping in
3285	conf/mount/mount_freebsd3.c
3286
3287	* minor new port to i386-pc-bsdi3.1.
3288
3289	* minor new port to i386-unknown-netbsd1.3.1.
3290
3291	* amd/opts.c: new option addopts:=ARG, which smartly merges ARG
3292	options with whatever the /default ones for a key are.  This
3293	allows adding or overriding /default options individual keys.
3294
3295	* amd/am_ops.c (ops_match): strdup/malloc string assigned to
3296	opt_opts because it'll get free()'d upon next use.
3297	(merge_opts): new function to merge two sets of options.
3298	(ops_match): if addopts option exist, append and merge it to the
3299	current default options.
3300
3301Tue Apr 21 12:54:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3302
3303	* wire-test/wire-test.c (main): use dynamically allocated returned
3304	string with list of interfaces.
3305
3306	* amd/get_args.c (get_version_string): allocate enough space for
3307	header version string and a list of network interfaces of any
3308	length.
3309
3310	* libamu/wire.c (print_wires): return dynamically allocated string
3311	containing list of networks.  Must be dynamic because some sites
3312	had potentially dozens of network interfaces.  Patch from Matthew
3313	Crosby <mcrosby@ms.com> slightly modified.
3314
3315Mon Apr 20 00:37:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3316
3317	* conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because
3318	irix 5.3 does not have full header definitions for it.
3319
3320	* fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and
3321	undefined it when not needed (similar to amd/conf_tok.l)
3322
3323	* hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size
3324	of these to unsigned short (because uid_t on some linux systems is
3325	small).
3326
3327	* released snapshot am-utils-6.0a16s10
3328
3329	* doc/am-utils.texi (opts Option): documented resvport mount
3330	option.
3331
3332Sun Apr 19 18:17:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3333
3334	* doc/am-utils.texi (-D-Option): document behavior of -D info and
3335	especially what it does to hesiod (turn on RES_DEBUG).
3336
3337	* scripts/amd.conf.5: document info debugging option.
3338
3339	* libamu/xutil.c (dbg_opt): parse info debugging option.
3340
3341	* include/am_utils.h (D_INFO): define new trace option.
3342
3343	* Makefile.am (EXTRA_DIST): include list of official mirrors in
3344	distribution.
3345
3346	* libamu/wire.c (SIZE): in the simple case, just compute
3347	sizeof(struct ifreq).
3348
3349Sun Apr 19 16:30:35 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3350
3351	* amd/amd.c (daemon_mode): set a temporary secure umask(0022)
3352	before writing log file and restore it afterwards.  Patch from
3353	Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3354
3355	* amd/get_args.c (get_args): 
3356
3357	* doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf
3358	file specified by -F is always processed last.
3359
3360	* amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd
3361	won't be reused.  Allows startup script to redirect stdout.  Patch
3362	from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3363
3364	* libamu/xutil.c (switch_to_logfile): compare logfile name and
3365	syslog string with correct length.  Patch from Donald Buczek
3366	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3367
3368	* amd/restart.c (restart): correctly inherit existing NFS V.3
3369	mounts upon restart.  Patch from Donald Buczek
3370	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3371
3372Sat Apr 18 19:01:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3373
3374	* using libtool 1.2 and automake 1.3 (with my patches).
3375
3376	* aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to
3377	AMU_CFLAGS to avoid conflicts with automake-1.3.
3378
3379Sun Apr  5 23:09:08 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3380
3381	* converted to using libtool-1.2.
3382
3383Tue Mar 10 16:52:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3384
3385	* fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly
3386	for loop (ITER) which used to run only to initialize the variable
3387	dd once and then break; with a simple assignment.
3388
3389	* hlfsd/hlfsd.h: cleanup so it compiles with Solaris
3390	/opt/SUNWspro/bin/cc, and use gid_t not int.
3391
3392	* amd/mapc.c (mapc_sync): don't dereference pointer (so it
3393	compiles with Solaris /opt/SUNWspro/bin/cc)
3394
3395Sun Mar  8 15:54:22 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3396
3397	* aux/config.{guess,sub}: used from gcc-2.8.1.
3398
3399Sat Mar  7 15:33:27 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3400
3401	* released snapshot am-utils-6.0a16s9
3402
3403	* INSTALL, doc/am-utils.texi (Supported Platforms): updated names
3404	based on new output of new config.guess.
3405
3406	* aux/config.{sub,guess}: used newer versions from gcc-2.8.0.
3407
3408	* amd/amd.8,doc/am-utils.texi: document correct usage of default
3409	/etc/amd.conf file.
3410
3411	* fixmount/fixmount.c (inetresport,privsock): use some more
3412	portable code from amq/amq.c.
3413
3414	* amd/get_args.c (get_args): use default /etc/amd.conf file only
3415	if no arguments had been passed to amd.
3416
3417	* fixmount/fixmount.c (clnt_create_timeout): use tli/socket code
3418	ala amq/amq.c so that fixmount will work on both types of systems.
3419
3420	* amq/amq.c (main): do no close tcp socket before running udp try,
3421	because we're not sure if it was opened at all.
3422
3423	* mips-dec-ultrix* port merged in and cleaned up.
3424
3425	* aux/configure.in: up minor shared library revision number, since
3426	it has changed enough.
3427
3428	* hlfsd/hlfsd.c (main): don't check for overlay mount option here,
3429	as it is now done in compute_nfs_args().  Remove ultrix specific
3430	code also because it was moved to compute_nfs_args().
3431
3432	* conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that
3433	we have more generic code in print_nfs_args().
3434
3435	* libamu/mount_fs.c (print_nfs_args): print maxlen of
3436	nfs_args.addr, and also syncaddr (which is mostly NULL).  Print
3437	struct knetconfig from nfs_args->knconf.
3438
3439	* aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs
3440	headers here, but in try_compile_anyfs.m4.
3441
3442	* aux/macros/type_ufs_args.m4: move test for struct ufs_specific
3443	(for ultrix) here from its own macro.
3444
3445	* aux/macros/type_cdfs_args.m4: move test for struct iso_specific
3446	(for ultrix) here from its own macro.
3447
3448	* amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking
3449	for overlay mount option.  Remove code which checks for overlay
3450	option, as it is now done in compute_nfs_args().
3451
3452	* libamu/mount_fs.c (compute_mount_flags): move here code which
3453	checks for overlay mount option which was in amd/amfs_toplvl.c:
3454	mount_amfs_toplvl().
3455
3456Wed Feb  7 15:35:51 1998  Rainer Orth  <ro@xayide.TechFak.Uni-Bielefeld.DE>
3457
3458	* The following are Rainer's ChangeLog entries for his ultrix
3459	port, added manually. -Erez.
3460
3461	* merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
3462	(mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
3463
3464	* include/am_defs.h: include cdfs specific mount headers
3465	avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix)
3466
3467	* include/am_compat.h: define several mount options corresponding
3468	to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
3469	noversion, rrip (cdfs), nocache, quota, sync (generic) removed
3470	duplicate MNTTAB_OPT_RO definition
3471
3472	* aux/macros/try_compile_anyfs.m4: include Ultrix specific
3473	ufs/cdfs mount headers
3474
3475	* aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX
3476	specific mount headers
3477
3478	* aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_*
3479	mount types in mount headers (Ultrix)
3480
3481	* aux/configure.in: Ultrix/Digital UNIX specific checks: new
3482	headers, mount structures and fields, filesystem and mount types,
3483	mount flags
3484
3485	* aux/acconfig.h: placeholders for new mount options: quota
3486	(generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs)
3487	cdfs, nfs, ufs mount structure fields new ufs, cdfs mount
3488	structures
3489
3490	* amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in
3491	ufs_args.ufs_flags and has ufs specific pgthresh option
3492
3493	* amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific
3494	CDFS mount flags and options
3495
3496	* amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh),
3497	hlfsd/hlfsd.c (main): store generic mount flags in
3498	nfs_args.gfs_flags, handle separate NFS ro flag
3499
3500	* aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific,
3501	struct_ufs_specific}.m4: new files; check for Ultrix specific
3502	mount structures
3503
3504	* conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
3505
3506	* aux/macros/type_auth_create_gidlist.m4 (ultrix*):
3507	AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
3508	comment in <rpc/auth.h>
3509
3510	* include/am_defs.h: #define KERNEL to avoid definition of
3511	gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before
3512	<config.h> to force single definition here
3513
3514	* libamu/mount_fs.c (compute_nfs_args): Ultrix support for
3515	nfs_args.gfs_flags moved to callers store mount options in
3516	nap->optstr
3517
3518	* include/am_defs.h: fix _am_mntent mnt_{type, opts} field
3519	descriptions
3520
3521	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
3522	include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
3523	definition in prototypes
3524
3525	* aux/macros/mount_headers.m4: include <sys/errno.h> before
3526	AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
3527	definitions
3528
3529	* conf/nfs_prot/nfs_prot_ultrix.h: new file
3530
3531	* aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
3532
3533	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
3534	aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
3535	inclusion of <rpc/xdr.h>
3536
3537Sat Mar  7 13:56:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3538
3539	* aux/configure.in: save state of config.cache and confdefs.h
3540	(as dbgcf.h) at various points of the configure.
3541
3542	* aux/macros/save_state.m4: new macro to save state of configure,
3543	esp. useful in long ones.  Saves confdefs.h and write $ac_cv_*
3544	cache variables that are known so far.
3545
3546	* released snapshot am-utils-6.0a16s8
3547
35481998-03-06  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
3549
3550	* fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining
3551	it, but only for flex.
3552
3553Fri Mar  6 17:23:17 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
3554
3555	* hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file
3556	to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible)
3557	to write the dump file.
3558
3559	* doc/am-utils.texi,amd/opts.c: rename all references to nomadic
3560	functions to boolean functions, which is what they really are.
3561
3562	* aux/configure.in: don't look for strcasecmp in libucb at all,
3563	but rather complete it from libamu/strcasecmp.c as needed.
3564
3565Fri Mar  6 03:29:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3566
3567	* conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS.
3568
3569	* libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X
3570	which defines IFF_ROUTE instead of IFF_LOOPBACK.  Patch from Tom
3571	Schmidt <tschmidt@micron.com>.
3572
3573	* released snapshot am-utils-6.0a16s7
3574
3575	* conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to
3576	hppa1.0-hp-hpux11.00.tgz.
3577
3578Thu Mar  5 21:59:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3579
3580	* converted all sources to use mntent field names, and map mnttab
3581	field names to mntent's.
3582
3583	* include/am_defs.h (mnt_special): map struct mnttab field names
3584	to struct mntent field names.
3585
3586	* aux/macros/check_mount_trap.m4: hpux11's mount trap style is
3587	identical to svr4/solaris2.
3588
3589	* aux/macros/check_mount_style.m4: hpux11's mount style is
3590	identical to svr4/solaris2.
3591
3592	* aux/macros/check_network_transport_type.m4: hpux11 is a TLI
3593	system!
3594
3595	* aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address
3596	dereferencing style is same as svr4.
3597
3598	* aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh
3599	dereferencing style is same as svr4.
3600
3601	* conf/transp/transp_tli.c (create_nfs_service): if failed to
3602	getnetconfigent() of ticlts, then try udp (hpux11).
3603
3604	* conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for
3605	struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris
3606	2.5.1 (HP used them).
3607
3608	* amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open()
3609	because hpux11 doesn't like it. if t_open failed, print error
3610	based on t_errlist, not sys_errlist.
3611
3612Wed Mar  4 22:01:55 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3613
3614	* doc/am-utils.texi: lots of documentation fixes from Rainer Orth
3615	<ro@TechFak.Uni-Bielefeld.DE>.
3616
3617Sat Feb 28 22:16:35 1998  Erez Zadok  <ezk@kosh.cs.columbia.edu>
3618
3619	* fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used
3620	later.
3621
3622	* include/am_defs.h: defined the extern for ualarm() if it isn't
3623	found, regardless if the function isn't found in standard
3624	libraries, because otherwise libamu will include it.
3625
36261998-02-28  Erez Zadok (per Ron Snyder)  <ezk@short.cvo.roguewave.com>
3627
3628	* initial port to hpux-11 completed.  Compiles cleanly, but
3629	probably does not work, because of missing NFS V.2/3 headers.
3630
3631	* amd/conf_tok.l: cast yytext to char* when passed to strlen and
3632	strdup, for hpux-11's ansi-cc compiler.
3633
3634	* include/am_utils.h: renamed all xfree() to XFREE() to avoid
3635	conflict with hpux-11's system headers.  Also move (voidp) cast
3636	from sources to inside the macro itself.
3637
3638Sat Feb 28 13:44:21 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3639
3640	* released snapshot am-utils-6.0a16s6
3641
3642	* amd/info_nis.c (nis_isup): new function to test if NIS is up
3643	without hanging amd.  Used to ensure that amd does not clear the
3644	maps when the expiration period arrived, if the service is down.
3645	Otherwise it would be left with empty maps.  It is better to stay
3646	with possibly old information than none at all.
3647
3648	* amd/mapc.c (mapc_sync): check to see if map service is up.
3649
3650Tue Feb 24 02:19:42 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3651
3652	* aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it
3653	includes auxiliary library only if needed.
3654
36551998-02-22  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
3656
3657	* amd/conf_tok.l: undefine ECHO again, so it doesn't get used
3658	later.
3659
3660Sun Feb 22 01:41:08 1998  Erez Zadok  <ezk@zen.cs.columbia.edu>
3661
3662	* conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1
3663	completed.
3664
3665	* conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3.
3666
3667Sat Feb 21 19:45:48 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3668
3669	* doc/am-utils.texi (Network Host Filesystem): correct example for
3670	type:=host map.
3671
3672	* aux/macros/os_cflags.m4: only osf4 should compile with
3673	-D_SOCKADDR_LEN.
3674
3675	* aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2
3676	and OSF4.
3677
3678	* BUGS: include a new file listing known bugs.
3679
3680Sat Feb 21 03:50:48 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
3681
3682	* conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux
3683	versions.
3684
3685	* aux/macros/type_recvfrom_fromlen.m4: linux alpha should use
3686	size_t for recvfrom fromlen arg.
3687
3688Sat Feb 21 03:33:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3689
3690	* scripts/ctl-hlfsd.in: turn -D fork so primary process never
3691	hangs.
3692
3693Sat Feb 21 02:45:51 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
3694
3695	* include/am_defs.h: don't include <sys/stat.h> and
3696	<linux/stat.h>, just remaining definitions in <statbuf.h>
3697
3698Thu Jan 29 00:44:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3699
3700	* released snapshot am-utils-6.0a16s5
3701
3702	* conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to
3703	mount(2).
3704
3705	* check for <sys/fs/xfs_clnt.h> and include it when needed.
3706
3707	* conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize
3708	efs and xfs separately from "ufs".
3709
3710	* amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs.
3711
3712	* aux/configure.in: look for irix efs and xfs file systems.
3713
3714	* scripts/amd.conf.5: new unmount_on_exit option documented.
3715
3716	* doc/am-utils.texi (unmount_on_exit): new option documented.
3717
3718	* amd/conf.c (gopt_unmount_on_exit): new function to handle new
3719	amd.conf option.
3720
3721	* amd/map.c (umount_exported): if global amd.conf flag
3722	unmount_on_exit is on, then try to unmount all mounted (or
3723	restartable) file systems.
3724
3725	* amd/amd.c: if print_pid option is on, then normally print it to
3726	stdout.  If also pid_file is specified, then print the process ID
3727	into that file.
3728
3729	* amd/get_args.c (get_args): print correct -l option depending if
3730	system supports syslog and/or syslog facilities.  Patch from 
3731	Tom Schmidt <tschmidt@micron.com>.
3732
3733	* doc/am-utils.texi (opts Option): updates for documentation for
3734	new cdfs options defperm, nodefperm, noversion, rrip.
3735
3736	* amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm,
3737	nodefperm, noversion, rrip.
3738
3739	* conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h>
3740	on osf.
3741
3742	* aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4,
3743	expand_cpp_string.m4}: use #error to make failed compilations
3744	fail faster, rather than have the program fail during a run.
3745
3746	* include/am_compat.h: added a few new cdfs options: rrip,
3747	noversion, defperm, and nodefperm (used in OSF).
3748
3749Wed Jan 28 20:24:09 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3750
3751	* released snapshot am-utils-6.0a16s4
3752
3753	* doc/am-utils.texi (Global Parameters): update manual for new
3754	amd.conf global variable hesiod_base.
3755
3756	* scripts/amd.conf.5: update man page for new amd.conf global
3757	variable hesiod_base.
3758
3759	* amd/get_args.c (get_args): use /etc/amd.conf file if exists by
3760	default, else try command line options.  Patch from Randall
3761	S. Winchester <rsw@Glue.umd.edu>.
3762
3763Wed Jan 28 12:20:56 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3764
3765	* amd/info_hesiod.c (hesiod_search), amd/conf.c
3766	(gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options):
3767	included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to
3768	support a hesiod base name in the amd.conf file.
3769
3770	* doc/am-utils.texi (pid_file Parameter): document new global
3771	amd.conf parameter.
3772
3773	* scripts/amd.conf.5: document new global option pid_file.
3774
3775	* amd/amd.c (daemon_mode): if cannot open pid_file, continue to
3776	run, but print error message.
3777
3778	* amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode,
3779	init_global_options): Included patch from Randall S. Winchester
3780	<rsw@Glue.umd.edu>, to support pid files in the amd.conf file.
3781
3782	* amd/get_args.c (get_args): correct usage info on amd -t.
3783
3784	* amd/*.c: massive file name and symbol name changes.  All amd
3785	file systems files and symbols are prefix with amfs_*.  Now using
3786	real name of file system: amfs_auto instead of afs, amfs_inherit
3787	instead of ifs, amfs_linkx instead of sfsx, etc.  This will enable
3788	clear distinction between amd file system and generic ones like
3789	nfs/ufs/pcfs/hsfs.  Also, now we can implement true afs (Andrew
3790	f/s) and DFS (Distributed f/s).
3791
3792	* amd/amfs_union.c: unionfs for amd is always defined, no need to
3793	#ifdef it.
3794
3795Mon Jan 26 16:51:38 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
3796
3797	* libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on
3798	or off, based on the particular quirks of the OS in question.
3799
3800	* aux/macros/check_nfs_socket_connection.m4: new macro to set the
3801	correct wait of handling un/connected NFS sockets.
3802
3803	* scripts/wait4amd.in: use rlogin instead of rsh.
3804
3805	* amd/am_ops.c (ops_showfstypes): when showing F/S types in amd
3806	-v, always show "nfs3" for NFS V.3.
3807
38081998-01-25  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
3809
3810	* lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets
3811	more picky than 2.7.2.3 did.
3812
38131998-01-24  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
3814
3815	* include/am_utils.h (dlog): amuDebug macros reduced to shorter
3816	forms.
3817
3818Fri Jan 23 18:38:30 1998  Erez Zadok  <ezk@goat.mcl.cs.columbia.edu>
3819
3820	* released snapshot am-utils-6.0a16s3
3821
3822	* include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included
3823	in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h
3824	must not, fake a definition for varargs.
3825
3826Fri Jan 16 10:16:40 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3827
3828	* README: show how to configure in additional support such as
3829	hesiod using various --enable-* flags.
3830
3831Wed Jan 14 15:13:02 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3832
3833	* aux/configure.in: look for strcasecmp(), and replace it if not
3834	available.
3835
3836	* amd/ops_nfsl.c (nfsl_match): host names should be compared using
3837	case insensitive.
3838
3839	* amd/opts.c: for each map variable, define if the comparison
3840	needs to be done case insensitive.
3841
3842	* include/am_utils.h (STRCEQ): a new macro to use strcasecmp().
3843	Patch from Thomas Richter <richter@chemie.fu-berlin.de>
3844
38451998-01-14  Erez Zadok  <ezk@irt.cs.columbia.edu>
3846
3847	* aux/configure.in: look for "isofs" as a possible mount type for
3848	cdfs (RedHat Linux).
3849
3850Wed Jan 14 02:07:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3851
3852	* conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount
3853	type if not defined.
3854
3855	* conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if
3856	already defined.
3857
3858	* aux/configure.in: look for ext2fs before ufs, b/c some linux
3859	have both.
3860
3861Mon Jan 12 15:43:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3862
3863	* Makefile.am (snapshot): allow me to install snapshots into the
3864	ftp directory.
3865
3866	* scripts/ctl-hlfsd.in: don't turn on -D mem by default.
3867
3868	* amd/get_args.c (get_args): minor bug in output of amd -H.
3869
3870Mon Jan 12 03:05:06 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
3871
3872	*******************************************************************
3873	*** Released am-utils-6.0a15					***
3874	*******************************************************************
3875
3876Sun Jan 11 15:06:34 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3877
3878	* amd/conf.c (*_browsable_dirs): allow specifying
3879	browsable_dirs=full, which will print *all* entries (other than
3880	/default), including  those with '*' and '/' characters.
3881
3882	* amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length
3883	to 1500.
3884
3885	* doc/am-utils.texi: fixed reversed documentation for NFS mount
3886	options vers and proto.
3887
3888	* doc/Makefile.am (install-html): separate target just for
3889	installing html files.  Another new target "alldocs" is just for
3890	installing all files needed for the am-utils home page.
3891
3892	* scripts/amd.conf-sample: updated example for log_file.
3893
3894	* scripts/amd.conf.5: updated for new way to declare new syslog
3895	facility in the log_file option.
3896
3897	* amd/amd.8: updated for new way to declare new syslog facility in
3898	the -l option.
3899
3900	* libamu/xutil.c (get_syslog_facility): allow users to specify the
3901	syslog facility as an appended string to the log device.  Ex. amd
3902	-l syslog:local7 will use LOG_LOCAL7, while the older -l syslog
3903	will use the default LOG_DAEMON facility.
3904
3905	* amd/get_args.c (get_args): updated new syntax for amd -l
3906	syslog:facility.
3907
3908Thu Jan  8 04:05:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3909
3910	* aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3
3911	(intel).
3912
3913	* libamu/wire.c (print_wires): bug fix.  Nullify output buffer
3914	before appending to it, on systems with two or more network
3915	interfaces.
3916
3917	* conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for
3918	the mntent for cachefs.
3919
3920	* include/am_defs.h: external definition for strstr() should use
3921	const for both arguments.
3922
3923	* aux/configure.in: add extern definitions for getwd() if missing.
3924
3925	* include/am_defs.h: define the extern for strdup() even if the
3926	function does not exist, for it will be filled in by
3927	libamu/strdup.c
3928
3929	* amq/pawd.c (cluster_server): don't use getccent() if the extern
3930	for it isn't there.  On hpux 10.20, the function is in libc, but
3931	<cluster.h> and struct cct_entry do not exist.
3932
3933	* aux/configure.in: check for an extern for getccent() b/c some
3934	hpux systems don't have it (hpux 10.20).
3935
3936Wed Jan  7 00:09:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3937
3938	* doc/am-utils.texi (Amq -T option): manual documentation updates
3939	for new amq options -T/-U.
3940
3941	* amq/amq.8: updated man page for new amq options -T/-U.
3942
3943	* amq/amq.c: two new switches to amq. -U will contact amd using
3944	UDP only.  -T will use TCP only.  Normally amq will try TCP and
3945	if that failed, will try UDP.
3946
3947	* doc/am-utils.texi (pawd): manual documentation for pawd.
3948
3949	* amq/pawd.1: new man page for pawd.
3950
3951Tue Jan  6 04:21:59 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3952
3953	* amq/pawd.c: a new program, Print Automounter Working Directory,
3954	to print the proper pathname of the cwd or any other pathname,
3955	adjusted for automounter paths, while avoiding mount points.
3956
3957	* aux/macros/localconfig.m4: trivial support for am-utils
3958	maintainers to adjust some of the configuration of am-utils after
3959	it has been auto-configured by putting whatever definitions you
3960	wish in a file called localconfig.h, located in the top build
3961	directory (the same one where config.h is created for you).
3962
3963	* doc/am-utils.texi (Caching Filesystem): updated documents for
3964	cachefs file system.
3965
3966	* amd/ops_cachefs.c: initial cachefs support, for solaris.
3967	type:=cachefs, requires cachedir:=/cache/dir/name to be defined
3968	and initialized with cfsadmin -c.  $rfs is backdir to be cached
3969	from, and $fs is the local mount point of the cachefs.
3970
3971	* conf/mount/mount_svr4.c (mount_svr4): support mounting of
3972	cachefs file systems.
3973
3974	* amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the
3975	mnttab type is.
3976
3977Mon Jan  5 23:22:49 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3978
3979	* amd/opts.c: added support for new variable $cachedir.
3980
3981	* include/am_utils.h: added opt_cachedir field to struct am_opts.
3982
3983Sat Jan  3 01:43:57 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3984
3985	* amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
3986	local hostname does not match $rhost, and if so, also assume
3987	type:=nfs.
3988
3989Fri Jan  2 01:00:40 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
3990
3991	* updated all source files to add 1998 as a copyright year.
3992
3993	* amd/ops_nfsl.c: new amd meta file system "type:=nfsl".  Behaves
3994	like type:=linkx if the pathname denoted by $fs exists, and like
3995	type:=nfs if it does not.  A convenient shortcut for the most
3996	popular amd map entry.
3997
3998	* amd/amd.c (main): amd should chdir to / before starting, to
3999	avoid hanging on other NFS server if started elsewhere.
4000
4001	* amd/ops_TEMPLATE.c: added an empty template file for developers
4002	who wish to write new amd pseudo file systems.
4003
4004Thu Jan  1 00:27:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4005
4006	* hlfsd/homedir.c (plt_init): make function exported, to save on
4007	the unnecessary init_homedir() function which was removed.
4008	(table_add): don't use xmalloc() when you can use strdup()
4009	instead.
4010
4011Thu Jan  1 00:15:58 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
4012
4013	* hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this
4014	because we will be making more passwd calls afterwards.  On
4015	Solaris 2.5.1, making getpwent() calls after calling endpwent()
4016	results in a memory leak! (and no, even Purify didn't detect
4017	it...)
4018
4019Tue Dec 23 18:23:47 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
4020
4021	* hlfsd/hlfsd.c (main): Bug fix.  Don't try to free() an
4022	automatically allocated address.
4023
4024	* amd/ops_afs.c (mount_toplvl): Bug fix.  Don't try to free() an
4025	automatically allocated address.
4026
4027	* ALL SOURCES: change every direct call to free() to xfree(), so
4028	it can be mapped to the right debugging function as needed.
4029
4030	* include/am_utils.h: new free() policy.  If debugging memory,
4031	call dxfree(), which will print the file name and line number
4032	where the free occurred and the pointer address.  if only regular
4033	debugging, then free() and reset  the pointer to NULL so it cannot
4034	be used afterwards inadvertently.  If not DEBUG at all, then just
4035	run free().  Three different #define macros set the right mapping.
4036
4037	* libamu/xutil.c (dxfree): renamed function to dxfree(), so it can
4038	be called only when debugging the memory.
4039
4040Tue Dec 23 04:24:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4041
4042	* wire-test/wire-test.c (main): use xmalloc() not malloc().
4043
4044	* conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not
4045	calloc().
4046
4047	* conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc().
4048
4049	* conf/mount/mount_linux.c (parse_opts): use xmalloc() not
4050	malloc().
4051
4052	* amd/info_ldap.c: use xmalloc() not malloc().
4053
4054	* libamu/xutil.c (xzalloc): new function to allocate memory and
4055	zero its bytes.
4056
4057	* amq/amq.c: amq does not need its own definition of xfree().
4058
4059	* aux/macros/opt_debug.m4: if used --enable-debug=mem, then also
4060	look for function malloc_verify() in libmapmalloc.a, and function
4061	mallinfo() in libmalloc.
4062
4063	* libamu/xutil.c (checkup_mem): do not use mallinfo field
4064	uordbytes, because it does not always exist.  Rather, compute it
4065	from other fields..
4066
4067	* include/am_utils.h: add external definition to xfree() function
4068	used when debugging memory references.
4069
4070Mon Dec 22 03:01:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4071
4072	* amd/ops_afs.c (afs_readdir_browsable): reduce the number of
4073	bytes heuristically computed to be returned to the kernel.
4074	Otherwise browsable_dirs fails on OpenBSD 2.2.
4075
4076	* amd/mntfs.c (uninit_mntfs): bug fix.  Moved freeing of
4077	mf_private field to AFTER it gets used.
4078
4079Sat Dec 20 00:51:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4080
4081	* amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
4082	on systems that don't support it.
4083
4084	* include/am_defs.h: add missing extern definition for free().
4085
4086	* aux/configure.in: check for external definition for free().
4087
4088	* libamu/Makefile.am: add to comment a mention of strstr as an
4089	optional function.
4090
4091	* libamu/xutil.c (switch_to_logfile): use openlog() options only
4092	if they exist.
4093
4094	* conf/transp/transp_sockets.c (get_nfs_version): don't use
4095	clnt_spcreateerror if it does not exist.
4096
4097	* aux/configure.in: check for missing functions clnt_create and
4098	clnt_spcreateerror.  Check for missing strstr, and complete
4099	its code.  Check for missing external definition for strstr.
4100
4101	* aux/macros/host_macros.m4: normalize sun3* names.
4102
4103	* Makefile.am: updates for new sunos3 files distributed.
4104
4105	* conf/nfs_prot/nfs_prot_sunos3.h: new file.
4106
4107	* conf/fh_dref/fh_dref_sunos3.h: new file.
4108
4109	* aux/macros/check_nfs_prot_headers.m4: added sunos3 case.
4110
4111	* aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
4112
4113	* doc/am-utils.texi (wire Selector Variable): updated manual for
4114	adjusted variables wire, network, and netnumber, all using the
4115	in_network() function.
4116
4117Fri Dec 19 04:37:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4118
4119	* amd/opts.c: allow options to be processed by executing arbitrary
4120	functions.  Converted wire, network, and netnumber all to use the
4121	nomadic function in_network.  So from now on they perform a match
4122	against all networks, not just primary.
4123
4124	* initial port to alpha-unknown-linux-gnu, probably works, but
4125	untested yet.
4126
4127	* conf/nfs_prot/nfs_prot_linux.h: add special definitions for
4128	__FD_* macros which for som strange reason do not get included
4129	from <selectbits.h> on redhat alpha linux.  Also turn off usage of
4130	<rpc/des_auth.h> because it is incomplete on the same systems.
4131
4132	* hlfsd/homedir.c (table_add): cast uid field to int, for
4133	comparison.
4134
4135	* include/am_defs.h: more coflicts with redhat alpha linux
4136	"resolved".
4137
4138	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
4139	There's a conflict of definitions on redhat alpha linux between
4140	<netinet/in.h> and <linux/fs.h> which must be avoided.
4141
4142	* aux/configure.in: check for <socketbits.h>, which is in use on
4143	redhat alpha linux.
4144
4145	* doc/am-utils.texi (Selectors): added documentation to describe
4146	the new "!" (negated) nomadic functions.
4147
4148	* amd/opts.c (f_in_network): print debugging info that is correct,
4149	rather than saying that any ARG is on a local network.
4150	(eval_opts): added support for negating nomadic functions, by
4151	prepending "!" to their name.  Example, !exists(/foo/bar).
4152
4153Thu Dec 18 20:57:19 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4154
4155	* include/am_compat.h: ensure that all NFS3 systems have the mount
4156	table entries (and amd opts switches) "proto" and "vers".
4157
4158	* hlfsd/homedir.c (table_add): added some debugging info to try
4159	and track down a serious memory leak in hlfsd.
4160
41611997-12-18  Erez Zadok  <ezk@t-rex.mcl.cs.columbia.edu>
4162
4163	* libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that
4164	you do NOT set the noconn option, and use connected sockets
4165	always.  So I'm now forced not to set it at all, and have the user
4166	specify it as "conn" or "noconn" in their /default entry.  Argh...
4167	Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
4168	buggy (TCP hangs with "short receive" kernel errors).  I'd better
4169	wait until they get it working in their version of the automounter
4170	first.  So I'm putting the "noconn" option back.
4171
4172Thu Dec 18 02:39:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4173
4174	* libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set
4175	nfs_args field maxgrouplist accordingly.
4176
4177	* include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition
4178	for mount table entry for maxgroups based on NFS mount option
4179	maxgrp.
4180
4181	* aux/configure.in: put back testing for NFS mount option
4182	"maxgrps".  Added test for mount table entry "maxgroups".
4183
4184	* libamu/mount_fs.c (compute_nfs_args): perform more careful tests
4185	on nfs_proto, because it could be NULL.
4186
4187	* doc/am-utils.texi (Selectors): added example of in_network()
4188	selector.
4189
4190	* aux/macros/check_hide_mount_type.m4: all hpux versions,
4191	including 9.x, should use "ignore" as the mount type to hide from
4192	amd.
4193
4194Wed Dec 17 13:09:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4195
4196	* include/am_utils.h (NSTREQ): use new macro instead of strncmp()
4197	every where in the sources.
4198
4199Wed Dec 17 01:15:01 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4200
4201	* libamu/mount_fs.c (print_nfs_args): if -D trace is on, will
4202	print as much info that is given in struct nfs_args as possible.
4203	useful for detecting internal flags and options, as well as the
4204	file handle used.
4205
4206	* scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc
4207	after /etc and before /etc/local.
4208
4209Tue Dec 16 18:51:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4210
4211	* aux/configure.in, libamu/Makefile.am: added support for linking
4212	with specific versions of libamu.  Upped shared library version of
4213	libamu to 1 (libamu.so.1.0.0)
4214
4215	* include/am_defs.h: added external definition for mkstemp() as
4216	needed.
4217
4218	* minor new port to i386-unknown-netbsd1.3 (BETA version of
4219	netbsd).
4220
4221	* aux/config.guess: don't leave a trailing '.' on the system name
4222	for NetBSD-1.3_BETA and similarly for OpenBSD.
4223
4224	* conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
4225	differences in ypall calling conventions.
4226
4227	* mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible
4228	in preference over mktemp(), b/c it is more secure.
4229
4230	* aux/configure.in: check for mkstemp(), a more secure version of
4231	mktemp().
4232
4233Mon Dec 15 02:32:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4234
4235	* amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
4236	table "vers" option generally do not set the mnttab entry to
4237	"nfs3", but to "nfs" and then they set "vers=3".  Setting it to
4238	"nfs3" works, but it may break some things like "df -t nfs" and
4239	the "quota" program (esp. on Solaris and Irix).  So on those
4240	systems, set it to "nfs".
4241
4242Sat Dec 13 01:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4243
4244	* doc/am-utils.texi (Distrib): updates for new ports, location of
4245	am-utils' home page, and URL cross references (now supported by my
4246	version of texi2html).
4247
4248	* aux/macros/check_mtype_type.m4: also use string type for file
4249	system mount types under nextstep for mount(2).
4250
4251	* aux/macros/check_mtype_printf_type.m4}: nextstep can handle both
4252	integer and string types for file system mount types in mount(2),
4253	but it is better to use string types.
4254
4255	* conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to
4256	0, not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
4257	(EPERM) instead of 0 (OK).  Fixes m68k-next-nextstep3 which now
4258	works.
4259
4260	* conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0,
4261	not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
4262	(EPERM) instead of 0 (OK).
4263
4264	* libamu/xdr_func.c (xdr_*): add debugging calls that are optioned
4265	by -D trace (protocol trace).
4266
42671997-12-11  Erez Zadok  <ezk@bach.cs.columbia.edu>
4268
4269	* A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR
4270	macro based on existence on others, and include <sys/stat.h>.
4271
4272Thu Dec 11 14:14:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4273
4274	* aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off
4275	inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
4276	which this header is broken (it tries to include non-existing
4277	headers).
4278
4279Wed Dec 10 16:09:07 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4280
4281	* libamu/mount_fs.c (mnt_flags): support either nfs or generic
4282	mount option for grpid.
4283
4284	* aux/configure.in: turn back on NFS mount option grpid.
4285
4286Sat Dec  6 04:36:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4287
4288	* doc/Makefile.am (install-ps): added target to install postscript
4289	file in the am-utils' home page, as well as a few other useful
4290	files for the new am-utils Web page.
4291
4292Mon Nov 17 05:22:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4293
4294	*******************************************************************
4295	*** Released am-utils-6.0a14					***
4296	*******************************************************************
4297
4298Sun Nov 16 21:56:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4299
4300	* doc/am-utils.texi (Supported Platforms): updated table of new
4301	ports.
4302
4303Sat Nov 15 06:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4304
4305	* libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab
4306	options so that they can be printed in logs as needed.
4307
4308	* doc/am-utils.texi (osver Parameter): updated for the correct
4309	usage of the -o/-O options.
4310
4311	* scripts/amd.conf.5: corrected info for -o/-O options.
4312
4313	* amd/amd.8: updated man page for new -O op_sys_name option, and
4314	corrected the usage of the -o op_sys_ver option
4315
4316	* amd/get_args.c (get_args): added new amd option -O to override
4317	OS name.
4318	(get_args): updated usage string.  Removed old -m option.  Added
4319	-o and -O options.
4320
4321	* conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case
4322	it is not there.  Reportedly, irix 5.2 does not define it.
4323
4324	* scripts/lostaltmail.in: removed references to unused $hack
4325	variable.
4326
4327	* aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf
4328	<metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
4329	for solaris2.5.
4330
4331	* doc/am-utils.texi (Distrib): typo in the subscription
4332	instructions to amd-dev.  Patch from Stefan Vogel
4333	<vogel@physik-rzu.unizh.ch>.
4334
43351997-11-15  Erez Zadok  <ezk@amtrak.cs.columbia.edu>
4336
4337	* NFS3 works on powerpc-ibm-aix4.2.1.0.
4338
4339	* libamu/mount_fs.c (compute_nfs_args): set fh3 variable to
4340	static.  Some compilers (gcc from egcs  on aix 4.2.1) corrupt the
4341	stack of an automatic variable when pointer to it is passed around
4342	several times.
4343
4344Fri Nov 14 20:09:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4345
4346	* libamu/xutil.c (real_plog): syslog like behavior for normal
4347	logging.  Will not print repeated strings, only a count "last
4348	message repeated N times", but will always print something if
4349	message is repeated more than 100 times.
4350
4351	* scripts/lostaltmail.in: look for lostaltmail.conf files also in
4352	/etc/global, /etc/os, and /etc/local (in that order).
4353
4354Mon Nov 10 03:03:17 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4355
4356	* conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3
4357	mounts.
4358
4359	* aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for
4360	aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h
4361
4362	* conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the
4363	NFS_SA_DREF macro is a pointer to the structure that used to be
4364	passed to it before.  So now I have to dereference the pointer
4365	before accessing its values.
4366
4367	* hlfsd/hlfsd.c (main): use the new and cleaner
4368	compute_nfs_args() and compute_automounter_nfs_args() functions.
4369
4370	* amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner
4371	compute_nfs_args() and compute_automounter_nfs_args() functions.
4372
4373	* amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION.  Use the new
4374	and cleaner compute_nfs_args() and compute_automounter_nfs_args()
4375	functions.
4376
4377	* libamu/mount_fs.c (compute_nfs_args): major code cleanup that
4378	relates for struct nfs_args.  A new function sets the numerous
4379	possible flags and fields of nfs_args_t in an orderly fashion.
4380	Code cleaned up, organized, and moved from amd/hlfsd into
4381	libamu.  This saves on overall size of code.
4382	(compute_automounter_nfs_args): A variant of compute_nfs_args()
4383	which sets special options/flags that need to be used when NFS
4384	mounting an automounter's mount point.  Used by hlfsd and amd.
4385
4386	* amq/amq.c (get_secure_amd_client): don't print any more
4387	"get_secure_amd_client: using TCP, port 12345".  It's more
4388	annoying than useful a message, even when assumed to be compiled
4389	under DEBUG only.
4390
4391Thu Oct 30 14:33:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4392
4393	* aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs
4394	mount table entries.  The code used to define the /etc/mnttab name
4395	for file systems based on physical media (disk, cdrom, floppy) to
4396	the generic name, rather than the OS specific name.  For example
4397	autoconf searches for all these types of mount table entries for a
4398	floppy based file system: vfat pcfs pc msdos msdosfs fat.  But if
4399	it found any, it hard-coded the mnttab name to "pcfs" rather than
4400	the actual name found!  Same for ufs, cdfs, pcfs, tmpfs, lofs,
4401	nullfs, unionfs, and umapfs.
4402
4403	* aux/configure.in: also test for xfs (for newer Irix) when
4404	looking for mount type names, numbers, etc of a disk-based ufs.
4405
4406Sun Oct 26 19:32:57 1997  Erez Zadok  <ezk@defiant.soscorp.com>
4407
4408	* amq/amq.c (main): use pmap_ping() to test if remote host is up.
4409	This works better on bsdi2 and bsdi3, because their portmapper
4410	does not appear to like forwarding operations (it is generaly
4411	insecure).
4412
4413Sat Oct 25 04:55:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4414
4415	*******************************************************************
4416	*** Released am-utils-6.0a13					***
4417	*******************************************************************
4418
4419Fri Oct 24 05:04:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4420
4421	* conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for
4422	struct datum typedef.
4423
4424	* conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for
4425	ypall_callback_fxn_t for netbsd.
4426
4427	* aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for
4428	the 5th arg to authunix_create(), while before and after they used
4429	gid_t.
4430
4431	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
4432	clnt_create_timed() on older Solaris 2.3 systems that did not have
4433	it.
4434
4435	* conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for
4436	kernel only on bsdi2, so do not include it.
4437
4438Fri Oct 24 00:29:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4439
4440	* hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated
4441	messages about resolution of mailboxes based on uid/gid.
4442
4443	* scripts/ctl-hlfsd.in: check for alternate password file in
4444	${prefix}/etc/passwd and use it in hlfsd's startup.
4445
4446Thu Oct 23 22:48:50 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4447
4448	* hlfsd/homedir.c (hlfsd_getpwent): added support for -P
4449	passwdfile option.  If hlfsd is started with -P passwdfile, then
4450	the passwdfile is read and parsed just as a standard unix
4451	passwd(4) file.  Only the username, uid, and homedir fields are
4452	read and checked.  All the rest are ignored.  No NIS/netgroup
4453	support!
4454
4455	* hlfsd/hlfsd.c (main): check if hlfsd is run as root after
4456	parsing command line options, so that usage() can be printed when
4457	-h is invoked.
4458
4459Wed Oct 22 00:16:39 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4460
4461	* amd/nfs_start.c (mount_automounter): if autofs service listener
4462	fails to initialize it is OK if using a test amd.
4463
4464	* amd/opts.c (f_in_network): new nomadic function in_network(arg),
4465	which returns TRUE if 'arg' is any one of this host's networks.
4466
4467	* libamu/wire.c (getwire): rewritten parts of function, to store
4468	all networks names and numbers in the order of the interface (not
4469	in reverse).
4470
4471Mon Oct 20 01:59:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4472
4473	* aux/configure.in: don't add ops_ufs.o on AIX twice.  My code
4474	would have worked had it not been due to AIX's buggy /bin/sh.
4475
4476	* doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
4477	am-utils.ps in the distribution sources.
4478	(html): generate html documentation for
4479	http://www.am-utils.org
4480
4481Sun Oct 19 12:35:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4482
4483	* conf/nfs_prot/nfs_prot_netbsd.h: override the definition of
4484	ypall_callback_fxn_t.  The NetBSD team compiles all sources with
4485	gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
4486
4487	* amd/info_nis.c: allow for override of ypall_callback_fxn_t
4488	function typedef.
4489
4490	* libamu/xutil.c (amu_release_controlling_tty): new function to
4491	release the controlling tty in a clean and sane manner.  No longer
4492	using setpgid() b/c it may not work.  Uses setsid(),
4493	and ioctl() (in order).  This new function is used in amd/amd.c
4494	and hlfsd/hlfsd.c.  Also avoid setpgrp(), because it works on some
4495	systems, but on others it is the same as setpgid().
4496
4497Sat Oct 18 23:42:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4498
4499	* aux/acconfig.h: check for nfs mount option 'fsname'.  Code for
4500	it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but
4501	never used, because the configure test for fsname flag wasn't
4502	used.  This fixed a bug in HPUX 10, where syncer and manual mounts
4503	left blank lines in /etc/mnttab.
4504
4505	* aux/configure.in: check for nfs mount option 'fsname'.
4506
4507Fri Oct 17 13:30:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4508
4509	* amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
4510	mount flags of toplvl mounts.  Important esp. for HPUX 10.  Now
4511	hpux-10 will mount amd's mounts points as 'ignore' (by df).
4512
4513	* aux/configure.in: check for NFS mount option 'ignore', useful in
4514	HPUX 10.
4515
4516Thu Oct 16 03:28:33 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4517
4518	* aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
4519	mount type and not NFS, for the amd mount points.
4520
4521	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
4522	an RPC timeout as an error, but just an info message.  From
4523	Andreas Stolcke <stolcke@speech.sri.com>
4524
4525	* If the NFS server is down or does not support the portmapper
4526	call (such as certain Novell NFS servers) we mark it as version 2
4527	and we let the nfs code deal with the case that is down.  If when
4528	the server comes back up, it can support NFS V.3 and/or TCP, it
4529	will use those.  From christos@deshaw.com (Christos Zoulas).
4530
4531	* hlfsd/homedir.c (plt_print): various compile time cleanups to
4532	printfs that take a long, but pass an int to print.  From
4533	christos@deshaw.com (Christos Zoulas).
4534
4535	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
4536	macro to determine if the OS has a bad yp_all(), based on the host
4537	OS name.  So far only irix (all versions) have a bad yp_all, so
4538	they will use am_yp_all() instead (which is slower as it
4539	enumerates manually all of the map's entries).
4540
4541Thu Oct 16 03:14:37 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
4542
4543	* amd/info_nis.c (am_yp_all): code for a replacement yp_all that
4544	avoids using a file-descriptor leaking yp_all() on some systems
4545	like irix.
4546
4547Wed Oct 15 21:52:35 1997  Erez Zadok  <ezk>
4548
4549	* fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
4550	systems using /usr/bin/flex.
4551
4552	* amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
4553	that have a modified GNU flex which does define yywrap (DU-4.x).
4554
4555Fri Sep 26 14:25:29 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4556
4557	* conf/checkmount/checkmount_bsd44.c: include prototype.
4558
4559Fri Sep 26 01:26:24 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4560
4561	*******************************************************************
4562	*** Released am-utils-6.0a12					***
4563	*******************************************************************
4564
4565Fri Sep 26 00:13:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4566
4567	* conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
4568	code in irix6 until it can be tested correctly
4569
4570	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
4571	on clnt_create for 3 seconds, rather than wait for the much longer
4572	default.
4573
4574	* conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
4575	Includes NFS3, untested.
4576
4577Thu Sep 25 11:03:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4578
4579	* amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
4580	pcfs_args_t if they exist.
4581
4582	* amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
4583	cdfs_args_t if it exists.
4584
4585	* new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
4586	hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
4587
4588Wed Sep 24 00:48:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4589
4590	* doc/am-utils.texi (wire-test): updated documentation for the new
4591	option.
4592
4593	* wire-test/wire-test.8: updated man page for new option.
4594
4595	* wire-test/wire-test.c (main): added a test for various
4596	combinations of NFS proto/vers to a remote/local host.
4597
4598	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
4599	<isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
4600	freebsd will correctly set mount options for pcfs and cdfs.
4601
4602	* amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
4603	0777 (if field exists).
4604
4605	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
4606	<msdosfs/msdosfsmount.h> if available.
4607
4608	* minor new port: rs6000-ibm-aix4.1.4.0.
4609
4610	* libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
4611	write the "time" field in /etc/mnttab.
4612
4613	* conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
4614	detecting mnt_time field of mntent_t.
4615
4616	* libamu/mtab.c (mnt_free): fixed typo in macro names for
4617	detecting mnt_time field of mntent_t.
4618
4619Tue Sep 23 15:30:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4620
4621	* conf/mtab/mtab_file.c (lock): Use flock() in preference over
4622	fcntl() to lock the mtab file.
4623
4624Mon Sep 22 23:04:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4625
4626	* conf/transp/transp_sockets.c (get_nfs_version): define
4627	the try_again goto label only for NFS3.
4628	(pmap_ping): assume timeout failure of clnt_stat.
4629
4630	* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
4631	"groups *".
4632
4633Mon Sep 22 20:34:33 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4634
4635	* conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
4636	<dsr@mail.lns.cornell.edu> to make sure that amd works with more
4637	secure portmappers that do not allow forwarding of RPC messages to
4638	other services.
4639
4640	* */Makefile.am: all source files should also depend on the new
4641	include/am_xdr_func.h header.
4642
4643	* include/am_xdr_func.h: new file as part of the code cleanup from
4644	Christos Zoulas <christos@deshaw.com>.
4645
4646	* Lots of fixes from Christos Zoulas <christos@deshaw.com> that
4647	involved missing prototypes, cleaned up ones, and removal of
4648	unused variables.
4649
4650	* libamu/xdr_func.c (xdr_mountres3): some code cleanup.  A switch
4651	statement with only one case is unclean.
4652
4653Mon Sep 22 17:26:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4654
4655	* amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
4656	0 so that all fields are initialized to zero at first.  This way
4657	SunOS 4.x and other systems don't get /etc/mtab entries with
4658	random integers for the fsck/freq fields. Patch from Andreas
4659	Stolcke <stolcke@speech.sri.com>.
4660
4661Mon Sep 22 00:34:19 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
4662
4663	* conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
4664	that the important definition for HOSTNAMESZ will be found.
4665
4666	* amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
4667	(inside the nfs_args structure) if the system uses that macro.
4668	Otherwise systems like SunOS refuse to NFS mount long pathnames
4669	and result in ENAMETOOLONG errno's.
4670
4671Wed Sep 17 04:56:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4672
4673	* doc/am-utils.texi (Supported Platforms): specify new support for
4674	solaris 2.6, and hlfsd running on 2.5.1 too.
4675
4676Wed Sep 17 03:55:02 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
4677
4678	* conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
4679	mount if it is not supported or was turned off.
4680
4681Wed Sep 17 03:19:36 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
4682
4683	* conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
4684	again.  Apparently at some previous release SunOS 4 supported was
4685	broken and all nfs mounts resulted in ESTALE.
4686
4687Wed Sep 17 00:26:25 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
4688
4689	* conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
4690	solaris 2.6.
4691
4692	* aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
4693	protocol header selection.
4694
4695Sat Sep 13 14:31:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4696
4697	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
4698	infinite loop.
4699
4700Sun Sep  7 18:23:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4701
4702	*******************************************************************
4703	*** Released am-utils-6.0a11					***
4704	*******************************************************************
4705
4706Fri Sep  5 11:55:10 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4707
4708	* amd/amd.c (main): if plock() succeeded, don't try to display
4709	errno message.   Patch from Chris Metcalf
4710	<metcalf@catfish.lcs.mit.edu.
4711
4712Thu Sep  4 19:17:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4713
4714	* hlfsd/homedir.c (table_add): make sure duplicate passwd entries
4715	are ignored.   Only the first entry should ever be used, because
4716	that's how lookup in passwd database works.
4717
4718	* conf/transp/transp_sockets.c (get_nfs_version): when determining
4719	if a remote host is up or down, use NFS v.2.  Fix suggested by
4720	Enami Tsugutomo <enami@cv.sony.co.jp>.
4721
4722	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
4723	function to get the best possible NFS version, but also timeout
4724	faster than normal defaults, so remote hosts which are down can be
4725	detected in a reasonable time.
4726	(get_nfs_version): use the new "best" function.
4727
4728Tue Sep  2 00:41:00 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4729
4730	*******************************************************************
4731	*** Released am-utils-6.0a10					***
4732	*******************************************************************
4733
4734Mon Sep  1 15:39:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4735
4736	* conf/transp/transp_tli.c (get_nfs_version): don't use
4737	clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
4738	and earlier).
4739
4740	* aux/configure.in: test for existence of clnt_tp_create_timed(),
4741	since Solaris 2.4 (and possibly earlier) do not have it.
4742
4743Mon Sep  1 15:23:18 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
4744
4745	* amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
4746	field if it exists (solaris 2.4's autofs does not have it).
4747
4748Mon Sep  1 14:45:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4749
4750	* aux/macros/type_auth_create_gidlist.m4: a new test to determine
4751	the correct type to the 5th argument of authunix_create().
4752
4753Mon Sep  1 03:44:32 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
4754
4755	* libamu/xdr_func.c (xdr_umntrequest): add test for autofs
4756	structure umntrequest, if it has the field rdevid.  Seems Solaris
4757	2.4 and earlier didn't have it.
4758
4759Mon Sep  1 01:10:53 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4760
4761	* hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
4762	can be done before primary process forks.
4763	(main): bug fix: wait a bit to give child a chance to initialize.
4764	Without this, hlfsd got into a busy infinite loop while, never
4765	completing the mount.
4766
4767	* amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
4768	to make amd works when talking to NIS+ servers in NIS
4769	compatibility mode.
4770
4771Mon Sep  1 00:46:56 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4772
4773	* amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
4774
4775Sun Aug 31 20:20:40 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4776
4777	* amd/conf.c (gopt_fully_qualified_hosts): a new function to
4778	process another new global variable.
4779
4780	* amd/ops_nfs.c (make_nfs_auth): if a new global variable
4781	fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
4782	Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
4783
4784	* amd/conf.c (process_last_regular_map): If the amd.conf file only
4785	has a [global] section (pretty useless IMHO), do not try to
4786	process a map that does not exist.
4787
4788	* scripts/amd.conf.5: fixed typos (repeated 'as' word).
4789
4790	* doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
4791
4792	* amd/conf.c (reset_cf_map): Bug fix.  Reset 'tag' field of cfm
4793	structure, so it does not carry over from map entry to another.
4794
4795Sat Aug 30 18:39:21 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
4796
4797	* amd/amd.c (main): fixed the meaning of the plock option.  A bug
4798	caused it to be reversed.
4799
4800Sat Aug 30 15:13:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4801
4802	* hlfsd/stubs.c: don't initialize some statics here.  They are
4803	better initialized in hlfsd_init_filehandles().
4804
4805Fri Aug 22 14:47:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4806
4807	* amd/conf.c (gopt_show_statfs_entries): new function and a global
4808	amd.conf key show_statfs_entries.  Defaults to 'no'.  If 'yes',
4809	then all maps flagged as browsable will also show a count of the
4810	number of entries (keys) in that map.
4811
4812	* amd/nfs_subr.c (count_map_entries): new function to count number
4813	of entries in a map.  Now used if browsable is turned on in a map,
4814	to return a count of available keys in a given map.
4815
4816	* hlfsd/stubs.c (eq_fh): use correct memcmp().  BUG fixed! hlfsd
4817	confused the file handles for ".", "..", and the symlink, causing
4818	mess.
4819
4820	* aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
4821	but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
4822	with bad memcmp() in libc's (nextstep3).
4823
4824Thu Aug 21 17:38:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4825
4826	* aux/configure.in: check if autofs_args_t has a field named
4827	addr.  Solaris has it for specifying the address of the daemon,
4828	but Irix does not.  So how does irix tell the kernel the daemon's
4829	address?  I suspect that it is hardcoded to "localhost" using a
4830	"private well-known port" (#define AUTOFS_PORT 2048).
4831
4832	* conf/nfs_prot/nfs_prot_linux.h: added missing autofs
4833	definitions.
4834
4835	* README.autofs: new file listing autofs support notes
4836
4837	* very preliminary autofs code working.  Call it pre-alpha
4838	quality.
4839
4840Sun Aug 17 02:25:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4841
4842	* amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
4843	"autofs" if system does not support it.
4844
4845	* amd/amd.c (main): log am-utils version string (same as amd -v)
4846	at start of run.
4847
4848	* conf/transp/transp_sockets.c (get_nfs_version): in order to tell
4849	if a remote host is available, try to contact its portmapper and
4850	timeout if no answer is received in 3 seconds.
4851
4852Thu Aug 14 16:12:04 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4853
4854	* aux/macros/check_extern.m4 (pattern): use a simpler pattern for
4855	match for external function definitions.  The function could span
4856	multiple lines, so only match the opening parenthesis, not the
4857	closing one too.
4858
4859	* aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
4860	posix mode for nextstep3.  It is broken.
4861
4862	* amd/amd.c (init_global_options): run uname() only if
4863	<sys/utsname.h> and uname(2) exist.
4864
4865	* amd/rpc_fwd.c (fwd_packet): if remote host is down, the
4866	forwarding socket is null, so declare this an error.
4867
4868	* include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
4869	for when a remote host is down.  Try, in order, "host down", "host
4870	unreachable", "invalid argument".
4871
4872	* amd/ops_nfs.c (discard_fh): don't dereference a null pointer
4873	(happens when remote host is down, and fp->fh_fs is NULL).
4874	(prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
4875	and FSF_DOWN.
4876
4877	* amd/sched.c: nobody uses "union wait" any more, or so it
4878	appears, so clean up that code.
4879
4880	* conf/transp/transp_tli.c (get_nfs_version): if remote host is
4881	down, time it out faster than default (3 seconds).
4882	(get_mount_client): free netconfig entry when done with it.
4883
4884	* conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
4885	port to nextstep3 (m68k-next-nextstep3).
4886
4887	* fsinfo/Makefile.am (LDADD): needs to link with libamu in case
4888	system does not have strdup().
4889
4890	* include/am_defs.h: complete external definition for getlogin()
4891	if needed.
4892
4893	* conf/transp/transp_tli.c (get_nfs_version): no need to keep
4894	static versout variable.
4895
4896	* amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
4897	server is probably down.  Don't use sendto() in that case.
4898
4899	* buildall (default): run gmake if found, before trying plain
4900	make.  GNU make is always preferable.
4901
4902Tue Aug 12 21:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4903
4904	* aux/macros/host_macros.m4: cleanup of os_version and os
4905	overrides.  Solaris 2.5.1 for example will come up as solaris2 and
4906	2.5.1, rather than sunos5 and 5.5.1.  Both can be overridden in
4907	the amd.conf file.
4908
4909Fri Aug  8 14:37:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4910
4911	*******************************************************************
4912	*** Released am-utils-6.0a9					***
4913	*******************************************************************
4914
4915Thu Aug  7 00:52:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4916
4917	* conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
4918	(i486-ncr-sysv4.3.03) headers.  Needed to complete missing stuff
4919	from <ndbm.h> and <sys/resource.h>.
4920
4921	* scripts/amd.conf.5: new map page.
4922
4923	* amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
4924	does not.
4925
4926	* amd/amd.8: updated man page.
4927
4928	* amd/get_args.c (get_args): removed defunct -h option to amd.
4929
4930	* amq/amq.8: updated man page.
4931
4932	* amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
4933	SparcCompiler CC won't complain.
4934
4935	* amd/info_hesiod.c (hesiod_search): small fixes to compile with
4936	hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
4937
4938	* aux/macros/opt_ldflags.m4: new option added to configure
4939	--enable-ldflags, to specify -L option for configuring/compiling.
4940	The older one --enable-libs is now to be used only for -l options.
4941
4942	* amd/ops_nfs.c (mount_nfs_fh): bug fixed.  Should initialize
4943	nc_protoname from nfs_proto if available for all TLI systems, not
4944	just those that have NFS V3.
4945
4946	* amd/info_ldap.c: ldap patches from Leif Johansson
4947	<leifj@matematik.su.se>, adding two new amd.conf ldap variables:
4948	ldap_cache_seconds and ldap_cache_maxmem.
4949
4950	* hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
4951	htons().
4952
4953Sun Aug  3 17:20:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4954
4955	* amd/nfs_start.c (mount_automounter): register amd with the rpc
4956	program number that may have been overridden by amd.conf.
4957
4958	* libamu/xutil.c (set_amd_program_number, get_amd_program_number):
4959	allow storing and retrieving alternate amd program numbers.
4960
4961	* amd/conf.c (gopt_portmap_program): new function to parse
4962	amd.conf entry portmap_program=1234.
4963
4964	* amq/amq.c (main): allow specifying an alternate rpc program
4965	number for amd via -P prognum.
4966
4967	* new amq RPC to get the process id of the running amd.  This is
4968	used in ctl-amd to quickly find the pid of the amd that is to be
4969	killed.
4970
4971	* expanded shared libraries support.  Using GNU libtool-1.0,
4972	am-utils now builds shared libraries on many platforms that have
4973	support for it and proper compilers/linkers.  See "INSTALL" file
4974	for compatibility chart.
4975
4976Thu Jul 31 13:07:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4977
4978	* fsinfo/fsi_lex.l: removed code that was in support of very old
4979	versions of flex.  No longer needed.
4980
4981Tue Jul 29 12:00:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4982
4983	* amd/amd.c (init_global_options): find the kernel architecture
4984	from uname() if possible.
4985
4986Mon Jul 28 03:53:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4987
4988	* new working port: i386-unknown-openbsd2.1
4989
4990Fri Jul 25 03:16:31 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
4991
4992	* working port: sparc-sun-solaris2.4.  Had to fix fhandle_t from
4993	structure to actual char[], because the structure was passed to
4994	xdr_fhandle as data and not a pointer.  Surprisingly, gcc
4995	-fpcc-struct-return did not help.
4996	
4997	* conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
4998	definitions for solaris 2.4 have to be different from 2.3, and
4999	different from 2.5.
5000
5001	* libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
5002
5003Thu Jul 24 16:22:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5004
5005	* conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
5006	types, not ==.  Fix from Christos Zoulas <christos@deshaw.com>.
5007
5008	* mk-amd-map/mk-amd-map.8: man page taken from bsd44.
5009
5010Thu Jul 24 00:01:55 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
5011
5012	* conf/mount/mount_linux.c: made the nfs error mapping code into a
5013	small function.
5014
5015Wed Jul 23 16:11:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5016
5017	* conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
5018	error mappings from errno numbers to NFS errors.  From Debian
5019	Linux.
5020
5021	* scripts/am-eject.in (fs): new script (taken from Debian Linux
5022	folks) to auto-unmount floppy/cd devices before ejecting them.
5023
5024	* fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
5025	'5' as second arg to show_area_being_processed.  I'm not sure why.
5026
5027	* fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
5028	second arg to show_area_being_processed.  I'm not sure why.
5029
5030	* conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
5031	ensure that you have a buffer in *xopts to strcat onto.
5032	(mount_linux): fixed from Debian folks to ensure that NFS mount
5033	sockets are connected only for kernels prior to 1.3.10 (avoids
5034	hangs for multi-homed hosts).
5035
5036	* amd/mapc.c (make_entry_chain): from Debian folks: don't skip
5037	over amd map keys that have a prefix, and include the prefix in
5038	the returned readdir().
5039
5040	* amd/info_passwd.c (passwd_init, passwd_search): format
5041	enhancements from the Debian Linux folks.  They added
5042	- var0:=pw-prefix:=anydir
5043	- var1:=pw-rhost:=dom3.dom2.dom1
5044	- var2:=pw-user:=user
5045	- var3:=pw-home:=/anydir/dom1/dom2/dom3/user
5046
5047	* new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
5048
5049	* amd/ops_afs.c (afs_retry): patches from Debian Linux.  If
5050	afs_mount timed out, then explicitly forbid further retries after
5051	the timeout.  (afs_bgmount): buf fix from Debian Linux.  Timeout
5052	values (17 and 5) were mistakenly swapped.
5053
5054Wed Jul 23 15:53:25 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
5055
5056	* conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
5057	support for Solaris 2.4 (the header files incorrectly define parts
5058	of the NFS V.3 protocol, but the kernel does not support it).
5059
5060Wed Jul 23 00:07:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5061
5062	* amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
5063	for determining if using old or new hesiod libraries,
5064	respectively.
5065
5066	* amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
5067	V.3 then use non-connected sockets (both TCP and UDP).  Otherwise
5068	they cause hangs of mounts from multi-homed hosts when the return
5069	route is not the same as the outgoing route (esp. on NetBSD
5070	1.2.1).  If "conn" option was supplied, then don't turn on the
5071	"noconn" mount option.  Otherwise default to "noconn" mount
5072	option.
5073
5074	* aux/configure.in: better check for systems that need libgdbm and
5075	<ndbm.h>
5076
5077Tue Jul 22 04:02:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5078
5079	* hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
5080	mounts are hidden from df(1) on systems that keep mount tables in
5081	kernel, such as osf1.
5082
5083Tue Jul 22 02:26:55 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5084
5085	*******************************************************************
5086	*** Released am-utils-6.0a8					***
5087	*******************************************************************
5088
5089Mon Jul 21 21:33:19 1997  Erez Zadok  <ezk@stone.mcl.cs.columbia.edu>
5090
5091	* hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
5092	AF_INET when hlfsd mounts itself, thus getting an errno "protocol
5093	family not supported".
5094
5095Mon Jul 21 20:46:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5096
5097	* verified that amd on NetBSD 1.2.1 (i386) works, but the OS
5098	itself is flaky.
5099
5100	* verified that amd AIX 3 works w/ the new readdir() code.
5101
5102Mon Jul 21 18:59:30 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
5103
5104	* amd/mapc.c (maptypes): changed the default map caching type for
5105	nis and ndbm maps to "MAPC_ALL", so that all possible entries will
5106	be available to amd for browsable_dirs=yes.
5107
5108Mon Jul 21 18:04:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5109
5110	* amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
5111	afs_readdir into a browsable version and a non-browsable one.
5112	Fixed bugs that resulted in an infinite nfs_readdir loop on the
5113	localhost for some operating systems.
5114
5115Sat Jul 19 19:38:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5116
5117	* amd/ops_afs.c (afs_readdir): fixed up the browsable code to
5118	comply with nfs_readdir specs.  It was returning all entries at
5119	once, even if there was not enough space in the RPC packet.  Now,
5120	it sends a reasonably sized chunk, and sets static state to resume
5121	it for the next continuation RPC of readdir.
5122
5123	* amd/conf.c (set_conf_kv): fixed bug that resulted in the first
5124	regular map not getting all of the [global] options defaulted from.
5125
5126Fri Jul 18 00:45:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5127
5128	* amq/amq.c (main): fixed so that portmapper "ping" will only fail
5129	upon an RPC timeout
5130
5131	* scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
5132	amd/hlfsd process to kill.
5133
5134	* amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
5135	determine how to avoid df from seeing amd's toplvl mounts.  Moved
5136	from libamu/mount_fs.c and include/am_utils.h.  Ensure that hlfsd
5137	is hidden from df.
5138	(mount_toplvl): fixed df types for irix.
5139
5140Thu Jul 17 21:59:45 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
5141
5142	* amq/amq.c (main): fixed bug that caused the 5 second timeout for
5143	TLI amq using udp to be ignored.
5144	(main): if amq cannot contact remote host's portmapper within 5
5145	seconds, timeout and fail faster than the default longer timeout
5146	(this is for non-TLI systems).
5147
5148Thu Jul 17 17:08:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5149
5150	* amq/amq.c (get_secure_amd_client): if amq cannot contact
5151	remote host's portmapper within 5 seconds, timeout and fail faster
5152	than the default TLI timeout of over 4 minutes.
5153
5154	* amd/am_ops.c (ops_showfstypes): added styles for new bsd44
5155	file systems nullfs, unionfs, and umapfs.
5156	(ops_show1): cleanup code and and reuse this function.
5157	(vops): empty placeholders for nullfs, unionfs, and umapfs.
5158
5159	* amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
5160	bsd44 style file systems.
5161
5162	* fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
5163	sources.
5164
5165	* amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
5166	conflict with systems that define it in <sys/ioctl.h> and also
5167	define a conflicting one via lex.  Newer versions of f/lex are ok.
5168
5169Wed Jul 16 00:17:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5170
5171	* amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
5172	acdirmin/max and acregmin/max only if they exist.
5173
5174	* aux/configure.in: test for nfs_args fields acdirmin and
5175	acregmin.
5176
5177Tue Jul 15 17:24:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5178
5179	* aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
5180	"nondev" and commented back in checking for "nodev".  This was a
5181	typo.
5182
5183	* include/am_compat.h: more compatibility options: define "ro"
5184	mnttab option all the time.  Define "overlay" as needed.  Added
5185	more fillers of mnttab options (as per Daniel S. Riley
5186	<dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
5187	acregmin, noac, grpid, nosuid, and actimo.
5188
5189	* libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
5190	per dsr@mail.lns.cornell.edu (Daniel S. Riley).  Then cleaned up
5191	the same code for other options in struct opt_tab.
5192
5193Mon Jul 14 22:36:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5194
5195	* amd/get_args.c (get_args): moved amd.conf file parsing to before
5196	the switching the default log/debug options.  Suggested by
5197	dsr@mail.lns.cornell.edu (Daniel S. Riley).
5198
5199	* aux/update_build_version: new script to record the build version
5200	of amd, along with the rest of the info thet comes up with amd -v.
5201
5202Sun Jul 13 00:30:24 1997  Erez Zadok  <ezk@decca.damtp.cam.ac.uk>
5203
5204	* aux/macros/os_cflags.m4: new macro, to add additional
5205	compilation options (also used during configuration), based on the
5206	OS and the compiler.  Used for solaris-2.6, osf, and irix6.
5207
5208Fri Jul 11 10:15:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5209
5210	* amd/conf_tok.l, conf_parse.y: allow values of keys to include
5211	white spaces, if they are double-quoted (key="some value")
5212
5213	* amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
5214	of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
5215
5216Fri Jul 11 02:16:06 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5217
5218	*******************************************************************
5219	*** Released am-utils-6.0a7					***
5220	*******************************************************************
5221
5222Thu Jul 10 12:19:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5223
5224	* include/am_defs.h: fill in extern definition of innetgr() in
5225	case system headers don't.
5226
5227	* aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
5228	will show the full pathname to yacc/bison and f/lex.  Some systems
5229	have older or bad versions of those and this way the user will
5230	know for sure what is being invoked.
5231
5232	* tasks: file populated with todo items.
5233
5234	* scripts/amd2ldif.in: Script to convert amd maps to plain text
5235	LDAP object files.  Contributed by Leif Johansson
5236	<leifj@matematik.su.se>.
5237
5238	* aux/config.guess: added recognition for sun3's running 4.2bsd,
5239	from Tom Schmidt <tschmidt@micron.com>.  Fixed one small typo.
5240
5241	* amd/conf.c: several variables that were local to a map, were
5242	also added to [global], where they apply to all maps.  Each map
5243	can then individually override those defaults.  Flags
5244	affected: browsable_dirs and mount_type.  Options affected:
5245	map_type, map_options, and search_path.
5246
5247	* amd/amd.h: eliminated several global flags each of which took an
5248	int, in favor of one global flags variable used as a bit field.
5249
5250	* amd/amd.c (init_global_options): moved all global variables into
5251	a single struct amu_global_options, so it is easier to add new
5252	ones and/or identify existing ones.
5253
5254	* amd/get_args.c (get_args): removed unused amd -m option.
5255
5256	* amd/conf.c (gopt_cluster): added new amd.conf option for cluster
5257	name, same as amd -C.
5258
5259	* amd/info_ldap.c: LDAP info map functions from Leif Johansson
5260	<leifj@matematik.su.se>.
5261
5262	* amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
5263	amd.conf options for ldap_base and ldap_hostports.
5264
5265	* amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
5266	if the current host is in the ARG host netgroup.
5267
5268	* aux/configure.in: some systems replaced dbm in libc with GNU's
5269	libgdbm, so check for libgdbm, but only if dbm_open is not in
5270	libc already.  This was a recommendation from Tom Schmidt
5271	<tschmidt@micron.com>.
5272
5273	* conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
5274	completed.
5275
5276Wed Jul  9 18:14:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5277
5278	* port to sparc-unknown-netbsd1.2E done, not tested.  Includes NFS
5279	V.3.
5280
5281Tue Jul  8 17:35:07 1997  Erez Zadok  <ezk@elk.mcl.cs.columbia.edu>
5282
5283	* port to i386-unknown-freebsd3.0 done and working.  Includes NFS
5284	V.3.
5285
5286	* aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
5287	file handle dereferencing style similar to freebsd22.
5288
5289	* include/am_defs.h: need to include <net/if_var.h> before
5290	<netinet/if_ether.h> on freebsd3.
5291
5292	* conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
5293	for freeBSD 3.0.
5294
5295Tue Jul  8 16:53:41 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
5296
5297	* amd/info_nis.c (nis_reload): cast nis' callback function so
5298	picky compilers won't complain.
5299
5300	* libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
5301	gets compiled only if the system has NFS V3 and does not have
5302	xdr_mountres3.
5303
5304Tue Jul  8 12:42:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5305
5306	* COPYING: put in some legal stuff in this file.
5307
5308Mon Jul  7 19:10:44 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
5309
5310	* NFS V3 now works under Irix5, thanks to patches from 
5311	Andreas Stolcke <stolcke@speech.sri.com>.
5312
5313	* conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
5314	version and an irix6 version, since irix5's NFS V3 code is broken
5315	and hacky.
5316
5317	* amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
5318	sizes for some hesiod queries.  Patch from Danny Braniss
5319	<danny@cs.huji.ac.il>.
5320
5321Mon Jul  7 19:04:14 1997  Erez Zadok  <ezk@glory.soscorp.com>
5322
5323	* amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
5324
5325Sun Jul  6 14:22:24 1997  Erez Zadok  <ezk@glory.soscorp.com>
5326
5327	* aux/{configure.in,acconfig.h}: added checks for struct
5328	nfs_args's fields proto and sotype (bsdi3).
5329	
5330	* amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
5331	nfs_args.flags for bsdi3.  Set field proto to 0.  Set sotype field
5332	to SOCK_STREAM or SOCK_DGRAM.
5333
5334	* aux/macros/check_mount_style.m4: add case for bsdi3.
5335
5336	* amd/info_hesiod.c: got hesiod support for bsdi3.
5337
5338Sun Jul  6 11:14:47 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5339
5340	* aux/configure.in: look for hesiod on libc (bsdi3)
5341
5342	* amd/get_args.c (get_args): reformat usage so it fits in 80
5343	columns.
5344
5345	* scripts/ctl-amd.in: changed directory name for optional tftpboot
5346	map to /tftpboot/.amd.
5347
5348Sat Jul  5 17:46:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5349
5350	*******************************************************************
5351	*** Released am-utils-6.0a6					***
5352	*******************************************************************
5353
5354Sat Jul  5 03:17:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5355
5356	* scripts/ctl-amd.in: include -T tag for tftpboot.
5357
5358	* new port: mips-sgi-irix5.3.  Compiled with gcc, but NFS V3 code
5359	is broken and needs work on the specific nfs_args that irix5 uses
5360	for V3 mounts.
5361
5362Sat Jul  5 01:44:25 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5363
5364	* amd/get_args.c (get_args): new options amd -T tag.  A map with
5365	tag=foo matching the -T tag will be processed.  All untagged maps
5366	get processed all the time.
5367
5368Fri Jul  4 16:19:26 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5369
5370	* aux/configure.in: need to check for strcasecmp in libucb (ncr2)
5371
5372	* aux/macros/check_os_libs.m4: a new macro to set the usage of
5373	libnsl and libsocket based on the OS.
5374
5375	* libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
5376	defined (problem on osf4).
5377
5378	* conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
5379
5380	* include/am_defs.h, aux/macros/try_compile_nfs.m4,
5381	aux/macros/mount_headers.m4: do include <sys/proc.h> because it
5382	failes on irix5.  Rather, put in the individual
5383	conf/nfs_prot/nfs_prot_*.h headers.
5384
5385	* amd/conf.c: AIX3 doesn't like strdup() being passed a constant
5386	char*, so cast all strdup()'s args to a non-const char*.
5387
5388	* amd/mapc.c (root_newmap): don't try to strdup only a "const
5389	char *".
5390
5391Fri Jul  4 15:47:10 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
5392
5393	* conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
5394	sys/errno.h.
5395
5396Thu Jul  3 17:49:00 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
5397
5398	* made sure am-utils compiles, links, and runs properly on Irix
5399	6.2 using "cc -32 -Wl,-woff,"
5400
5401	* aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
5402	AC_CHECK_LIB.  If OTHER-LIBRARIES are defined and used, then add
5403	them to $LIBS.
5404
5405	* aux/configure.in: some cleanup of which libraries are needed.
5406	Espectially ensure that libnsl is included only on Solaris, where
5407	so far it is the only system on which it is absolutely necessary.
5408	Also no longer need to include libc explicitly. 
5409
5410	* amd/amd.c,wire-test/wire-test.c (main): convert IP address to
5411	network-long order before printing it.
5412
5413	* wire-test/wire-test.c (main): also check and report on the IP
5414	address of the local host, since some systems have bad versions of
5415	get_myaddress, or ones that conflict with other versions in
5416	multiple libraries (SunOS 4 and Irix especially).
5417
5418Wed Jul  2 18:19:02 1997  Erez Zadok  <ezk@starblazers.soscorp.com>
5419
5420	* scripts/ctl-amd.in: don't use full pathname so killproc() works
5421	better.  Also run bsd44 and irix style ps programs. 
5422
5423	* aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
5424	of library no matter if it was found or not.
5425
5426Wed Jul  2 02:11:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5427
5428	* aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
5429	for M_* macros, but ensure that <sys/stream.h> is not included at
5430	all so it won't conflict with other M_* macros.
5431
5432Tue Jul  1 21:16:51 1997  Erez Zadok  <ezk@mako.cs.columbia.edu>
5433
5434	* conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
5435	irix should be "spec" (host:/path), not the dir of the mnt point.
5436
5437	* amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
5438	fixed.  If on, it essentially ignored the setting in a
5439	selector-controlled /defaults if there were 2 or more entries in it.
5440
5441Tue Jul  1 12:23:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5442
5443	* scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
5444	using BSD style ps, then try SVR4 style ps.
5445
5446	* include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
5447	etc., to avoid conflicts with similar named macros in <ldap.h>.
5448
5449	* aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
5450	support needed for LDAP.  Now the code has to be written mostly in
5451	amd/info_ldap.c.
5452
5453	* Included additional patches from Andreas Stolcke
5454	<stolcke@speech.sri.com> to support using the best possible
5455	combination of NFS version (2,3) and protocol (udp,tcp) for any
5456	given host, since it appears that some Irix versions have NFS V3,
5457	but do not support TCP.
5458
5459	* scripts/ctl-amd.in: updated amd control script to look for and
5460	use amd.conf file.
5461
5462Tue Jul  1 00:28:23 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5463
5464	* amd/mapc.c (mapc_create): now, each map in the amd.conf can be
5465	initialized off of a different type, or default to cycling through
5466	all maps until one of them matches.
5467
5468Mon Jun 30 20:49:13 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5469
5470	* amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
5471	if browsable_dirs=yes is set in the map section in amd.conf, that
5472	map will return all entries back to a readdir(2).
5473
5474Sun Jun 29 16:22:11 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5475
5476	* rudimentary amd.conf file support included.  You may even
5477	override things like os=sos5, to get "backwards" compatibility with
5478	upl102.
5479
5480Sat Jun 28 13:35:02 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5481
5482	* amd/conf.c: new file to process amd.conf file.
5483
5484	* amd/get_args.c (get_args): new options -H to print help.
5485
5486	* moved enable_default_selectors to be amd.conf controlled, and
5487	not compiler controlled.
5488
5489	* amd/get_args.c (get_args): new options -F <conf-file> to parse an
5490	amd configuration file.
5491
5492Wed Jun 25 23:15:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5493
5494	* converted all files that used strcmp() == 0 or != 0  to using
5495	the STREQ() macro.
5496
5497Mon Jun 23 22:31:14 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5498
5499	* aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
5500	search for any number of functions in any given library.
5501
5502Mon Jun 23 01:04:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5503
5504	* amd/mapc.c: Included patch from Leif Johansson
5505	<leifj@matematik.su.se> to ensure that systems without an RE
5506	library can compile.
5507
5508	* libamu/mount_fs.c (mount_fs): Included patch from Andreas
5509	Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
5510	table are properly delimited by a comma.
5511
5512	* amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
5513	Stolcke <stolcke@speech.sri.com>, to allow users to override the
5514	proto= and vers= mount options.
5515
5516Sun Jun 22 01:00:11 1997  Eric Dana  (edana@ncr2.bgs.com)
5517
5518	* conf/nfs_prot/nfs_prot_svr4.h: port completed to
5519	i486-ncr-sysv4.3.03.  Assorted source cleanups done.
5520
5521	* include/am_defs.h, aux/macros/mount_headers.m4: don't include
5522	mnttab.h if sys/mnttab.h was already included, because on ncr2,
5523	they contain conflicting entries for struct mnttab.
5524
5525Sat Jun 21 23:52:15 1997  Eric Dana  (edana@ncr2.bgs.com)
5526
5527	* aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
5528
5529Fri Jun 20 06:14:17 1997  Erez Zadok  <ezk>
5530
5531	* amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
5532
5533	* aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
5534	on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
5535
5536Wed Jun 18 18:59:49 1997  Erez Zadok  <ezk@defiant.soscorp.com>
5537
5538	* aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
5539	nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
5540	better.
5541
5542Tue Jun 10 17:06:58 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5543
5544	* amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
5545	NULL, set the maxlen and len fields in netbuf to zero.
5546
5547Wed May 28 22:52:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5548
5549	* scripts/fix-amd-map.in (name): replace all matching patterns on
5550	line.
5551
5552Sun May 25 19:33:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5553
5554	*******************************************************************
5555	*** Released am-utils-6.0a5					***
5556	*******************************************************************
5557
5558Sun May 25 13:37:24 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5559
5560	* amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
5561	procedure now returns the full string that amd -v returns.
5562
5563	* amd/get_args.c (get_version_string): new function to return
5564	complete version/info string so it could be used more flexibly.
5565
5566	* amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
5567	of Fs types into a string buffer, rather than a FILE*.
5568
5569	* amd/mapc.c (mapc_showtypes): put the list of map types into a
5570	string buffer, rather than a FILE*.
5571
5572Sun May 25 01:25:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5573
5574	* amd/get_args.c (get_args): amd -v also prints user who built
5575	amd, hostname built on, and date of configuration.
5576
5577Sat May 24 13:40:50 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5578
5579	* scripts/lostaltmail.conf-sample: sample lostaltmail
5580	configuration file.
5581
5582	* scripts/lostaltmail.in: new script lostaltmail used to redeliver
5583	"lost" mail that hlfsd redirected to a temp location because the
5584	primary home file system of the user was full.
5585
5586	* scripts/amd2sun.in: new script amd2sun. Used to convert Sub
5587	automount maps to amd maps.
5588
5589	* scripts/ctl-hlfsd.in: new script ctl-hlfsd.  Used to start,
5590	stop, or restart hlfsd.
5591	
5592	* scripts/expn.1: man page for expn command.
5593
5594	* scripts/ctl-amd.in: new script ctl-amd.  Used to start, stop, or
5595	restart amd.
5596
5597	* scripts/expn.in: new script expn.  Actually taken from David
5598	Muir Sharnoff <muir@idiom.com>.  Used by hlfsd's mail re-delivery
5599	script.
5600
5601	* scripts/wait4amd.in: new script wait4amd added.  Waits for amd
5602	to come up on a host, and then runs a command (rsh $hostname by
5603	default).
5604
5605	* scripts/Makefile.am: new directory now holds all shell/perl
5606	scripts that belong to am-utils.
5607
5608	* conf/mount/mount_linux.c (parse_opts): new parser for
5609	linux-specific mounts.  Handles fs-type specific mount-options
5610	correctly.  Currently implemented: msdos, iso9660.
5611
5612	* amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
5613	(fix for linux).
5614
5615	* amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
5616	(fix for linux).
5617
5618	* amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
5619	core dumps upon "ls" of a mount point; an invalid pointer was
5620	being returned and dereferenced.
5621
5622	* port to Linux sparc working!
5623
5624	* hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
5625	failed to write test file, or else the fd will leak.
5626
5627Sun May 18 00:42:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5628
5629	* amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
5630	instead of strcmp().
5631
5632	* Port to Digital Unix 4.0 (OSF) done.
5633
5634	* hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
5635	with dirname() function in <string.h> on OSF systems.
5636
5637	* fsinfo/fsi_util.c (set_ether_if): take out extern definition of
5638	inet_addr().  It should come from <arpa/inet.h> instead.
5639
5640	* conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
5641
5642	* include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
5643	avoid conflicts with DU 4.0 system header.
5644
5645Thu May 15 22:49:12 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
5646
5647	* libamu/mount_fs.c (mount_fs): pass along NFS version so I can
5648	determine if to include additional options in the mount table file
5649	entry (such as proto=tcp, and vers=3).
5650
5651Thu May 15 00:42:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5652
5653	* libamu/mount_fs.c (mount_fs): include NFS version number in the
5654	mount table options, as well as proto={tcp,udp}.
5655
5656Wed May 14 14:30:19 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5657
5658	* NFS V3 code ported to most other systems, so it compiles for V2
5659	and V3 NFS systems.
5660
5661	* NFS VERSION 3 support, first pass.  Working for Solaris and
5662	using TCP.
5663
5664Sun May 11 01:14:29 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5665
5666	* amq/amq.c: many newline characters were missing from various
5667	stderr printfs.
5668
5669Sat May 10 13:09:06 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5670
5671	* conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
5672	Solaris, which include NFS V3 support.
5673
5674	* conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
5675
5676	* conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
5677	protocol version while getting a mount client.
5678
5679	* amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
5680	file handle size, and proper file handle based on the correct NFS
5681	version number.
5682
5683	* conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
5684	Solaris and other SVR4 systems.
5685
5686	* amd/ops_nfs.c: store NFS file handle version and version
5687	specific handle in struct fh_cache.
5688	(got_nfs_fh): pick the correct RPC reply based on the NFS version
5689	of the server.
5690	(prime_nfs_fhandle_cache): figure out the right NFS file handle
5691	for a node, but now include NFS protocol version information.
5692	(call_mountd): set the correct version for the mount protocol,
5693	based on the NFS protocol version.
5694	(nfs_init): use the NFS protocol generic structure
5695	am_nfs_handle_t.
5696
5697	* include/am_utils.h: new structure am_nfs_handle_t to contain all
5698	possible versions of NFS file handles.
5699
5700	* amd/srvr_nfs.c (start_ping): ping program performs NFS version
5701	specific pings.
5702	(recompute_portmap): figure out the correct portmap version mount.
5703	(nfs_keepalive): call start_ping() with the correct NFS version.
5704	(find_nfs_srvr): if mount option "vers=" is given, use it.  Get
5705	the NFS server version and verify that it is up.
5706
5707	* conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
5708	function to find the best NFS version for a particular host.
5709
5710	* libamu/amu.h: determine what is the highest version of NFS we
5711	should try.
5712
5713	* include/am_utils.h (NFS_VERSION3): added definition for NFS V3
5714	protocol number.
5715	Added field fs_version to struct fserver, so we can now store the
5716	server protocol version.
5717
5718Fri May  9 01:09:45 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
5719
5720	* aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
5721	underscores too, so I can test for sub-fields.
5722
5723	* libamu/wire.c: use test that checks for sub-fields of struct
5724	ifreq.
5725
5726Sat May  6 10:20:17 2000  Erez Zadok  <ezk@glory.soscorp.com>
5727
5728	* port to BSD/OS 3.0 completed!  Many xdr_ functions were broken
5729	into smaller files.  M4 macros fixed to test for existence of
5730	file systems using getvfsbyname().
5731
5732	* amd/sched.c (sigchld): signal handler must waitpid() for all
5733	possible children.
5734
5735	* hlfsd/homedir.c: signal handler must waitpid() for all possible
5736	children. 
5737
5738	* aux/macros/check_restartable_signals.m4: new macro to determine
5739	if need to reinstall signal handlers per OS is better than trying
5740	to figure these out based on system macros.
5741
5742Fri May  5 19:23:28 2000  Erez Zadok  <ezk@glory.soscorp.com>
5743
5744	* amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
5745
5746	* amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
5747
5748	* amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
5749	(must be supplied for bsdi 3.0)
5750
5751	* libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
5752	associated new macro) for determining the right way to compute the
5753	size of the interface structure.
5754
5755Fri Apr 11 15:56:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5756
5757	* aux/configure.in: need to include libc before libnsl if
5758	get_myaddress() is available because on irix libnsl has a buggy
5759	get_myaddress().
5760
5761	* include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
5762	on Irix 6 (an SVR4 variant)
5763
5764Thu Mar 27 02:28:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5765
5766	*******************************************************************
5767	*** Released am-utils-6.0a4					***
5768	*******************************************************************
5769
5770Wed Mar 26 21:15:36 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
5771
5772	* amd/amq_subr.c (ok_security): turned off insecure code unless
5773	user explicitly runs configure --enable-amq-mount.
5774
5775	* hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
5776
5777	* amd/nfs_start.c (mount_automounter): use code that separately
5778	creates the NFS and the amq service.  Register tcp and udp
5779	services for amd.
5780
5781	* conf/transp/transp_*.c (create_amq_service): new function to
5782	separately create the amq service for amd.  Simplified prototypes
5783	for create_nfs_service().
5784
5785Wed Mar 19 20:40:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5786
5787	*******************************************************************
5788	*** Released am-utils-6.0a3					***
5789	*******************************************************************
5790
5791Wed Mar 19 17:49:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5792
5793	* new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0.  Lots
5794	of small changes to support these two.
5795
5796Wed Mar 19 14:33:30 1997  Erez Zadok  <ezk@grande.cs.columbia.edu>
5797
5798	* conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
5799	should run if MOUNT_TABLE_ON_FILE, not otherwise.
5800
5801Mon Mar 17 22:02:43 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5802
5803	* hlfsd/hlfsd.c (main): fill in fhsize field if exists
5804	(freebsd-2.2).
5805
5806	* amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
5807	exists (freebsd-2.2).
5808
5809Sat Mar 15 19:37:48 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5810
5811	* new port: i386-unknown-freebsd2.2.  FreeBSD 2.2 and higher
5812	changed the filehandle type in struct nfs_args from nfsv2fh_t to
5813	u_char.
5814
5815Sat Mar 14 10:11:03 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
5816
5817	* SHARED LIBRARIES: too many change to list individually.  Now,
5818	libamu can be built as a shared library, and other programs link
5819	with it.
5820
5821Tue Mar 11 22:24:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
5822
5823	* aux/macros/opt_shared.m4: new macro for setting options for
5824	building shared am-utils libraries.
5825
5826Sun Mar  9 19:17:46 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5827
5828	* fixmount/fixrmtab: cleaned up the script.
5829
5830	* fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
5831	fixrmtab gets distributed too.
5832
5833	* conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
5834	Added extern for xdr_mountlist().
5835
5836	* aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
5837	MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
5838	the sources.
5839
5840Sat Mar  8 00:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5841
5842	* fixmount/hlfsd ported to bsd44, hpux, and linux systems.
5843
5844	* aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
5845
5846	* conf/fixmount/fixmount_default.c: use lockf() if flock() is
5847	unavailable.
5848
5849	* include/am_defs.h: include <string.h> even if don't have
5850	STDC_HEADERS defined (sunos4).
5851	(seteuid): define seteuid() to be setresuid() for systems that
5852	have but not the other (hpux).
5853
5854	* aux/macros/check_extern.m4: test should include <strings.h>.
5855
5856Tue Mar  4 17:16:52 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
5857
5858	* lib/xutil.c (debug_option): moved from amd/getargs.c to this
5859	more proper file.
5860
5861	* include/am_utils.h: put in structure for debug options, for all
5862	progams to use.
5863
5864	* amd/get_args.c: moved structure for debug options out.
5865
5866Sun Mar  2 00:13:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
5867
5868	* ported fixmount.
5869
5870	* lib/ualarm.c: replacement function for systems that don't have a
5871	ualarm().
5872
5873	* ported fsinfo.
5874
5875Sun Mar  1 10:23:34 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
5876
5877	* ported mk-amd-map.
5878
5879	* buildall: added -K option to buildall, to run mkconf.
5880
5881Fri Feb 28 01:10:25 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5882
5883	*******************************************************************
5884	*** Released am-utils-6.0a2					***
5885	*******************************************************************
5886
5887Thu Feb 27 13:58:59 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5888
5889	* all *.[hcyl] files: add copyright line.
5890
5891	* aux/macros/check_mount_type.m4: test for mount type for
5892	linux-like systems, by checking for loadable or statically linked
5893	kernel filesystem modules.
5894
5895	* aux/macros/check_mnttab_type.m4: test for mount table entry
5896	for linux-like systems, by checking for loadable or statically
5897	linked kernel filesystem modules.
5898
5899	* aux/configure.in: pcfs filesystems can use vfat type (linux)
5900
5901	* aux/macros/check_fs_mntent.m4: test for filesystem existence for
5902	linux-like systems, by checking for loadable or statically linked
5903	kernel filesystem modules.
5904
5905	* conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
5906	9.0 header files.  This should be removed when HPUX 9.0 is deemed
5907	defunct.
5908
5909	* aux/acconfig.h: set an undefined variable for having an extern
5910	to clnt_sperrno().
5911
5912	* include/am_defs.h: define extern for clnt_sperrno() if needed.
5913
5914	* aux/configure.in: test for extern clnt_sperrno().
5915
5916	* aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
5917	similar to irix.
5918
5919	* aux/macros/check_mount_style.m4: use mount helper on HPUX.
5920
5921	* aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
5922	not integer (but may be mapped to one later).
5923
5924	* conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
5925	files.  They have mount(2) and vfsmount(2) which don't take same
5926	arguments, and they have string mount types MNTTYPE_* as well as
5927	integer types MOUNT_*.  So I need this new mount function to map
5928	from string types to integer types for the vfsmount() function.
5929
5930	* conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
5931	vfsmount(), call mount_hpux().
5932
5933Thu Feb 27 03:34:14 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
5934
5935	* lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
5936	both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
5937
5938Thu Feb 27 00:26:00 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5939
5940	* conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
5941	hpux.
5942
5943	* include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
5944
5945	* aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
5946
5947	* buildall: added ability to configure using other shells than
5948	/bin/sh, on those systems where /bin/sh is buggy or limited
5949	(HPUX).
5950
5951	* aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
5952	defined am_nfs_fh, and also test for plain typedef "nfs_fh".
5953
5954	* aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
5955	reinstated macro.
5956
5957	* aux/configure.in: check for <nfs/export.h>
5958
5959	* include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
5960
5961	* aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
5962	exists.
5963
5964	* aux/macros/mount_headers.m4 (define): removed some non-working
5965	(on HPUX) code that attempts to recreate the fhandle_t rather than
5966	load it up from system headers.  Also added some NFS protocol
5967	header inclusion.  include <nfs/export.h> (HPUX) if exists.
5968
5969Wed Feb 26 00:32:35 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
5970
5971	* aux/macros/mount_headers.m4 (define): Use M4 changequote to
5972	ensure [] brackets are correctly used.
5973
5974	* aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
5975	multi-line M4 inclusions in [].
5976
5977Tue Feb 25 22:19:44 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5978
5979	* conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
5980	it exists.
5981
5982	* aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
5983	config.h macro for field f_fstypename of struct statfs.
5984
5985	* aux/configure.in: testing for field f_fstypename field of struct
5986	statfs (NetBSD).
5987
5988	* aux/acconfig.h: moved all of the "static" definitions out to a
5989	fixed file called include/am_defs.h.  Added to all */Makefile.am
5990	files a dependency on am_defs.h.  Created am_defs.h of course, and
5991	then added #include <amd_defs.h> to all of the source and header
5992	files that required it.
5993
5994Mon Feb 24 01:27:02 1997  Erez Zadok  <ezk@defiant.soscorp.com>
5995
5996	* aux/acconfig.h: two more externals for xdr functions that may be
5997	implemented by libamu.
5998
5999	* conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
6000	definitions.
6001
6002Sun Feb 23 15:25:26 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6003
6004	* buildall (default): added -D option for turning on even stricker
6005	developer options.
6006
6007	* */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
6008	determine dependencies on optional NFS protocol headers.
6009
6010	* aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
6011
6012	* aux/macros/check_nfs_prot_header.m4: new test to determine what
6013	NFS protocol headers to use. 
6014
6015	* conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
6016	complete missing system headers for NFS protocol definitions.
6017
6018Sun Feb 16 15:58:42 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
6019
6020	* amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
6021	#ifdef's as needed.
6022
6023	* amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
6024	suitable #ifdef'ed.
6025
6026	* include/am_compat.h: a couple more mnttab options
6027	(timeo/retrans) setting just in case.
6028
6029	* amd/autil.c (host_normalize): make sure hostent->h_name is
6030	passed a non-const char *.
6031
6032	* conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
6033
6034	* {lib,amq,amd}/*.c (many functions): cast xdr_entry to
6035	XDRPROC_T_TYPE.
6036
6037	* lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
6038	XDRPROC_T_TYPE.
6039
6040	* lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
6041	XDRPROC_T_TYPE.
6042
6043	* lib/wire.c (getwire): Make sure safe assignment from const to
6044	none is done.
6045
6046Sat Feb 15 19:38:51 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
6047
6048	* aux/macros/expand_cpp_int.m4: new macro for expanding integers.
6049
6050	* aux/configure.in: added linux/fs.h support in configure and
6051	several M4 macros.
6052
6053	* conf/mount/mount_linux.c (mount_linux): use macro instead of
6054	"ugly" fixed hex number for mount() arguments.
6055
6056Sat Feb 15 02:09:47 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6057
6058	* amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
6059	turned all of its code always on.  That code always seems to
6060	compile, as long as you have hesiod and libresolv.
6061
6062	* amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
6063	of its code always on.
6064
6065	* aux/configure.in: removed superfluous test for hs_zone_transfer
6066	function (will never find it because it is an amd-internal
6067	function).
6068
6069	* amd/mapc.c (maptypes): must used correct new name for am-utils'
6070	hesiod initialization function: hesiod_am_init.
6071
6072	* amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
6073	hesiod_am_init so as not to conflict with libhesiod's
6074	hesiod_init() function.
6075
6076	* aux/configure.in: added test and explicit inclusion of
6077	libresolv.a for later resolution of library references with
6078	libhesiod.
6079
6080	* aux/macros/opt_cppflags.m4: new file.  configure/compile C
6081	preprocessor flags.
6082
6083	* aux/macros/opt_libs.m4: new file.  configure/compile library
6084	flags.
6085
6086	* Makefile.am (EXTRA_DIST_AUX): include two new macros
6087	opt_cppflags.m4 and opt_libs.m4.
6088
6089	* aux/configure.in: test for libhesiod needs to additional
6090	libresolv to link completely.  Additional configuration time
6091	options added for setting initial CPPFLAGS and LIBS.
6092
6093Tue Feb 10 02:15:40 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6094
6095	*******************************************************************
6096	*** Released am-utils-6.0a1					***
6097	*******************************************************************
6098
6099Thu Feb  6 02:55:19 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6100
6101	* amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
6102	it works on freebsd, where they map dbm_pagfno a non-existing
6103	macro on purpose, to force you to port the code to Berkeley DB.
6104
6105Fri Jan 31 01:35:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6106
6107	* amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
6108	actual mount_toplvl, to avoid some possible race conditions.
6109
6110Thu Jan 30 02:31:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6111
6112	* amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
6113
6114Wed Jan 29 18:25:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6115
6116	* lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
6117
6118	* amd/amd.c (main): fix local address using htonl(). Free up
6119	buffers allocated by netdir_*() functions.
6120
6121Wed Jan 22 23:53:24 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6122
6123	* amd/fix-amd-map.in: new script that will convert old-style amd
6124	maps to new one.
6125
6126Tue Jan 21 01:18:16 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6127
6128	* FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
6129	and replies back to simple nfs/link type mount queries).
6130
6131	* conf/mtab/mtab_svr4.c: reorganized the code in this file to be
6132	easier to read, and fixed a few bugs with un/setting the lock file
6133	descriptor.
6134
6135Wed Jan  8 15:27:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6136
6137	* amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
6138	signals in Svr3 systems.  Only stellix ever used this.
6139
6140	* amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
6141	by DYNAMIC_BUFFERS, since it was not in use.
6142
6143Tue Jan  7 00:45:59 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6144
6145	* amd/opts.c (eval_opts): removed AMD_COMPAT code.  Amd no longer
6146	takes '=' sign as old selector.  Fix your maps.
6147	(deslashify): removed APOLLO code that treated two '//' as one.
6148
6149Sun Jan  5 01:25:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6150
6151	* amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
6152	was not used.  It made any submount error fail the whole group.
6153
6154	* amd/ops_nfs.c (make_nfs_auth): removed code dependent on
6155	HAS_NFS_QUALIFIED_NAMES.
6156	(mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
6157	is never on.  So code that was triggered by #ifndef
6158	NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
6159	be fixed later.
6160	Removed all ULTRIX_HACK code.  Ultrix is DEAD!
6161	removed all PRESET_AC code, which was only on for Linux to preset
6162	the attribute cache values (otherwise they default to zero).
6163	(nfs_umounted): revobed KICK_KERNEL code (IRIX systems).  Will
6164	have to fixed up later.
6165	(mount_nfs_fh): removed code that was never included, which
6166	attempted to set the port on which amd's nfs mounts on.  This
6167	isn't supported by the ping algorithm yet.  In any case, it is all
6168	done in nfs_init().
6169
6170	* amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
6171	removed HAS_TCP_NFS code.  The whole use of NFS V.3 with TCP or
6172	specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
6173	have to be addressed later.
6174
6175	* amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
6176	on PRECISE_SYMLINKS.
6177
6178	* amd/mapc.c (mapc_meta_search): removed code that depended on
6179	HAS_DEPOT.  It is known buggy code.  The whole DEPOT support needs
6180	to be rethought.
6181	(mapc_add_kv): ported code to use standard regular expression
6182	(regexp) library.
6183
6184	* amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
6185	FLUSH_KERNEL_NAME_CACHE and the macro itself.
6186
6187Sat Jan  4 15:46:58 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6188
6189	* amd/map.c (exported_ap_alloc): removed all code triggered by
6190	SHRINK_EXPORTED_AP and the macro itself.
6191
6192	* amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
6193	in all the time.  Assuming that there is always NIS realod
6194	available.
6195	(yp_all_fixed): removed code for BROKEN_YP_ALL.  If your yp_all()
6196	function is broken such that it does not release filedescriptors
6197	it created, then you are hosed.  Get a fix for yp_all from your
6198	vendor or switch operating systems.
6199
6200Tue Dec 31 15:34:36 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6201
6202	* amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
6203	HAVE_HS_ZONE_TRANSFER.
6204
6205Mon Dec 30 17:33:23 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6206
6207	* amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
6208	always included.  We should always try to inform the remove mount
6209	daemon of mounts we performed.  If we want an option for this, it
6210	should be a run-time option.
6211
6212	* amd/host_ops.c: removed all that optionally did not make the
6213	directory mount points for amd.
6214
6215	* HOST_EXEC code removed from everywhere.  There is no indication
6216	that it was used anywhere.  If it needs to be used, then a
6217	run-time switch should control it.
6218
6219Thu Dec 26 00:06:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6220
6221	* amd/*_ops.c: removed all references to mntent_t's fields
6222	mnt_freq and mnt_passno, since they are no longe rused (and never
6223	have been).
6224
6225	* amd/am_ops.c: removed function sunos4_match, which was off
6226	anyway.  This was one of the places where an '=' sign was allowed
6227	as an assignment operator (which is now ':=').
6228
6229	* amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
6230	was off anyway.  This was one of the places where an '=' sign was
6231	allowed as an assignment operator (which is now ':=').
6232
6233Tue Dec 24 01:53:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6234
6235	* amq/amq.c: ported to am-utils.  Working.
6236
6237	* conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
6238	to be string, as it should be (rather than a string mapped to int
6239	and back mapped to string).
6240
6241Sun Dec 22 13:26:05 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6242
6243	* lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
6244
6245	* lib/umount_fs.c: split this into three files: default, osf, and
6246	bsd44, that are in conf/umount/umount_*.c.
6247
6248Thu Dec 19 17:33:46 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
6249
6250	* aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
6251	macro to automatically figure out if an external definition for
6252	sys_errlist[] exists.
6253
6254	* lib/xutil.c (xfree): removed "#undef free" because it's not
6255	needed there.  Any system that redefines free() needs help.
6256
6257	* conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
6258	was dependent on REWRITE_MTAB_IN_PLACE.  It does not appear to be
6259	in active use anywhere.  If added later, it should be a run-time
6260	configuration option.
6261
6262	* conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
6263	be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
6264	in a file in /etc.
6265
6266	* lib/util.c (str3cat): removed _AIX code.  AIX should have a
6267	working realloc, or else find a cleaner solution to this.
6268	(mkdirs): removed SUNOS4_WORKAROUND code.  This was to do a sync()
6269	after immediately making directories so that fsck will be able to
6270	fix the filesystem in the event of an immediate crash.  This was
6271	because a bug in UFS which is fixed by now.
6272
6273	* lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
6274	code.  Does not appear to be on and used anywhere.
6275	(dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
6276
6277	* lib/resvport.c: split the binding of reserved ports code to a
6278	separate file.  A #define (HAVE_T_OPEN) separates the TLI (SVR4)
6279	from the BSD code.
6280
6281Thu Dec 19 02:08:35 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6282
6283	* lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
6284	in by automake and configure, for optional sources that need to be
6285	built as part of libamu.a.
6286
6287	* aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
6288	to LIBOBJS.
6289
6290	* lib/memcmp.c (memcmp): new file added to replace a possible bad
6291	implementation of memcmp.
6292
6293Wed Dec 18 22:20:23 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6294
6295	* converted the sources to use memset/memmove/memcmp instead of
6296	bzero/bcopy/bcmp.
6297
6298	* ran all sources through gnu Indent w/ options specified in
6299	aux/amindent.
6300
6301Wed Dec 11 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6302
6303	* At this point the initial genration of config.h via autoconf and
6304	some preliminary makefiles via automake is done.  I will not begin
6305	modifying sources, so it's a good time to document from here.
6306
6307Wed Dec 10 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6308
6309	*******************************************************************
6310	*** Initial ChangeLog Entry					***
6311	*******************************************************************
6312