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