ChangeLog revision 131702
1131702Smbr2004-05-12  Erez Zadok  <ezk@cs.sunysb.edu>
2131702Smbr
3131702Smbr	* m4/macros/check_map_funcs.m4: imported bug-fixed version from
4131702Smbr	6.1 branch.
5131702Smbr
6131702Smbr	* config.guess, config.sub, ltmain.sh: updates from the latest GNU
7131702Smbr	distributions.
8131702Smbr
9131702Smbr	* configure.in: don't check for dbm_open unless needed.
10131702Smbr
11131702Smbr	* m4/macros/header_templates.m4: template for NEW_DBM_H header
12131702Smbr	file.  This completes the migration of bison/flex and n/dbm fixes
13131702Smbr	from 6.1 to to 6.0.
14131702Smbr
15131702Smbr	* include/am_defs.h: Move ALLOCA logic here.
16131702Smbr	Add new db/ndbm/gdbm logic here.
17131702Smbr
18131702Smbr	* fsinfo/fsinfo.h, fsinfo/fsinfo.c, fsinfo/fsi_lex.l,
19131702Smbr	amd/conf_tok.l: Fixes to avoid problems with modern yacc/lex
20131702Smbr	implementations.
21131702Smbr
22131702Smbr	* amd/conf_parse.y: move ALLOCA checks out of yacc code.  Fixes to
23131702Smbr	avoid problems with modern yacc/lex implementations.
24131702Smbr
25131702Smbr	* configure.in: search for gdbm/ndbm.h.  Add logic to deal with
26131702Smbr	db/ndbm/gdbm mess.
27131702Smbr
28131702Smbr2004-01-20  Ion Badulescu  <ionut@moisil.badula.org>
29131702Smbr
30131702Smbr	* amd/conf.c (gopt_nfs_allow_insecure_port): support function for
31131702Smbr	the new "nfs_allow_insecure_port" amd.conf directive
32131702Smbr
33131702Smbr	* amd/nfs_prot_svc.c (nfs_program_2): complain about the insecure
34131702Smbr	port and drop the request only if the "nfs_allow_insecure_port"
35131702Smbr	option is not set in amd.conf
36131702Smbr
37131702Smbr	* doc/am-utils.texi (Global Parameters): documented the new
38131702Smbr	amd.conf directive "nfs_allow_insecure_port"
39131702Smbr
40131702Smbr	* scripts/amd.conf.5 (nfs_allow_insecure_port): ditto
41131702Smbr
42131702Smbr	* scripts/amd.conf-sample (nfs_allow_insecure_port): added the
43131702Smbr	"nfs_allow_insecure_port" directive
44131702Smbr
45131702Smbr2004-01-20  Erez Zadok  <ezk@cs.sunysb.edu>
46131702Smbr
47131702Smbr	* doc/am-utils.texi: amd-workers is defunct.
48131702Smbr
49131702Smbr2004-01-19  Erez Zadok  <ezk@cs.sunysb.edu>
50131702Smbr
51131702Smbr	* cvs-server.txt: updated instructions
52131702Smbr
53131702Smbr2004-01-18  Erez Zadok  <ezk@cs.sunysb.edu>
54131702Smbr
55131702Smbr	* minor new port: i386-unknown-freebsd5.2.
56131702Smbr
57131702Smbr	* hlfsd/hlfsd.c (hlfsd_init), amd/amq_subr.c
58131702Smbr	(amqproc_mnttree_1_svc, amqproc_stats_1_svc,
59131702Smbr	amqproc_getmntfs_1_svc, xdr_amq_mount_tree): force double casting
60131702Smbr	to avoid gcc-3.3 complaints on Solaris 9 about "dereferencing
61131702Smbr	type-punned pointer will break strict-aliasing rules".
62131702Smbr
63131702Smbr2004-01-06  Erez Zadok  <ezk@cs.sunysb.edu>
64131702Smbr
65131702Smbr	* minor new port: i386-unknown-freebsd4.9.
66131702Smbr
67131702Smbr	* include/am_defs.h: Don't include malloc.h if stdlib.h exists,
68131702Smbr	because modern systems (e.g., BSD) complain if you use malloc.h
69131702Smbr	instead of stdlib.h.  Let's hope there are no systems out
70131702Smbr	there that need both.
71131702Smbr
72131702Smbr2004-01-05  Erez Zadok  <ezk@cs.sunysb.edu>
73131702Smbr
74131702Smbr	* MIRRORS.{txt,html}: verify each mirror site, update to new
75131702Smbr	locations (if found), and remove stale mirrors URLs.
76131702Smbr
77131702Smbr	* updated copyright year to 2004 on all files.
78131702Smbr
79131702Smbr	* Makefile.am (install-snapshot): new directory to install
80131702Smbr	snapshots (now that am-utils home page is moved).
81131702Smbr
82131702Smbr	* INSTALL, README.autofs: remove forced text-mode.
83131702Smbr
84131702Smbr	* doc/am-utils.texi: fix Amd book URL.
85131702Smbr
86131702Smbr	* Makefile.am (EXTRA_DIST): include new mirror files in tarball.
87131702Smbr
88131702Smbr	* AUTHORS, BUGS, README, README.y2k, configure.in,
89131702Smbr	doc/am-utils.texi: revisions to use newer URLs for Web site, FTP,
90131702Smbr	and mailing lists.
91131702Smbr
92131702Smbr	* MIRRORS.{html,txt}: copied from 6.1 branch.
93131702Smbr
94131702Smbr	* doc/Makefile.am: install mirror lists officially.
95131702Smbr
96131702Smbr2003-10-21  Ion Badulescu  <ionut@moisil.badula.org>
97131702Smbr
98131702Smbr	* buildall: added support for -i (make install), other fixes from
99131702Smbr	the trunk
100131702Smbr
101119679Smbr2003-08-27  Ion Badulescu  <ionut@buggy.badula.org>
102119679Smbr
103119679Smbr	* conf/nfs_prot/nfs_prot_freebsd3.h (na_uid): freebsd4.5 uses nfs
104119679Smbr	atttributes field named "uid".  So #define na_uid to it. [backport
105119679Smbr	of Erez's 6.1 change from 2002-02-26]
106119679Smbr
107119679Smbr2003-08-22  Nick Williams <Nick.Williams@morganstanley.com>
108119679Smbr
109119679Smbr	* amd/info_ldap.c (amu_ldap_init): don't try to pass a null
110119679Smbr	pointer as a string to plog, Solaris (and other OS's) don't like
111119679Smbr	it and will dump core.
112119679Smbr
113119679Smbr2003-07-17  Erez Zadok  <ezk@filer.fsl.cs.sunysb.edu>
114119679Smbr
115119679Smbr	* fsinfo/*.[hc]: rename fsinfo function log() to fsi_log(), to
116119679Smbr	avoid conflict with builtin function in gcc-3.3.
117119679Smbr
118119679Smbr2003-07-17  Philippe Troin  <phil@fifi.org>
119119679Smbr
120119679Smbr	* amd/amfs_auto.c (amfs_auto_mount): When pref:=NULL set am_pref
121119679Smbr	to strdup("") instead of NULL since this value will be
122119679Smbr	freed. Contributed by Matt Chapman <matthewc@cse.unsw.edu.au>.
123119679Smbr
124119679Smbr2003-06-09  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
125119679Smbr
126119679Smbr	* mk-amd-map/mk-amd-map.c (main): open temp db file using O_EXCL,
127119679Smbr	next best thing to using mkstemp().  Patch from Hendrik Scholz
128119679Smbr	<hscholz@raisdorf.net>.
129119679Smbr
130119679Smbr2003-05-08  Ion Badulescu  <ion@guppy.limebrokerage.com>
131119679Smbr
132119679Smbr	* libamu/mount_fs.c (compute_automounter_mount_flags): use
133119679Smbr	MNT2_GEN_OPT_AUTOMNTFS if available; minor cleanup, removed
134119679Smbr	redundant code for MNT2_GEN_OPT_OVERLAY
135119679Smbr
136119679Smbr	* m4/macros/header_templates.m4: added template for
137119679Smbr	MNT2_GEN_OPT_AUTOMOUNTED
138119679Smbr
139119679Smbr2003-04-23  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
140119679Smbr
141119679Smbr	* conf/transp/transp_sockets.c (create_amq_service): minor cpp
142119679Smbr	directive indentation and commenting.
143119679Smbr
144119679Smbr2003-04-22  Ion Badulescu  <ionut@moisil.badula.org>
145119679Smbr
146119679Smbr	* conf/transp/transp_sockets.c (create_amq_service): Ugly *BSD fix for
147119679Smbr	an RPC library DoS issue (original patch from Martin Blapp,
148119679Smbr	massaged into something more digestable by me)
149119679Smbr
150119679Smbr2003-04-13  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
151119679Smbr
152119679Smbr	* doc/Makefile.am (DVIPS): use proper options for dvips.
153119679Smbr
154119679Smbr	* doc/am-utils.texi (opts Option): document new 'unmount' option,
155119679Smbr	and better explain the 'nounmount' option.  Also some misc options
156119679Smbr	for better generation of html manual.
157119679Smbr
158119679Smbr	* doc/Makefile.am (install-html): support newer text2html 4.0
159119679Smbr	options, as older options were renamed or changed behavior.
160119679Smbr
161119679Smbr	* amd/autil.c (am_mounted): support new 'unmount' option, to allow
162119679Smbr	all file system mounts to timeout and thus expire.  This option is
163119679Smbr	useful for removable local media such as CD-ROMs, USB drives,
164119679Smbr	etc. so they can expire when not in use, and get unmounted (such
165119679Smbr	drives can get work out when they keep spinning).  Patch from
166119679Smbr	Christos Zoulas <christos@zoulas.com> (originally from Koji
167119679Smbr	Imada).
168119679Smbr
169119679Smbr2003-04-10  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
170119679Smbr
171119679Smbr	* configure.in: use AM_MAINTAINER_MODE, so maintainer-only rules
172119679Smbr	do not get added to Makefiles by default (they are confusing to
173119679Smbr	users who don't have autotools installed).
174119679Smbr
175119679Smbr2003-04-04  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
176119679Smbr
177119679Smbr	* libamu/xutil.c (switch_to_logfile): don't try to print logfile
178119679Smbr	if it is null (strlen core dump on solaris).  Bug report from John
179119679Smbr	P. Rouillard <rouilj@ieee.org>.
180119679Smbr
181119679Smbr2003-03-31  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
182119679Smbr
183119679Smbr	* fsinfo/fsinfo.8: typo co-ordinate -> coordinate.  Typo report
184119679Smbr	from Perry E. Metzger" <perry@piermont.com>.
185119679Smbr
186119679Smbr2003-03-20  Erez Zadok  <ezk@suse73.fsl.cs.sunysb.edu>
187119679Smbr
188119679Smbr	* minor new port: sparc64-unknown-linux-suse7.3.
189119679Smbr
190119679Smbr2003-03-20  Erez Zadok  <ezk@a-freebsd5.fsl.cs.sunysb.edu>
191119679Smbr
192119679Smbr	* minor new port: i386-unknown-freebsd5.0.
193119679Smbr
194119679Smbr	* configure.in: detect nfsclient/nfsargs.h.
195119679Smbr
196119679Smbr	* conf/nfs_prot/nfs_prot_freebsd3.h: include
197119679Smbr	<nfsclient/nfsargs.h>, needed in FreeBSD 5.0.
198119679Smbr
199119679Smbr2003-03-15  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
200119679Smbr
201119679Smbr	* amd/amd.8, amd/amd.8, fixmount/fixmount.8, hlfsd/hlfsd.8,
202119679Smbr	scripts/amd.conf.5, scripts/expn.1: minor spell checking and
203119679Smbr	extraneous space elimination.
204119679Smbr
205119679Smbr2003-01-25  Erez Zadok  <ezk@cs.sunysb.edu>
206119679Smbr
207119679Smbr	* BUGS (Note): document AIX-5.1 NFS-client side bug (hangs in
208119679Smbr	vmount).
209119679Smbr
210119679Smbr2003-01-25  Ion Badulescu  <ionut@moisil.badula.org>
211119679Smbr
212119679Smbr	*******************************************************************
213119679Smbr	*** Released am-utils-6.0.9					***
214119679Smbr	*******************************************************************
215119679Smbr
216119679Smbr2003-01-23  Ion Badulescu  <ion@guppy.limebrokerage.com>
217119679Smbr
218119679Smbr	* NEWS: updated for Darwin changes
219119679Smbr
220119679Smbr	* .cvsignore: added A.i386-apple-darwin6.0 and
221119679Smbr	A.sparc-sun-solaris2.9
222119679Smbr
223119679Smbr	* m4/macros/check_nfs_fh_dref.m4: darwin/rhapsody is another
224119679Smbr	freebsd22 derivative
225119679Smbr
226119679Smbr2002-12-28  Ion Badulescu  <ionut@moisil.badula.org>
227119679Smbr
228119679Smbr	* amd/srvr_nfs.c (start_nfs_pings): don't set FSF_PINGING if
229119679Smbr	pings are disabled
230119679Smbr
231119679Smbr	* libamu/misc_rpc.c (make_rpc_packet): fix make_rpc_packet() on
232119679Smbr	64-bit big-endian platforms, bug report from Bill Fenner
233119679Smbr	<fenner@research.att.com>
234119679Smbr
235119679Smbr	* configure.in: increase library patchlevel
236119679Smbr
237119679Smbr	* libamu/xutil.c (amu_release_controlling_tty): close and reopen
238119679Smbr	file descriptors 0,1,2 before calling setsid()
239119679Smbr
240119679Smbr2002-12-27  Erez Zadok  <ezk@cs.sunysb.edu>
241119679Smbr
242119679Smbr	* updated copyright year to 2003 on all files
243119679Smbr
244119679Smbr2002-12-11  Ion Badulescu  <ionut@moisil.badula.org>
245119679Smbr
246119679Smbr	Solaris9 build fixes:
247119679Smbr
248119679Smbr	* amd/info_ldap.c (amu_ldap_rebind): call ldap_enable_cache() only
249119679Smbr	if configure detected it
250119679Smbr
251119679Smbr	* configure.in: check for ldap_enable_cache()
252119679Smbr
253119679Smbr2002-12-10  Erez Zadok  <ezk@localhost.localdomain>
254119679Smbr
255119679Smbr	* rename "aux/" subdir into "m4/" so as to avoid problems with
256119679Smbr	MS-DOS systems (where "AUX" is a reserved name).  This required
257119679Smbr	fixing numerous files.
258119679Smbr
259119679Smbr2002-11-21  Erez Zadok  <ezk@cs.sunysb.edu>
260119679Smbr
261119679Smbr	* config.guess.long: updated script so it will properly find the
262119679Smbr	version number of the new Itanium 2 machines running "Red Hat
263119679Smbr	Linux Advanced Workstation release 2.1AW (Derry)".  The script now
264119679Smbr	will report ia64-unknown-linux-rh2.1AW.
265119679Smbr
266119679Smbr2002-11-11  Ion Badulescu  <ion@guppy.limebrokerage.com>
267119679Smbr
268119679Smbr	* doc/am-utils.texi (Keep-alives): removed outdated info about not
269119679Smbr	maintaining the state of TCP NFS servers
270119679Smbr
271119679Smbr2002-10-01  Ion Badulescu  <ion@guppy.limebrokerage.com>
272119679Smbr
273119679Smbr	* hlfsd/hlfsd.h: removed sys_nerr declaration
274119679Smbr
275119679Smbr	* amq/amq.c, hlfsd/hlfsd.c, libamu/xutil.c: always use strerror()
276119679Smbr
277119679Smbr	* libamu/strerror.c: new file, strerror() implementation for
278119679Smbr	systems that don't have it
279119679Smbr
280119679Smbr	* libamu/Makefile.am: added strerror.c
281119679Smbr
282119679Smbr	* include/am_utils.h: debug code improvements ported from 6.1
283119679Smbr
284119679Smbr	* conf/mount/mount_aix.c: compile fix for --disable-debug
285119679Smbr
286119679Smbr2002-09-09  Ion Badulescu  <ion@guppy.limebrokerage.com>
287119679Smbr
288119679Smbr	*******************************************************************
289119679Smbr	*** Released am-utils-6.0.8					***
290119679Smbr	*******************************************************************
291119679Smbr
292119679Smbr2002-09-09  Ion Badulescu  <ion@guppy.limebrokerage.com>
293119679Smbr
294119679Smbr	* amd/srvr_nfs.c (nfs_timed_out): add #ifdef DEBUG around dlog
295119679Smbr
296119679Smbr2002-09-04  Ion Badulescu  <ion@guppy.limebrokerage.com>
297119679Smbr
298119679Smbr	* amd/mntfs.c (free_mntfs): sanity check for mf_refc [patch from
299119679Smbr	George Ross ported from 6.1]
300119679Smbr
301119679Smbr	* amd/srvr_nfs.c (nfs_timed_out): allocate a new XID on server
302119679Smbr	timeout to avoid problems with late ping replies [patch from
303119679Smbr	George Ross ported from 6.1]
304119679Smbr
305119679Smbr2002-07-11  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
306119679Smbr
307119679Smbr	* scripts/expn.{1,in}: fixed typos as reported by Thomas Klausner
308119679Smbr	<wiz@danbala.ifoer.tuwien.ac.at>.
309119679Smbr
310119679Smbr2002-06-26    <ezk@agora.fsl.cs.sunysb.edu>
311119679Smbr
312119679Smbr	* doc/Makefile.am (install-html): don't use locally hacked
313119679Smbr	texi2html features.
314119679Smbr
315119679Smbr	* doc/am-utils.texi: don't use ':' in @cindex entries.
316119679Smbr
317119679Smbr2002-06-24  Ion Badulescu  <ionut@moisil.badula.org>
318119679Smbr
319119679Smbr	* doc/am-utils.texi (automount2amd): minor rewording
320119679Smbr
321119679Smbr	* aux/macros/struct_nfs_args.m4: added test for aix51_nfs_args
322119679Smbr
323119679Smbr	* conf/nfs_prot/nfs_prot_aix5_1.h: rename aix42_nfs_args to
324119679Smbr	aix51_nfs_args, rename unknown fields to u<number>
325119679Smbr
326119679Smbr2002-06-24  Ion Badulescu  <ion@guppy.limebrokerage.com>
327119679Smbr
328119679Smbr	* buildall: use ksh for configure on aix5.1; pass the extra
329119679Smbr	arguments after "--" to configure, not to make; fix 'buildall -b'
330119679Smbr	on hpux9 and aix5.1
331119679Smbr
332119679Smbr2002-06-22  Ion Badulescu  <lionut@gonzales.badula.org>
333119679Smbr
334119679Smbr	* hlfsd/homedir.c (homedir): use setgid() instead of setegid()
335119679Smbr
336119679Smbr	* buildall: use ksh for configure on aix5.1
337119679Smbr
338119679Smbr2002-06-21  Ion Badulescu  <ion@guppy.limebrokerage.com>
339119679Smbr
340119679Smbr	* Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF
341119679Smbr
342119679Smbr	* conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails
343119679Smbr	with EINVAL and we have MOUNT_TYPE_NFS3_BIS defined, retry the
344119679Smbr	mount with the alternative nfs3_args structure
345119679Smbr
346119679Smbr	* conf/nfs_prot/nfs_prot_aix4_3.h: added alternative nfs3_args
347119679Smbr	structure, similar to that in aix5.1, for a hack that tries to
348119679Smbr	compensate for IBM's brain fart
349119679Smbr
350119679Smbr	* conf/nfs_prot/nfs_prot_aix5_1.h: new nfs_prot header for aix5.1+
351119679Smbr
352119679Smbr	* aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+
353119679Smbr
354119679Smbr	* BUGS: update for direct mounts on Linux; document the brokenness
355119679Smbr	of /bin/sh on AIX 5.1 and HP-UX 9
356119679Smbr
357119679Smbr2002-06-21  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
358119679Smbr
359119679Smbr	* ALL source/header files: change use of HAVE_FIELD_* macros to
360119679Smbr	HAVE_*, since aux/macros/check_field.m4 changed as well.
361119679Smbr
362119679Smbr	* configure.in, Makefile.am, bootstrap, aux/amdgrep,
363119679Smbr	aux/macros/*.m4: MAJOR port of autotool files from 6.1 branch, to
364119679Smbr	work with newer autotools.
365119679Smbr
366119679Smbr2002-06-21  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
367119679Smbr
368119679Smbr	* aux/macros/with_addon.m4: correct M4 quoting.
369119679Smbr
370119679Smbr	* aux/macros/cache_check_dynamic.m4: correct M4 quoting.
371119679Smbr
372119679Smbr	* bootstrap: show version of autotools being used.  Helps
373119679Smbr	maintainer debugging.
374119679Smbr
375119679Smbr	* configure.in: new proper syntax for libtool and
376119679Smbr	ansi2knr-filtering rules, required by autoconf 1.53 and higher.
377119679Smbr
378119679Smbr2002-06-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
379119679Smbr
380119679Smbr	* aux/GNUmakefile: new search paths for "update" target.
381119679Smbr
382119679Smbr	* config.guess, config.sub, doc/texinfo.tex, ltmain: updates from
383119679Smbr	the latest GNU distributions.
384119679Smbr
385119679Smbr2002-05-30  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
386119679Smbr
387119679Smbr	* config.guess.long: support SuSE version names in long
388119679Smbr	config.guess format.
389119679Smbr
390119679Smbr2002-05-03  Ion Badulescu  <ion@guppy.limebrokerage.com>
391119679Smbr
392119679Smbr	* hlfsd/homedir.c (homedir): last chance checking for zombies; 
393119679Smbr	(interlock): anal-retentive checking for all sorts of error
394119679Smbr	conditions during child recovery
395119679Smbr
396119679Smbr	* hlfsd/hlfsd.c (main): use SA_RESTART in sigaction
397119679Smbr	(cleanup): indentation
398119679Smbr
399119679Smbr2002-05-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
400119679Smbr
401119679Smbr	* scripts/lostaltmail.in (vrfy_user): unlink temp files if too
402119679Smbr	small.
403119679Smbr
404119679Smbr2002-03-29  Ion Badulescu  <ionut@moisil.badula.org>
405119679Smbr
406119679Smbr	* amd/nfs_start.c: use plog() instead of perror()
407119679Smbr
408119679Smbr2002-03-28  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
409119679Smbr
410119679Smbr	* amd/info_ldap.c: patch from "Sebastien Bahloul"
411119679Smbr	<sebastien.bahloul@medasys.org> to fix a simple initialization bug
412119679Smbr	and change "HE" to HE_ENT so as to compile on HPUX.
413119679Smbr
414119679Smbr2002-02-12  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
415119679Smbr
416119679Smbr	* scripts/lostaltmail.in: don't verify user if -noverify option
417119679Smbr	was turned on.  fix comment typo.
418119679Smbr
419119679Smbr2002-02-11  Ion Badulescu  <ion@guppy.limebrokerage.com>
420119679Smbr
421119679Smbr	* Ripped out all traces of autofs support
422119679Smbr
423119679Smbr2002-02-11  Ion Badulescu  <ion@guppy.limebrokerage.com>
424119679Smbr
425119679Smbr	* README: require newer auto-tools, update mailing list address
426119679Smbr
427119679Smbr	* README.autofs: point to the 6.1 branch for autofs support
428119679Smbr
429119679Smbr2002-01-20  Erez Zadok  <ezk@localhost.localdomain>
430119679Smbr
431119679Smbr	* updated copyright year to 2002 on all files
432119679Smbr
433119679Smbr	* hlfsd/hlfsd.h (HLFSD_VERSION): up version of hlfsd to 1.2,
434119679Smbr	because we made some important changes.
435119679Smbr
436119679Smbr2002-01-20  Ion Badulescu  <lionut@gonzales.badula.org>
437119679Smbr
438119679Smbr	* NEWS: document latest changes
439119679Smbr
440119679Smbr	* amd/map.c (unmount_mp): same fix as for hlfsd, update the
441119679Smbr	seconds field in mtime because Linux ignores the useconds field
442119679Smbr
443119679Smbr	* hlfsd/homedir.c: made some global vars static
444119679Smbr	(plt_init): remove all trailing '/' chars from root's home;
445119679Smbr	use root's home, not the username (silly bugfix)
446119679Smbr
447119679Smbr2002-01-20  Ion Badulescu  <lionut@gonzales.badula.org>
448119679Smbr
449119679Smbr	* hlfsd/homedir.c (homedir): don't special case uid 0 as having /
450119679Smbr	as home; instead use the root accounts home
451119679Smbr	(plt_init): properly initialize root_home from the root account's
452119679Smbr	home directory, or as "" if root doesn't exist
453119679Smbr	(plt_reset): free root_home
454119679Smbr
455119679Smbr2002-01-20  Ion Badulescu  <lionut@gonzales.badula.org>
456119679Smbr
457119679Smbr	* hlfsd/hlfsd.h: update prototype for homedir()
458119679Smbr
459119679Smbr	* hlfsd/stubs.c (nfsproc_lookup_2_svc): get the credentials at the
460119679Smbr	begining of the function and assign the uid to the symlink
461119679Smbr	attributes; increment the mtime's seconds field each time the uid
462119679Smbr	changes
463119679Smbr	(nfsproc_lookup_2_svc): ditto
464119679Smbr	(nfsproc_readlink_2_svc): pass the groupid to homedir();
465119679Smbr
466119679Smbr	* hlfsd/homedir.c (homedir): take a second argument, the user's
467119679Smbr	primary gid, and switch to it when doing filesystem operations;
468119679Smbr	save the old uid and gid and revert to them instead of the
469119679Smbr	hardcoded uid 0
470119679Smbr
471119679Smbr2002-01-10  Ion Badulescu  <ion@guppy.limebrokerage.com>
472119679Smbr
473119679Smbr	* conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo
474119679Smbr	parameter 2 orders of magnitude larger than udp (patch from Trond
475119679Smbr	Myklebust)
476119679Smbr
477119679Smbr2001-12-13  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
478119679Smbr
479119679Smbr	* scripts/amd.conf.5: correct title to section 5, not 8.  Correct
480119679Smbr	reversed meaning of nfs_proto and nfs_vers parameters.  Typos
481119679Smbr	reported by Peter Breitenlohner <peb@mppmu.mpg.de>.
482119679Smbr
483119679Smbr2001-12-02  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
484119679Smbr
485119679Smbr	* scripts/ctl-amd.in: run "test" or "[" in front of -x/-f
486119679Smbr
487119679Smbr	* scripts/ctl-hlfsd.in: run "test" or "[" in front of -x/-f
488119679Smbr
489119679Smbr2001-11-29  Ion Badulescu  <ion@guppy.limebrokerage.com>
490119679Smbr
491119679Smbr	* tasks: updated
492119679Smbr
493119679Smbr	* amq/amq.8: better document the -f option
494119679Smbr
495119679Smbr2001-11-29  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
496119679Smbr
497119679Smbr	* libamu/mount_fs.c (mnt_flags): same as for nolock option
498119679Smbr	handling, do for maxgrps.
499119679Smbr
500119679Smbr2001-11-28  Philippe Troin  <phil@fifi.org>
501119679Smbr
502119679Smbr	* libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount
503119679Smbr	opts.
504119679Smbr	(compute_nfs_args): Added nolock handling.
505119679Smbr	Adapted from an original patch from Avery Pennarun <apenwarr@nit.ca>.
506119679Smbr
507119679Smbr2001-11-27  Erez Zadok  <ezk@a-hpux11i.fsl.cs.sunysb.edu>
508119679Smbr
509119679Smbr	* ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler.
510119679Smbr	Couldn't use bison/flex because of 32-bit vs. 64-bit binaries
511119679Smbr	issues.  Had to use HP's own yacc/lex.  This was discovered by
512119679Smbr	using HP's non-GNU make program.
513119679Smbr
514119679Smbr2001-11-26  Erez Zadok  <ezk@a-hpux11i.fsl.cs.sunysb.edu>
515119679Smbr
516119679Smbr	* */Makefile.am: don't use $(OBJECTS) directly because it is no
517119679Smbr	longer automatically defined now that Automake has automatic
518119679Smbr	dependency tracking (which I turn off).  Instead, hard-code
519119679Smbr	minimal dependencies on am-utils' header files to depend on
520119679Smbr	PROG_OBJECTS (where PROG is the program name being built)
521119679Smbr
522119679Smbr	* amd/nfs_start.c (checkup): cast getpagesize() return val to
523119679Smbr	long, to avoid conflicts in division of a long by an int (on
524119679Smbr	hpux11i, with their ANSI/C compiler).
525119679Smbr
526119679Smbr 	* INSTALL, doc/am-utils.texi: port updates
527119679Smbr
528119679Smbr	* minor new ports: ia64-hp-hpux11.20, i386-unknown-freebsd5.0,
529119679Smbr	i386-unknown-freebsd4.4, i386-pc-linux-rh7.2,
530119679Smbr	ia64-unknown-linux-rh7.1.
531119679Smbr
532119679Smbr	* include/am_defs.h: actually declare extern definition for
533119679Smbr	xdr_callmsg() if it doesn't already exist.
534119679Smbr
535119679Smbr	* aux/macros/header_templates.m4: declare template for
536119679Smbr	HAVE_EXTERN_XDR_CALLMSG.
537119679Smbr
538119679Smbr	* configure.in: check for extern definition for xdr_callmsg()
539119679Smbr	because hpux11 has that function but a bad <rpc/xdr.h> header file
540119679Smbr	that doesn't define it in the right place.
541119679Smbr
542119679Smbr	* libamu/mount_fs.c (print_nfs_args): cast ->rdev to u_long b/c
543119679Smbr	on hpux11 its type is dev_t.
544119679Smbr
545119679Smbr	* conf/nfs_prot/nfs_prot_hpux11.h: don't support autofs on hpux11
546119679Smbr	yet.
547119679Smbr
548119679Smbr2001-11-16  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
549119679Smbr
550119679Smbr	* buildall (Usage): separate $cnf_flags and $extra_cnf_flags due
551119679Smbr	to /bin/sh limitations.
552119679Smbr
553119679Smbr	* bootstrap (cmd): turn back on --ignore-deps (this Automake may
554119679Smbr	have problems)
555119679Smbr
556119679Smbr	* libamu/xutil.c: remove __attribute__ format_arg statement for 
557119679Smbr	expand_error() because this function, although taking a
558119679Smbr	printf-like string, does not use it in a printf function; it only
559119679Smbr	expands a non-printf amd-special syntax %m.
560119679Smbr
561119679Smbr2001-11-14  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
562119679Smbr
563119679Smbr	* conf/nfs_prot/nfs_prot_linux.h: define KERNEL_VERSION macro
564119679Smbr	before using it because older Linux systems don't define this
565119679Smbr	(e.g., Red Hat 4.2)
566119679Smbr
567119679Smbr2001-11-13  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
568119679Smbr
569119679Smbr	* configure.in: convert to using autoconfig 2.52.  Use new macros.
570119679Smbr	AC_MSG_NOTICE for messages; AH_TOP and AH_BOTTOM to top and bottom
571119679Smbr	parts of autogenerated config.h.in; increase autoconf
572119679Smbr	pre-requisite to version 2.50; use AC_DISABLE_SHARED not
573119679Smbr	AM_DISABLE_SHARED.
574119679Smbr
575119679Smbr	* aux/macros/cache_check_dynamic.m4: finally I can use the new
576119679Smbr	$ECHO_N syntax in macros instead of $ac_n, since I'm using a new
577119679Smbr	autoconf.  Isn't it nice to be such forward looking and having
578119679Smbr	placed a comment "XXX: use the next line for autoconf-2.14 and
579119679Smbr	newer"... :-)
580119679Smbr
581119679Smbr	* aux/macros/save_state.m4: highlight message with ***'s
582119679Smbr
583119679Smbr	* aux/macros/host_macros.m4: use proper M4 quoting ([], not "")
584119679Smbr
585119679Smbr	* config.{guess,sub}: upated from latest prep ftp distributions
586119679Smbr	
587119679Smbr	* depcomp, missing, mkinstalldirs: upated from latest Automake 1.5
588119679Smbr
589119679Smbr	* ltmain.sh: updated from latest Libtool 1.4.2
590119679Smbr	
591119679Smbr	* bootstrap: finally, new autoconf doesn't print silly "AC_TRY_RUN
592119679Smbr	called without default to allow cross compiling" warnings.  And,
593119679Smbr	it only took like 3+ years to fix this.  But, now it has anoter,
594119679Smbr	albeit less annoying warning (which the manual says to ignore):
595119679Smbr	"AC_PROG_LEX invoked multiple times".
596119679Smbr	When autoheader is run, don't treat the "all clear" message
597119679Smbr	"config.h.in is update" as an error.
598119679Smbr
599119679Smbr	* ltconfig: removed. not needed with latest version of libtool
600119679Smbr
601119679Smbr	* aux/macros/header_templates.m4: replaces acconfig.h and defines
602119679Smbr	all CPP macros we use in this package, including their
603119679Smbr	accompanying C /* comments */.
604119679Smbr
605119679Smbr	* acconfig.h: removed. replaced by new autoconf system to generate
606119679Smbr	header templates using AH_TEMPLATE macros and such.
607119679Smbr
608119679Smbr	* aux/macros/msg.m4: removed.  Replaced with new macro
609119679Smbr	AC_MSG_NOTICE 
610119679Smbr
611119679Smbr	* Makefile.am (EXTRA_DIST_AUX): remove aux/macros/msg.m4.  Add
612119679Smbr	aux/macros/header_templates.m4
613119679Smbr
614119679Smbr	* configure.in: early, in host_macros.m4, I'm renaming silly linux
615119679Smbr	$host_os names such as linux-gnu and lignux to plain "linux".
616119679Smbr	Alas, RMS finally had his way and libtool will NOT recognize
617119679Smbr	"linux" as a valid system, only "linux-gnu".  Sigh.  Rich, I know
618119679Smbr	you're responsible to Linux's fame.  Kudos to you and your
619119679Smbr	cohorts.  But please don't force the rest of us to use those ugly
620119679Smbr	or long names.  Solution: temporarily name $host_os to "linux-gnu"
621119679Smbr	before calling the AC_PROG_LIBTOOL macro, then name it back to
622119679Smbr	"linux".  (That way I don't have to maintain my own version of
623119679Smbr	ltmain.sh.
624119679Smbr
625119679Smbr	* buildall: force running configure -C (to create and use a local
626119679Smbr	config.cache file).  New default behavior for autoconf is NOT to
627119679Smbr	use cache files.  Yeah, that's gonna fly real well with am-utils,
628119679Smbr	with its 700+ automatic tests.
629119679Smbr
630119679Smbr	* conf/mtab/mtab_mach3.c (rewrite_mtab): use mkstemp instead of
631119679Smbr	mktemp, if the former is available.
632119679Smbr
633119679Smbr	* conf/mtab/mtab_file.c (rewrite_mtab): use mkstemp instead of
634119679Smbr	mktemp, if the former is available.
635119679Smbr
636119679Smbr	* mk-amd-map/mk-amd-map.c (main): use mkstemp instead of mktemp,
637119679Smbr	if the former is available.
638119679Smbr
639119679Smbr	* aux/macros/check_nfs_socket_connection.m4: AC_DEFINE calls must
640119679Smbr	be on a separate line, as per new Autoconf manual, to avoid some
641119679Smbr	Bourne Shell syntactical bizarreness.
642119679Smbr
643119679Smbr2001-11-12  Ion Badulescu  <ionut@buggy.badula.org>
644119679Smbr
645119679Smbr	* libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer
646119679Smbr	pointing to '\0' on success, so we need to allow for it. This
647119679Smbr	fixes the problem with rejecting numerical mount options if they
648119679Smbr	are the last option in the string.
649119679Smbr
650119679Smbr	* configure.in: increased library patchlevel
651119679Smbr
652119679Smbr	* NEWS: document the parsing bug; document other previous changes
653119679Smbr
654119679Smbr2001-10-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
655119679Smbr
656119679Smbr	* aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc. 
657119679Smbr	* BUGS: Explain this.
658119679Smbr
659119679Smbr2001-10-02  Erez Zadok  <ezk@agora.fsl.cs.sunysb.edu>
660119679Smbr
661119679Smbr	* doc/am-utils.texi (redhat-ctl-amd): document new script.
662119679Smbr
663119679Smbr	* scripts/Makefile.am: build redhat-ctl-amd but do not install it.
664119679Smbr
665119679Smbr	* scripts/redhat-ctl-amd.in: new script, useful to correctly
666119679Smbr	control Amd on Red Hat Linux systems.  Script adapted from ctl-amd
667119679Smbr	and Red Hat's own rc.d script.
668119679Smbr	
669119679Smbr2001-10-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
670119679Smbr
671119679Smbr	* conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h.
672119679Smbr	(MNT2_NFS_OPT_AUTO): Disable.
673119679Smbr	* Makefile.am (EXTRA_DIST_CONF): Reflect new name.
674119679Smbr	* aux/macros/check_nfs_prot_headers.m4: Use this file for all
675119679Smbr	Tru64 UNIX V5 and up releases.
676119679Smbr
677119679Smbr2001-09-24  Ion Badulescu  <ionut@moisil.badula.org>
678119679Smbr
679119679Smbr	* include/mount_headers1.h (MFS): define as 1 instead of nothing,
680119679Smbr	to fix compile problems on OS X (patch from Ahmon Dancy)
681119679Smbr
682119679Smbr	* aux/macros/try_compile_anyfs.m4 (MFS): ditto
683119679Smbr
684119679Smbr2001-08-13  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
685119679Smbr
686119679Smbr	* doc/am-utils.texi (in_network Selector Variable): document
687119679Smbr	expanded syntax
688119679Smbr
689119679Smbr	* libamu/wire.c (is_network_member): support for network/netmask
690119679Smbr	as well as network/bits syntax in in_network()
691119679Smbr
692119679Smbr2001-07-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
693119679Smbr
694119679Smbr	* amd/get_args.c (get_args): a better way to handle GNU and
695119679Smbr	non-GNU getopts without strdup-ing the getopt string.
696119679Smbr
697119679Smbr2001-07-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
698119679Smbr
699119679Smbr	* amd/info_ldap.c (amu_ldap_rebind): The first time you called
700119679Smbr	amu_ldap_init, aldh->ldap is not set.  So when amu_ldap_rebind is
701119679Smbr	called, this function is absolutely sure to return 0.  Then
702119679Smbr	amu_ldap_init return 0 without having opened any LDAP connection.
703119679Smbr	This is not the correct behaviour.
704119679Smbr	(get_ldap_timestamp, amu_ldap_search): error to free an object
705119679Smbr	("entry") that is automatically freed by the library.  Patch from
706119679Smbr	Sebastien Bahloul <sebastien.bahloul@mangoosta.fr>.
707119679Smbr
708119679Smbr2001-07-19  Ion Badulescu  <ionut@moisil.badula.org>
709119679Smbr
710119679Smbr	* AUTHORS (variables): added Philippe Troin
711119679Smbr
712119679Smbr	* Makefile.am (EXTRA_DIST): added bootstrap
713119679Smbr
714119679Smbr	* amd/map.c (unmount_node_wrap): fix a couple of comments (already
715119679Smbr	fixed in 6.1)
716119679Smbr
717119679Smbr	* amd/amfs_auto.c (try_mount): print the path for the request that
718119679Smbr	failed (already in 6.1)
719119679Smbr
720119679Smbr	* include/am_compat.h (xfs_args_t): define as u_int if the
721119679Smbr	filesystem is supported but we can't autodetect the type for
722119679Smbr	xfs_args_t. This allows Linux to mount xfs filesystems.
723119679Smbr
724119679Smbr2001-07-12  Philippe Troin  <phil@fifi.org>
725119679Smbr
726119679Smbr	* aux/macros/with_addon.m4: Created. Wrapper around AC_ARG_WITH
727119679Smbr	with only the `yes' and `no' as possible answers.
728119679Smbr
729119679Smbr	* configure.in: Added support for disabling LDAP and HESIOD even
730119679Smbr	if the supporting libraries are found.
731119679Smbr
732119679Smbr	* Makefile.am (EXTRA_DIST_AUX): Added with_addon.m4 macro file.
733119679Smbr
734119679Smbr2001-07-12  Philippe Troin  <phil@fifi.org>
735119679Smbr
736119679Smbr	* include/am_compat.h: Removed forced definition of MNTTAB_OPT_DEV
737119679Smbr	if MNT2_GEN_OPT_NODEV was found. Actually, the dev= (SVR4) options
738119679Smbr	and the linux nodev options are different beasts.
739119679Smbr
740119679Smbr	* conf/mount/mount_linux.c (opt_map): Removed the MNTTAB_OPT_DEV
741119679Smbr	entry (not really necessary on linux).
742119679Smbr
743119679Smbr2001-07-12  Philippe Troin  <phil@fifi.org>
744119679Smbr
745119679Smbr	* amd/get_args.c (get_args): Prepend "+" to the getopt string if
746119679Smbr	HAVE_GNU_GETOPT to avoid getting all options (even the ones after
747119679Smbr	the first non-option argument) slurped in by GNU getopt.
748119679Smbr
749119679Smbr	* aux/macros/check_gnu_getopt.m4: Created. Defines HAVE_GNU_GETOPT
750119679Smbr	if GNU/glibc getopt implementation is detected.
751119679Smbr
752119679Smbr	* configure.in: Added call to AC_CHECK_GNU_GETOPT.
753119679Smbr
754119679Smbr	* acconfig.h: Document HAVE_GNU_GETOPT.
755119679Smbr
756119679Smbr	* Makefile.am (EXTRA_DIST_AUX): Added check_gnu_getopt.m4 macro file.
757119679Smbr
75882794Sobrien2001-06-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
75982794Sobrien
76082794Sobrien	*******************************************************************
76182794Sobrien	*** Released am-utils-6.0.7					***
76282794Sobrien	*******************************************************************
76382794Sobrien
76482794Sobrien2001-06-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
76582794Sobrien
76682794Sobrien	* config.guess, config.sub, doc/texinfo.tex: updates from the
76782794Sobrien	latest GNU distributions.
76882794Sobrien	
76982794Sobrien	* INSTALL, doc/am-utils.texi (Supported Platforms): update info on
77082794Sobrien	freebsd5.0
77182794Sobrien
77282794Sobrien	* LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all
77382794Sobrien	am-utils URL references use www.am-utils.org, not the columbia
77482794Sobrien	URL.
77582794Sobrien
77682794Sobrien2001-05-24  Erez Zadok  <ezk@fsl-gw.fsl.cs.sunysb.edu>
77782794Sobrien
77882794Sobrien	* conf/transp/transp_sockets.c (create_nfs_service): cast to u_long
77982794Sobrien	to ensure clean compile on freebsd5 and bsdi2.
78082794Sobrien
78182794Sobrien2001-05-19  Erez Zadok  <ezk@kosh.dyn.optonline.net>
78282794Sobrien
78382794Sobrien	* conf/mount/mount_linux.c: typo: added comma after '0' element.
78482794Sobrien
78582794Sobrien2001-05-19  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
78682794Sobrien
78782794Sobrien	* conf/mount/mount_linux.c (linux_nfs_error): don't special case
78882794Sobrien	the 0 result, just put it into the translation list
78982794Sobrien
79082794Sobrien2001-05-19  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
79182794Sobrien
79282794Sobrien	* conf/mount/mount_linux.c (linux_nfs_error): don't report success
79382794Sobrien	(0) as error (NE_IO)!
79482794Sobrien
79582794Sobrien2001-05-18  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
79682794Sobrien
79782794Sobrien	* amd/amfs_host.c (amfs_host_mount): don't fail the mount if at
79882794Sobrien	least one share is already mounted
79982794Sobrien
80082794Sobrien2001-05-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
80182794Sobrien
80282794Sobrien	*******************************************************************
80382794Sobrien	*** Released am-utils-6.0.6					***
80482794Sobrien	*******************************************************************
80582794Sobrien
80682794Sobrien2001-05-01  Ion Badulescu  <ionut@gonzales.dev.hydraweb.com>
80782794Sobrien
80882794Sobrien	* conf/mount/mount_linux.c: fixed stupid error in the linux
80982794Sobrien	nfs_errormap[], which was mapping ENOENT to success!!!
81082794Sobrien
81182794Sobrien2001-04-28  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
81282794Sobrien
81382794Sobrien	* BUGS: added info about the direct mount problems on Linux and
81482794Sobrien	about the kernel patches on www.am-utils.org.
81582794Sobrien
81682794Sobrien	* amd/autil.c (forcibly_timeout_mp): always log a message when the
81782794Sobrien	forced unmount request is ignored
81882794Sobrien
81982794Sobrien2001-04-23  Ion Badulescu  <ionut@buggy.dev.hydraweb.com>
82082794Sobrien
82182794Sobrien	* amd/ops_autofs.c (autofs_lookuppn): renamed
82282794Sobrien	CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS
82382794Sobrien	(leftover from 03/29/01)
82482794Sobrien
82582794Sobrien2001-04-14  Erez Zadok  <ezk@whitestar.dyn.optonline.net>
82682794Sobrien
82782794Sobrien	* COPYING: update copyright year
82882794Sobrien
82982794Sobrien	* amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c,
83082794Sobrien	amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c,
83182794Sobrien	amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c,
83282794Sobrien	amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c,
83382794Sobrien	conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c,
83482794Sobrien	conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c,
83582794Sobrien	conf/transp/transp_sockets.c, conf/transp/transp_tli.c,
83682794Sobrien	libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog
83782794Sobrien	messages for clarity, to avoid duplication, to better recognize
83882794Sobrien	what the message means and where it ran, and to fix typos.
83982794Sobrien
84082794Sobrien	* amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of
84182794Sobrien	function's name to the beginning of the function, before any other
84282794Sobrien	messages are logged.
84382794Sobrien
84482794Sobrien2001-04-05  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
84582794Sobrien
84682794Sobrien	* include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS,
84782794Sobrien	MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO
84882794Sobrien	work (needed for MacOS X); removed duplicate definition of NFS.
84982794Sobrien
85082794Sobrien2001-04-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
85182794Sobrien
85282794Sobrien	* released snapshot am-utils-6.0.6s2
85382794Sobrien
85482794Sobrien2001-03-29  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
85582794Sobrien
85682794Sobrien	* amd/amd.h, amd/amfs_auto.c, amd/conf.c,
85782794Sobrien	doc/am-utils.texi,
85882794Sobrien	scripts/amd.conf-sample, scripts/amd.conf.5:
85982794Sobrien	renamed selectors_on_default to selectors_in_defaults,
86082794Sobrien	kept the former as a deprecated option;
86182794Sobrien	renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS;
86282794Sobrien	renamed gopt_selectors_on_default() to gopt_selectors_in_defaults()
86382794Sobrien
86482794Sobrien2001-03-15  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
86582794Sobrien
86682794Sobrien	* conf/mount/mount_linux.c (parse_opts): added support for lofs
86782794Sobrien	(mount_linux): support lofs through bind mounts and/or FiST lofs
86882794Sobrien
86982794Sobrien	* scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to
87082794Sobrien	/var/mail and /usr/spool/mail
87182794Sobrien
87282794Sobrien	* conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if
87382794Sobrien	kernel is newer than 2.4.0
87482794Sobrien	(MNTTYPE_LOFS): ditto
87582794Sobrien
87682794Sobrien	* acconfig.h: added MNT2_GEN_OPT_BIND
87782794Sobrien
87882794Sobrien	* configure.in: bumped up library patchlevel; added detection for
87982794Sobrien	the MS_BIND generic mount option
88082794Sobrien
88182794Sobrien2001-02-28  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
88282794Sobrien
88382794Sobrien	* aux/macros/check_mount_trap.m4,
88482794Sobrien	aux/macros/check_nfs_fh_dref.m4,
88582794Sobrien	aux/macros/check_nfs_prot_headers.m4,
88682794Sobrien	aux/macros/type_recvfrom_fromlen.m4,
88782794Sobrien	aux/macros/type_yp_order_outorder.m4:
88882794Sobrien	Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to
88982794Sobrien	aix[1-3], osf[1-3] and hpux[6-9].
89082794Sobrien
89182794Sobrien2001-02-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
89282794Sobrien
89382794Sobrien	* check_mount_style.m4, check_mount_trap.m4,
89482794Sobrien	check_network_transport_type.m4, check_nfs_fh_dref.m4,
89582794Sobrien	check_nfs_prot_headers.m4, check_nfs_sa_dref.m4,
89682794Sobrien	check_nfs_socket_connection.m4, os_cflags.m4,
89782794Sobrien	type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more
89882794Sobrien	cleanup (use [[0-1]] instead of M4 changequote commands).
89982794Sobrien
90082794Sobrien	* Makefile.am: removed unused conf/trap/trap_hpux11.h
90182794Sobrien
90282794Sobrien2001-02-27  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
90382794Sobrien
90482794Sobrien	* aux/macros/check_network_transport_type.m4,
90582794Sobrien	aux/macros/check_mount_style.m4,
90682794Sobrien	aux/macros/check_mount_trap.m4,
90782794Sobrien	aux/macros/check_network_transport_type.m4,
90882794Sobrien	aux/macros/check_nfs_fh_dref.m4,
90982794Sobrien	aux/macros/check_nfs_prot_headers.m4,
91082794Sobrien	aux/macros/check_nfs_sa_dref.m4,
91182794Sobrien	aux/macros/check_nfs_socket_connection.m4,
91282794Sobrien	aux/macros/os_cflags.m4,
91382794Sobrien	aux/macros/type_auth_create_gidlist.m4,
91482794Sobrien	aux/macros/type_recvfrom_fromlen.m4,
91582794Sobrien	aux/macros/type_yp_order_outorder.m4:
91682794Sobrien	Reworked the scripts, so that a new _unknown_ version of a known OS
91782794Sobrien	will use the option for the newest _known_ version of that OS. For
91882794Sobrien	example, when freebsd6 comes out, it will use the stuff for
91982794Sobrien	freebsd5, not the stuff for freebsd2. This makes configure more
92082794Sobrien	likely to succeed on new systems/versions.
92182794Sobrien
92282794Sobrien2001-02-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
92382794Sobrien
92482794Sobrien	* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in
92582794Sobrien	distributions.
92682794Sobrien
92782794Sobrien2001-02-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
92882794Sobrien
92982794Sobrien	* libamu/mtab.c: added the functions hasmnteq and haseq to
93082794Sobrien	ease checks for non-numeric values in opt=value strings.
93182794Sobrien	Recoded hasmntval to qualify input as numeric, allow hex and
93282794Sobrien	octal strings on rhs of =, and log when the value is missing
93382794Sobrien	or invalid.
93482794Sobrien
93582794Sobrien	* conf/mount/mount_linux.c: revised mount_linux to use new
93682794Sobrien	hasmnteq function to extract type of non-nfs mounts, and added
93782794Sobrien	a log message to catch possible failure of strdup.
93882794Sobrien
93982794Sobrien	* amd/am_ops.c: revised merge_ops to use new haseq function
94082794Sobrien
94182794Sobrien	* amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to
94282794Sobrien	discover protocol setting.
94382794Sobrien
94482794Sobrien	* include/am_utils.h: added function prototypes for hasmnteq
94582794Sobrien	and haseq
94682794Sobrien
94782794Sobrien2001-02-19  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
94882794Sobrien
94982794Sobrien	* include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid
95082794Sobrien	pulling in unwanted declarations from 2.2.19pre and 2.4.1ac
95182794Sobrien
95282794Sobrien	* include/am_defs.h (_LINUX_NFS3_H): ditto
95382794Sobrien
95482794Sobrien	* conf/nfs_prot/nfs_prot_linux.h: whitespace, comments
95582794Sobrien
95682794Sobrien2001-02-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
95782794Sobrien
95882794Sobrien	* aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo"
95982794Sobrien	command.
96082794Sobrien
96182794Sobrien2001-02-18  Erez Zadok  <ezk@earth.cs.columbia.edu>
96282794Sobrien
96382794Sobrien	* released snapshot am-utils-6.0.6s1
96482794Sobrien
96582794Sobrien	* aux/macros/mount_headers.m4, include/mount_headers[12].h: split
96682794Sobrien	mount_headers.h in two because one relative header (nfs_prot.h)
96782794Sobrien	file cannot be included inside another from the start directory of
96882794Sobrien	the first (it's relative to the directory of the first).
96982794Sobrien
97082794Sobrien2001-02-09  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
97182794Sobrien
97282794Sobrien	* AUTHORS: added Ahmon Dancy <dancy@franz.com>
97382794Sobrien
97482794Sobrien	* (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy
97582794Sobrien
97682794Sobrien	* aux/macros/mount_headers.m4: moved all the C code into a
97782794Sobrien	separate file, include/mount_headers.h; the effect is that
97882794Sobrien	configure goes down in size by a factor of 2.5!
97982794Sobrien
98082794Sobrien	* include/mount_headers.h: new file, with C code from
98182794Sobrien	aux/macros/mount_headers.m4
98282794Sobrien
98382794Sobrien2001-02-01  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
98482794Sobrien
98582794Sobrien	* conf/mount/mount_linux.c: made linux_nfs_error() more robust.
98682794Sobrien
98782794Sobrien2001-02-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
98882794Sobrien
98982794Sobrien	*******************************************************************
99082794Sobrien	*** Released am-utils-6.0.5					***
99182794Sobrien	*******************************************************************
99282794Sobrien
99382794Sobrien2001-02-01  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
99482794Sobrien
99582794Sobrien	* conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition
99682794Sobrien	of nfs_error here, from mount_linux.c, so that it can actually be
99782794Sobrien	used.
99882794Sobrien
99982794Sobrien	* conf/mount/mount_linux.c: added unused errno 41 to the
100082794Sobrien	nfs_errormap array, lest the following errno's get shifted up by
100182794Sobrien	one!
100282794Sobrien
100382794Sobrien2001-01-12  Ion Badulescu  <ionut@buggy.dev.hydraweb.com>
100482794Sobrien
100582794Sobrien	* include/am_defs.h: don't allow linux/fs.h to be sucked in via
100682794Sobrien	linux/auto_fs.h, it breaks the compile on glibc platforms.
100782794Sobrien
100882794SobrienSat Jan 13 00:04:38 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
100982794Sobrien
101082794Sobrien	* amd/amd.h (autofs_lookuppn): Fixup whitespace.
101182794Sobrien	* amd/amfs_auto.c (amfs_auto_bgmount): Likewise.
101282794Sobrien	* amd/amfs_error.c: (amfs_error_match): Likewise.
101382794Sobrien	* amd/amfs_host.c (fetch_fhandle): Fixup whitespace.  Remove
101482794Sobrien	unnecessary temporary variable.
101582794Sobrien	* amd/info_file.c (read_line): Likewise.
101682794Sobrien	(search_or_reload_file): Likewise.
101782794Sobrien	* amd/info_ldap.c (get_ldap_timestamp): Likewise.
101882794Sobrien	* amd/nfs_prot_svc.c: Likewise.
101982794Sobrien	* amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn,
102082794Sobrien	foofs_readlink, foofs_ffserver): Likewise. 
102182794Sobrien	* amd/ops_autofs.c (autofs_bgmount): Likewise.
102282794Sobrien	* amd/ops_lofs.c (lofs_match): Likewise.
102382794Sobrien	* amd/ops_nfs.c (got_nfs_fh): Fixup whitespace.
102482794Sobrien	* amd/ops_xfs.c (xfs_match): Likewise.
102582794Sobrien	* amd/srvr_amfs_auto.c (srvrlog): Line break.
102682794Sobrien	* amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged,
102782794Sobrien	nfs_srvr_port): Fixup whitespace.
102882794Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: Likewise.
102982794Sobrien	* conf/nfs_prot/nfs_prot_hpux.h: Likewise.
103082794Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: Likewise.
103182794Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: Likewise.
103282794Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
103382794Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: Likewise.
103482794Sobrien	* conf/nfs_prot/nfs_prot_osf2.h: Likewise.
103582794Sobrien	* conf/nfs_prot/nfs_prot_osf4.h: Likewise.
103682794Sobrien	* conf/nfs_prot/nfs_prot_osf5_1.h: Likewise.
103782794Sobrien	* conf/nfs_prot/nfs_prot_sunos3.h: Likewise.
103882794Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: Likewise.
103982794Sobrien	* conf/nfs_prot/nfs_prot_ultrix.h: Likewise.
104082794Sobrien	* conf/transp/transp_tli.c (get_mount_client): Likewise.
104182794Sobrien	* hlfsd/nfs_prot_svc.c: Likewise.
104282794Sobrien	* include/am_defs.h (sys_errlist): Likewise.
104382794Sobrien	* include/am_utils.h (am_get_progname, am_get_hostname,
104482794Sobrien	amq_program_1): Likewise.
104582794Sobrien	(nfsxprt): Moved declaration.
104682794Sobrien
104782794SobrienFri Jan 12 23:46:31 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
104882794Sobrien
104982794Sobrien	* hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001.
105082794Sobrien
105182794SobrienFri Jan 12 23:31:45 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
105282794Sobrien
105382794Sobrien	Removed support for amq -M.
105482794Sobrien
105582794Sobrien	* acconfig.h (ENABLE_AMQ_MOUNT): Removed.
105682794Sobrien	* aux/macros/opt_amq_mount.m4: Removed.
105782794Sobrien	* Makefile.am (EXTRA_DIST_AUX): Don't distribute
105882794Sobrien	opt_amq_mount.m4.
105982794Sobrien	* configure.in (AC_OPT_AMQ_MOUNT): Removed invocation.
106082794Sobrien
106182794Sobrien	* amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed.
106282794Sobrien	* amd/amq_svc.c (amq_program_1): Removed amq -M support.
106382794Sobrien	* amq/amq.c (mount_map): Removed.
106482794Sobrien	(main): Removed -M option handling.
106582794Sobrien	Removed transport-type specific CLIENT creation.
106682794Sobrien	(get_secure_amd_client, amq_bind_resv_port, privsock): Removed.
106782794Sobrien
106882794Sobrien	* amq/amq.8: Removed -M documentation.
106982794Sobrien	* doc/am-utils.texi (Top-level Filesystem): Removed amq -M
107082794Sobrien	reference, but retain comment on mount -t amd.
107182794Sobrien	(Controlling Amd): Likewise.
107282794Sobrien
107382794Sobrien	* tasks: Removed this task.
107482794Sobrien
107582794Sobrien2001-01-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
107682794Sobrien
107782794Sobrien	* Makefile.am (EXTRA_DIST): distribute new LDAP files.
107882794Sobrien
107982794Sobrien	* README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information,
108082794Sobrien	proposed Schema, and internet draft.
108182794Sobrien
108282794SobrienFri Jan 12 22:27:07 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
108382794Sobrien
108482794Sobrien	* Support Tru64 UNIX V5.1:
108582794Sobrien
108682794Sobrien	* conf/nfs_prot/nfs_prot_osf5_1.h: New file.
108782794Sobrien
108882794Sobrien	* Makefile.am (EXTRA_DIST_CONF): Distribute it.
108982794Sobrien
109082794Sobrien	* aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has
109182794Sobrien	AutoFS, need to disable it until a port exists.
109282794Sobrien
109382794Sobrien	* INSTALL, doc/am-utils.texi (Supported Platforms): Mention new
109482794Sobrien	minor port.
109582794Sobrien
109682794Sobrien2001-01-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
109782794Sobrien
109882794Sobrien	* ALL: bump copyright year to 2001.
109982794Sobrien
110082794Sobrien2001-01-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
110182794Sobrien
110282794Sobrien	* acconfig.h: correct comments for NODEV/NONDEV mount options
110382794Sobrien
110482794SobrienFri Jan  5 05:12:02 2001  Erez Zadok  <ezk@subzero.cs.columbia.edu>
110582794Sobrien
110682794Sobrien	* libamu/xdr_func.c: removed ugly casts to "groups*", now that
110782794Sobrien	irix6's nfs_prot.h is fixed.
110882794Sobrien
110982794Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of
111082794Sobrien	<rpcsvc/mount.h> here so we don't have to include this header.
111182794Sobrien
111282794Sobrien2001-01-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
111382794Sobrien
111482794Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to
111582794Sobrien	struct groups, not the pointer to this struct.
111682794Sobrien
111782794Sobrien	* include/am_xdr_func.h: prototype should take "groups *" as 2nd
111882794Sobrien	arg.
111982794Sobrien
112082794Sobrien	* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change 
112182794Sobrien	casting of second arg of xdr_groups to "groups *".  It's only
112282794Sobrien	needed for irix6, due to problems with xdr_groups on that platform.
112382794Sobrien	(xdr_groups): prototype should take "groups *" as 2nd arg.
112482794Sobrien
112582794Sobrien	* conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern
112682794Sobrien	definition.  Report from Ahmon Dancy <dancy@franz.com>.	
112782794Sobrien
112882794Sobrien2000-12-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
112982794Sobrien
113082794Sobrien	* released snapshot am-utils-6.0.5s4
113182794Sobrien
113282794Sobrien	* minor port i386-unknown-freebsd4.2 (documented)
113382794Sobrien
113482794Sobrien2000-12-07  Ion Badulescu  <lionut@gonzales.dev.hydraweb.com>
113582794Sobrien
113682794Sobrien	* configure.in (LIBTOOL_LDFLAGS): fix libtool version
113782794Sobrien
113882794Sobrien2000-12-02  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
113982794Sobrien
114082794Sobrien	* doc/am-utils.texi (opts Option): document lock/nolock
114182794Sobrien
114282794Sobrien	* libamu/mount_fs.c (mnt_flags): allow the use of the "nolock"
114382794Sobrien	option
114482794Sobrien
114582794Sobrien	* include/am_defs.h: don't include <linux/fs.h> on a glibc2 system
114682794Sobrien
114782794Sobrien	* include/am_compat.h: define the "nolock" mnttab option if the
114882794Sobrien	NONLM NFS mount option is defined
114982794Sobrien
115082794Sobrien	* acconfig.h: added MNT2_NFS_OPT_NONLM
115182794Sobrien
115282794Sobrien	* configure.in: added detection of the NONLM Linux NFS mount
115382794Sobrien	option; added a clarification for the library versioning rules and
115482794Sobrien	increased the patchlevel
115582794Sobrien
115682794Sobrien2000-11-27  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
115782794Sobrien
115882794Sobrien	* libamu/wire.c (getwire_lookup): truncate the hostname to
115982794Sobrien	MAXHOSTNAMELEN characters.
116082794Sobrien
116182794Sobrien2000-11-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
116282794Sobrien
116382794Sobrien	* include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to
116482794Sobrien	256 bytes, not 64.   Suggestion form Kris Kennaway
116582794Sobrien	<kris@FreeBSD.org>.
116682794Sobrien
116782794Sobrien2000-11-26  Erez Zadok  <ezk@dmath5.geometrie.tuwien.ac.at>
116882794Sobrien
116982794Sobrien	* configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount
117082794Sobrien	options kerb, rdirplus, readdirsize, and xlatecookie
117182794Sobrien	(NetBSD-1.5K).
117282794Sobrien
117382794Sobrien	* acconfig.h: recognize NFS mount options rdirplus, readdirsize,
117482794Sobrien	and xlatecookie (NetBSD-1.5K)
117582794Sobrien
117682794Sobrien2000-11-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
117782794Sobrien
117882794Sobrien	* amd/srvr_nfs.c: comment on NFS proto search order.
117982794Sobrien
118082794Sobrien	* libamu/xutil.c (real_plog): don't try to write the last byte of
118182794Sobrien	the fmt buf.  Security suggestion from NetBSD: Thomas Klausner
118282794Sobrien	<wiz@danbala.ifoer.tuwien.ac.at>
118382794Sobrien
118482794Sobrien2000-11-22  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
118582794Sobrien
118682794Sobrien	* amd/amfs_auto.c (amfs_auto_bgmount),
118782794Sobrien	amd/ops_autofs.c (autofs_bgmount): removed the initialization of
118882794Sobrien	fattr.na_fileid, it is now done in map.c when the map is initialized
118982794Sobrien
119082794Sobrien	* amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not
119182794Sobrien	to 0, to avoid cache aliasing problems on Linux (and to follow the
119282794Sobrien	NFS spec!)
119382794Sobrien
119482794Sobrien2000-11-22  Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
119582794Sobrien
119682794Sobrien	* libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf
119782794Sobrien	(security)
119882794Sobrien
119982794Sobrien	* libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use
120082794Sobrien	__attribute__, __format__, and __printf__ for GCC string auditing.
120182794Sobrien
120282794Sobrien	* wire-test/wire-test.8: this is not a section 8L man page.
120382794Sobrien
120482794Sobrien	* libamu/xutil.c (expand_error): don't use sys_nerr on systems
120582794Sobrien	that support strerror().
120682794Sobrien	(dplog): fmt is const
120782794Sobrien	(plog): fmt is const
120882794Sobrien	(real_plog): fmt is const.  use new expand_error function with its
120982794Sobrien	new return value. be more careful about running off the end of
121082794Sobrien	char[] fixed size buffers.
121182794Sobrien
121282794Sobrien	* libamu/wire.c (getwire): fix alignment error on alpha using an
121382794Sobrien	extra automatic storage variable ifrpool.
121482794Sobrien
121582794Sobrien	* hlfsd/hlfsd.c (fatal): use proper printf style to plog.
121682794Sobrien
121782794Sobrien	* fsinfo/fsinfo.c (find_username): getlogin() returns a const.
121882794Sobrien
121982794Sobrien	* fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use
122082794Sobrien	vfprintf.
122182794Sobrien
122282794Sobrien	* fsinfo/fsi_lex.l (yyerror): use vfprintf.
122382794Sobrien
122482794Sobrien	* fixmount/fixmount.8: this is not a section 8L man page.
122582794Sobrien
122682794Sobrien	* doc/am-utils.texi (Hesiod maps): fixed typo.
122782794Sobrien
122882794Sobrien	* amd/sched.c (do_task_notify): typo in comment.
122982794Sobrien
123082794Sobrien	* amd/opts.c (expand_op): expand_error[] is a const char *.
123182794Sobrien
123282794Sobrien	* amd/amd.c (main): use proper printf style to plog.
123382794Sobrien
123482794Sobrien2000-11-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
123582794Sobrien
123682794Sobrien	* libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize
123782794Sobrien	proplist mnttab flag.  Bug fix from Wolfram Klaus
123882794Sobrien	<klaus@physik.fu-berlin.de>.
123982794Sobrien
124082794Sobrien2000-11-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
124182794Sobrien
124282794Sobrien	* released snapshot am-utils-6.0.5s3
124382794Sobrien
124482794Sobrien	* updated config.guess, config.sub, and doc/texinfo.tex from
124582794Sobrien	mirrors
124682794Sobrien
124782794Sobrien	* Makefile.am (update): proper updating of config.* and texinfo
124882794Sobrien	from mirrors.
124982794Sobrien
125082794Sobrien	* aux/macros/check_nfs_prot_headers.m4: newer netbsd systems
125182794Sobrien	reports their system name as "netbsdelf" in config.guess.
125282794Sobrien
125382794Sobrien2000-11-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
125482794Sobrien
125582794Sobrien	* released snapshot am-utils-6.0.5s2
125682794Sobrien
125782794Sobrien2000-11-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
125882794Sobrien
125982794Sobrien	* doc/am-utils.texi (opts Option): document new mount option
126082794Sobrien	"proplist"
126182794Sobrien
126282794Sobrien	* include/am_compat.h: define amd mount option "proplist" if the
126382794Sobrien	system doesn't recognize it, but the NFS bit flag exists.
126482794Sobrien
126582794Sobrien	* configure.in, acconfig.h: recognize/support "proplist" NFS mount
126682794Sobrien	option in Amd, useful under DU-4.0 to process ACLs over NFS
126782794Sobrien	mounts.
126882794Sobrien
126982794Sobrien2000-11-10  Ion Badulescu  <ib42@earth.cs.columbia.edu>
127082794Sobrien
127182794Sobrien	* conf/mount/mount_linux.c (mount_linux): removed unnecessary
127282794Sobrien	rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+
127382794Sobrien
127482794Sobrien2000-11-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
127582794Sobrien
127682794Sobrien	* MIRRORS (Note): added a mirror at ufl.edu
127782794Sobrien
127882794Sobrien2000-10-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
127982794Sobrien
128082794Sobrien	* scripts/am-eject.in: accept "cdrom" and "floppy" as arguments.
128182794Sobrien
128282794Sobrien2000-10-11  Erez Zadok  <ezk@lorien.dev.hydraweb.com>
128382794Sobrien
128482794Sobrien	* amq/amq.8: synchronize Amq's options with reality
128582794Sobrien
128682794Sobrien	* amq/amq.c (main): synchronize Amq's usage() string with reality
128782794Sobrien
128882794Sobrien2000-10-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
128982794Sobrien
129082794Sobrien	* scripts/ctl-amd.in: add targets condrestart (redhat) and
129182794Sobrien	reload.
129282794Sobrien
129382794Sobrien2000-10-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
129482794Sobrien
129582794Sobrien	* scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is
129682794Sobrien	defined.
129782794Sobrien
129882794Sobrien2000-10-02  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
129982794Sobrien
130082794Sobrien	* aux/macros/mount_headers.m4: only include <linux/fs.h>
130182794Sobrien	on a non-glibc2 system
130282794Sobrien
130382794Sobrien	* aux/macros/try_compile_anyfs.m4: ditto
130482794Sobrien
130582794Sobrien	* aux/macros/check_mount_type.m4: linux 2.4 stores loadable modules
130682794Sobrien	in a different directory structure
130782794Sobrien
130882794Sobrien	* aux/macros/check_mnttab_type.m4: ditto
130982794Sobrien
131082794Sobrien	* aux/macros/check_fs_mntent.m4: ditto; also, replace the nfs3
131182794Sobrien	linux hack with a hopefully more stable hack
131282794Sobrien
131382794Sobrien2000-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
131482794Sobrien
131582794Sobrien	* amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not
131682794Sobrien	\a.
131782794Sobrien
131882794Sobrien2000-09-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
131982794Sobrien
132082794Sobrien	* include/am_utils.h: removed unused field opt_autopref
132182794Sobrien
132282794Sobrien	* amd/opts.c: removed unused variable $autopref
132382794Sobrien
132482794Sobrien2000-09-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
132582794Sobrien
132682794Sobrien	* released snapshot am-utils-6.0.5s1
132782794Sobrien
132882794Sobrien2000-09-11  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
132982794Sobrien
133082794Sobrien	* aux/macros/check_fs_mntent.m4 (_LINUX_NFS_XDR_H): define it so
133182794Sobrien	linux/nfs_xdr.h doesn't get included (not intended for user space)
133282794Sobrien
133382794Sobrien2000-09-05  Erez Zadok  <ezk@aladdin.dev.hydraweb.com>
133482794Sobrien
133582794Sobrien	* conf/mtab/mtab_svr4.c (lockfile): function not needed unless
133682794Sobrien	MOUNT_TABLE_ON_FILE is defined.
133782794Sobrien	mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE.
133882794Sobrien	(update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE.
133982794Sobrien
134082794Sobrien2000-09-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
134182794Sobrien
134282794Sobrien	* buildall (Usage): typo in usage string
134382794Sobrien
134482794Sobrien2000-08-25  Erez Zadok  <ezk@lynn.soscorp.com>
134582794Sobrien
134682794Sobrien	* conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may
134782794Sobrien	is no defined on older Linux systems (kernel 2.0.36)
134882794Sobrien
134982794Sobrien2000-08-19  Erez Zadok  <ezk@earth.cs.columbia.edu>
135082794Sobrien
135182794Sobrien	* scripts/amd.conf.5: correct swapped descriptions for ldap_base
135282794Sobrien	and ldap_hostports.
135382794Sobrien
135482794Sobrien	* doc/am-utils.texi: correct swapped descriptions for ldap_base
135582794Sobrien	and ldap_hostports.
135682794Sobrien
135782794Sobrien	* scripts/amd.conf-sample: swap examples for ldap_base and
135882794Sobrien	ldap_hostports.
135982794Sobrien
136082794Sobrien2000-08-13  Erez Zadok  <ezk@earth.cs.columbia.edu>
136182794Sobrien
136282794Sobrien	* scripts/amd.conf-sample: -O is CLI equivalent to "os"
136382794Sobrien	amd.conf parameter
136482794Sobrien
136582794Sobrien2000-07-30  Erez Zadok  <ezk@earth.cs.columbia.edu>
136682794Sobrien
136782794Sobrien	* scripts/amd.conf-sample (nfs_retransmit_counter): correct
136882794Sobrien	meaning and use of parameter
136982794Sobrien
137082794Sobrien2000-07-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
137182794Sobrien
137282794Sobrien	* doc/am-utils.texi: updated URLs to www.am-utils.org.
137382794Sobrien
137482794Sobrien2000-07-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
137582794Sobrien
137682794Sobrien	*******************************************************************
137782794Sobrien	*** Released am-utils-6.0.4					***
137882794Sobrien	*******************************************************************
137982794Sobrien
138082794Sobrien2000-07-08  Erez Zadok  <ezk@earth.cs.columbia.edu>
138182794Sobrien
138282794Sobrien	* configure.in: update shared library information
138382794Sobrien
138482794Sobrien2000-07-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
138582794Sobrien
138682794Sobrien	* INSTALL: document osf4.0f
138782794Sobrien
138882794Sobrien	* doc/am-utils.texi (Supported Platforms): document osf4.0f
138982794Sobrien
139082794Sobrien2000-06-19  Erez Zadok  <ezk@vir.cs.columbia.edu>
139182794Sobrien
139282794Sobrien	* doc/am-utils.texi (dollar Selector Variable): document
139382794Sobrien	${dollar}.
139482794Sobrien
139582794Sobrien	* amd/opts.c: special new variable ${dollar} which expands into a
139682794Sobrien	literal '$' sign.  Otherwise there is no way to include a literal
139782794Sobrien	dollar symbol in an amd map.
139882794Sobrien
139982794Sobrien2000-06-11  Erez Zadok  <ezk@earth.cs.columbia.edu>
140082794Sobrien
140182794Sobrien	* amd/opts.c: correct comment name at top of opt_fields.
140282794Sobrien
140382794Sobrien2000-06-11  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
140482794Sobrien
140582794Sobrien	* config.guess.long: munge config.guess' output so that intel
140682794Sobrien	linux appears as i386-pc-linux
140782794Sobrien
140882794SobrienFri Jun  9 16:06:56 2000  Erez Zadok  <ezk@defiant.dev.hydraweb.com>
140982794Sobrien
141082794Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken.
141182794Sobrien	Don't use it.
141282794Sobrien
141382794Sobrien2000-06-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
141482794Sobrien
141582794Sobrien	* amd/mapc.c (maptypes): Change default allocation mode to
141682794Sobrien	MAPC_INC where reload support is missing to avoid warning in
141782794Sobrien	mapc_create().
141882794Sobrien
141982794Sobrien2000-06-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
142082794Sobrien
142182794Sobrien	* conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for
142282794Sobrien	solaris 2.5 until a full port can be done.
142382794Sobrien
142482794Sobrien2000-06-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
142582794Sobrien
142682794Sobrien	* released snapshot am-utils-6.0.4s5
142782794Sobrien
142882794Sobrien	* Makefile.am, aux/GNUmakefile: fix maintainer rules to update
142982794Sobrien	config.* and texinfo.tex files.
143082794Sobrien
143182794Sobrien	* amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the
143282794Sobrien	mtime update of the symlinks on the SYMTTL option, but rather
143382794Sobrien	delay unmount of what was looked up using am_timeo_w.  Patch from
143482794Sobrien	Nick Williams <Nick.Williams@msdw.com>.  As Nick says "Basically:
143582794Sobrien	during unmount, increment the parent dir's mtime (fixes people
143682794Sobrien	doing amq -u). During stat, increase the TTL (to fix bad-luck
143782794Sobrien	timeouts), but leave the mtime alone."
143882794Sobrien
143982794Sobrien	(nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir,
144082794Sobrien	nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s.
144182794Sobrien	Patch from Nick Williams <Nick.Williams@msdw.com>.
144282794Sobrien
144382794Sobrien	* amd/map.c (unmount_mp): update mtime of amd symlink to further
144482794Sobrien	reduce the chances of race conditions between unmounting and
144582794Sobrien	looking up an entry again.  Patch from Nick Williams
144682794Sobrien	<Nick.Williams@msdw.com>.
144782794Sobrien
144882794Sobrien	* README: updated instructions
144982794Sobrien
145082794Sobrien	* bootstrap: remove log file before existing
145182794Sobrien
145282794Sobrien2000-06-06  Erez Zadok  <ezk@aladdin.dev.hydraweb.com>
145382794Sobrien
145482794Sobrien	* configure.in: no longer using aux/ subdir. don't force autoconf
145582794Sobrien	2.14. comment out (but leave explanation) everything that's needed
145682794Sobrien	for autoconf 2.14, so for now it works with autoconf-2.13, but the
145782794Sobrien	code is ready for 2.14 when it is released.  Similar changes to
145882794Sobrien	make code work with automake-1.4, until the next release comes
145982794Sobrien	out.
146082794Sobrien
146182794Sobrien	* libamu/Makefile.am: include definitions that are required in
146282794Sobrien	automake 1.4, but won't be necessary when the next release of
146382794Sobrien	automake comes out (see XXX comments).
146482794Sobrien
146582794Sobrien	* cache_check_dynamic.m4, check_checkmount_style.m4,
146682794Sobrien	check_mnttab_style.m4, check_mount_style.m4,
146782794Sobrien	check_network_transport_type.m4, check_nfs_prot_headers.m4,
146882794Sobrien	check_umount_style.m4: use symlink creation code that works for
146982794Sobrien	both autoconf 2.13 and 2.14 (when the latter comes out).
147082794Sobrien
147182794Sobrien	* bootstrap: new script for maintainers to run to update autoconf,
147282794Sobrien	automake, and libtool related files.  Has the same effect as
147382794Sobrien	"buildall -K".
147482794Sobrien
147582794Sobrien	* removed dependencies on CVS versions of autoconf, automake, and
147682794Sobrien	libtool, especially the modified automake I had.  This is so that
147782794Sobrien	maintainers could built the auto* files out of the latest released
147882794Sobrien	GNU autoconf, automake, and libtool.  However, without my nice
147982794Sobrien	patches to automake, many files that used to live in the aux/
148082794Sobrien	subdir now were moved to the top level source directory: acconfig.h,
148182794Sobrien	acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess,
148282794Sobrien	config.guess.long, config.h.in, config.sub, configure.in, depcomp,
148382794Sobrien	install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs.  Also
148482794Sobrien	texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir.
148582794Sobrien
148682794Sobrien2000-06-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
148782794Sobrien
148882794Sobrien	* cvs-server.txt: instructions for maintainers to access the CVS
148982794Sobrien	server for am-utils.
149082794Sobrien
149182794Sobrien2000-06-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
149282794Sobrien
149382794Sobrien	* amd/am_ops.c (ops_match): changed XLOG_USER messages about
149482794Sobrien	merging addopts options to the more appropriate XLOG_INFO.  Patch
149582794Sobrien	submitted by Tom Schmidt <tschmidt@micron.com>.
149682794Sobrien
149782794Sobrien	* config.{guess,sub}: make sure chmod'ed a+rx.  Updated from
149882794Sobrien	latest GNU copies.
149982794Sobrien
150082794Sobrien2000-05-30  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
150182794Sobrien
150282794Sobrien	* released snapshot am-utils-6.0.4s4
150382794Sobrien
150482794Sobrien2000-05-29  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
150582794Sobrien
150682794Sobrien	* conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of
150782794Sobrien	svc_getcaller() to sockaddr_in, to appease glibc 2.2
150882794Sobrien
150982794Sobrien2000-05-28  Erez Zadok  <ezk@mulberry.mcl.cs.columbia.edu>
151082794Sobrien
151182794Sobrien	* doc/am-utils.texi (Network Filesystem Group): minor typos
151282794Sobrien
151382794Sobrien2000-05-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
151482794Sobrien
151582794Sobrien	* amd/amfs_auto.c (amfs_auto_readdir_browsable): cast pointers to
151682794Sobrien	long for 64-bit architectures.
151782794Sobrien
151882794Sobrien	* libamu/xutil.c (amu_release_controlling_tty): eliminate an
151982794Sobrien	unused variable "tempfile"
152082794Sobrien
152182794Sobrien	* libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with
152282794Sobrien	one or two arguments (bsdi3 vs. bsdi4)
152382794Sobrien
152482794Sobrien2000-05-26  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
152582794Sobrien
152682794Sobrien	* libamu/xutil.c (amu_release_controlling_tty): close standard
152782794Sobrien	file descriptors, re-open them as /dev/null
152882794Sobrien
152982794Sobrien	* include/am_defs.h: don't try to include both <ndbm.h> and
153082794Sobrien	<db1/ndbm.h>, it really doesn't work
153182794Sobrien
153282794Sobrien2000-05-16  Ion Badulescu  <ib42@earth.cs.columbia.edu>
153382794Sobrien
153482794Sobrien	* hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime
153582794Sobrien	on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from
153682794Sobrien	getattr).  This fixes the problem introduced by the Linux nfsv3
153782794Sobrien	patches.
153882794Sobrien
153982794Sobrien2000-04-30  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
154082794Sobrien
154182794Sobrien	* include/am_defs.h, aux/macros/mount_headers.m4,
154282794Sobrien	aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and
154382794Sobrien	linux/list.h before including linux/fs.h, and define __KERNEL__
154482794Sobrien	for those two headers.  All of this to get a couple of definitions
154582794Sobrien	that are needed in the new struct vfsmount.
154682794Sobrien
154782794Sobrien	* aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>.
154882794Sobrien
154982794Sobrien	* include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts
155082794Sobrien	between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by
155182794Sobrien	defining _LINUX_IN_H so it doesn't get included.
155282794Sobrien
155382794Sobrien2000-04-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
155482794Sobrien
155582794Sobrien	* minor new ports: i686-pc-linux-gnu-rh6.2,
155682794Sobrien	i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2.
155782794Sobrien
155882794Sobrien2000-04-03  Erez Zadok  <ezk@vir.cs.columbia.edu>
155982794Sobrien
156082794Sobrien	* aux/acconfig.h: move all #undef macros above @TOP@, so they can
156182794Sobrien	be recognized by pickier autoconf.
156282794Sobrien
156382794Sobrien2000-04-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
156482794Sobrien
156582794Sobrien	* aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n
156682794Sobrien	or \c.
156782794Sobrien
156882794Sobrien2000-03-25  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
156982794Sobrien
157082794Sobrien	* include/am_defs.h: ditto
157182794Sobrien
157282794Sobrien	* aux/macros/{mount_headers,try_compile_anyfs}.m4: force
157382794Sobrien	non-inclusion of <linux/string.h>.  Breaks build on newer 2.3
157482794Sobrien	kernels.
157582794Sobrien
157682794Sobrien2000-02-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
157782794Sobrien
157882794Sobrien	* doc/am-utils.texi (Amq -w option): document new amq -w option.
157982794Sobrien
158082794Sobrien	* amq/amq.8: document new amq -w option.
158182794Sobrien
158282794Sobrien	* amq/amq.c: disable last remains of insecure amq -M code.
158382794Sobrien	(main): add amq -H option to show usage.
158482794Sobrien	(main): new amq -w option, translates getpwd() into an amd path.
158582794Sobrien
158682794Sobrien2000-02-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
158782794Sobrien
158882794Sobrien	* minor new port: alphaev6-dec-osf5.0
158982794Sobrien
159082794Sobrien	* doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3,
159182794Sobrien	but only for UDP.
159282794Sobrien
159382794Sobrien	* released snapshot am-utils-6.0.4s3
159482794Sobrien
159582794Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11.  Note
159682794Sobrien	that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the
159782794Sobrien	kernel!  Must set nfs_proto=udp in amd.conf [global].
159882794Sobrien
159982794Sobrien	* aux/config.guess.long: set and export PATH separately.  DU5
160082794Sobrien	/bin/sh doesn't like setting it on the command line in a
160182794Sobrien	back-tick'ed `script`.
160282794Sobrien
160382794Sobrien2000-02-24  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
160482794Sobrien
160582794Sobrien	* Makefile.am: removed struct_nfs_mount_data.m4
160682794Sobrien
160782794Sobrien	* aux/macros/struct_nfs_mount_data.m4: deleted
160882794Sobrien	
160982794Sobrien	* aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA
161082794Sobrien
161182794Sobrien	* aux/configure.in: removed check for struct nfs_mount_data
161282794Sobrien
161382794Sobrien2000-02-24  Ion Badulescu  <ib42@beetle.mcl.cs.columbia.edu>
161482794Sobrien
161582794Sobrien	* amd/amfs_auto.c (amfs_auto_bgmount): changed log message to
161682794Sobrien	avoid having 'failed' in a message not indicating a failure
161782794Sobrien	(amfs_auto_lookuppn): ditto
161882794Sobrien
161982794Sobrien	* amd/ops_autofs.c (autofs_bgmount): ditto
162082794Sobrien	(autofs_lookuppn): ditto
162182794Sobrien
162282794Sobrien2000-02-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
162382794Sobrien
162482794Sobrien	* added .cvsignore files into the CVS repository.
162582794Sobrien
162682794Sobrien	* remove files which can be regenerated: .in, configure, some
162782794Sobrien	files in aux/, and more.
162882794Sobrien
162982794Sobrien2000-02-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
163082794Sobrien
163182794Sobrien	* doc/am-utils.texi (nfs_vers/nfs_proto): description of two
163282794Sobrien	parameters was reversed.  Reported by Paul Jenner
163382794Sobrien	<p.jenner@eim.surrey.ac.uk>.
163482794Sobrien
163582794Sobrien2000-02-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
163682794Sobrien
163782794Sobrien	* released snapshot am-utils-6.0.4s2
163882794Sobrien
163982794Sobrien	* amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such
164082794Sobrien	as inherit, error, and toplvl (failover code).
164182794Sobrien
164282794Sobrien	* amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented)
164382794Sobrien	global options in amd.conf: one to set the NFS version globally
164482794Sobrien	(i.e., nfs_vers=2), and one to set the NFS protocol globally
164582794Sobrien	(i.e., nfs_proto=udp).
164682794Sobrien
164782794Sobrien	* amd/mntfs.c (realloc_mntfs): attempt to fix the failover code,
164882794Sobrien	so when a matching mount entry failed, try the next one.
164982794Sobrien
165082794Sobrien2000-02-15  Erez Zadok  <ezk@moisil.cs.columbia.edu>
165182794Sobrien
165282794Sobrien	* amd/amfs_auto.c: a new debug option "readdir" to trace the
165382794Sobrien	progress of the browsable_dirs code.
165482794Sobrien
165582794Sobrien	* conf/mount/mount_linux.c (mount_linux): ensure that the new
165682794Sobrien	linux NFSv3 code works for v2-only machines.
165782794Sobrien
165882794Sobrien2000-02-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
165982794Sobrien
166082794Sobrien	* aux/configure.in: cleanup unused dnl entries.
166182794Sobrien
166282794Sobrien	* conf/mount/mount_linux.c (parse_opts): typo: check for string
166382794Sobrien	equality, not string inequality for pcfs and cdfs.
166482794Sobrien
166582794Sobrien	* aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well.
166682794Sobrien
166782794Sobrien	* libamu/mount_fs.c (compute_mount_flags): check for INTR and
166882794Sobrien	NOINTR options as well (intr was never passed to linux mount
166982794Sobrien	syscall).
167082794Sobrien
167182794Sobrien2000-02-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
167282794Sobrien
167382794Sobrien	* released snapshot am-utils-6.0.4s1
167482794Sobrien
167582794Sobrien	* aux/GNUmakefile: buildall -k (for maintainers) temporarily now
167682794Sobrien	ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is
167782794Sobrien	obsolete".  It is harmless but annoying, and will be fixed when
167882794Sobrien	autoconf and automake in their respective CVS trees are working
167982794Sobrien	and in sync again.
168082794Sobrien
168182794Sobrien	* scripts/amd.conf.5: document -D hrtime,xdrtrace
168282794Sobrien
168382794Sobrien	* all man pages: update copyright to 2000.
168482794Sobrien
168582794Sobrien	* doc/am-utils.texi: update copyright to 2000.
168682794Sobrien
168782794SobrienWed Feb  9 14:22:31 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
168882794Sobrien
168982794Sobrien	* include/am_utils.h (D_XDRTRACE): Define.
169082794Sobrien	(D_TEST): Disable here.
169182794Sobrien
169282794Sobrien	* libamu/xutil.c (dbg_opt): Handle it.
169382794Sobrien
169482794Sobrien	* doc/am-utils.texi (-D-Option): Document it.
169582794Sobrien
169682794Sobrien	* libamu/xdr_func.c: Use it instead of D_TRACE.
169782794Sobrien
169882794Sobrien	* include/am_utils.h (D_HRTIME): Define.
169982794Sobrien
170082794Sobrien	* doc/am-utils.texi (-D-Option): Document it.
170182794Sobrien
170282794Sobrien	* libamu/xutil.c (show_time_host_and_name): Print high-resolution
170382794Sobrien	timestamp if available and activated.
170482794Sobrien
170582794Sobrien	* aux/configure.in (clock_gettime): Check for it in -lrt and
170682794Sobrien	-lposix4.
170782794Sobrien
170882794Sobrien	* hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME
170982794Sobrien	if defined, even for some systems with in kernel mount tables.
171082794Sobrien
171182794Sobrien2000-02-08  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
171282794Sobrien
171382794Sobrien	* aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to
171482794Sobrien	allow compiles against libc5
171582794Sobrien
171682794Sobrien	* aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under
171782794Sobrien	linux when the kernel doesn't support it
171882794Sobrien
171982794Sobrien	* include/am_compat.h: add workaround for linux efs
172082794Sobrien
172182794Sobrien2000-02-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
172282794Sobrien
172382794Sobrien	* aux/configure.in: test for ANSI C compiler (before AC_C_CONST).
172482794Sobrien	Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway).
172582794Sobrien
172682794Sobrien2000-02-07  Ion Badulescu  <ionut@moisil.cs.columbia.edu>
172782794Sobrien
172882794Sobrien	* libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for
172982794Sobrien	nfs (linux NFSv3).
173082794Sobrien
173182794Sobrien	* include/am_defs.h: avoid reinclusion of some header files under
173282794Sobrien	linux.
173382794Sobrien
173482794Sobrien	* conf/nfs_prot/nfs_prot_linux.h: support NFSv3.
173582794Sobrien
173682794Sobrien	* conf/mount/mount_linux.c (mount_linux): support nfs mount
173782794Sobrien	 (implementation) version 4 for NFSv3.
173882794Sobrien
173982794Sobrien	* aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS.
174082794Sobrien
174182794Sobrien	* aux/macros/mount_headers.m4: don't include <linux/fs.h> (may
174282794Sobrien	need to fix the code on other linux machines).
174382794Sobrien
174482794Sobrien	* aux/macros/check_mnttab_type.m4 (ac_safe): ditto.
174582794Sobrien
174682794Sobrien	* aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option
174782794Sobrien	under linux (depends on ac_cv variable, is that a good idea?)
174882794Sobrien
174982794Sobrien	* added NFSv3 support for linux
175082794Sobrien
175182794Sobrien	* aux/{configure.in,acconfig.h}: new option ver3
175282794Sobrien
175382794Sobrien	* aux/macros/mount_headers.m4: commented out inclusion of
175482794Sobrien	linux/fs.h, it's not needed on rh61 (and actually generates
175582794Sobrien	conflicts), we should see if it's still needed on libc5 systems
175682794Sobrien
175782794Sobrien	* aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than
175882794Sobrien	try to have its own (out of date) list of headers and ifdef's and
175982794Sobrien	...
176082794Sobrien
176182794Sobrien2000-02-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
176282794Sobrien
176382794Sobrien	*******************************************************************
176482794Sobrien	*** Released am-utils-6.0.3					***
176582794Sobrien	*******************************************************************
176682794Sobrien
176782794Sobrien2000-02-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
176882794Sobrien
176982794Sobrien	* conf/mount/mount_default.c: dummy empty file to work around a
177082794Sobrien	limitation of automake (it looks for LIBBOBJS in aclocal.m4 and
177182794Sobrien	processes them even if they are optional, enclosed in if/else).
177282794Sobrien
177382794Sobrien2000-01-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
177482794Sobrien
177582794Sobrien	* released snapshot am-utils-6.0.3s5
177682794Sobrien
177782794Sobrien2000-01-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
177882794Sobrien
177982794Sobrien	* update to use latest version of autoconf, automake, and libtool.
178082794Sobrien
178182794Sobrien	* aux/GNUmakefile (depcomp): "make update" should also update the
178282794Sobrien	depcomp script.
178382794Sobrien
178482794Sobrien	* Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution.
178582794Sobrien
178682794Sobrien	* aux/configure.in: use renamed AC_CHECK_AMU_FS.
178782794Sobrien
178882794Sobrien	* aux/macros/check_amu_fs.m4: renamed macro name and file name to
178982794Sobrien	say AMU_FS, not AM_FS.
179082794Sobrien
179182794Sobrien	* aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because
179282794Sobrien	latest version of autoconf doesn't handle it (bug in 2.14a)
179382794Sobrien
179482794Sobrien	* aux/configure.in: require version 2.14 of autoconf.
179582794Sobrien
179682794Sobrien	* amd/mapc.c (mapc_reload_map): more fixes from Nick Williams.
179782794Sobrien
179882794Sobrien	* doc/am-utils.texi (Automount Filesystem): document type:=auto
179982794Sobrien	map browsability option.
180082794Sobrien
180182794Sobrien	* amd/mapc.c (make_entry_chain): patch from Steven Danz
180282794Sobrien	<sdanz@awc.kc.noaa.gov> to allow browsable auto maps.
180382794Sobrien
180482794Sobrien2000-01-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
180582794Sobrien
180682794Sobrien	* released snapshot am-utils-6.0.3s4
180782794Sobrien
180882794Sobrien	* amd/mapc.c (mapc_reload_map): fixes to sync maps even if they
180982794Sobrien	are set to mapcache:=sync.  Fix from Nick Williams
181082794Sobrien	<Nick.Williams@msdw.com>.
181182794Sobrien
181282794Sobrien2000-01-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
181382794Sobrien
181482794Sobrien	* released snapshot am-utils-6.0.3s3
181582794Sobrien
181682794Sobrien	* minor port to i386-unknown-netbsd1.4.1
181782794Sobrien
181882794Sobrien	* amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams
181982794Sobrien	<Nick.Williams@msdw.com> to fix (or reduce the incidence of) stale
182082794Sobrien	file handles when doing rapid mounts and umounts in succession
182182794Sobrien	such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo"
182282794Sobrien
182382794Sobrien2000-01-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
182482794Sobrien
182582794Sobrien	* minor port to i386-pc-bsdi4.1.
182682794Sobrien
182782794Sobrien2000-01-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
182882794Sobrien
182982794Sobrien	* libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd)
183082794Sobrien	argument to irs_gen_acc(), which was changed in bsdi 4.1.
183182794Sobrien
183282794Sobrien2000-01-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
183382794Sobrien
183482794Sobrien	* amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for
183582794Sobrien	systems with in-kernel mount tables unless this macro is defined
183682794Sobrien	(Solaris 8).
183782794Sobrien
183882794Sobrien2000-01-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
183982794Sobrien
184082794Sobrien	* ALL: bump copyright year to 2000.
184182794Sobrien
184282794Sobrien1999-12-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
184382794Sobrien
184482794Sobrien	* conf/mount/mount_svr4.c (mount_svr4): optionstr exists on
184582794Sobrien	solaris 7, but should not be used unless MAX_MNTOPT_STR also
184682794Sobrien	exists (solaris 8).
184782794Sobrien
184882794Sobrien	* doc/am-utils.texi (opts Option): document new mount option:
184982794Sobrien	optionstr.
185082794Sobrien
185182794SobrienFri Dec 10 01:31:53 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
185282794Sobrien
185382794Sobrien	* conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to
185482794Sobrien	mount_svr4().
185582794Sobrien	(mount_svr4): Adapt prototype.
185682794Sobrien	* conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so
185782794Sobrien	they are evaluated and show up in Solaris 8 in-kernel mnttab. 
185882794Sobrien
185982794Sobrien	* aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2)
186082794Sobrien	option. 
186182794Sobrien	* aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template.
186282794Sobrien
186382794Sobrien1999-12-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
186482794Sobrien
186582794Sobrien	* released snapshot am-utils-6.0.3s2
186682794Sobrien
186782794Sobrien1999-12-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
186882794Sobrien
186982794Sobrien	* doc/am-utils.texi (opts Option): document noexec and nomnttab
187082794Sobrien	(new to Solaris 8).
187182794Sobrien
187282794Sobrien	* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in
187382794Sobrien	distribution.
187482794Sobrien
1875119679Smbr	* applied fixes from Rainer Orth for Solaris 8.
187682794Sobrien
187782794Sobrien	* libamu/wire.c (getwire): increment the cp pointer in the loop
187882794Sobrien	body, because the ioctl() inside the "for" loop will overwrite the
187982794Sobrien	ifr structure, thus not detecting all of the interfaces.  Bug
188082794Sobrien	reported and fixed by Amitha Perera <perera@cs.rpi.edu>.
188182794Sobrien
188282794SobrienThu Dec  9 19:09:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
188382794Sobrien
188482794Sobrien	* conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if
188582794Sobrien	MOUNT_TABLE_ON_FILE.
188682794Sobrien
188782794Sobrien	* amd/get_args.c (get_args): Initialize mnttab_file_name even for
188882794Sobrien	in-kernel mount table.  conf/mtab/mtab_svr4.c (read_mtab) depends
188982794Sobrien	on a non-NULL value.
189082794Sobrien
189182794Sobrien	* amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque
189282794Sobrien	LDAP structure to get error code, but use it directly.
189382794Sobrien	(amu_ldap_search): Likewise.
189482794Sobrien
189582794Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong
189682794Sobrien	ldap support.
189782794Sobrien	* conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise.
189882794Sobrien
189982794Sobrien	* conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef
190082794Sobrien	nfsstat, already in <nfs/nfs.h>.
190182794Sobrien	* aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris
190282794Sobrien	versions beyond 7.
190382794Sobrien	Allow for micro versions of SunOS 5.[67].
190482794Sobrien
190582794Sobrien	* aux/configure.in: Check for new Solaris 8 Beta Refresh
190682794Sobrien	MS_NOMNTTAB mount(2) option.
190782794Sobrien	* aux/macros/check_mnttab_location.m4: Use it to test for
190882794Sobrien	mntfs-based in-kernel mnttab.
190982794Sobrien
191082794Sobrien	* aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7.
191182794Sobrien
191282794Sobrien	* aux/macros/check_fs_headers.m4: Revert test for duplicate
191382794Sobrien	objects. 
191482794Sobrien	* aux/macros/check_fs_mntent.m4: Likewise
191582794Sobrien
191682794Sobrien	* aux/macros/HEADER: Fixed typo.
191782794Sobrien
191882794Sobrien	* include/am_defs.h: Likewise.
191982794Sobrien
192082794Sobrien1999-12-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
192182794Sobrien
192282794Sobrien	* aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11)
192382794Sobrien
192482794Sobrien1999-11-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
192582794Sobrien
192682794Sobrien	* BUGS: document glibc-2.1 nis file descriptor leak in yp_bind.
192782794Sobrien
192882794Sobrien	* amd/info_ldap.c (string2he): updated function which does not
192982794Sobrien	corrupt strings when called more than once.  Patch from
193082794Sobrien	JOHANN.PFEFFERL.JP@germany.agfa.com.
193182794Sobrien
193282794Sobrien1999-11-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
193382794Sobrien
193482794Sobrien	* MIRRORS (Asia): two new mirrors in Japan.
193582794Sobrien
193682794Sobrien1999-11-10  Erez Zadok  <ezk@kosh.cs.columbia.edu>
193782794Sobrien
193882794Sobrien	* doc/am-utils.texi: document new variables for ${uid} and ${gid}.
193982794Sobrien
194082794Sobrien	* amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the
194182794Sobrien	last lookup from the RPC credentials.
194282794Sobrien
194382794Sobrien	* aux/configure.in: upped version-info to 4:0:2 because I've added
194482794Sobrien	a new interface to libamu.
194582794Sobrien
194682794Sobrien	* libamu/misc_rpc.c (getcreds): moved function from hlfsd to here,
194782794Sobrien	so it can be used by amd.
194882794Sobrien
194982794Sobrien	* amd/opts.c: new variables ${uid} and ${gid}.
195082794Sobrien
195182794Sobrien1999-10-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
195282794Sobrien
195382794Sobrien	* scripts/ctl-amd.in: add "status" command that tells you if amd
195482794Sobrien	is running on not (same output as RedHat scripts).
195582794Sobrien	Added start_msg and stop_msg targets as they are used on HPUX.
195682794Sobrien	reported by Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
195782794Sobrien
195852894Sobrien1999-10-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
195952894Sobrien
196052894Sobrien	* released snapshot am-utils-6.0.3s1
196152894Sobrien
196252894Sobrien1999-10-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
196352894Sobrien
196452894Sobrien	* amd/amd.c (main): On AIX you must lower the stack size using
196552894Sobrien	ulimit() before calling plock.  Otherwise plock will reserve a lot
196652894Sobrien	of memory space based on your maximum stack size limit.  Since it
196752894Sobrien	is not easily possible to tell what should the limit be, I print a
196852894Sobrien	warning before calling plock(). See the manual pages for
196952894Sobrien	ulimit(1,3,4) on your AIX system.
197052894Sobrien
197152894Sobrien	* include/am_defs.h: define default extern for vsnprintf()
197252894Sobrien
197352894Sobrien	* aux/configure.in: check for extern definition for vsnprintf()
197452894Sobrien
197552894Sobrien1999-10-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
197652894Sobrien
197752894Sobrien	* amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams
197852894Sobrien	<njw@ms.com>.  SYMPTOMS: 'occasionally' sublinks do not point to
197952894Sobrien	the correct location, but to the top level of the mountpoint and
198052894Sobrien	an (error-hook) is seen being mounted in the log file. This causes
198152894Sobrien	things to Go Wrong(TM).
198252894Sobrien	CAUSE: When evaluating two locations which are requested
198352894Sobrien	'practically simultaneously', and the two locations resolve to the
198452894Sobrien	same NFS mountpoint (but different sublinks), the later request
198552894Sobrien	will be "deferred" and retried after wakeup when the first mount
198652894Sobrien	succeeds. To do this, it rewinds the options location string to
198752894Sobrien	re-evaluate the location when the mount is retried. However, it
198852894Sobrien	shouldn't rewind the options for two reasons: (a) the semantics of
198952894Sobrien	the map language say you shouldn't and (b) the NFS mount reference
199052894Sobrien	is not reset at the same time, meaning that on the retry it will
199152894Sobrien	have an options structure out-of-sync with the mount
199252894Sobrien	structure. The "shortcut" code when retrying the mount sees the
199352894Sobrien	mount structure is already filled in and does not fully evaluate
199452894Sobrien	the options structure.... so if the first location is not the one
199552894Sobrien	which ties in with the mountpoint (see ordering in the
199652894Sobrien	recreate-by), you're now well messed up.
199752894Sobrien
199852894Sobrien	* BUGS: mention aix4.3 plock() bug (memory usage blows up and
199952894Sobrien	plock fails)
200052894Sobrien
200152894Sobrien1999-10-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
200252894Sobrien
200352894Sobrien	* aux/GNUmakefile: certain files should be copied if they are
200452894Sobrien	newer, not also if they are bigger: install-sh, ltconfig,
200552894Sobrien	ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex.
200652894Sobrien
200752894Sobrien	* minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1)
200852894Sobrien
200952894Sobrien1999-10-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
201052894Sobrien
201152894Sobrien	* aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5.
201252894Sobrien
201352894Sobrien	* aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5.
201452894Sobrien
201552894Sobrien1999-09-30  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
201652894Sobrien
201752894Sobrien	*******************************************************************
201852894Sobrien	*** Released am-utils-6.0.2					***
201952894Sobrien	*******************************************************************
202052894Sobrien
202152894Sobrien1999-09-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
202252894Sobrien
202352894Sobrien	* conf/mount/mount_linux.c (mount_linux): print the updated mount
202452894Sobrien	flags.
202552894Sobrien
202652894Sobrien	* doc/am-utils.texi: document $full_os and $vendor.
202752894Sobrien
202852894Sobrien	* scripts/amd.conf-sample: examples of $full_os and $vendor.
202952894Sobrien
203052894Sobrien	* scripts/amd.conf.5: document $full_os and $vendor.
203152894Sobrien
203252894Sobrien	* amd/conf.c: add support for $full_os and $vendor.
203352894Sobrien
203452894Sobrien1999-09-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
203552894Sobrien
203652894Sobrien	* doc/am-utils.texi (netgrp Selector Function): don't give
203752894Sobrien	examples with old single '=' assignment variable.  Use foo:=bar.
203852894Sobrien
203952894Sobrien	* amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long
204052894Sobrien	comment describing this complex function.
204152894Sobrien
204252894Sobrien	* doc/Makefile.am (alldocs): do install-ps last (because distiller
204352894Sobrien	is slow) and install-html next to last (because texi2html is also
204452894Sobrien	slow).
204552894Sobrien
204652894Sobrien	* amd/amd.8: Major fixes to the description of the option -t
204752894Sobrien	timeout.retransmit.
204852894Sobrien
204952894Sobrien	* doc/am-utils.texi: better description of "trace" debug option.
205052894Sobrien	amd -H (not -v) shows log_options and debug_options.  Major fixes
205152894Sobrien	to the description of amd -t timeout.retransmit, and the amd.conf
205252894Sobrien	parameters nfs_retransmit_counter and nfs_retry_interval.
205352894Sobrien
205452894Sobrien	* scripts/amd.conf.5: better description of "trace" debug option.
205552894Sobrien	amd -H (not -v) shows log_options and debug_options.  Major fixes
205652894Sobrien	to the description of the parameters nfs_retransmit_counter and
205752894Sobrien	nfs_retry_interval.
205852894Sobrien
205952894Sobrien1999-09-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
206052894Sobrien
206152894Sobrien	* doc/am-utils.texi (Automount Filesystem): cache:= is not a mount
206252894Sobrien	option, but a mount map option.
206352894Sobrien
206452894Sobrien	* libamu/xutil.c (switch_to_logfile): log the name of the log file
206552894Sobrien	we switched into, after the log file had been [re]opened.
206652894Sobrien
206752894Sobrien1999-09-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
206852894Sobrien
206952894Sobrien	* amd/mapc.c (mapc_reload_map): count and show the number of times
207052894Sobrien	a map was reloaded.  Only reload a map if its modify-time was
207152894Sobrien	updated.  But amq -f forced a reload no matter what.
207252894Sobrien
207352894Sobrien	* amd/amd.h: new flag to struct mnt_map to count number of times a
207452894Sobrien	map was reloaded.
207552894Sobrien
207652894Sobrien	* amd/mapc.c (mapc_reload_map): attempt to reload the map without
207752894Sobrien	losing current data by reloading into a temp copy, and switching
207852894Sobrien	the hashes round only if the reload was successful.  Patch from Jon
207952894Sobrien	Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
208052894Sobrien	(mapc_sync): mapc_reload_map() always succeeds.
208152894Sobrien
208251591Sobrien1999-09-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
208351591Sobrien
208452894Sobrien	* amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to
208552894Sobrien	rebind to an LDAP server forever.  Try up to 10 times.
208652894Sobrien
208752894Sobrien	* fsinfo/fsi_lex.l (yyerror): rework code that will never happen
208852894Sobrien
208951591Sobrien	* released snapshot am-utils-6.0.2s2
209051591Sobrien
209151591Sobrien	* aux/configure.in: bumped library version-info to 3:2:1, since
209251591Sobrien	some libamu code got changed.
209351591Sobrien
209451591Sobrien	* libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which
209551591Sobrien	is better and more secure.  Fix from "David O'Brien"
209651591Sobrien	<obrien@NUXI.com>.
209751591Sobrien
209851591Sobrien	* aux/configure.in: check for vsnprintf.
209951591Sobrien
210051591Sobrien1999-09-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
210151591Sobrien
210251591Sobrien	* aux/macros/linux_headers.m4: use AC_MSG_ERROR.
210351591Sobrien
210451591Sobrien	* aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is
210551591Sobrien	not optional.  Make sure ARG is supplied else flag an error.
210651591Sobrien
210751591Sobrien1999-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
210851591Sobrien
210951591Sobrien	* minor port i386-unknown-freebsdelf3.3
211051591Sobrien
211151591Sobrien	* released snapshot am-utils-6.0.2s1
211251591Sobrien
211351591Sobrien1999-09-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
211451591Sobrien
211551591Sobrien	* aux/configure.in (AC_CHECK_FUNCS): check for getitimer().
211651591Sobrien
211751591Sobrien	* include/am_defs.h: extern definition for getitimer().
211851591Sobrien
211951591Sobrien	* aux/configure.in: use AC_CHECK_EXTERNS.  Look for getitimer()
212051591Sobrien	extern.
212151591Sobrien
212251591Sobrien	* aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS
212351591Sobrien	that calls AC_CHECK_EXTERN in a loop.  This saves repeated code in
212451591Sobrien	configure.
212551591Sobrien
212651591Sobrien	* aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use
212751591Sobrien	'int' as the 5th arg to authunix_create().
212851591Sobrien
212951591Sobrien	* aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a
213051591Sobrien	size_t for the 6th arg of recvfrom().
213151591Sobrien
213251591Sobrien	* aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for
213351591Sobrien	aix4.x systems.
213451591Sobrien
213551591Sobrien	* libamu/mount_fs.c (print_nfs_args): cast some values to int, to
213651591Sobrien	avoid gcc -Wall errors.
213751591Sobrien
213851591Sobrien	* scripts/expn.in: use sockaddr_in(), not pack() to correctly fill
213951591Sobrien	in a struct sockaddr_in.  On Solaris x86 hosts, using pack()
214051591Sobrien	results in byte-misaligned values.   Bug fix from Jeffrey C Honig
214151591Sobrien	<jch@BSDI.COM>.
214251591Sobrien
214351591Sobrien	* libamu/mount_fs.c (compute_automounter_mount_flags): turn on
214451591Sobrien	automntfs (ignore on bsdi-4.1) flag.
214551591Sobrien	(compute_automounter_nfs_args): ditto.
214651591Sobrien
214751591Sobrien	* aux/acconfig.h: add new flag for automntfs (ignore)
214851591Sobrien
214951591Sobrien	* aux/configure.in: check for new automntfs flag (bsdi-4.1).
215051591Sobrien
215151591Sobrien1999-09-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
215251591Sobrien
215351591Sobrien	* MIRRORS: added new site in Germany.  Updated status of umn.edu
215451591Sobrien	and ferginc.com, who may no longer be mirroring am-utils.
215551591Sobrien
215651292Sobrien1999-09-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
215751292Sobrien
215851292Sobrien	*******************************************************************
215951292Sobrien	*** Released am-utils-6.0.1					***
216051292Sobrien	*******************************************************************
216151292Sobrien
216251292Sobrien1999-09-08  Erez Zadok  <ezk@cs.columbia.edu>
216351292Sobrien
216451292Sobrien	* aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct
216551292Sobrien	netexport defined.
216651292Sobrien
216751292Sobrien	* aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and
216851292Sobrien	struct netexport defined.
216951292Sobrien
217051292Sobrien1999-09-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
217151292Sobrien
217251292Sobrien	* aux/macros/check_field.m4 (ac_upcase_var_name): include
217351292Sobrien	<ifaddrs.h> so we can detect fields within struct ifaddrs.
217451292Sobrien
217551292Sobrien	* libamu/wire.c (getwire): bsdi-2.1 uses a second arg to
217651292Sobrien	getifaddrs() and struct ifaddrs has no ifa_next field.
217751292Sobrien
217851292Sobrien	* aux/configure.in: check if 'struct ifaddrs' has a field
217951292Sobrien	ifa_next.
218051292Sobrien
218151292Sobrien	* include/amq_defs.h (AMQ_STRLEN): double size of amq string
218251292Sobrien	length to 2048 bytes.
218351292Sobrien
218451292Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs
218551292Sobrien	header files and ufs/ufs/ufsmount.h.  Bug reported by <Christos
218651292Sobrien	Zoulas> christos@zoulas.com.
218751292Sobrien
218851292Sobrien	* aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>.
218951292Sobrien	Bug reported by <Christos Zoulas> christos@zoulas.com.
219051292Sobrien
219151292Sobrien	* aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h>
219251292Sobrien
219351292Sobrien1999-09-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
219451292Sobrien
219551292Sobrien	* libamu/xutil.c (expand_error): use strerror if available instead
219651292Sobrien	of sys_errlist.  Bug reported by <Christos Zoulas>
219751292Sobrien	christos@zoulas.com.
219851292Sobrien
219951292Sobrien	* hlfsd/hlfsd.c (fatal): use strerror if available instead of
220051292Sobrien	sys_errlist.
220151292Sobrien
220251292Sobrien	* amq/amq.c (show_mi): use strerror if available instead of
220351292Sobrien	sys_errlist.
220451292Sobrien
220551292Sobrien	* aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4
220651292Sobrien	nfs_prot header is used for any future (1.5 etc.) netbsd systems.
220751292Sobrien
220851292Sobrien	* amq/pawd.c (find_mt): check for type nfsl as well.  Fix from
220951292Sobrien	"Andrew J. Korty" <ajk@purdue.edu>
221051292Sobrien
221151292Sobrien1999-08-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
221251292Sobrien
221351292Sobrien	* doc/am-utils.texi (Supported Platforms): updates for redhat
221451292Sobrien	systems.
221551292Sobrien
221651292Sobrien	* INSTALL: updates for redhat systems.
221751292Sobrien
221851292Sobrien	* libamu/wire.c (getwire_lookup): spell "succeeded" correctly
221951292Sobrien
222051292Sobrien1999-08-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
222151292Sobrien
222251292Sobrien	* scripts/ctl-amd.in: sleep 1 second between killing amd and
222351292Sobrien	restarting it, because amq may respond that amd is down, where in
222451292Sobrien	fact it is still trying to unmount itself after unmapping itself
222551292Sobrien	from the portmapper.
222651292Sobrien
222751292Sobrien	* aux/config.guess.long: new script to print long version of
222851292Sobrien	config.guess output.
222951292Sobrien
223051292Sobrien	* buildall (host_alias): use long version of config.guess.
223151292Sobrien
223251292Sobrien1999-08-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
223351292Sobrien
223451292Sobrien	* scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop
223551292Sobrien	scripts.
223651292Sobrien
223751292Sobrien1999-08-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
223851292Sobrien
223951292Sobrien	* released snapshot am-utils-6.0.1s11
224051292Sobrien
224151292Sobrien	* libamu/xutil.c (expand_error): make sure expanding the string
224251292Sobrien	with textual version of errno doesn't overrun the 1024 bytes
224351292Sobrien	buffer.
224451292Sobrien	(real_plog): null terminate msg, just in case.
224551292Sobrien
224651292Sobrien	* amq/amq.c (main): don't getopt -M option and don't process it
224751292Sobrien	unless ENABLE_AMQ_MOUNT is on.
224851292Sobrien
224951292Sobrien	* amd/amq_svc.c (amq_program_1): all code that relates to amq -M
225051292Sobrien	is conditional on #ifdef ENABLE_AMQ_MOUNT.
225151292Sobrien
225251292Sobrien	* amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked
225351292Sobrien	when amq -M code is disabled.  Not taking any chances.
225451292Sobrien
225551292Sobrien1999-08-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
225651292Sobrien
225751292Sobrien	* released snapshot am-utils-6.0.1s10
225851292Sobrien
225951292SobrienSun Aug 22 16:18:59 1999  Erez Zadok  <ezk@subzero.cs.columbia.edu>
226051292Sobrien
226151292Sobrien	* libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on
226251292Sobrien	128.59.16.0), try to shift the network out of zeros (e.g.,
226351292Sobrien	128.59.16) and try again.  Irix 6.4 requires short network
226451292Sobrien	numbers.
226551292Sobrien
226651292Sobrien1999-08-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
226751292Sobrien
226851292Sobrien	* libamu/wire.c (getwire_lookup): correctly compute subnet using
226951292Sobrien	netmask.
227051292Sobrien
227151292Sobrien	* libamu/mount_fs.c (compute_automounter_nfs_args): require that
227251292Sobrien	Amd's own NFS mounts use reserved ports (if possible).  IP packet
227351292Sobrien	security fix from Jeffrey C Honig <jch@BSDI.COM>.
227451292Sobrien
227551292Sobrien	* conf/transp/transp_tli.c (create_autofs_service): use correct
227651292Sobrien	autofs_port.  IP packet security fix from Jeffrey C Honig
227751292Sobrien	<jch@BSDI.COM>.
227851292Sobrien
227951292Sobrien	* conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary
228051292Sobrien	function.  IP packet security fix from Jeffrey C Honig
228151292Sobrien	<jch@BSDI.COM>.
228251292Sobrien	(create_nfs_service): use bind_resv_port() directly.  ensure that
228351292Sobrien	privileged ports are used.  IP packet security fix from Jeffrey C
228451292Sobrien	Honig <jch@BSDI.COM>.
228551292Sobrien
228651292Sobrien	* amd/nfs_prot_svc.c (nfs_program_2): verify that requests come
228751292Sobrien	from reserved ports and from a local IP address.  IP packet
228851292Sobrien	security fix from Jeffrey C Honig <jch@BSDI.COM>.
228951292Sobrien
229051292Sobrien	* amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of
229151292Sobrien	hard-coded 1024.  IP packet security fix from Jeffrey C Honig
229251292Sobrien	<jch@BSDI.COM>.
229351292Sobrien	(amqproc_mount_1_svc): provide information on the caller making an
229451292Sobrien	amq -M request.  IP packet security fix from Jeffrey C Honig
229551292Sobrien	<jch@BSDI.COM>.
229651292Sobrien
229751292Sobrien	* amd/map.c (free_map_if_success): If the program doing an unmount
229851292Sobrien	of a program filesystem fails, amd tries to interpret the return
229951292Sobrien	code as an errno.  Fix from Jeffrey C Honig <jch@BSDI.COM>.
230051292Sobrien
230151292Sobrien	* amd/info_nis.c (determine_nis_domain): don't always print
230251292Sobrien	warning about NIS domain name not being set, even if NIS is not in
230351292Sobrien	use.
230451292Sobrien
230551292Sobrien1999-08-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
230651292Sobrien
230751292Sobrien	* amd/info_ldap.c (get_ldap_timestamp): initialize variable err.
230851292Sobrien	(amu_ldap_search): initialize variable err.
230951292Sobrien
231051292Sobrien1999-08-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
231151292Sobrien
231251292Sobrien	* libamu/wire.c: written using getifaddrs() for BSD systems,
231351292Sobrien	contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>).
231451292Sobrien
231551292Sobrien1999-08-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
231651292Sobrien
231751292Sobrien	* include/am_utils.h (SALLOC): a simple macro to allocate N bytes.
231851292Sobrien
231951292Sobrien	* aux/configure.in: check for irs.h and ifaddrs.h.
232051292Sobrien	Increase libamu.so --version-info to 3:1:1 since we've changed the
232151292Sobrien	source code for the library.
232251292Sobrien	Check for getifaddrs() function.
232351292Sobrien
232451292Sobrien1999-08-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
232551292Sobrien
232651292Sobrien	* libamu/mount_fs.c (print_nfs_args): print fields namlen and
232751292Sobrien	bsize if they exist.
232851292Sobrien
232951292Sobrien	* conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen
233051292Sobrien	and ->bsize fields correctly, if those fields exist.  This is a
233151292Sobrien	bug in that amd neglected to set these fields, but told the
233251292Sobrien	kernel it is mounting the nfs_args_t structure using mount version
233351292Sobrien	3 (which requires both bsize and namlen fields).
233451292Sobrien
233551292Sobrien	* aux/configure.in: test for two new nfs_args_t fields (used on
233651292Sobrien	newer linux with mount versions 2 and 3): bsize and namlen.
233751292Sobrien
233851292Sobrien	* doc/am-utils.texi (netgrpd Selector Function): document new
233951292Sobrien	selector function.
234051292Sobrien
234151292Sobrien	* amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to
234251292Sobrien	test if the current host (fully-qualified name) is in the ARG host
234351292Sobrien	netgroup.  The netgrp() function uses the short form of a host
234451292Sobrien	name.  Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>.
234551292Sobrien
234651292Sobrien	* doc/am-utils.texi (automount2amd): document new script.
234751292Sobrien
234851292Sobrien	* scripts/Makefile.am: create, install, and distribute
234951292Sobrien	automount2amd perl script and its man page.
235051292Sobrien
235151292Sobrien	* scripts/automount2amd.8: new man page for automount2amd.
235251292Sobrien
235351292Sobrien	* scripts/automount2amd.in: new file, contributed a in 1993 by
235451292Sobrien	Mike Walker <mike@tab00.larc.nasa.gov>.  Fixed to use addopts for
235551292Sobrien	any automount map options specified.
235651292Sobrien
235751292Sobrien1999-08-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
235851292Sobrien
235951292Sobrien	* released snapshot am-utils-6.0.1s9
236051292Sobrien
236151292Sobrien1999-08-09  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
236251292Sobrien
236351292Sobrien	* amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to
236451292Sobrien	1.
236551292Sobrien	(amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0.
236651292Sobrien	(amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of
236751292Sobrien	(u_int)~0.
236851292Sobrien
236951292Sobrien	* amd/mapc.c (make_entry_chain): NFS cookies should be
237051292Sobrien	monotonically increasing, because Linux 2.3 expects that, even
237151292Sobrien	though it is not in the spec (RFC-1094) for NFS V2.
237251292Sobrien
237351292Sobrien1999-08-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
237451292Sobrien
237551292Sobrien	* aux/macros/check_lib_funcs.m4: removed unused macro.
237651292Sobrien
237751292Sobrien	* aux/macros/linux_headers.m4: new macro to ensure that linux
237851292Sobrien	kernel headers match running kernel version.
237951292Sobrien
238051292Sobrien	* aux/acconfig.h: define HOST_HEADER_VERSION so we can check if
238151292Sobrien	amd is configured on linux hosts that run one kernel but have
238251292Sobrien	headers for a different version.
238351292Sobrien
238451292Sobrien	* amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the
238551292Sobrien	logic which uses nis_isup and has_yp_order.  Make sure it is used
238651292Sobrien	correctly , esp. for NIS+ in NIS-compatibility mode.  Bug fix from
238751292Sobrien	Peter Breitenlohner <peb@mppmu.mpg.de>.
238851292Sobrien
238951292Sobrien	* include/am_defs.h: fix conflicts on linux 2.2 systems with older
239051292Sobrien	libc5.  Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>.
239151292Sobrien
239251292Sobrien	* scripts/lostaltmail.in: use sockaddr_in(), not pack() to
239351292Sobrien	correctly fill in a struct sockaddr_in.  On Solaris x86 hosts,
239451292Sobrien	using pack() results in byte-misaligned values.
239551292Sobrien
239651292Sobrien1999-08-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
239751292Sobrien
239851292Sobrien	* conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3
239951292Sobrien	mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>.  Also use
240051292Sobrien	better macros for case statement.
240151292Sobrien
240251292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures
240351292Sobrien	unless ldap is actually available.
240451292Sobrien
240551292Sobrien	* use updated config.guess and config.sub.  Use newer automake
240651292Sobrien	that fixes problems with distributing optional libamu files
240751292Sobrien	(clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c,
240851292Sobrien	and ualarm.c)
240951292Sobrien
241051292Sobrien1999-07-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
241151292Sobrien
241251292Sobrien	* minor port i386-unknown-openbsd2.5
241351292Sobrien
241451292Sobrien1999-07-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
241551292Sobrien
241651292Sobrien	* minor ports to freebsdelf 3.[0-2] and 4.0 completed
241751292Sobrien
241851292Sobrien	* aux/macros/check_nfs_prot_headers.m4: support freebsdelf
241951292Sobrien
242051292Sobrien	* aux/macros/check_nfs_socket_connection.m4: support freebsdelf
242151292Sobrien
242251292Sobrien1999-06-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
242351292Sobrien
242451292Sobrien	* released snapshot am-utils-6.0.1s8
242551292Sobrien
242651292Sobrien1999-06-23  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
242751292Sobrien
242851292Sobrien	* include/am_defs.h: avoid various header conflicts on
242951292Sobrien	RedHat/Linux 6.0 and kernels 2.2.10 or newer.
243051292Sobrien
243151292Sobrien	* aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and
243251292Sobrien	kernel 2.2.10)
243351292Sobrien
243451292Sobrien	* amd/amfs_program.c (amfs_program_exec): make sure logfp is
243551292Sobrien	initialized dynamically to stderr if needed.
243651292Sobrien
243751292Sobrien	* libamu/xutil.c (dplog): make sure logfp is initialized
243851292Sobrien	dynamically to stderr if needed.
243951292Sobrien	(plog): ditto.
244051292Sobrien
244151292Sobrien	* amd/amfs_program.c (amfs_program_exec): set logfp to stderr if
244251292Sobrien	not initialized.
244351292Sobrien
244451292Sobrien	* libamu/xutil.c: don't initialize logfp statically to stderr,
244551292Sobrien	because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer
244651292Sobrien	be manipulated like a variable.
244751292Sobrien
244851292Sobrien	* include/am_defs.h: avoid more conflicts between <linux/fs.h> and
244951292Sobrien	<sys/mount.h> on 2.2 linux kernels.
245051292Sobrien	include <db1/ndbm.h> as needed (RedHat/Linux 6.0)
245151292Sobrien
245251292Sobrien1999-04-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
245351292Sobrien
245451292Sobrien	* all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS)
245551292Sobrien
245651292Sobrien	* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER):
245751292Sobrien	renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake
245851292Sobrien	won't attempt to add it to the header files to distribute.
245951292Sobrien
246051292Sobrien1999-04-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
246151292Sobrien
246251292Sobrien	* aux/GNUmakefile: invoke aclocal with new --altdir flag.
246351292Sobrien
246451292Sobrien1999-04-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
246551292Sobrien
246651292Sobrien	* minor new port: i386-unknown-netbsd1.4 (ALPHA)
246751292Sobrien
246851292Sobrien	* aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h>
246951292Sobrien	and <isofs/cd9660/cd9660_mount.h> because they are also included
247051292Sobrien	from MOUNT_HEADERS.  Causes multiple inclusion of unprotected
247151292Sobrien	headers on netbsd-1.4_ALPHA.
247251292Sobrien
247351292Sobrien1999-04-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
247451292Sobrien
247551292Sobrien	* aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's
247651292Sobrien	sys_errlist extern doesn't end with [].
247751292Sobrien
247851292Sobrien	* aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support.
247951292Sobrien
248051292Sobrien1999-04-11  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
248151292Sobrien
248251292Sobrien	* newer automake wants texinfo.tex to be in aux/ not doc/
248351292Sobrien
248451292Sobrien1999-03-30  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
248551292Sobrien
248651292Sobrien	* amd/conf_parse.y: alloca support.
248751292Sobrien
248851292Sobrien	* fsinfo/fsi_gram.y: alloca support.
248951292Sobrien
249051292Sobrien	* libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if
249151292Sobrien	needed.
249251292Sobrien
249351292Sobrien	* aux/configure.in: test for alloca support.  Needed because bison
249451292Sobrien	generates parsers that use alloca, and hpux9 does have alloca and
249551292Sobrien	its /bin/cc doesn't support it builtin (the way gcc does).
249651292Sobrien
249751292Sobrien	* libamu/alloca.c: new file, needed on hpux9 with /bin/cc.  Taken
249851292Sobrien	verbatim from bison-1.25.
249951292Sobrien
250051292Sobrien	* include/am_defs.h: fixed typo #errir -> #error
250151292Sobrien
250251292Sobrien	* released snapshot am-utils-6.0.1s7
250351292Sobrien
250451292Sobrien	* README.y2k: more information about am-utils' compatibility, from
250551292Sobrien	Paul Balyoz <pbalyoz@sedona.ch.intel.com>.
250651292Sobrien
250751292Sobrien	* scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K
250851292Sobrien	compliant format.  Patch from Paul Balyoz
250951292Sobrien	<pbalyoz@sedona.ch.intel.com>
251051292Sobrien
251151292Sobrien	* doc/am-utils.texi (Supported Platforms): hpux10.20 could have
251251292Sobrien	nfs v.3 support (with some vendor patches), but it is turned off.
251351292Sobrien
251451292Sobrien	* aux/macros/os_cflags.m4: use ansi compiler options on hpux.
251551292Sobrien
251651292Sobrien	* conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid
251751292Sobrien	confusing am-utils.  10.20 with some patches has incomplete
251851292Sobrien	support.  Patch from Jon Peatfield
251951292Sobrien	<J.S.Peatfield@damtp.cam.ac.uk>.
252051292Sobrien
252151292Sobrien1999-03-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
252251292Sobrien
252351292Sobrien	* minor port i386-pc-bsdi4.0.1
252451292Sobrien
252551292Sobrien1999-03-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
252651292Sobrien
252751292Sobrien	* doc/am-utils.texi (Supported Platforms): add forgotten listing
252851292Sobrien	for powerpc-linux.
252951292Sobrien
253051292Sobrien1999-03-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
253151292Sobrien
253251292Sobrien	* scripts/amd.conf.5: fix typo.  From Jeffrey C Honig
253351292Sobrien	<jch@BSDI.COM>.
253451292Sobrien
253551292Sobrien	* doc/am-utils.texi: document iso9660 options norrip, gens, and
253651292Sobrien	extatt.
253751292Sobrien	(opts Option): documented dumbtimr and noauto options.  From
253851292Sobrien	Jeffrey C Honig <jch@BSDI.COM>.
253951292Sobrien
254051292Sobrien	* include/am_compat.h: define default strings for options norrip,
254151292Sobrien	gens, and extatt.
254251292Sobrien
254351292Sobrien	* amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and
254451292Sobrien	extatt.
254551292Sobrien
254651292Sobrien	* aux/macros/mount_headers.m4: also include
254751292Sobrien	<isofs/cd9660/cd9660_mount.h> as needed.
254851292Sobrien
254951292Sobrien	* aux/configure.in: check for isofs mount options for bsdi4:
255051292Sobrien	norrip, gens, and extatt.  Reported by Jeffrey C Honig
255151292Sobrien	<jch@BSDI.COM>.
255251292Sobrien
255351292Sobrien	* aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags
255451292Sobrien	(bsdi4).
255551292Sobrien
255651292Sobrien1999-03-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
255751292Sobrien
255851292Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: ditto.
255951292Sobrien
256051292Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>,
256151292Sobrien	for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>.
256251292Sobrien
256351292Sobrien1999-03-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
256451292Sobrien
256551292Sobrien	* get latest copies of config.guess, config.sub, ltconfig, and
256651292Sobrien	ltmain.sh from libtool-1.2f.
256751292Sobrien
256851292Sobrien	* all Makefile.am: don't use continuation lines (using \) for
256951292Sobrien	short lists of files.
257051292Sobrien
257151292Sobrien	* libamu/Makefile.am (DISTCLEANFILES): make distclean should
257251292Sobrien	remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c.
257351292Sobrien	Reported by Jeffrey C Honig <jch@BSDI.COM>.
257451292Sobrien
257551292Sobrien	* fixmount/Makefile.am (DISTCLEANFILES): make distclean should
257651292Sobrien	remove checkmount.c.  Reported by Jeffrey C Honig <jch@BSDI.COM>.
257751292Sobrien
257851292Sobrien	* Makefile.am (DISTCLEANFILES): make distclean should remove
257951292Sobrien	amu_nfs_prot.h, config.cache.old, and dbgcf.h.  Reported by
258051292Sobrien	Jeffrey C Honig <jch@BSDI.COM>.
258151292Sobrien
258251292Sobrien1999-03-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
258351292Sobrien
258451292Sobrien	* released snapshot am-utils-6.0.1s6
258551292Sobrien
258651292Sobrien1999-03-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
258751292Sobrien
258851292Sobrien	* INSTALL: document freebsdelf.
258951292Sobrien
259051292Sobrien	* doc/am-utils.texi (Supported Platforms): document freebsdelf.
259151292Sobrien
259251292Sobrien1999-03-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
259351292Sobrien
259451292Sobrien	* minor new ports: i386-unknown-freebsdelf3.1 and
259551292Sobrien	i386-unknown-freebsdelf4.0
259651292Sobrien
259751292Sobrien	* aux/macros/check_nfs_prot_headers.m4: freebsd4 support.
259851292Sobrien
259951292Sobrien	* aux/macros/check_nfs_socket_connection.m4: freebsd4 support.
260051292Sobrien
260151292Sobrien	* aux/macros/check_nfs_fh_dref.m4: freebsd4 support.
260251292Sobrien
260351292Sobrien	* amd/opts.c (eval_opts): changed log level of "executing
260451292Sobrien	negated..." message from USER to INFO, as per Guntram Wolski
260551292Sobrien	<gwolsk@sei.com>.
260651292Sobrien
260751292Sobrien1999-02-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
260851292Sobrien
260951292Sobrien	* */Makefile.am (LDADD): force linking against an installed
261051292Sobrien	libamu.{a,so}.
261151292Sobrien
261251292Sobrien	* doc/am-utils.texi (addopts Option): document remopts interaction
261351292Sobrien	with addopts.
261451292Sobrien
261551292Sobrien	* amd/am_ops.c (ops_match): if addopts are specified, apply them
261651292Sobrien	to the value of remopts as well as opts.
261751292Sobrien
261851292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used.
261951292Sobrien
262051292Sobrien1999-02-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
262151292Sobrien
262251292Sobrien	* released snapshot am-utils-6.0.1s5
262351292Sobrien
262451292Sobrien	* conf/mount/mount_linux.c (mount_linux): set default nfs_args
262551292Sobrien	options for ac{reg,dir}{min,man} as per the mount-2.8a package,
262651292Sobrien	but only if noac option was not used.
262751292Sobrien
262851292Sobrien1999-02-05  Erez Zadok  <ezk@retro.cs.columbia.edu>
262951292Sobrien
263051292Sobrien	* conf/mount/mount_linux.c (mount_linux): print nfs_args again
263151292Sobrien	since it was updated.
263251292Sobrien	(mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels
263351292Sobrien	and newer.  Bug was found by Neil Conway
263451292Sobrien	<nconway.list@ukaea.org.uk>
263551292Sobrien
263651292Sobrien1999-02-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
263751292Sobrien
263851292Sobrien	* released snapshot am-utils-6.0.1s4
263951292Sobrien
264051292Sobrien1999-02-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
264151292Sobrien
264251292Sobrien	* amq/amq.c (main): don't list -M as a valid amq option unless
264351292Sobrien	configure'd with --enable-amq-mount.
264451292Sobrien
264551292SobrienWed Feb  3 18:11:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
264651292Sobrien
264751292Sobrien	* amd/nfs_start.c (amd_use_autofs): Define.
264851292Sobrien	(mount_automounter): Create autofs service listener only if
264951292Sobrien	necessary to avoid unnecessary clashes with e.g. automountd.
265051292Sobrien
265151292Sobrien	* amd/amd.h (amd_use_autofs): Declare.
265251292Sobrien
265351292Sobrien	* amd/conf.c (gopt_mount_type): Set amd_use_autofs.
265451292Sobrien	(ropt_mount_type): Likewise.
265551292Sobrien
265651292Sobrien1999-02-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
265751292Sobrien
265851292Sobrien	* aux/macros/check_mnt2_nfs_opt.m4:: ditto
265951292Sobrien
266051292Sobrien	* aux/macros/check_mnt2_cdfs_opt.m4: ditto
266151292Sobrien
266251292Sobrien	* aux/macros/check_mnt2_gen_opt.m4: ditto
266351292Sobrien
266451292Sobrien	* aux/macros/check_mnttab_opt.m4: new macro in this file to loop
266551292Sobrien	over AC_CHECK_MNTTAB_OPT.  Reduces size of configure script a lot.
266651292Sobrien
266751292Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h,
266851292Sobrien	nfs/nfs.h and nfs/nfsmount.h if they exist.  Patch from
266951292Sobrien	christos@zoulas.com (Christos Zoulas).
267051292Sobrien
267151292Sobrien	* amd/info_hesiod.c: some forward declarations.  Patch from
267251292Sobrien	christos@zoulas.com (Christos Zoulas).
267351292Sobrien
267451292Sobrien1999-01-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
267551292Sobrien
267651292Sobrien	* libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn
267751292Sobrien	option if it was already in that state.  Patch from David
267851292Sobrien	Wolfskill <dhw@whistle.com>.
267951292Sobrien
268051292Sobrien1999-01-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
268151292Sobrien
268251292Sobrien	* aux/configure.in: automake nowadays supports LTLIBOBJS (but not
268351292Sobrien	LTALLOCA yet).  Substitute value of LIBTOOL_DEPS for libtool
268451292Sobrien	rebuild make rules.
268551292Sobrien
268651292Sobrien	* Makefile.am: new rules to remake libtool (maintainers only)
268751292Sobrien
268851292Sobrien	* amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags
268951292Sobrien	if -D trace was used.
269051292Sobrien
269151292Sobrien1999-01-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
269251292Sobrien
269351292Sobrien	* buildall: all if statements should have an else clause because
269451292Sobrien	of Ultrix's /bin/sh.
269551292Sobrien
269651292Sobrien1999-01-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
269751292Sobrien
269851292Sobrien	* amq/amq.c: removed dummy variables.
269951292Sobrien
270051292Sobrien	* amq/pawd.c: removed dummy variable.s
270151292Sobrien
270251292Sobrien	* fixmount/fixmount.c (usage): removed dummy variables.
270351292Sobrien
270451292Sobrien	* fsinfo/fsinfo.c: removed dummy variables.
270551292Sobrien
270651292Sobrien	* hlfsd/hlfsd.c: removed dummy variables.
270751292Sobrien
270851292Sobrien	* wire-test/wire-test.c: removed dummy variables.
270951292Sobrien
271051292Sobrien	* mk-amd-map/mk-amd-map.c: removed dummy variables.
271151292Sobrien
271251292Sobrien	* doc/texinfo.tex: updates from GNU mirror.
271351292Sobrien
271451292Sobrien	* aux/GNUmakefile (../doc/texinfo.tex): new rule to update
271551292Sobrien	doc/texinfo.tex from GNU mirror.
271651292Sobrien
271751292Sobrien	* released snapshot am-utils-6.0.1s3
271851292Sobrien
271951292Sobrien	* Makefile.am (install-snapshot): better snapshot and new
272051292Sobrien	install-snapshot and test-snapshot rules (maintainer).
272151292Sobrien
272251292Sobrien	* amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the
272351292Sobrien	args may be NULL.
272451292Sobrien	Some dlog() entries were not enclosed in #ifdef DEBUG.  Fix from
272551292Sobrien	Bill Paul <wpaul@ctr.columbia.edu>
272651292Sobrien
272751292Sobrien1999-01-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
272851292Sobrien
272951292Sobrien	* check for experimental generic 'ignore' mount flag on freebsd3.
273051292Sobrien
273151292Sobrien	* Update library -version-info to 3:0:1 (will result in 2.1.0 .so
273251292Sobrien	version, which is backwards compatible with older versions.)  Only
273351292Sobrien	one new interface was added to libamu.
273451292Sobrien
273551292Sobrien	* amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags
273651292Sobrien	that are specific to automounter mounts.
273751292Sobrien
273851292Sobrien	* aux/configure.in: update libamu.so age and revision since a new
273951292Sobrien	interface was added to libamu/mount_fs.c
274051292Sobrien	(compute_automounter_mount_flags).
274151292Sobrien
274251292Sobrien	* libamu/mount_fs.c (compute_automounter_mount_flags): new
274351292Sobrien	function to compute generic mount flags that are specific to mount
274451292Sobrien	points only.
274551292Sobrien
274651292Sobrien	* aux/{configure.in,acconfig.h}: add support for generic mount
274751292Sobrien	entry ignore option.
274851292Sobrien
274951292Sobrien	* released snapshot am-utils-6.0.1s2
275051292Sobrien
275151292Sobrien	* amd/info_ldap.c (get_ldap_timestamp): dlog format fixes.
275251292Sobrien
275351292Sobrien	* libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format
275451292Sobrien	of knc_semantics from u_long to u_int.
275551292Sobrien
275651292Sobrien	* aux/macros/check_mount_style.m4: freebsd3 no longer needs a
275751292Sobrien	special mount helper.
275851292Sobrien
275951292Sobrien1999-01-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
276051292Sobrien
276151292Sobrien	* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS):
276251292Sobrien	amu_nfs_conf.h should always be found in $top_builddir.
276351292Sobrien
276451292SobrienTue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
276551292Sobrien
276651292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine
276751292Sobrien	to avoid wrong reports from show_fstypes.
276851292Sobrien
276951292Sobrien	* conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise.
277051292Sobrien
277151292Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise.
277251292Sobrien
277351292SobrienTue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
277451292Sobrien
277551292Sobrien	* BUGS (mips-dec-ultrix4.3): Update Ultrix caveats.
277651292Sobrien
277751292SobrienTue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
277851292Sobrien
277951292Sobrien	* hlfsd/homedir.c (delay): Cast child to long, adapt format.
278051292Sobrien	(hlfsd_getpwent): Likewise for pw_uid.
278151292Sobrien
278251292Sobrien	* amd/info_nis.c (nis_init): Cast order to unsigned long, adapt
278351292Sobrien	format. 
278451292Sobrien
278551292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast
278651292Sobrien	tv_sec to int to match format.
278751292Sobrien	(get_nfs_version): Cast nfs_version, NFS_VERSION to int to match
278851292Sobrien	formats. 
278951292Sobrien
279051292Sobrien	* amd/amfs_program.c (amfs_program_exec): Cast ptr difference to
279151292Sobrien	long, adapt format.
279251292Sobrien
279351292Sobrien	* include/am_defs.h: Handle __attribute__ if available.  From
279451292Sobrien	GNU fileutils 4.0 lib/errors.h.
279551292Sobrien
279651292SobrienMon Jan 11 13:46:44 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
279751292Sobrien
279851292Sobrien	* libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to
279951292Sobrien	match format.
280051292Sobrien
280151292Sobrien	* hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long,
280251292Sobrien	adapt format.
280351292Sobrien	(nfsproc_lookup_2_svc): Likewise.
280451292Sobrien	(nfsproc_readlink_2_svc): Likewise for userid, groupid.
280551292Sobrien
280651292Sobrien	* hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
280751292Sobrien	format.
280851292Sobrien
280951292Sobrien	* hlfsd/homedir.c (homedir): Cast uid, child to long, adapt
281051292Sobrien	format. 
281151292Sobrien
281251292Sobrien	* amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned
281351292Sobrien	long, adapt format.
281451292Sobrien
281551292Sobrien	* amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to
281651292Sobrien	unsigned long, adapt format.
281751292Sobrien	(got_nfs_fh): Likewise.
281851292Sobrien	(prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match
281951292Sobrien	format. 
282051292Sobrien	(call_mountd): Likewise, mnt_version also.
282151292Sobrien	(mount_nfs_fh): Likewise.
282251292Sobrien
282351292Sobrien	* amd/ops_autofs.c (autofs_program_1): Cast args to int to match
282451292Sobrien	format.
282551292Sobrien	(autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to
282651292Sobrien	unsigned long, adapt formats.
282751292Sobrien	(autofs_bgmount): Cast opt_fs to unsigned to, adapt format.
282851292Sobrien	(autofs_bgmount): Use long format to match arg.
282951292Sobrien	(autofs_lookuppn): Removed superfluous arg.
283051292Sobrien
283151292Sobrien	* amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match
283251292Sobrien	format. 
283351292Sobrien	(got_portmap): Likewise for port.
283451292Sobrien	(recompute_portmap): Likewise for fs->fs_version, mnt_version.
283551292Sobrien	(find_nfs_srvr): Likewise for nfs_version.
283651292Sobrien
283751292Sobrien	* amd/sched.c (sched_task): Cast wchan to unsigned long, adapt
283851292Sobrien	format. 
283951292Sobrien
284051292Sobrien	* amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem
284151292Sobrien	to unsigned long, adapt format.
284251292Sobrien	Cast tvv.tv_sec to int to match format.
284351292Sobrien
284451292Sobrien	* amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
284551292Sobrien	format.
284651292Sobrien
284751292Sobrien	* amd/map.c (root_fh): Cast pid to long, adapt format.
284851292Sobrien	(timeout_mp): Cast time_t to long, adapt format.
284951292Sobrien
285051292Sobrien	* amd/clock.c (reschedule_timeouts): Use long format, cast time_t
285151292Sobrien	arg.
285251292Sobrien
285351292Sobrien	* amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to
285451292Sobrien	match format.
285551292Sobrien	(amfs_host_fmount): Likewise.
285651292Sobrien	(amfs_host_umounted): Likewise.  Removed superfluous arg.
285751292Sobrien
285851292Sobrien	* amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned
285951292Sobrien	long, adapt format.
286051292Sobrien	(amfs_auto_bgmount): Use long format, cast time_t arg.
286151292Sobrien	(amfs_auto_lookuppn): Removed superfluous arg.
286251292Sobrien
286351292Sobrien	* amd/amd.c (main): Cast geteuid() result to long, adapt format.
286451292Sobrien
286551292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version
286651292Sobrien	to int to match format.
286751292Sobrien
286851292Sobrien	* include/am_utils.h: Declare plog, dplog as printf-like.
286951292Sobrien
287051292Sobrien	* conf/mount/mount_irix6.c (mount_irix): Print type as char *.
287151292Sobrien
287251292SobrienMon Jan 11 13:46:44 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
287351292Sobrien
287451292Sobrien	* amd/info_hesiod.c (hesiod_isup): New function.
287551292Sobrien	* amd/mapc.c (maptypes): Add it.
287651292Sobrien
287751292Sobrien1999-01-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
287851292Sobrien
287951292Sobrien	* released snapshot am-utils-6.0.1s1
288051292Sobrien
288151292Sobrien1999-01-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
288251292Sobrien
288351292Sobrien	* ALL: bump copyright year to 1999.
288451292Sobrien
288551292SobrienFri Jan  8 15:24:15 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
288651292Sobrien
288751292Sobrien	* aux/macros/check_mtype_type.m4: Ultrix uses an int mount type,
288851292Sobrien	too. 
288951292Sobrien
289051292Sobrien	* aux/macros/check_mtype_printf_type.m4: Adapt corresponding
289151292Sobrien	printf type.
289251292Sobrien
289351292SobrienFri Jan  8 15:24:15 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
289451292Sobrien
289551292Sobrien	* aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused.
289651292Sobrien
289751292Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
289851292Sobrien
289951292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise.
290051292Sobrien
290151292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise.
290251292Sobrien
290351292Sobrien	* Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current
290451292Sobrien	automake.
290551292Sobrien
290651292SobrienThu Jan  7 02:55:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
290751292Sobrien
290851292Sobrien	* aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not
290951292Sobrien	in current automake.
291051292Sobrien
291151292SobrienThu Jan  7 02:55:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
291251292Sobrien
291351292Sobrien	* doc/am-utils.texi: Added some missing inter-punctation after
291451292Sobrien	@xref, or use @pxref/@ref as appropriate.  Spotted by makeinfo
291551292Sobrien	from texinfo 3.12b.
291651292Sobrien
291751292Sobrien1999-01-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
291851292Sobrien
291951292Sobrien	* doc/texinfo.tex: updated off of latest GNU mirror.
292051292Sobrien
292151292Sobrien1999-01-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
292251292Sobrien
292351292Sobrien	* doc/am-utils.texi (Supported Platforms): update platforms that
292451292Sobrien	support NFS v.3.  Nicer postscript printing on double-sided pages.
292551292Sobrien
292651292Sobrien	* amd/info_hesiod.c: add extern definition for hesiod_init()
292751292Sobrien
292842629Sobrien1999-01-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
292942629Sobrien
293042629Sobrien	*******************************************************************
293142629Sobrien	*** Released am-utils-6.0					***
293242629Sobrien	*******************************************************************
293342629Sobrien
293442629Sobrien1998-12-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
293542629Sobrien
293642629Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7.
293742629Sobrien
293842629Sobrien1998-12-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
293942629Sobrien
294042629Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on
294142629Sobrien	bsdi4 for NFS V3/nfs mounts.
294242629Sobrien
294342629Sobrien1998-12-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
294442629Sobrien
294542629Sobrien	* using latest libtool (1.2e + patches), now supporting shared
294642629Sobrien	libraries on many more systems.  Also using latest autoconf and
294742629Sobrien	automake (unreleased GNU CVS'd versions.)
294842629Sobrien
294942629Sobrien	* minor new ports: hppa2.0w-hp-hpux11.00,
295042629Sobrien	i386-unknown-netbsd1.3.3, mips-sgi-irix6.5.
295142629Sobrien
295242629Sobrien	* fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that
295342629Sobrien	have /usr/bin/flex but not libfl.
295442629Sobrien
295542629Sobrien1998-12-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
295642629Sobrien
295742629Sobrien	* lots of code cleanup, to make sure libamu.so does not use
295842629Sobrien	undefined symbols.  Some system's shared libraries cannot handle
295942629Sobrien	that.
296042629Sobrien
296142629Sobrien1998-12-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
296242629Sobrien
296342629Sobrien	* include/am_defs.h: only defined seteuid extern if function also
296442629Sobrien	exists and is not superceded by setresuid (hpux).
296542629Sobrien
296642629Sobrien	* amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit
296742629Sobrien	braces to avoid confusion with nested if-then-else clauses.
296842629Sobrien
296942629Sobrien	* aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs:
297042629Sobrien	updated from latest versions.
297142629Sobrien
297242629Sobrien1998-12-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
297342629Sobrien
297442629Sobrien	* minor new port: i386-pc-bsdi4.0
297542629Sobrien
297642629Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header
297742629Sobrien	definitions for bsdi4.
297842629Sobrien
297942629Sobrien	* {amd,fsinfo}/Makefile.am: force path to .y/.l files, because
298042629Sobrien	some make programs (bsdi4) do not support VPATH correctly.
298142629Sobrien
298242629Sobrien1998-12-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
298342629Sobrien
298442629Sobrien	* conf/mount/mount_aix.c: minor code cleanup
298542629Sobrien
298642629Sobrien	* aux/configure.in: check for extern definition to xdr_groups.
298742629Sobrien
298842629Sobrien1998-12-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
298942629Sobrien
299042629Sobrien	* minor new port: powerpc-ibm-aix4.3.1.0
299142629Sobrien
299242629Sobrien	* aux/macros/*.m4: updates for aix 4.3
299342629Sobrien
299442629Sobrien1998-12-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
299542629Sobrien
299642629Sobrien	* minor new port: i386-unknown-openbsd2.4
299742629Sobrien
299842629Sobrien	* aux/configure.in: don't check for xfs on openbsd because
299942629Sobrien	openbsd-2.4 introduces a new file system named xfs, but different
300042629Sobrien	than Irix's XFS.  Sigh.
300142629Sobrien
300242629Sobrien	* minor new port: i386-unknown-freebsd2.2.8
300342629Sobrien
300442629Sobrien1998-12-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
300542629Sobrien
300642629Sobrien	* amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host
300742629Sobrien	name match.  Bug fix from Douglas K. Rand" <rand@aero.und.edu>.
300842629Sobrien
300942629Sobrien1998-11-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
301042629Sobrien
301142629Sobrien	* scripts/ctl-amd.in: wait4amd2die runs in the stop action, to
301242629Sobrien	avoid race conditions when shutting down systems running amd.
301342629Sobrien
301442629Sobrien	* Makefile.am: add a dist-hook to change modes of the directories
301542629Sobrien	in the tar file so they are not world writable.
301642629Sobrien
301742629Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support,
301842629Sobrien	since it is now finally defined in the header files and
301942629Sobrien	(hopefully) stable.
302042629Sobrien
302142629Sobrien	* amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option
302242629Sobrien	is specified in mount options.  freebsd patches from David
302342629Sobrien	O'Brien.
302442629Sobrien
302542629Sobrien	* amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c
302642629Sobrien	(main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main),
302742629Sobrien	amd/get_args.c (get_args): posix: use -1 to check for return from
302842629Sobrien	getopt() (not EOF), as per posix.
302942629Sobrien
303042629Sobrien	* amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David
303142629Sobrien	O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree.  Use
303242629Sobrien	real variable whose pointer is on the stack for decoding a long
303342629Sobrien	int.
303442629Sobrien
303542629Sobrien1998-11-11  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
303642629Sobrien
303742629Sobrien	* scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's
303842629Sobrien	chkconfig utility.
303942629Sobrien
304042629Sobrien1998-11-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
304142629Sobrien
304242629Sobrien	* released snapshot am-utils-6.0b2s3
304342629Sobrien
304442629Sobrien	* conf/transp/transp_sockets.c (create_nfs_service): remove C++
304542629Sobrien	style comments.
304642629Sobrien
304742629Sobrien1998-11-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
304842629Sobrien
304942629Sobrien	* released snapshot am-utils-6.0b2s2
305042629Sobrien
305142629Sobrien	* created CVS package
305242629Sobrien
305342629Sobrien	* amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race
305442629Sobrien	condition between unmounting and re-mounting an entry, by
305542629Sobrien	increasing the ttl of a looked up entry before unmounting it.
305642629Sobrien	Patch from Mike Mitchell <mcm@unx.sas.com>.
305742629Sobrien
305842629Sobrien	* All files: spell comments and strings.
305942629Sobrien
306042629Sobrien1998-11-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
306142629Sobrien
306242629Sobrien	* aux/configure.in: look for yp_all in libnsl only if yp_all not
306342629Sobrien	already found elsewhere (in libc or other default libraries).
306442629Sobrien	This is so RedHat 5.1 systems could find yp functions in libnsl,
306542629Sobrien	but also so AIX 4.2.1 will NOT include libnsl, because the latter
306642629Sobrien	has broken nis functionality that also exists and works ok in libc.
306742629Sobrien
306842629Sobrien1998-10-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
306942629Sobrien
307042629Sobrien	* amd/amd.c (main): bug fix: swapped arguments to kill(2).  Fix
307142629Sobrien	from Danny Rathjens <dkr@cs.fiu.edu>.
307242629Sobrien
307342629Sobrien1998-10-28  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
307442629Sobrien
307542629Sobrien	* released snapshot am-utils-6.0b2s1
307642629Sobrien
307742629Sobrien1998-10-27  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
307842629Sobrien
307942629Sobrien	* aux/macros/*.m4: support bsdi4 as bsdi3.
308042629Sobrien
308142629Sobrien	* aux/macros/os_ldflags.m4: enable detection of LDAP on solaris
308242629Sobrien	2.7 (libraries located in /usr/lib/fn).  This is off until Sun
308342629Sobrien	includes LDAP header information.
308442629Sobrien
308541142Sobrien1998-10-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
308641142Sobrien
308741142Sobrien	*******************************************************************
308841142Sobrien	*** Released am-utils-6.0b1					***
308941142Sobrien	*******************************************************************
309041142Sobrien
309141142Sobrien1998-10-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
309241142Sobrien
309341142Sobrien	* mk-amd-map/mk-amd-map.c (main): use perror not strerror.
309441142Sobrien	(main): set return type to int if no ndbm maps.
309541142Sobrien
309641142Sobrien	* include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1
309741142Sobrien	kernels.
309841142Sobrien
309941142Sobrien1998-10-18  Erez Zadok  <ezk@london.mcl.cs.columbia.edu>
310041142Sobrien
310141142Sobrien	* A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup
310241142Sobrien	for netbsd 1.3.2.
310341142Sobrien
310441142Sobrien1998-10-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
310541142Sobrien
310641142Sobrien	* aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1
310741142Sobrien	systems put NIS functions there.
310841142Sobrien
310941142Sobrien	* mk-amd-map/mk-amd-map.c: patch from "David O'Brien"
311041142Sobrien	<obrien@NUXI.com> merged in.  Use POSIX -1 return code from
311141142Sobrien	getopt(), not EOF.  Use .db extentions for systems that use it,
311241142Sobrien	instead of .{pag,dir}.
311341142Sobrien
311441142Sobrien1998-10-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
311541142Sobrien
311641142Sobrien	* wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c,
311741142Sobrien	amd/amd.c (main): avoid overrunning hostname buffer.  Bug fix from
311841142Sobrien	"David O'Brien" <obrien@NUXI.com>.
311941142Sobrien
312041142Sobrien	* scripts/amd.conf.5: minor typo reported by "David O'Brien"
312141142Sobrien	<obrien@NUXI.com> in .TH section of man page.
312241142Sobrien
312341142Sobrien	* amd/info_nis.c (am_yp_all): don't leak key-val entries.  Patch
312441142Sobrien	from Thomas Richter <richter@chemie.fu-berlin.de>.
312541142Sobrien
312641142Sobrien1998-10-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
312741142Sobrien
312841142Sobrien	* doc/am-utils.texi (Program Filesystem): minor typo fixed as per
312941142Sobrien	Andreas Stolcke <stolcke@speech.sri.com>.
313041142Sobrien
313141142Sobrien	* minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7,
313241142Sobrien	and sparc-sun-solaris2.7.
313341142Sobrien
313441142Sobrien	* conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now
313541142Sobrien	a 4.4lite kernel, and somethings were removed, such as
313641142Sobrien	INITMOUNTNAMES.
313741142Sobrien
313841142Sobrien	* amd/ops_autofs.c (autofs_lookuppn): don't leak memory while
313941142Sobrien	processing /defaults.  Free temporary opts.  Patch from
314041142Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley)
314141142Sobrien
314241142Sobrien	* amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while
314341142Sobrien	processing /defaults.  Free temporary opts.  Patch from
314441142Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley)
314541142Sobrien
314641142Sobrien	* conf/mtab/mtab_osf.c (read_mtab): patch from
314741142Sobrien	 dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access
314841142Sobrien	 uninitialized memory on Digital Unix.
314941142Sobrien
315041142Sobrien1998-10-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
315141142Sobrien
315241142Sobrien	* aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most
315341142Sobrien	systems now use "char *" as their mount type.
315441142Sobrien
315541142Sobrien1998-10-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
315641142Sobrien
315741142Sobrien	* amd/conf.c (gopt_map_type, ropt_map_type): check if map type
315841142Sobrien	exists.
315941142Sobrien
316041142Sobrien	* amd/mapc.c (mapc_type_exists): function to test if a map of
316141142Sobrien	certain type exists.
316241142Sobrien
316341142Sobrien1998-10-08  Erez Zadok  <ezk@horatio.mcl.cs.columbia.edu>
316441142Sobrien
316541142Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
316641142Sobrien	include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl
316741142Sobrien	in RH-5.1 sparc64 between <netinet/in.h> and
316841142Sobrien	<linux/byteorder/generic.h> (2.1 kernels).
316941142Sobrien
317041142Sobrien1998-09-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
317141142Sobrien
317241142Sobrien	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat
317341142Sobrien	5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket
317441142Sobrien	from yp_all().
317541142Sobrien
317641142Sobrien1998-09-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
317741142Sobrien
317841142Sobrien	* conf/mount/mount_linux.c (parse_opts): check for pcfs support
317941142Sobrien	only if autoconfigured.
318041142Sobrien
318141142Sobrien1998-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
318241142Sobrien
318341142Sobrien	* Makefile.am (EXTRA_DIST): distribute README.yk2 file.
318441142Sobrien
318541142Sobrien	* README.y2k: explain y2k compliance status of am-utils.
318641142Sobrien
318741142Sobrien1998-09-16  Erez Zadok  <ezk@iguana.mcl.cs.columbia.edu>
318841142Sobrien
318941142Sobrien	* amd/amfs_host.c (fetch_fhandle, amfs_host_fmount,
319041142Sobrien	amfs_host_umounted): clnt_sperrno() may return a const.
319141142Sobrien
319241142SobrienSat Aug  8 23:28:32 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
319341142Sobrien
319441142Sobrien	* aux/configure.in: check for <nfs/nfsmount.h>, as per Christos
319541142Sobrien	Zoulas. Turned on checking for mount options: async, synchronous,
319641142Sobrien	deadthresh, leasterm, nqnfs, and readahead.
319741142Sobrien
319841142Sobrien	* amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas)
319941142Sobrien	to include prototype definition for nis_isup().
320041142Sobrien
320141142SobrienSun Jul 19 18:50:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
320241142Sobrien
320341142Sobrien	* hlfsd/stubs.c (getcreds): force sscanf arg to u_long.
320441142Sobrien
320541142SobrienTue Jul 14 20:34:25 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
320641142Sobrien
320741142Sobrien	* released snapshot am-utils-6.0a17s1
320841142Sobrien
320941142SobrienWed Jul  8 21:49:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
321041142Sobrien
321141142Sobrien	* aux/macros/host_macros.m4: all x86 hosts should have $arch be
321241142Sobrien	i386, not i[456]86.
321341142Sobrien
321441142SobrienTue Jul  7 18:55:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
321541142Sobrien
321641142Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
321741142Sobrien	include/am_defs.h: include <linux/posix_types.h> before
321841142Sobrien	<linux/fs.h> because on redhat 5.1, there is a bug (misuse) of
321941142Sobrien	headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of
322041142Sobrien	__KERNEL_STRICT_NAMES).
322141142Sobrien
322241142Sobrien	* aux/configure.in: check for <linux/posix_types.h> because it is
322341142Sobrien	need for RedHat 5.1.
322441142Sobrien
322541142SobrienWed Jun 17 00:05:33 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
322641142Sobrien
322741142Sobrien	* scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from
322841142Sobrien	.in as well, so it doesn't get removed by make clean.
322941142Sobrien
323041142SobrienTue Jun 16 22:00:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
323141142Sobrien
323241142Sobrien	* aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
323341142Sobrien	check_mount_type.m4}: redhat 5.1 puts some modules in
323441142Sobrien	/lib/modules/preferred/.
323541142Sobrien
323641142SobrienWed May 13 16:33:57 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
323741142Sobrien
323841142Sobrien	* amd/ops_autofs.c (mount_autofs): cast pid to long.
323941142Sobrien
324051292SobrienTue Apr 28 15:12:36 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
324151292Sobrien
324251292Sobrien	* conf/nfs_prot/nfs_prot/nfs_prot_irix6.h,
324351292Sobrien	conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to
324451292Sobrien	avoid amd/am_ops.c (show_fstypes) from erroneously claiming
324551292Sobrien	support.
324651292Sobrien
324751292SobrienFri Apr 24 23:02:11 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
324851292Sobrien	
324951292Sobrien	* libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON
325051292Sobrien	unconditionally, may be missing on Ultrix V4.3.
325151292Sobrien
325251292SobrienThu Apr 23 20:24:33 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
325351292Sobrien
325451292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define,
325551292Sobrien	missing from <sys/mntent.h>.
325651292Sobrien	
325751292Sobrien	* conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h>
325851292Sobrien	without KERNEL defined here.
325951292Sobrien
326051292Sobrien	* aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>,
326151292Sobrien	<cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of
326251292Sobrien	ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed.
326351292Sobrien
326451292Sobrien	* amd/ops_ufs.c (mount_ufs): Removed obsolete comment.
326551292Sobrien
326651292Sobrien	* ChangeLog: Fixed confusing linebreaks from ChangeLog imports.
326751292Sobrien	Removed purely local (and obsolete) entry.
326851292Sobrien
326938494SobrienThu Apr 23 00:22:17 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
327038494Sobrien
327138494Sobrien	*******************************************************************
327238494Sobrien	*** Released am-utils-6.0a16					***
327338494Sobrien	*******************************************************************
327438494Sobrien
327538494SobrienWed Apr 22 01:20:39 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
327638494Sobrien
327738494Sobrien	* aux/macros/check_mount_style.m4: define freebsd3 mount style.
327838494Sobrien
327938494Sobrien	* aux/macros/check_mount_trap.m4: new mount trap for freebsd3.
328038494Sobrien
328138494Sobrien	* aux/macros/check_mtype_printf_type.m4,
328238494Sobrien	aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as
328338494Sobrien	of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not
328438494Sobrien	integers, but I'll keep them as integers and do the mapping in
328538494Sobrien	conf/mount/mount_freebsd3.c
328638494Sobrien
328738494Sobrien	* minor new port to i386-pc-bsdi3.1.
328838494Sobrien
328938494Sobrien	* minor new port to i386-unknown-netbsd1.3.1.
329038494Sobrien
329138494Sobrien	* amd/opts.c: new option addopts:=ARG, which smartly merges ARG
329238494Sobrien	options with whatever the /default ones for a key are.  This
329338494Sobrien	allows adding or overriding /default options individual keys.
329438494Sobrien
329538494Sobrien	* amd/am_ops.c (ops_match): strdup/malloc string assigned to
329638494Sobrien	opt_opts because it'll get free()'d upon next use.
329738494Sobrien	(merge_opts): new function to merge two sets of options.
329838494Sobrien	(ops_match): if addopts option exist, append and merge it to the
329938494Sobrien	current default options.
330038494Sobrien
330138494SobrienTue Apr 21 12:54:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
330238494Sobrien
330338494Sobrien	* wire-test/wire-test.c (main): use dynamically allocated returned
330438494Sobrien	string with list of interfaces.
330538494Sobrien
330638494Sobrien	* amd/get_args.c (get_version_string): allocate enough space for
330738494Sobrien	header version string and a list of network interfaces of any
330838494Sobrien	length.
330938494Sobrien
331038494Sobrien	* libamu/wire.c (print_wires): return dynamically allocated string
331138494Sobrien	containing list of networks.  Must be dynamic because some sites
331238494Sobrien	had potentially dozens of network interfaces.  Patch from Matthew
331338494Sobrien	Crosby <mcrosby@ms.com> slightly modified.
331438494Sobrien
331538494SobrienMon Apr 20 00:37:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
331638494Sobrien
331738494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because
331838494Sobrien	irix 5.3 does not have full header definitions for it.
331938494Sobrien
332038494Sobrien	* fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and
332138494Sobrien	undefined it when not needed (similar to amd/conf_tok.l)
332238494Sobrien
332338494Sobrien	* hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size
332438494Sobrien	of these to unsigned short (because uid_t on some linux systems is
332538494Sobrien	small).
332638494Sobrien
332738494Sobrien	* released snapshot am-utils-6.0a16s10
332838494Sobrien
332938494Sobrien	* doc/am-utils.texi (opts Option): documented resvport mount
333038494Sobrien	option.
333138494Sobrien
333238494SobrienSun Apr 19 18:17:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
333338494Sobrien
333438494Sobrien	* doc/am-utils.texi (-D-Option): document behavior of -D info and
333538494Sobrien	especially what it does to hesiod (turn on RES_DEBUG).
333638494Sobrien
333738494Sobrien	* scripts/amd.conf.5: document info debugging option.
333838494Sobrien
333938494Sobrien	* libamu/xutil.c (dbg_opt): parse info debugging option.
334038494Sobrien
334138494Sobrien	* include/am_utils.h (D_INFO): define new trace option.
334238494Sobrien
334338494Sobrien	* Makefile.am (EXTRA_DIST): include list of official mirrors in
334438494Sobrien	distribution.
334538494Sobrien
334638494Sobrien	* libamu/wire.c (SIZE): in the simple case, just compute
334738494Sobrien	sizeof(struct ifreq).
334838494Sobrien
334938494SobrienSun Apr 19 16:30:35 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
335038494Sobrien
335138494Sobrien	* amd/amd.c (daemon_mode): set a temporary secure umask(0022)
335238494Sobrien	before writing log file and restore it afterwards.  Patch from
335338494Sobrien	Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
335438494Sobrien
335538494Sobrien	* amd/get_args.c (get_args): 
335638494Sobrien
335738494Sobrien	* doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf
335838494Sobrien	file specified by -F is always processed last.
335938494Sobrien
336038494Sobrien	* amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd
336138494Sobrien	won't be reused.  Allows startup script to redirect stdout.  Patch
336238494Sobrien	from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
336338494Sobrien
336438494Sobrien	* libamu/xutil.c (switch_to_logfile): compare logfile name and
336538494Sobrien	syslog string with correct length.  Patch from Donald Buczek
336638494Sobrien	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
336738494Sobrien
336838494Sobrien	* amd/restart.c (restart): correctly inherit existing NFS V.3
336938494Sobrien	mounts upon restart.  Patch from Donald Buczek
337038494Sobrien	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
337138494Sobrien
337238494SobrienSat Apr 18 19:01:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
337338494Sobrien
337438494Sobrien	* using libtool 1.2 and automake 1.3 (with my patches).
337538494Sobrien
337638494Sobrien	* aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to
337738494Sobrien	AMU_CFLAGS to avoid conflicts with automake-1.3.
337838494Sobrien
337938494SobrienSun Apr  5 23:09:08 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
338038494Sobrien
338138494Sobrien	* converted to using libtool-1.2.
338238494Sobrien
338338494SobrienTue Mar 10 16:52:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
338438494Sobrien
338538494Sobrien	* fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly
338638494Sobrien	for loop (ITER) which used to run only to initialize the variable
338738494Sobrien	dd once and then break; with a simple assignment.
338838494Sobrien
338938494Sobrien	* hlfsd/hlfsd.h: cleanup so it compiles with Solaris
339038494Sobrien	/opt/SUNWspro/bin/cc, and use gid_t not int.
339138494Sobrien
339238494Sobrien	* amd/mapc.c (mapc_sync): don't dereference pointer (so it
339338494Sobrien	compiles with Solaris /opt/SUNWspro/bin/cc)
339438494Sobrien
339538494SobrienSun Mar  8 15:54:22 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
339638494Sobrien
339738494Sobrien	* aux/config.{guess,sub}: used from gcc-2.8.1.
339838494Sobrien
339938494SobrienSat Mar  7 15:33:27 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
340038494Sobrien
340138494Sobrien	* released snapshot am-utils-6.0a16s9
340238494Sobrien
340338494Sobrien	* INSTALL, doc/am-utils.texi (Supported Platforms): updated names
340438494Sobrien	based on new output of new config.guess.
340538494Sobrien
340638494Sobrien	* aux/config.{sub,guess}: used newer versions from gcc-2.8.0.
340738494Sobrien
340838494Sobrien	* amd/amd.8,doc/am-utils.texi: document correct usage of default
340938494Sobrien	/etc/amd.conf file.
341038494Sobrien
341138494Sobrien	* fixmount/fixmount.c (inetresport,privsock): use some more
341238494Sobrien	portable code from amq/amq.c.
341338494Sobrien
341438494Sobrien	* amd/get_args.c (get_args): use default /etc/amd.conf file only
341538494Sobrien	if no arguments had been passed to amd.
341638494Sobrien
341738494Sobrien	* fixmount/fixmount.c (clnt_create_timeout): use tli/socket code
341838494Sobrien	ala amq/amq.c so that fixmount will work on both types of systems.
341938494Sobrien
342038494Sobrien	* amq/amq.c (main): do no close tcp socket before running udp try,
342138494Sobrien	because we're not sure if it was opened at all.
342238494Sobrien
342338494Sobrien	* mips-dec-ultrix* port merged in and cleaned up.
342438494Sobrien
342538494Sobrien	* aux/configure.in: up minor shared library revision number, since
342638494Sobrien	it has changed enough.
342738494Sobrien
342838494Sobrien	* hlfsd/hlfsd.c (main): don't check for overlay mount option here,
342938494Sobrien	as it is now done in compute_nfs_args().  Remove ultrix specific
343038494Sobrien	code also because it was moved to compute_nfs_args().
343138494Sobrien
343238494Sobrien	* conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that
343338494Sobrien	we have more generic code in print_nfs_args().
343438494Sobrien
343538494Sobrien	* libamu/mount_fs.c (print_nfs_args): print maxlen of
343638494Sobrien	nfs_args.addr, and also syncaddr (which is mostly NULL).  Print
343738494Sobrien	struct knetconfig from nfs_args->knconf.
343838494Sobrien
343938494Sobrien	* aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs
344038494Sobrien	headers here, but in try_compile_anyfs.m4.
344138494Sobrien
344238494Sobrien	* aux/macros/type_ufs_args.m4: move test for struct ufs_specific
344338494Sobrien	(for ultrix) here from its own macro.
344438494Sobrien
344538494Sobrien	* aux/macros/type_cdfs_args.m4: move test for struct iso_specific
344638494Sobrien	(for ultrix) here from its own macro.
344738494Sobrien
344838494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking
344938494Sobrien	for overlay mount option.  Remove code which checks for overlay
345038494Sobrien	option, as it is now done in compute_nfs_args().
345138494Sobrien
345238494Sobrien	* libamu/mount_fs.c (compute_mount_flags): move here code which
345338494Sobrien	checks for overlay mount option which was in amd/amfs_toplvl.c:
345438494Sobrien	mount_amfs_toplvl().
345538494Sobrien
345638494SobrienWed Feb  7 15:35:51 1998  Rainer Orth  <ro@xayide.TechFak.Uni-Bielefeld.DE>
345738494Sobrien
345838494Sobrien	* The following are Rainer's ChangeLog entries for his ultrix
345938494Sobrien	port, added manually. -Erez.
346038494Sobrien
346138494Sobrien	* merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
346238494Sobrien	(mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
346338494Sobrien
346451292Sobrien	* include/am_defs.h: include cdfs specific mount headers
346551292Sobrien	avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix)
346638494Sobrien
346738494Sobrien	* include/am_compat.h: define several mount options corresponding
346838494Sobrien	to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
346938494Sobrien	noversion, rrip (cdfs), nocache, quota, sync (generic) removed
347038494Sobrien	duplicate MNTTAB_OPT_RO definition
347138494Sobrien
347238494Sobrien	* aux/macros/try_compile_anyfs.m4: include Ultrix specific
347338494Sobrien	ufs/cdfs mount headers
347438494Sobrien
347538494Sobrien	* aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX
347638494Sobrien	specific mount headers
347738494Sobrien
347838494Sobrien	* aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_*
347938494Sobrien	mount types in mount headers (Ultrix)
348038494Sobrien
348138494Sobrien	* aux/configure.in: Ultrix/Digital UNIX specific checks: new
348238494Sobrien	headers, mount structures and fields, filesystem and mount types,
348338494Sobrien	mount flags
348438494Sobrien
348538494Sobrien	* aux/acconfig.h: placeholders for new mount options: quota
348638494Sobrien	(generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs)
348738494Sobrien	cdfs, nfs, ufs mount structure fields new ufs, cdfs mount
348838494Sobrien	structures
348938494Sobrien
349038494Sobrien	* amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in
349138494Sobrien	ufs_args.ufs_flags and has ufs specific pgthresh option
349238494Sobrien
349338494Sobrien	* amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific
349438494Sobrien	CDFS mount flags and options
349538494Sobrien
349638494Sobrien	* amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh),
349738494Sobrien	hlfsd/hlfsd.c (main): store generic mount flags in
349838494Sobrien	nfs_args.gfs_flags, handle separate NFS ro flag
349938494Sobrien
350038494Sobrien	* aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific,
350138494Sobrien	struct_ufs_specific}.m4: new files; check for Ultrix specific
350238494Sobrien	mount structures
350338494Sobrien
350438494Sobrien	* conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
350538494Sobrien
350638494Sobrien	* aux/macros/type_auth_create_gidlist.m4 (ultrix*):
350738494Sobrien	AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
350838494Sobrien	comment in <rpc/auth.h>
350938494Sobrien
351038494Sobrien	* include/am_defs.h: #define KERNEL to avoid definition of
351182794Sobrien	gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before
351282794Sobrien	<config.h> to force single definition here
351338494Sobrien
351438494Sobrien	* libamu/mount_fs.c (compute_nfs_args): Ultrix support for
351582794Sobrien	nfs_args.gfs_flags moved to callers store mount options in
351682794Sobrien	nap->optstr
351738494Sobrien
351838494Sobrien	* include/am_defs.h: fix _am_mntent mnt_{type, opts} field
351938494Sobrien	descriptions
352038494Sobrien
352138494Sobrien	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
352238494Sobrien	include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
352338494Sobrien	definition in prototypes
352438494Sobrien
352538494Sobrien	* aux/macros/mount_headers.m4: include <sys/errno.h> before
352638494Sobrien	AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
352738494Sobrien	definitions
352838494Sobrien
352938494Sobrien	* conf/nfs_prot/nfs_prot_ultrix.h: new file
353038494Sobrien
353151292Sobrien	* aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
353238494Sobrien
353338494Sobrien	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
353438494Sobrien	aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
353538494Sobrien	inclusion of <rpc/xdr.h>
353638494Sobrien
353738494SobrienSat Mar  7 13:56:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
353838494Sobrien
353938494Sobrien	* aux/configure.in: save state of config.cache and confdefs.h
354038494Sobrien	(as dbgcf.h) at various points of the configure.
354138494Sobrien
354238494Sobrien	* aux/macros/save_state.m4: new macro to save state of configure,
354338494Sobrien	esp. useful in long ones.  Saves confdefs.h and write $ac_cv_*
354438494Sobrien	cache variables that are known so far.
354538494Sobrien
354638494Sobrien	* released snapshot am-utils-6.0a16s8
354738494Sobrien
354838494Sobrien1998-03-06  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
354938494Sobrien
355038494Sobrien	* fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining
355138494Sobrien	it, but only for flex.
355238494Sobrien
355338494SobrienFri Mar  6 17:23:17 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
355438494Sobrien
355538494Sobrien	* hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file
355638494Sobrien	to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible)
355738494Sobrien	to write the dump file.
355838494Sobrien
355938494Sobrien	* doc/am-utils.texi,amd/opts.c: rename all references to nomadic
356038494Sobrien	functions to boolean functions, which is what they really are.
356138494Sobrien
356238494Sobrien	* aux/configure.in: don't look for strcasecmp in libucb at all,
356338494Sobrien	but rather complete it from libamu/strcasecmp.c as needed.
356438494Sobrien
356538494SobrienFri Mar  6 03:29:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
356638494Sobrien
356738494Sobrien	* conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS.
356838494Sobrien
356938494Sobrien	* libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X
357038494Sobrien	which defines IFF_ROUTE instead of IFF_LOOPBACK.  Patch from Tom
357138494Sobrien	Schmidt <tschmidt@micron.com>.
357238494Sobrien
357338494Sobrien	* released snapshot am-utils-6.0a16s7
357438494Sobrien
357538494Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to
357638494Sobrien	hppa1.0-hp-hpux11.00.tgz.
357738494Sobrien
357838494SobrienThu Mar  5 21:59:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
357938494Sobrien
358038494Sobrien	* converted all sources to use mntent field names, and map mnttab
358138494Sobrien	field names to mntent's.
358238494Sobrien
358338494Sobrien	* include/am_defs.h (mnt_special): map struct mnttab field names
358438494Sobrien	to struct mntent field names.
358538494Sobrien
358638494Sobrien	* aux/macros/check_mount_trap.m4: hpux11's mount trap style is
358738494Sobrien	identical to svr4/solaris2.
358838494Sobrien
358938494Sobrien	* aux/macros/check_mount_style.m4: hpux11's mount style is
359038494Sobrien	identical to svr4/solaris2.
359138494Sobrien
359238494Sobrien	* aux/macros/check_network_transport_type.m4: hpux11 is a TLI
359338494Sobrien	system!
359438494Sobrien
359538494Sobrien	* aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address
359638494Sobrien	dereferencing style is same as svr4.
359738494Sobrien
359838494Sobrien	* aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh
359938494Sobrien	dereferencing style is same as svr4.
360038494Sobrien
360138494Sobrien	* conf/transp/transp_tli.c (create_nfs_service): if failed to
360238494Sobrien	getnetconfigent() of ticlts, then try udp (hpux11).
360338494Sobrien
360438494Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for
360538494Sobrien	struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris
360638494Sobrien	2.5.1 (HP used them).
360738494Sobrien
360838494Sobrien	* amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open()
360938494Sobrien	because hpux11 doesn't like it. if t_open failed, print error
361038494Sobrien	based on t_errlist, not sys_errlist.
361138494Sobrien
361238494SobrienWed Mar  4 22:01:55 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
361338494Sobrien
361438494Sobrien	* doc/am-utils.texi: lots of documentation fixes from Rainer Orth
361538494Sobrien	<ro@TechFak.Uni-Bielefeld.DE>.
361638494Sobrien
361738494SobrienSat Feb 28 22:16:35 1998  Erez Zadok  <ezk@kosh.cs.columbia.edu>
361838494Sobrien
361938494Sobrien	* fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used
362038494Sobrien	later.
362138494Sobrien
362238494Sobrien	* include/am_defs.h: defined the extern for ualarm() if it isn't
362338494Sobrien	found, regardless if the function isn't found in standard
362438494Sobrien	libraries, because otherwise libamu will include it.
362538494Sobrien
362638494Sobrien1998-02-28  Erez Zadok (per Ron Snyder)  <ezk@short.cvo.roguewave.com>
362738494Sobrien
362838494Sobrien	* initial port to hpux-11 completed.  Compiles cleanly, but
362938494Sobrien	probably does not work, because of missing NFS V.2/3 headers.
363038494Sobrien
363138494Sobrien	* amd/conf_tok.l: cast yytext to char* when passed to strlen and
363238494Sobrien	strdup, for hpux-11's ansi-cc compiler.
363338494Sobrien
363438494Sobrien	* include/am_utils.h: renamed all xfree() to XFREE() to avoid
363538494Sobrien	conflict with hpux-11's system headers.  Also move (voidp) cast
363638494Sobrien	from sources to inside the macro itself.
363738494Sobrien
363838494SobrienSat Feb 28 13:44:21 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
363938494Sobrien
364038494Sobrien	* released snapshot am-utils-6.0a16s6
364138494Sobrien
364238494Sobrien	* amd/info_nis.c (nis_isup): new function to test if NIS is up
364338494Sobrien	without hanging amd.  Used to ensure that amd does not clear the
364438494Sobrien	maps when the expiration period arrived, if the service is down.
364538494Sobrien	Otherwise it would be left with empty maps.  It is better to stay
364638494Sobrien	with possibly old information than none at all.
364738494Sobrien
364838494Sobrien	* amd/mapc.c (mapc_sync): check to see if map service is up.
364938494Sobrien
365038494SobrienTue Feb 24 02:19:42 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
365138494Sobrien
365238494Sobrien	* aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it
365338494Sobrien	includes auxiliary library only if needed.
365438494Sobrien
365538494Sobrien1998-02-22  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
365638494Sobrien
365738494Sobrien	* amd/conf_tok.l: undefine ECHO again, so it doesn't get used
365838494Sobrien	later.
365938494Sobrien
366038494SobrienSun Feb 22 01:41:08 1998  Erez Zadok  <ezk@zen.cs.columbia.edu>
366138494Sobrien
366238494Sobrien	* conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1
366338494Sobrien	completed.
366438494Sobrien
366538494Sobrien	* conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3.
366638494Sobrien
366738494SobrienSat Feb 21 19:45:48 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
366838494Sobrien
366938494Sobrien	* doc/am-utils.texi (Network Host Filesystem): correct example for
367038494Sobrien	type:=host map.
367138494Sobrien
367238494Sobrien	* aux/macros/os_cflags.m4: only osf4 should compile with
367338494Sobrien	-D_SOCKADDR_LEN.
367438494Sobrien
367538494Sobrien	* aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2
367638494Sobrien	and OSF4.
367738494Sobrien
367838494Sobrien	* BUGS: include a new file listing known bugs.
367938494Sobrien
368038494SobrienSat Feb 21 03:50:48 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
368138494Sobrien
368238494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux
368338494Sobrien	versions.
368438494Sobrien
368538494Sobrien	* aux/macros/type_recvfrom_fromlen.m4: linux alpha should use
368638494Sobrien	size_t for recvfrom fromlen arg.
368738494Sobrien
368838494SobrienSat Feb 21 03:33:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
368938494Sobrien
369038494Sobrien	* scripts/ctl-hlfsd.in: turn -D fork so primary process never
369138494Sobrien	hangs.
369238494Sobrien
369338494SobrienSat Feb 21 02:45:51 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
369438494Sobrien
369538494Sobrien	* include/am_defs.h: don't include <sys/stat.h> and
369638494Sobrien	<linux/stat.h>, just remaining definitions in <statbuf.h>
369738494Sobrien
369838494SobrienThu Jan 29 00:44:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
369938494Sobrien
370038494Sobrien	* released snapshot am-utils-6.0a16s5
370138494Sobrien
370238494Sobrien	* conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to
370338494Sobrien	mount(2).
370438494Sobrien
370538494Sobrien	* check for <sys/fs/xfs_clnt.h> and include it when needed.
370638494Sobrien
370738494Sobrien	* conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize
370838494Sobrien	efs and xfs separately from "ufs".
370938494Sobrien
371038494Sobrien	* amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs.
371138494Sobrien
371238494Sobrien	* aux/configure.in: look for irix efs and xfs file systems.
371338494Sobrien
371438494Sobrien	* scripts/amd.conf.5: new unmount_on_exit option documented.
371538494Sobrien
371638494Sobrien	* doc/am-utils.texi (unmount_on_exit): new option documented.
371738494Sobrien
371838494Sobrien	* amd/conf.c (gopt_unmount_on_exit): new function to handle new
371938494Sobrien	amd.conf option.
372038494Sobrien
372138494Sobrien	* amd/map.c (umount_exported): if global amd.conf flag
372238494Sobrien	unmount_on_exit is on, then try to unmount all mounted (or
372338494Sobrien	restartable) file systems.
372438494Sobrien
372538494Sobrien	* amd/amd.c: if print_pid option is on, then normally print it to
372638494Sobrien	stdout.  If also pid_file is specified, then print the process ID
372738494Sobrien	into that file.
372838494Sobrien
372938494Sobrien	* amd/get_args.c (get_args): print correct -l option depending if
373038494Sobrien	system supports syslog and/or syslog facilities.  Patch from 
373138494Sobrien	Tom Schmidt <tschmidt@micron.com>.
373238494Sobrien
373338494Sobrien	* doc/am-utils.texi (opts Option): updates for documentation for
373438494Sobrien	new cdfs options defperm, nodefperm, noversion, rrip.
373538494Sobrien
373638494Sobrien	* amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm,
373738494Sobrien	nodefperm, noversion, rrip.
373838494Sobrien
373938494Sobrien	* conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h>
374038494Sobrien	on osf.
374138494Sobrien
374238494Sobrien	* aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4,
374338494Sobrien	expand_cpp_string.m4}: use #error to make failed compilations
374438494Sobrien	fail faster, rather than have the program fail during a run.
374538494Sobrien
374638494Sobrien	* include/am_compat.h: added a few new cdfs options: rrip,
374738494Sobrien	noversion, defperm, and nodefperm (used in OSF).
374838494Sobrien
374938494SobrienWed Jan 28 20:24:09 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
375038494Sobrien
375138494Sobrien	* released snapshot am-utils-6.0a16s4
375238494Sobrien
375338494Sobrien	* doc/am-utils.texi (Global Parameters): update manual for new
375438494Sobrien	amd.conf global variable hesiod_base.
375538494Sobrien
375638494Sobrien	* scripts/amd.conf.5: update man page for new amd.conf global
375738494Sobrien	variable hesiod_base.
375838494Sobrien
375938494Sobrien	* amd/get_args.c (get_args): use /etc/amd.conf file if exists by
376038494Sobrien	default, else try command line options.  Patch from Randall
376138494Sobrien	S. Winchester <rsw@Glue.umd.edu>.
376238494Sobrien
376338494SobrienWed Jan 28 12:20:56 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
376438494Sobrien
376538494Sobrien	* amd/info_hesiod.c (hesiod_search), amd/conf.c
376638494Sobrien	(gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options):
376738494Sobrien	included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to
376838494Sobrien	support a hesiod base name in the amd.conf file.
376938494Sobrien
377038494Sobrien	* doc/am-utils.texi (pid_file Parameter): document new global
377138494Sobrien	amd.conf parameter.
377238494Sobrien
377338494Sobrien	* scripts/amd.conf.5: document new global option pid_file.
377438494Sobrien
377538494Sobrien	* amd/amd.c (daemon_mode): if cannot open pid_file, continue to
377638494Sobrien	run, but print error message.
377738494Sobrien
377838494Sobrien	* amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode,
377938494Sobrien	init_global_options): Included patch from Randall S. Winchester
378038494Sobrien	<rsw@Glue.umd.edu>, to support pid files in the amd.conf file.
378138494Sobrien
378238494Sobrien	* amd/get_args.c (get_args): correct usage info on amd -t.
378338494Sobrien
378438494Sobrien	* amd/*.c: massive file name and symbol name changes.  All amd
378538494Sobrien	file systems files and symbols are prefix with amfs_*.  Now using
378638494Sobrien	real name of file system: amfs_auto instead of afs, amfs_inherit
378738494Sobrien	instead of ifs, amfs_linkx instead of sfsx, etc.  This will enable
378838494Sobrien	clear distinction between amd file system and generic ones like
378938494Sobrien	nfs/ufs/pcfs/hsfs.  Also, now we can implement true afs (Andrew
379038494Sobrien	f/s) and DFS (Distributed f/s).
379138494Sobrien
379238494Sobrien	* amd/amfs_union.c: unionfs for amd is always defined, no need to
379338494Sobrien	#ifdef it.
379438494Sobrien
379538494SobrienMon Jan 26 16:51:38 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
379638494Sobrien
379738494Sobrien	* libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on
379838494Sobrien	or off, based on the particular quirks of the OS in question.
379938494Sobrien
380038494Sobrien	* aux/macros/check_nfs_socket_connection.m4: new macro to set the
380138494Sobrien	correct wait of handling un/connected NFS sockets.
380238494Sobrien
380338494Sobrien	* scripts/wait4amd.in: use rlogin instead of rsh.
380438494Sobrien
380538494Sobrien	* amd/am_ops.c (ops_showfstypes): when showing F/S types in amd
380638494Sobrien	-v, always show "nfs3" for NFS V.3.
380738494Sobrien
380838494Sobrien1998-01-25  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
380938494Sobrien
381038494Sobrien	* lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets
381138494Sobrien	more picky than 2.7.2.3 did.
381238494Sobrien
381338494Sobrien1998-01-24  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
381438494Sobrien
381538494Sobrien	* include/am_utils.h (dlog): amuDebug macros reduced to shorter
381638494Sobrien	forms.
381738494Sobrien
381838494SobrienFri Jan 23 18:38:30 1998  Erez Zadok  <ezk@goat.mcl.cs.columbia.edu>
381938494Sobrien
382038494Sobrien	* released snapshot am-utils-6.0a16s3
382138494Sobrien
382238494Sobrien	* include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included
382338494Sobrien	in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h
382438494Sobrien	must not, fake a definition for varargs.
382538494Sobrien
382638494SobrienFri Jan 16 10:16:40 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
382738494Sobrien
382838494Sobrien	* README: show how to configure in additional support such as
382938494Sobrien	hesiod using various --enable-* flags.
383038494Sobrien
383138494SobrienWed Jan 14 15:13:02 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
383238494Sobrien
383338494Sobrien	* aux/configure.in: look for strcasecmp(), and replace it if not
383438494Sobrien	available.
383538494Sobrien
383638494Sobrien	* amd/ops_nfsl.c (nfsl_match): host names should be compared using
383738494Sobrien	case insensitive.
383838494Sobrien
383938494Sobrien	* amd/opts.c: for each map variable, define if the comparison
384038494Sobrien	needs to be done case insensitive.
384138494Sobrien
384238494Sobrien	* include/am_utils.h (STRCEQ): a new macro to use strcasecmp().
384338494Sobrien	Patch from Thomas Richter <richter@chemie.fu-berlin.de>
384438494Sobrien
384538494Sobrien1998-01-14  Erez Zadok  <ezk@irt.cs.columbia.edu>
384638494Sobrien
384738494Sobrien	* aux/configure.in: look for "isofs" as a possible mount type for
384838494Sobrien	cdfs (RedHat Linux).
384938494Sobrien
385038494SobrienWed Jan 14 02:07:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
385138494Sobrien
385238494Sobrien	* conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount
385338494Sobrien	type if not defined.
385438494Sobrien
385538494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if
385638494Sobrien	already defined.
385738494Sobrien
385838494Sobrien	* aux/configure.in: look for ext2fs before ufs, b/c some linux
385938494Sobrien	have both.
386038494Sobrien
386138494SobrienMon Jan 12 15:43:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
386238494Sobrien
386338494Sobrien	* Makefile.am (snapshot): allow me to install snapshots into the
386438494Sobrien	ftp directory.
386538494Sobrien
386638494Sobrien	* scripts/ctl-hlfsd.in: don't turn on -D mem by default.
386738494Sobrien
386838494Sobrien	* amd/get_args.c (get_args): minor bug in output of amd -H.
386938494Sobrien
387038494SobrienMon Jan 12 03:05:06 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
387138494Sobrien
387238494Sobrien	*******************************************************************
387338494Sobrien	*** Released am-utils-6.0a15					***
387438494Sobrien	*******************************************************************
387538494Sobrien
387638494SobrienSun Jan 11 15:06:34 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
387738494Sobrien
387838494Sobrien	* amd/conf.c (*_browsable_dirs): allow specifying
387938494Sobrien	browsable_dirs=full, which will print *all* entries (other than
388038494Sobrien	/default), including  those with '*' and '/' characters.
388138494Sobrien
388238494Sobrien	* amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length
388338494Sobrien	to 1500.
388438494Sobrien
388538494Sobrien	* doc/am-utils.texi: fixed reversed documentation for NFS mount
388638494Sobrien	options vers and proto.
388738494Sobrien
388838494Sobrien	* doc/Makefile.am (install-html): separate target just for
388938494Sobrien	installing html files.  Another new target "alldocs" is just for
389038494Sobrien	installing all files needed for the am-utils home page.
389138494Sobrien
389238494Sobrien	* scripts/amd.conf-sample: updated example for log_file.
389338494Sobrien
389438494Sobrien	* scripts/amd.conf.5: updated for new way to declare new syslog
389538494Sobrien	facility in the log_file option.
389638494Sobrien
389738494Sobrien	* amd/amd.8: updated for new way to declare new syslog facility in
389838494Sobrien	the -l option.
389938494Sobrien
390038494Sobrien	* libamu/xutil.c (get_syslog_facility): allow users to specify the
390138494Sobrien	syslog facility as an appended string to the log device.  Ex. amd
390238494Sobrien	-l syslog:local7 will use LOG_LOCAL7, while the older -l syslog
390338494Sobrien	will use the default LOG_DAEMON facility.
390438494Sobrien
390538494Sobrien	* amd/get_args.c (get_args): updated new syntax for amd -l
390638494Sobrien	syslog:facility.
390738494Sobrien
390838494SobrienThu Jan  8 04:05:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
390938494Sobrien
391038494Sobrien	* aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3
391138494Sobrien	(intel).
391238494Sobrien
391338494Sobrien	* libamu/wire.c (print_wires): bug fix.  Nullify output buffer
391438494Sobrien	before appending to it, on systems with two or more network
391538494Sobrien	interfaces.
391638494Sobrien
391738494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for
391838494Sobrien	the mntent for cachefs.
391938494Sobrien
392038494Sobrien	* include/am_defs.h: external definition for strstr() should use
392138494Sobrien	const for both arguments.
392238494Sobrien
392338494Sobrien	* aux/configure.in: add extern definitions for getwd() if missing.
392438494Sobrien
392538494Sobrien	* include/am_defs.h: define the extern for strdup() even if the
392638494Sobrien	function does not exist, for it will be filled in by
392738494Sobrien	libamu/strdup.c
392838494Sobrien
392938494Sobrien	* amq/pawd.c (cluster_server): don't use getccent() if the extern
393038494Sobrien	for it isn't there.  On hpux 10.20, the function is in libc, but
393138494Sobrien	<cluster.h> and struct cct_entry do not exist.
393238494Sobrien
393338494Sobrien	* aux/configure.in: check for an extern for getccent() b/c some
393438494Sobrien	hpux systems don't have it (hpux 10.20).
393538494Sobrien
393638494SobrienWed Jan  7 00:09:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
393738494Sobrien
393838494Sobrien	* doc/am-utils.texi (Amq -T option): manual documentation updates
393938494Sobrien	for new amq options -T/-U.
394038494Sobrien
394138494Sobrien	* amq/amq.8: updated man page for new amq options -T/-U.
394238494Sobrien
394338494Sobrien	* amq/amq.c: two new switches to amq. -U will contact amd using
394438494Sobrien	UDP only.  -T will use TCP only.  Normally amq will try TCP and
394538494Sobrien	if that failed, will try UDP.
394638494Sobrien
394738494Sobrien	* doc/am-utils.texi (pawd): manual documentation for pawd.
394838494Sobrien
394938494Sobrien	* amq/pawd.1: new man page for pawd.
395038494Sobrien
395138494SobrienTue Jan  6 04:21:59 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
395238494Sobrien
395338494Sobrien	* amq/pawd.c: a new program, Print Automounter Working Directory,
395438494Sobrien	to print the proper pathname of the cwd or any other pathname,
395538494Sobrien	adjusted for automounter paths, while avoiding mount points.
395638494Sobrien
395738494Sobrien	* aux/macros/localconfig.m4: trivial support for am-utils
395838494Sobrien	maintainers to adjust some of the configuration of am-utils after
395938494Sobrien	it has been auto-configured by putting whatever definitions you
396038494Sobrien	wish in a file called localconfig.h, located in the top build
396138494Sobrien	directory (the same one where config.h is created for you).
396238494Sobrien
396338494Sobrien	* doc/am-utils.texi (Caching Filesystem): updated documents for
396438494Sobrien	cachefs file system.
396538494Sobrien
396638494Sobrien	* amd/ops_cachefs.c: initial cachefs support, for solaris.
396738494Sobrien	type:=cachefs, requires cachedir:=/cache/dir/name to be defined
396838494Sobrien	and initialized with cfsadmin -c.  $rfs is backdir to be cached
396938494Sobrien	from, and $fs is the local mount point of the cachefs.
397038494Sobrien
397138494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): support mounting of
397238494Sobrien	cachefs file systems.
397338494Sobrien
397438494Sobrien	* amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the
397538494Sobrien	mnttab type is.
397638494Sobrien
397738494SobrienMon Jan  5 23:22:49 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
397838494Sobrien
397938494Sobrien	* amd/opts.c: added support for new variable $cachedir.
398038494Sobrien
398138494Sobrien	* include/am_utils.h: added opt_cachedir field to struct am_opts.
398238494Sobrien
398338494SobrienSat Jan  3 01:43:57 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
398438494Sobrien
398538494Sobrien	* amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
398638494Sobrien	local hostname does not match $rhost, and if so, also assume
398738494Sobrien	type:=nfs.
398838494Sobrien
398938494SobrienFri Jan  2 01:00:40 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
399038494Sobrien
399138494Sobrien	* updated all source files to add 1998 as a copyright year.
399238494Sobrien
399338494Sobrien	* amd/ops_nfsl.c: new amd meta file system "type:=nfsl".  Behaves
399438494Sobrien	like type:=linkx if the pathname denoted by $fs exists, and like
399538494Sobrien	type:=nfs if it does not.  A convenient shortcut for the most
399638494Sobrien	popular amd map entry.
399738494Sobrien
399838494Sobrien	* amd/amd.c (main): amd should chdir to / before starting, to
399938494Sobrien	avoid hanging on other NFS server if started elsewhere.
400038494Sobrien
400138494Sobrien	* amd/ops_TEMPLATE.c: added an empty template file for developers
400238494Sobrien	who wish to write new amd pseudo file systems.
400338494Sobrien
400438494SobrienThu Jan  1 00:27:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
400538494Sobrien
400638494Sobrien	* hlfsd/homedir.c (plt_init): make function exported, to save on
400738494Sobrien	the unnecessary init_homedir() function which was removed.
400838494Sobrien	(table_add): don't use xmalloc() when you can use strdup()
400938494Sobrien	instead.
401038494Sobrien
401138494SobrienThu Jan  1 00:15:58 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
401238494Sobrien
401338494Sobrien	* hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this
401438494Sobrien	because we will be making more passwd calls afterwards.  On
401538494Sobrien	Solaris 2.5.1, making getpwent() calls after calling endpwent()
401638494Sobrien	results in a memory leak! (and no, even Purify didn't detect
401738494Sobrien	it...)
401838494Sobrien
401938494SobrienTue Dec 23 18:23:47 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
402038494Sobrien
402138494Sobrien	* hlfsd/hlfsd.c (main): Bug fix.  Don't try to free() an
402238494Sobrien	automatically allocated address.
402338494Sobrien
402438494Sobrien	* amd/ops_afs.c (mount_toplvl): Bug fix.  Don't try to free() an
402538494Sobrien	automatically allocated address.
402638494Sobrien
402738494Sobrien	* ALL SOURCES: change every direct call to free() to xfree(), so
402838494Sobrien	it can be mapped to the right debugging function as needed.
402938494Sobrien
403038494Sobrien	* include/am_utils.h: new free() policy.  If debugging memory,
403138494Sobrien	call dxfree(), which will print the file name and line number
403238494Sobrien	where the free occurred and the pointer address.  if only regular
403338494Sobrien	debugging, then free() and reset  the pointer to NULL so it cannot
403438494Sobrien	be used afterwards inadvertently.  If not DEBUG at all, then just
403538494Sobrien	run free().  Three different #define macros set the right mapping.
403638494Sobrien
403738494Sobrien	* libamu/xutil.c (dxfree): renamed function to dxfree(), so it can
403838494Sobrien	be called only when debugging the memory.
403938494Sobrien
404038494SobrienTue Dec 23 04:24:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
404138494Sobrien
404238494Sobrien	* wire-test/wire-test.c (main): use xmalloc() not malloc().
404338494Sobrien
404438494Sobrien	* conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not
404538494Sobrien	calloc().
404638494Sobrien
404738494Sobrien	* conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc().
404838494Sobrien
404938494Sobrien	* conf/mount/mount_linux.c (parse_opts): use xmalloc() not
405038494Sobrien	malloc().
405138494Sobrien
405238494Sobrien	* amd/info_ldap.c: use xmalloc() not malloc().
405338494Sobrien
405438494Sobrien	* libamu/xutil.c (xzalloc): new function to allocate memory and
405538494Sobrien	zero its bytes.
405638494Sobrien
405738494Sobrien	* amq/amq.c: amq does not need its own definition of xfree().
405838494Sobrien
405938494Sobrien	* aux/macros/opt_debug.m4: if used --enable-debug=mem, then also
406038494Sobrien	look for function malloc_verify() in libmapmalloc.a, and function
406138494Sobrien	mallinfo() in libmalloc.
406238494Sobrien
406338494Sobrien	* libamu/xutil.c (checkup_mem): do not use mallinfo field
406438494Sobrien	uordbytes, because it does not always exist.  Rather, compute it
406538494Sobrien	from other fields..
406638494Sobrien
406738494Sobrien	* include/am_utils.h: add external definition to xfree() function
406838494Sobrien	used when debugging memory references.
406938494Sobrien
407038494SobrienMon Dec 22 03:01:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
407138494Sobrien
407238494Sobrien	* amd/ops_afs.c (afs_readdir_browsable): reduce the number of
407338494Sobrien	bytes heuristically computed to be returned to the kernel.
407438494Sobrien	Otherwise browsable_dirs fails on OpenBSD 2.2.
407538494Sobrien
407638494Sobrien	* amd/mntfs.c (uninit_mntfs): bug fix.  Moved freeing of
407738494Sobrien	mf_private field to AFTER it gets used.
407838494Sobrien
407938494SobrienSat Dec 20 00:51:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
408038494Sobrien
408138494Sobrien	* amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
408238494Sobrien	on systems that don't support it.
408338494Sobrien
408438494Sobrien	* include/am_defs.h: add missing extern definition for free().
408538494Sobrien
408638494Sobrien	* aux/configure.in: check for external definition for free().
408738494Sobrien
408838494Sobrien	* libamu/Makefile.am: add to comment a mention of strstr as an
408938494Sobrien	optional function.
409038494Sobrien
409138494Sobrien	* libamu/xutil.c (switch_to_logfile): use openlog() options only
409238494Sobrien	if they exist.
409338494Sobrien
409438494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): don't use
409538494Sobrien	clnt_spcreateerror if it does not exist.
409638494Sobrien
409738494Sobrien	* aux/configure.in: check for missing functions clnt_create and
409838494Sobrien	clnt_spcreateerror.  Check for missing strstr, and complete
409938494Sobrien	its code.  Check for missing external definition for strstr.
410038494Sobrien
410138494Sobrien	* aux/macros/host_macros.m4: normalize sun3* names.
410238494Sobrien
410338494Sobrien	* Makefile.am: updates for new sunos3 files distributed.
410438494Sobrien
410538494Sobrien	* conf/nfs_prot/nfs_prot_sunos3.h: new file.
410638494Sobrien
410738494Sobrien	* conf/fh_dref/fh_dref_sunos3.h: new file.
410838494Sobrien
410938494Sobrien	* aux/macros/check_nfs_prot_headers.m4: added sunos3 case.
411038494Sobrien
411138494Sobrien	* aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
411238494Sobrien
411338494Sobrien	* doc/am-utils.texi (wire Selector Variable): updated manual for
411438494Sobrien	adjusted variables wire, network, and netnumber, all using the
411538494Sobrien	in_network() function.
411638494Sobrien
411738494SobrienFri Dec 19 04:37:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
411838494Sobrien
411938494Sobrien	* amd/opts.c: allow options to be processed by executing arbitrary
412038494Sobrien	functions.  Converted wire, network, and netnumber all to use the
412138494Sobrien	nomadic function in_network.  So from now on they perform a match
412238494Sobrien	against all networks, not just primary.
412338494Sobrien
412438494Sobrien	* initial port to alpha-unknown-linux-gnu, probably works, but
412538494Sobrien	untested yet.
412638494Sobrien
412738494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: add special definitions for
412838494Sobrien	__FD_* macros which for som strange reason do not get included
412938494Sobrien	from <selectbits.h> on redhat alpha linux.  Also turn off usage of
413038494Sobrien	<rpc/des_auth.h> because it is incomplete on the same systems.
413138494Sobrien
413238494Sobrien	* hlfsd/homedir.c (table_add): cast uid field to int, for
413338494Sobrien	comparison.
413438494Sobrien
413538494Sobrien	* include/am_defs.h: more coflicts with redhat alpha linux
413638494Sobrien	"resolved".
413738494Sobrien
413838494Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
413938494Sobrien	There's a conflict of definitions on redhat alpha linux between
414038494Sobrien	<netinet/in.h> and <linux/fs.h> which must be avoided.
414138494Sobrien
414238494Sobrien	* aux/configure.in: check for <socketbits.h>, which is in use on
414338494Sobrien	redhat alpha linux.
414438494Sobrien
414538494Sobrien	* doc/am-utils.texi (Selectors): added documentation to describe
414638494Sobrien	the new "!" (negated) nomadic functions.
414738494Sobrien
414838494Sobrien	* amd/opts.c (f_in_network): print debugging info that is correct,
414938494Sobrien	rather than saying that any ARG is on a local network.
415038494Sobrien	(eval_opts): added support for negating nomadic functions, by
415138494Sobrien	prepending "!" to their name.  Example, !exists(/foo/bar).
415238494Sobrien
415338494SobrienThu Dec 18 20:57:19 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
415438494Sobrien
415538494Sobrien	* include/am_compat.h: ensure that all NFS3 systems have the mount
415638494Sobrien	table entries (and amd opts switches) "proto" and "vers".
415738494Sobrien
415838494Sobrien	* hlfsd/homedir.c (table_add): added some debugging info to try
415938494Sobrien	and track down a serious memory leak in hlfsd.
416038494Sobrien
416138494Sobrien1997-12-18  Erez Zadok  <ezk@t-rex.mcl.cs.columbia.edu>
416238494Sobrien
416338494Sobrien	* libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that
416438494Sobrien	you do NOT set the noconn option, and use connected sockets
416538494Sobrien	always.  So I'm now forced not to set it at all, and have the user
416638494Sobrien	specify it as "conn" or "noconn" in their /default entry.  Argh...
416738494Sobrien	Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
416838494Sobrien	buggy (TCP hangs with "short receive" kernel errors).  I'd better
416938494Sobrien	wait until they get it working in their version of the automounter
417038494Sobrien	first.  So I'm putting the "noconn" option back.
417138494Sobrien
417238494SobrienThu Dec 18 02:39:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
417338494Sobrien
417438494Sobrien	* libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set
417538494Sobrien	nfs_args field maxgrouplist accordingly.
417638494Sobrien
417738494Sobrien	* include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition
417838494Sobrien	for mount table entry for maxgroups based on NFS mount option
417938494Sobrien	maxgrp.
418038494Sobrien
418138494Sobrien	* aux/configure.in: put back testing for NFS mount option
418238494Sobrien	"maxgrps".  Added test for mount table entry "maxgroups".
418338494Sobrien
418438494Sobrien	* libamu/mount_fs.c (compute_nfs_args): perform more careful tests
418538494Sobrien	on nfs_proto, because it could be NULL.
418638494Sobrien
418738494Sobrien	* doc/am-utils.texi (Selectors): added example of in_network()
418838494Sobrien	selector.
418938494Sobrien
419038494Sobrien	* aux/macros/check_hide_mount_type.m4: all hpux versions,
419138494Sobrien	including 9.x, should use "ignore" as the mount type to hide from
419238494Sobrien	amd.
419338494Sobrien
419438494SobrienWed Dec 17 13:09:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
419538494Sobrien
419638494Sobrien	* include/am_utils.h (NSTREQ): use new macro instead of strncmp()
419738494Sobrien	every where in the sources.
419838494Sobrien
419938494SobrienWed Dec 17 01:15:01 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
420038494Sobrien
420138494Sobrien	* libamu/mount_fs.c (print_nfs_args): if -D trace is on, will
420238494Sobrien	print as much info that is given in struct nfs_args as possible.
420338494Sobrien	useful for detecting internal flags and options, as well as the
420438494Sobrien	file handle used.
420538494Sobrien
420638494Sobrien	* scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc
420738494Sobrien	after /etc and before /etc/local.
420838494Sobrien
420938494SobrienTue Dec 16 18:51:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
421038494Sobrien
421138494Sobrien	* aux/configure.in, libamu/Makefile.am: added support for linking
421238494Sobrien	with specific versions of libamu.  Upped shared library version of
421338494Sobrien	libamu to 1 (libamu.so.1.0.0)
421438494Sobrien
421538494Sobrien	* include/am_defs.h: added external definition for mkstemp() as
421638494Sobrien	needed.
421738494Sobrien
421838494Sobrien	* minor new port to i386-unknown-netbsd1.3 (BETA version of
421938494Sobrien	netbsd).
422038494Sobrien
422138494Sobrien	* aux/config.guess: don't leave a trailing '.' on the system name
422238494Sobrien	for NetBSD-1.3_BETA and similarly for OpenBSD.
422338494Sobrien
422438494Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
422538494Sobrien	differences in ypall calling conventions.
422638494Sobrien
422738494Sobrien	* mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible
422838494Sobrien	in preference over mktemp(), b/c it is more secure.
422938494Sobrien
423038494Sobrien	* aux/configure.in: check for mkstemp(), a more secure version of
423138494Sobrien	mktemp().
423238494Sobrien
423338494SobrienMon Dec 15 02:32:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
423438494Sobrien
423538494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
423638494Sobrien	table "vers" option generally do not set the mnttab entry to
423738494Sobrien	"nfs3", but to "nfs" and then they set "vers=3".  Setting it to
423838494Sobrien	"nfs3" works, but it may break some things like "df -t nfs" and
423938494Sobrien	the "quota" program (esp. on Solaris and Irix).  So on those
424038494Sobrien	systems, set it to "nfs".
424138494Sobrien
424238494SobrienSat Dec 13 01:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
424338494Sobrien
424438494Sobrien	* doc/am-utils.texi (Distrib): updates for new ports, location of
424538494Sobrien	am-utils' home page, and URL cross references (now supported by my
424638494Sobrien	version of texi2html).
424738494Sobrien
424838494Sobrien	* aux/macros/check_mtype_type.m4: also use string type for file
424938494Sobrien	system mount types under nextstep for mount(2).
425038494Sobrien
425138494Sobrien	* aux/macros/check_mtype_printf_type.m4}: nextstep can handle both
425238494Sobrien	integer and string types for file system mount types in mount(2),
425338494Sobrien	but it is better to use string types.
425438494Sobrien
425538494Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to
425638494Sobrien	0, not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
425738494Sobrien	(EPERM) instead of 0 (OK).  Fixes m68k-next-nextstep3 which now
425838494Sobrien	works.
425938494Sobrien
426038494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0,
426138494Sobrien	not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
426238494Sobrien	(EPERM) instead of 0 (OK).
426338494Sobrien
426438494Sobrien	* libamu/xdr_func.c (xdr_*): add debugging calls that are optioned
426538494Sobrien	by -D trace (protocol trace).
426638494Sobrien
426738494Sobrien1997-12-11  Erez Zadok  <ezk@bach.cs.columbia.edu>
426838494Sobrien
426938494Sobrien	* A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR
427038494Sobrien	macro based on existence on others, and include <sys/stat.h>.
427138494Sobrien
427238494SobrienThu Dec 11 14:14:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
427338494Sobrien
427438494Sobrien	* aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off
427538494Sobrien	inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
427638494Sobrien	which this header is broken (it tries to include non-existing
427738494Sobrien	headers).
427838494Sobrien
427938494SobrienWed Dec 10 16:09:07 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
428038494Sobrien
428138494Sobrien	* libamu/mount_fs.c (mnt_flags): support either nfs or generic
428238494Sobrien	mount option for grpid.
428338494Sobrien
428438494Sobrien	* aux/configure.in: turn back on NFS mount option grpid.
428538494Sobrien
428638494SobrienSat Dec  6 04:36:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
428738494Sobrien
428838494Sobrien	* doc/Makefile.am (install-ps): added target to install postscript
428938494Sobrien	file in the am-utils' home page, as well as a few other useful
429038494Sobrien	files for the new am-utils Web page.
429138494Sobrien
429238494SobrienMon Nov 17 05:22:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
429338494Sobrien
429438494Sobrien	*******************************************************************
429538494Sobrien	*** Released am-utils-6.0a14					***
429638494Sobrien	*******************************************************************
429738494Sobrien
429838494SobrienSun Nov 16 21:56:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
429938494Sobrien
430038494Sobrien	* doc/am-utils.texi (Supported Platforms): updated table of new
430138494Sobrien	ports.
430238494Sobrien
430338494SobrienSat Nov 15 06:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
430438494Sobrien
430538494Sobrien	* libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab
430638494Sobrien	options so that they can be printed in logs as needed.
430738494Sobrien
430838494Sobrien	* doc/am-utils.texi (osver Parameter): updated for the correct
430938494Sobrien	usage of the -o/-O options.
431038494Sobrien
431138494Sobrien	* scripts/amd.conf.5: corrected info for -o/-O options.
431238494Sobrien
431338494Sobrien	* amd/amd.8: updated man page for new -O op_sys_name option, and
431438494Sobrien	corrected the usage of the -o op_sys_ver option
431538494Sobrien
431638494Sobrien	* amd/get_args.c (get_args): added new amd option -O to override
431738494Sobrien	OS name.
431838494Sobrien	(get_args): updated usage string.  Removed old -m option.  Added
431938494Sobrien	-o and -O options.
432038494Sobrien
432138494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case
432238494Sobrien	it is not there.  Reportedly, irix 5.2 does not define it.
432338494Sobrien
432438494Sobrien	* scripts/lostaltmail.in: removed references to unused $hack
432538494Sobrien	variable.
432638494Sobrien
432738494Sobrien	* aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf
432838494Sobrien	<metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
432938494Sobrien	for solaris2.5.
433038494Sobrien
433138494Sobrien	* doc/am-utils.texi (Distrib): typo in the subscription
433238494Sobrien	instructions to amd-dev.  Patch from Stefan Vogel
433338494Sobrien	<vogel@physik-rzu.unizh.ch>.
433438494Sobrien
433538494Sobrien1997-11-15  Erez Zadok  <ezk@amtrak.cs.columbia.edu>
433638494Sobrien
433738494Sobrien	* NFS3 works on powerpc-ibm-aix4.2.1.0.
433838494Sobrien
433938494Sobrien	* libamu/mount_fs.c (compute_nfs_args): set fh3 variable to
434038494Sobrien	static.  Some compilers (gcc from egcs  on aix 4.2.1) corrupt the
434138494Sobrien	stack of an automatic variable when pointer to it is passed around
434238494Sobrien	several times.
434338494Sobrien
434438494SobrienFri Nov 14 20:09:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
434538494Sobrien
434638494Sobrien	* libamu/xutil.c (real_plog): syslog like behavior for normal
434738494Sobrien	logging.  Will not print repeated strings, only a count "last
434838494Sobrien	message repeated N times", but will always print something if
434938494Sobrien	message is repeated more than 100 times.
435038494Sobrien
435138494Sobrien	* scripts/lostaltmail.in: look for lostaltmail.conf files also in
435238494Sobrien	/etc/global, /etc/os, and /etc/local (in that order).
435338494Sobrien
435438494SobrienMon Nov 10 03:03:17 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
435538494Sobrien
435638494Sobrien	* conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3
435738494Sobrien	mounts.
435838494Sobrien
435938494Sobrien	* aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for
436038494Sobrien	aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h
436138494Sobrien
436238494Sobrien	* conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the
436338494Sobrien	NFS_SA_DREF macro is a pointer to the structure that used to be
436438494Sobrien	passed to it before.  So now I have to dereference the pointer
436538494Sobrien	before accessing its values.
436638494Sobrien
436738494Sobrien	* hlfsd/hlfsd.c (main): use the new and cleaner
436838494Sobrien	compute_nfs_args() and compute_automounter_nfs_args() functions.
436938494Sobrien
437038494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner
437138494Sobrien	compute_nfs_args() and compute_automounter_nfs_args() functions.
437238494Sobrien
437338494Sobrien	* amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION.  Use the new
437438494Sobrien	and cleaner compute_nfs_args() and compute_automounter_nfs_args()
437538494Sobrien	functions.
437638494Sobrien
437738494Sobrien	* libamu/mount_fs.c (compute_nfs_args): major code cleanup that
437838494Sobrien	relates for struct nfs_args.  A new function sets the numerous
437938494Sobrien	possible flags and fields of nfs_args_t in an orderly fashion.
438038494Sobrien	Code cleaned up, organized, and moved from amd/hlfsd into
438138494Sobrien	libamu.  This saves on overall size of code.
438238494Sobrien	(compute_automounter_nfs_args): A variant of compute_nfs_args()
438338494Sobrien	which sets special options/flags that need to be used when NFS
438438494Sobrien	mounting an automounter's mount point.  Used by hlfsd and amd.
438538494Sobrien
438638494Sobrien	* amq/amq.c (get_secure_amd_client): don't print any more
438738494Sobrien	"get_secure_amd_client: using TCP, port 12345".  It's more
438838494Sobrien	annoying than useful a message, even when assumed to be compiled
438938494Sobrien	under DEBUG only.
439038494Sobrien
439138494SobrienThu Oct 30 14:33:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
439238494Sobrien
439338494Sobrien	* aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs
439438494Sobrien	mount table entries.  The code used to define the /etc/mnttab name
439538494Sobrien	for file systems based on physical media (disk, cdrom, floppy) to
439638494Sobrien	the generic name, rather than the OS specific name.  For example
439738494Sobrien	autoconf searches for all these types of mount table entries for a
439838494Sobrien	floppy based file system: vfat pcfs pc msdos msdosfs fat.  But if
439938494Sobrien	it found any, it hard-coded the mnttab name to "pcfs" rather than
440038494Sobrien	the actual name found!  Same for ufs, cdfs, pcfs, tmpfs, lofs,
440138494Sobrien	nullfs, unionfs, and umapfs.
440238494Sobrien
440338494Sobrien	* aux/configure.in: also test for xfs (for newer Irix) when
440438494Sobrien	looking for mount type names, numbers, etc of a disk-based ufs.
440538494Sobrien
440638494SobrienSun Oct 26 19:32:57 1997  Erez Zadok  <ezk@defiant.soscorp.com>
440738494Sobrien
440838494Sobrien	* amq/amq.c (main): use pmap_ping() to test if remote host is up.
440938494Sobrien	This works better on bsdi2 and bsdi3, because their portmapper
441038494Sobrien	does not appear to like forwarding operations (it is generaly
441138494Sobrien	insecure).
441238494Sobrien
441338494SobrienSat Oct 25 04:55:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
441438494Sobrien
441538494Sobrien	*******************************************************************
441638494Sobrien	*** Released am-utils-6.0a13					***
441738494Sobrien	*******************************************************************
441838494Sobrien
441938494SobrienFri Oct 24 05:04:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
442038494Sobrien
442138494Sobrien	* conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for
442238494Sobrien	struct datum typedef.
442338494Sobrien
442438494Sobrien	* conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for
442538494Sobrien	ypall_callback_fxn_t for netbsd.
442638494Sobrien
442738494Sobrien	* aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for
442838494Sobrien	the 5th arg to authunix_create(), while before and after they used
442938494Sobrien	gid_t.
443038494Sobrien
443138494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
443238494Sobrien	clnt_create_timed() on older Solaris 2.3 systems that did not have
443338494Sobrien	it.
443438494Sobrien
443538494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for
443638494Sobrien	kernel only on bsdi2, so do not include it.
443738494Sobrien
443838494SobrienFri Oct 24 00:29:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
443938494Sobrien
444038494Sobrien	* hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated
444138494Sobrien	messages about resolution of mailboxes based on uid/gid.
444238494Sobrien
444338494Sobrien	* scripts/ctl-hlfsd.in: check for alternate password file in
444438494Sobrien	${prefix}/etc/passwd and use it in hlfsd's startup.
444538494Sobrien
444638494SobrienThu Oct 23 22:48:50 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
444738494Sobrien
444838494Sobrien	* hlfsd/homedir.c (hlfsd_getpwent): added support for -P
444938494Sobrien	passwdfile option.  If hlfsd is started with -P passwdfile, then
445038494Sobrien	the passwdfile is read and parsed just as a standard unix
445138494Sobrien	passwd(4) file.  Only the username, uid, and homedir fields are
445238494Sobrien	read and checked.  All the rest are ignored.  No NIS/netgroup
445338494Sobrien	support!
445438494Sobrien
445538494Sobrien	* hlfsd/hlfsd.c (main): check if hlfsd is run as root after
445638494Sobrien	parsing command line options, so that usage() can be printed when
445738494Sobrien	-h is invoked.
445838494Sobrien
445938494SobrienWed Oct 22 00:16:39 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
446038494Sobrien
446138494Sobrien	* amd/nfs_start.c (mount_automounter): if autofs service listener
446238494Sobrien	fails to initialize it is OK if using a test amd.
446338494Sobrien
446438494Sobrien	* amd/opts.c (f_in_network): new nomadic function in_network(arg),
446538494Sobrien	which returns TRUE if 'arg' is any one of this host's networks.
446638494Sobrien
446738494Sobrien	* libamu/wire.c (getwire): rewritten parts of function, to store
446838494Sobrien	all networks names and numbers in the order of the interface (not
446938494Sobrien	in reverse).
447038494Sobrien
447138494SobrienMon Oct 20 01:59:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
447238494Sobrien
447338494Sobrien	* aux/configure.in: don't add ops_ufs.o on AIX twice.  My code
447438494Sobrien	would have worked had it not been due to AIX's buggy /bin/sh.
447538494Sobrien
447638494Sobrien	* doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
447738494Sobrien	am-utils.ps in the distribution sources.
447838494Sobrien	(html): generate html documentation for
447982794Sobrien	http://www.am-utils.org
448038494Sobrien
448138494SobrienSun Oct 19 12:35:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
448238494Sobrien
448338494Sobrien	* conf/nfs_prot/nfs_prot_netbsd.h: override the definition of
448438494Sobrien	ypall_callback_fxn_t.  The NetBSD team compiles all sources with
448538494Sobrien	gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
448638494Sobrien
448738494Sobrien	* amd/info_nis.c: allow for override of ypall_callback_fxn_t
448838494Sobrien	function typedef.
448938494Sobrien
449038494Sobrien	* libamu/xutil.c (amu_release_controlling_tty): new function to
449138494Sobrien	release the controlling tty in a clean and sane manner.  No longer
449238494Sobrien	using setpgid() b/c it may not work.  Uses setsid(),
449338494Sobrien	and ioctl() (in order).  This new function is used in amd/amd.c
449438494Sobrien	and hlfsd/hlfsd.c.  Also avoid setpgrp(), because it works on some
449538494Sobrien	systems, but on others it is the same as setpgid().
449638494Sobrien
449738494SobrienSat Oct 18 23:42:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
449838494Sobrien
449938494Sobrien	* aux/acconfig.h: check for nfs mount option 'fsname'.  Code for
450038494Sobrien	it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but
450138494Sobrien	never used, because the configure test for fsname flag wasn't
450238494Sobrien	used.  This fixed a bug in HPUX 10, where syncer and manual mounts
450338494Sobrien	left blank lines in /etc/mnttab.
450438494Sobrien
450538494Sobrien	* aux/configure.in: check for nfs mount option 'fsname'.
450638494Sobrien
450738494SobrienFri Oct 17 13:30:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
450838494Sobrien
450938494Sobrien	* amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
451038494Sobrien	mount flags of toplvl mounts.  Important esp. for HPUX 10.  Now
451138494Sobrien	hpux-10 will mount amd's mounts points as 'ignore' (by df).
451238494Sobrien
451338494Sobrien	* aux/configure.in: check for NFS mount option 'ignore', useful in
451438494Sobrien	HPUX 10.
451538494Sobrien
451638494SobrienThu Oct 16 03:28:33 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
451738494Sobrien
451838494Sobrien	* aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
451938494Sobrien	mount type and not NFS, for the amd mount points.
452038494Sobrien
452138494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
452238494Sobrien	an RPC timeout as an error, but just an info message.  From
452338494Sobrien	Andreas Stolcke <stolcke@speech.sri.com>
452438494Sobrien
452538494Sobrien	* If the NFS server is down or does not support the portmapper
452638494Sobrien	call (such as certain Novell NFS servers) we mark it as version 2
452738494Sobrien	and we let the nfs code deal with the case that is down.  If when
452838494Sobrien	the server comes back up, it can support NFS V.3 and/or TCP, it
452938494Sobrien	will use those.  From christos@deshaw.com (Christos Zoulas).
453038494Sobrien
453138494Sobrien	* hlfsd/homedir.c (plt_print): various compile time cleanups to
453238494Sobrien	printfs that take a long, but pass an int to print.  From
453338494Sobrien	christos@deshaw.com (Christos Zoulas).
453438494Sobrien
453538494Sobrien	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
453638494Sobrien	macro to determine if the OS has a bad yp_all(), based on the host
453738494Sobrien	OS name.  So far only irix (all versions) have a bad yp_all, so
453838494Sobrien	they will use am_yp_all() instead (which is slower as it
453938494Sobrien	enumerates manually all of the map's entries).
454038494Sobrien
454138494SobrienThu Oct 16 03:14:37 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
454238494Sobrien
454338494Sobrien	* amd/info_nis.c (am_yp_all): code for a replacement yp_all that
454438494Sobrien	avoids using a file-descriptor leaking yp_all() on some systems
454538494Sobrien	like irix.
454638494Sobrien
454738494SobrienWed Oct 15 21:52:35 1997  Erez Zadok  <ezk>
454838494Sobrien
454938494Sobrien	* fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
455038494Sobrien	systems using /usr/bin/flex.
455138494Sobrien
455238494Sobrien	* amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
455338494Sobrien	that have a modified GNU flex which does define yywrap (DU-4.x).
455438494Sobrien
455538494SobrienFri Sep 26 14:25:29 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
455638494Sobrien
455738494Sobrien	* conf/checkmount/checkmount_bsd44.c: include prototype.
455851292Sobrien
455951292SobrienFri Sep 26 01:26:24 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
456051292Sobrien
456151292Sobrien	*******************************************************************
456251292Sobrien	*** Released am-utils-6.0a12					***
456351292Sobrien	*******************************************************************
456451292Sobrien
456551292SobrienFri Sep 26 00:13:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
456651292Sobrien
456751292Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
456851292Sobrien	code in irix6 until it can be tested correctly
456951292Sobrien
457051292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
457151292Sobrien	on clnt_create for 3 seconds, rather than wait for the much longer
457251292Sobrien	default.
457351292Sobrien
457451292Sobrien	* conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
457551292Sobrien	Includes NFS3, untested.
457651292Sobrien
457751292SobrienThu Sep 25 11:03:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
457851292Sobrien
457951292Sobrien	* amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
458051292Sobrien	pcfs_args_t if they exist.
458151292Sobrien
458251292Sobrien	* amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
458351292Sobrien	cdfs_args_t if it exists.
458451292Sobrien
458551292Sobrien	* new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
458651292Sobrien	hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
458751292Sobrien
458851292SobrienWed Sep 24 00:48:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
458951292Sobrien
459051292Sobrien	* doc/am-utils.texi (wire-test): updated documentation for the new
459151292Sobrien	option.
459251292Sobrien
459351292Sobrien	* wire-test/wire-test.8: updated man page for new option.
459451292Sobrien
459551292Sobrien	* wire-test/wire-test.c (main): added a test for various
459651292Sobrien	combinations of NFS proto/vers to a remote/local host.
459751292Sobrien
459851292Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
459951292Sobrien	<isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
460051292Sobrien	freebsd will correctly set mount options for pcfs and cdfs.
460151292Sobrien
460251292Sobrien	* amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
460351292Sobrien	0777 (if field exists).
460451292Sobrien
460551292Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
460651292Sobrien	<msdosfs/msdosfsmount.h> if available.
460751292Sobrien
460851292Sobrien	* minor new port: rs6000-ibm-aix4.1.4.0.
460951292Sobrien
461051292Sobrien	* libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
461151292Sobrien	write the "time" field in /etc/mnttab.
461251292Sobrien
461351292Sobrien	* conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
461451292Sobrien	detecting mnt_time field of mntent_t.
461551292Sobrien
461651292Sobrien	* libamu/mtab.c (mnt_free): fixed typo in macro names for
461751292Sobrien	detecting mnt_time field of mntent_t.
461851292Sobrien
461951292SobrienTue Sep 23 15:30:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
462051292Sobrien
462151292Sobrien	* conf/mtab/mtab_file.c (lock): Use flock() in preference over
462251292Sobrien	fcntl() to lock the mtab file.
462351292Sobrien
462451292SobrienMon Sep 22 23:04:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
462551292Sobrien
462651292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): define
462751292Sobrien	the try_again goto label only for NFS3.
462851292Sobrien	(pmap_ping): assume timeout failure of clnt_stat.
462951292Sobrien
463051292Sobrien	* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
463151292Sobrien	"groups *".
463251292Sobrien
463351292SobrienMon Sep 22 20:34:33 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
463451292Sobrien
463551292Sobrien	* conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
463651292Sobrien	<dsr@mail.lns.cornell.edu> to make sure that amd works with more
463751292Sobrien	secure portmappers that do not allow forwarding of RPC messages to
463851292Sobrien	other services.
463951292Sobrien
464051292Sobrien	* */Makefile.am: all source files should also depend on the new
464151292Sobrien	include/am_xdr_func.h header.
464251292Sobrien
464351292Sobrien	* include/am_xdr_func.h: new file as part of the code cleanup from
464451292Sobrien	Christos Zoulas <christos@deshaw.com>.
464551292Sobrien
464651292Sobrien	* Lots of fixes from Christos Zoulas <christos@deshaw.com> that
464751292Sobrien	involved missing prototypes, cleaned up ones, and removal of
464851292Sobrien	unused variables.
464951292Sobrien
465051292Sobrien	* libamu/xdr_func.c (xdr_mountres3): some code cleanup.  A switch
465151292Sobrien	statement with only one case is unclean.
465251292Sobrien
465351292SobrienMon Sep 22 17:26:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
465451292Sobrien
465551292Sobrien	* amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
465651292Sobrien	0 so that all fields are initialized to zero at first.  This way
465751292Sobrien	SunOS 4.x and other systems don't get /etc/mtab entries with
465851292Sobrien	random integers for the fsck/freq fields. Patch from Andreas
465951292Sobrien	Stolcke <stolcke@speech.sri.com>.
466051292Sobrien
466151292SobrienMon Sep 22 00:34:19 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
466251292Sobrien
466351292Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
466451292Sobrien	that the important definition for HOSTNAMESZ will be found.
466551292Sobrien
466651292Sobrien	* amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
466751292Sobrien	(inside the nfs_args structure) if the system uses that macro.
466851292Sobrien	Otherwise systems like SunOS refuse to NFS mount long pathnames
466951292Sobrien	and result in ENAMETOOLONG errno's.
467051292Sobrien
467151292SobrienWed Sep 17 04:56:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
467251292Sobrien
467351292Sobrien	* doc/am-utils.texi (Supported Platforms): specify new support for
467451292Sobrien	solaris 2.6, and hlfsd running on 2.5.1 too.
467551292Sobrien
467651292SobrienWed Sep 17 03:55:02 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
467751292Sobrien
467851292Sobrien	* conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
467951292Sobrien	mount if it is not supported or was turned off.
468051292Sobrien
468151292SobrienWed Sep 17 03:19:36 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
468251292Sobrien
468351292Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
468451292Sobrien	again.  Apparently at some previous release SunOS 4 supported was
468551292Sobrien	broken and all nfs mounts resulted in ESTALE.
468651292Sobrien
468751292SobrienWed Sep 17 00:26:25 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
468851292Sobrien
468951292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
469051292Sobrien	solaris 2.6.
469151292Sobrien
469251292Sobrien	* aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
469351292Sobrien	protocol header selection.
469451292Sobrien
469551292SobrienSat Sep 13 14:31:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
469651292Sobrien
469751292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
469851292Sobrien	infinite loop.
469951292Sobrien
470051292SobrienSun Sep  7 18:23:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
470151292Sobrien
470251292Sobrien	*******************************************************************
470351292Sobrien	*** Released am-utils-6.0a11					***
470451292Sobrien	*******************************************************************
470551292Sobrien
470651292SobrienFri Sep  5 11:55:10 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
470751292Sobrien
470851292Sobrien	* amd/amd.c (main): if plock() succeeded, don't try to display
470951292Sobrien	errno message.   Patch from Chris Metcalf
471051292Sobrien	<metcalf@catfish.lcs.mit.edu.
471151292Sobrien
471251292SobrienThu Sep  4 19:17:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
471351292Sobrien
471451292Sobrien	* hlfsd/homedir.c (table_add): make sure duplicate passwd entries
471551292Sobrien	are ignored.   Only the first entry should ever be used, because
471651292Sobrien	that's how lookup in passwd database works.
471751292Sobrien
471851292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): when determining
471951292Sobrien	if a remote host is up or down, use NFS v.2.  Fix suggested by
472051292Sobrien	Enami Tsugutomo <enami@cv.sony.co.jp>.
472151292Sobrien
472251292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
472351292Sobrien	function to get the best possible NFS version, but also timeout
472451292Sobrien	faster than normal defaults, so remote hosts which are down can be
472551292Sobrien	detected in a reasonable time.
472651292Sobrien	(get_nfs_version): use the new "best" function.
472751292Sobrien
472851292SobrienTue Sep  2 00:41:00 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
472951292Sobrien
473051292Sobrien	*******************************************************************
473151292Sobrien	*** Released am-utils-6.0a10					***
473251292Sobrien	*******************************************************************
473351292Sobrien
473451292SobrienMon Sep  1 15:39:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
473551292Sobrien
473651292Sobrien	* conf/transp/transp_tli.c (get_nfs_version): don't use
473751292Sobrien	clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
473851292Sobrien	and earlier).
473951292Sobrien
474051292Sobrien	* aux/configure.in: test for existence of clnt_tp_create_timed(),
474151292Sobrien	since Solaris 2.4 (and possibly earlier) do not have it.
474251292Sobrien
474351292SobrienMon Sep  1 15:23:18 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
474451292Sobrien
474551292Sobrien	* amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
474651292Sobrien	field if it exists (solaris 2.4's autofs does not have it).
474751292Sobrien
474851292SobrienMon Sep  1 14:45:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
474951292Sobrien
475051292Sobrien	* aux/macros/type_auth_create_gidlist.m4: a new test to determine
475151292Sobrien	the correct type to the 5th argument of authunix_create().
475251292Sobrien
475351292SobrienMon Sep  1 03:44:32 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
475451292Sobrien
475551292Sobrien	* libamu/xdr_func.c (xdr_umntrequest): add test for autofs
475651292Sobrien	structure umntrequest, if it has the field rdevid.  Seems Solaris
475751292Sobrien	2.4 and earlier didn't have it.
475851292Sobrien
475951292SobrienMon Sep  1 01:10:53 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
476051292Sobrien
476151292Sobrien	* hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
476251292Sobrien	can be done before primary process forks.
476351292Sobrien	(main): bug fix: wait a bit to give child a chance to initialize.
476451292Sobrien	Without this, hlfsd got into a busy infinite loop while, never
476551292Sobrien	completing the mount.
476651292Sobrien
476751292Sobrien	* amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
476851292Sobrien	to make amd works when talking to NIS+ servers in NIS
476951292Sobrien	compatibility mode.
477051292Sobrien
477151292SobrienMon Sep  1 00:46:56 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
477251292Sobrien
477351292Sobrien	* amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
477451292Sobrien
477551292SobrienSun Aug 31 20:20:40 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
477651292Sobrien
477751292Sobrien	* amd/conf.c (gopt_fully_qualified_hosts): a new function to
477851292Sobrien	process another new global variable.
477951292Sobrien
478051292Sobrien	* amd/ops_nfs.c (make_nfs_auth): if a new global variable
478151292Sobrien	fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
478251292Sobrien	Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
478351292Sobrien
478451292Sobrien	* amd/conf.c (process_last_regular_map): If the amd.conf file only
478551292Sobrien	has a [global] section (pretty useless IMHO), do not try to
478651292Sobrien	process a map that does not exist.
478751292Sobrien
478851292Sobrien	* scripts/amd.conf.5: fixed typos (repeated 'as' word).
478951292Sobrien
479051292Sobrien	* doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
479151292Sobrien
479251292Sobrien	* amd/conf.c (reset_cf_map): Bug fix.  Reset 'tag' field of cfm
479351292Sobrien	structure, so it does not carry over from map entry to another.
479451292Sobrien
479551292SobrienSat Aug 30 18:39:21 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
479651292Sobrien
479751292Sobrien	* amd/amd.c (main): fixed the meaning of the plock option.  A bug
479851292Sobrien	caused it to be reversed.
479951292Sobrien
480051292SobrienSat Aug 30 15:13:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
480151292Sobrien
480251292Sobrien	* hlfsd/stubs.c: don't initialize some statics here.  They are
480351292Sobrien	better initialized in hlfsd_init_filehandles().
480451292Sobrien
480551292SobrienFri Aug 22 14:47:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
480651292Sobrien
480751292Sobrien	* amd/conf.c (gopt_show_statfs_entries): new function and a global
480851292Sobrien	amd.conf key show_statfs_entries.  Defaults to 'no'.  If 'yes',
480951292Sobrien	then all maps flagged as browsable will also show a count of the
481051292Sobrien	number of entries (keys) in that map.
481151292Sobrien
481251292Sobrien	* amd/nfs_subr.c (count_map_entries): new function to count number
481351292Sobrien	of entries in a map.  Now used if browsable is turned on in a map,
481451292Sobrien	to return a count of available keys in a given map.
481551292Sobrien
481651292Sobrien	* hlfsd/stubs.c (eq_fh): use correct memcmp().  BUG fixed! hlfsd
481751292Sobrien	confused the file handles for ".", "..", and the symlink, causing
481851292Sobrien	mess.
481951292Sobrien
482051292Sobrien	* aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
482151292Sobrien	but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
482251292Sobrien	with bad memcmp() in libc's (nextstep3).
482351292Sobrien
482451292SobrienThu Aug 21 17:38:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
482551292Sobrien
482651292Sobrien	* aux/configure.in: check if autofs_args_t has a field named
482751292Sobrien	addr.  Solaris has it for specifying the address of the daemon,
482851292Sobrien	but Irix does not.  So how does irix tell the kernel the daemon's
482951292Sobrien	address?  I suspect that it is hardcoded to "localhost" using a
483051292Sobrien	"private well-known port" (#define AUTOFS_PORT 2048).
483151292Sobrien
483251292Sobrien	* conf/nfs_prot/nfs_prot_linux.h: added missing autofs
483351292Sobrien	definitions.
483451292Sobrien
483551292Sobrien	* README.autofs: new file listing autofs support notes
483651292Sobrien
483751292Sobrien	* very preliminary autofs code working.  Call it pre-alpha
483851292Sobrien	quality.
483951292Sobrien
484051292SobrienSun Aug 17 02:25:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
484151292Sobrien
484251292Sobrien	* amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
484351292Sobrien	"autofs" if system does not support it.
484451292Sobrien
484551292Sobrien	* amd/amd.c (main): log am-utils version string (same as amd -v)
484651292Sobrien	at start of run.
484751292Sobrien
484851292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): in order to tell
484951292Sobrien	if a remote host is available, try to contact its portmapper and
485051292Sobrien	timeout if no answer is received in 3 seconds.
485151292Sobrien
485251292SobrienThu Aug 14 16:12:04 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
485351292Sobrien
485451292Sobrien	* aux/macros/check_extern.m4 (pattern): use a simpler pattern for
485551292Sobrien	match for external function definitions.  The function could span
485651292Sobrien	multiple lines, so only match the opening parenthesis, not the
485751292Sobrien	closing one too.
485851292Sobrien
485951292Sobrien	* aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
486051292Sobrien	posix mode for nextstep3.  It is broken.
486151292Sobrien
486251292Sobrien	* amd/amd.c (init_global_options): run uname() only if
486351292Sobrien	<sys/utsname.h> and uname(2) exist.
486451292Sobrien
486551292Sobrien	* amd/rpc_fwd.c (fwd_packet): if remote host is down, the
486651292Sobrien	forwarding socket is null, so declare this an error.
486751292Sobrien
486851292Sobrien	* include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
486951292Sobrien	for when a remote host is down.  Try, in order, "host down", "host
487051292Sobrien	unreachable", "invalid argument".
487151292Sobrien
487251292Sobrien	* amd/ops_nfs.c (discard_fh): don't dereference a null pointer
487351292Sobrien	(happens when remote host is down, and fp->fh_fs is NULL).
487451292Sobrien	(prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
487551292Sobrien	and FSF_DOWN.
487651292Sobrien
487751292Sobrien	* amd/sched.c: nobody uses "union wait" any more, or so it
487851292Sobrien	appears, so clean up that code.
487951292Sobrien
488051292Sobrien	* conf/transp/transp_tli.c (get_nfs_version): if remote host is
488151292Sobrien	down, time it out faster than default (3 seconds).
488251292Sobrien	(get_mount_client): free netconfig entry when done with it.
488351292Sobrien
488451292Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
488551292Sobrien	port to nextstep3 (m68k-next-nextstep3).
488651292Sobrien
488751292Sobrien	* fsinfo/Makefile.am (LDADD): needs to link with libamu in case
488851292Sobrien	system does not have strdup().
488951292Sobrien
489051292Sobrien	* include/am_defs.h: complete external definition for getlogin()
489151292Sobrien	if needed.
489251292Sobrien
489351292Sobrien	* conf/transp/transp_tli.c (get_nfs_version): no need to keep
489451292Sobrien	static versout variable.
489551292Sobrien
489651292Sobrien	* amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
489751292Sobrien	server is probably down.  Don't use sendto() in that case.
489851292Sobrien
489951292Sobrien	* buildall (default): run gmake if found, before trying plain
490051292Sobrien	make.  GNU make is always preferable.
490151292Sobrien
490251292SobrienTue Aug 12 21:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
490351292Sobrien
490451292Sobrien	* aux/macros/host_macros.m4: cleanup of os_version and os
490551292Sobrien	overrides.  Solaris 2.5.1 for example will come up as solaris2 and
490651292Sobrien	2.5.1, rather than sunos5 and 5.5.1.  Both can be overridden in
490751292Sobrien	the amd.conf file.
490851292Sobrien
490951292SobrienFri Aug  8 14:37:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
491051292Sobrien
491151292Sobrien	*******************************************************************
491251292Sobrien	*** Released am-utils-6.0a9					***
491351292Sobrien	*******************************************************************
491451292Sobrien
491551292SobrienThu Aug  7 00:52:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
491651292Sobrien
491751292Sobrien	* conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
491851292Sobrien	(i486-ncr-sysv4.3.03) headers.  Needed to complete missing stuff
491951292Sobrien	from <ndbm.h> and <sys/resource.h>.
492051292Sobrien
492151292Sobrien	* scripts/amd.conf.5: new map page.
492251292Sobrien
492351292Sobrien	* amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
492451292Sobrien	does not.
492551292Sobrien
492651292Sobrien	* amd/amd.8: updated man page.
492751292Sobrien
492851292Sobrien	* amd/get_args.c (get_args): removed defunct -h option to amd.
492951292Sobrien
493051292Sobrien	* amq/amq.8: updated man page.
493151292Sobrien
493251292Sobrien	* amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
493351292Sobrien	SparcCompiler CC won't complain.
493451292Sobrien
493551292Sobrien	* amd/info_hesiod.c (hesiod_search): small fixes to compile with
493651292Sobrien	hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
493751292Sobrien
493851292Sobrien	* aux/macros/opt_ldflags.m4: new option added to configure
493951292Sobrien	--enable-ldflags, to specify -L option for configuring/compiling.
494051292Sobrien	The older one --enable-libs is now to be used only for -l options.
494151292Sobrien
494251292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): bug fixed.  Should initialize
494351292Sobrien	nc_protoname from nfs_proto if available for all TLI systems, not
494451292Sobrien	just those that have NFS V3.
494551292Sobrien
494651292Sobrien	* amd/info_ldap.c: ldap patches from Leif Johansson
494751292Sobrien	<leifj@matematik.su.se>, adding two new amd.conf ldap variables:
494851292Sobrien	ldap_cache_seconds and ldap_cache_maxmem.
494951292Sobrien
495051292Sobrien	* hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
495151292Sobrien	htons().
495251292Sobrien
495351292SobrienSun Aug  3 17:20:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
495451292Sobrien
495551292Sobrien	* amd/nfs_start.c (mount_automounter): register amd with the rpc
495651292Sobrien	program number that may have been overridden by amd.conf.
495751292Sobrien
495851292Sobrien	* libamu/xutil.c (set_amd_program_number, get_amd_program_number):
495951292Sobrien	allow storing and retrieving alternate amd program numbers.
496051292Sobrien
496151292Sobrien	* amd/conf.c (gopt_portmap_program): new function to parse
496251292Sobrien	amd.conf entry portmap_program=1234.
496351292Sobrien
496451292Sobrien	* amq/amq.c (main): allow specifying an alternate rpc program
496551292Sobrien	number for amd via -P prognum.
496651292Sobrien
496751292Sobrien	* new amq RPC to get the process id of the running amd.  This is
496851292Sobrien	used in ctl-amd to quickly find the pid of the amd that is to be
496951292Sobrien	killed.
497051292Sobrien
497151292Sobrien	* expanded shared libraries support.  Using GNU libtool-1.0,
497251292Sobrien	am-utils now builds shared libraries on many platforms that have
497351292Sobrien	support for it and proper compilers/linkers.  See "INSTALL" file
497451292Sobrien	for compatibility chart.
497551292Sobrien
497651292SobrienThu Jul 31 13:07:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
497751292Sobrien
497851292Sobrien	* fsinfo/fsi_lex.l: removed code that was in support of very old
497951292Sobrien	versions of flex.  No longer needed.
498051292Sobrien
498151292SobrienTue Jul 29 12:00:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
498251292Sobrien
498351292Sobrien	* amd/amd.c (init_global_options): find the kernel architecture
498451292Sobrien	from uname() if possible.
498551292Sobrien
498651292SobrienMon Jul 28 03:53:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
498751292Sobrien
498851292Sobrien	* new working port: i386-unknown-openbsd2.1
498951292Sobrien
499051292SobrienFri Jul 25 03:16:31 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
499151292Sobrien
499251292Sobrien	* working port: sparc-sun-solaris2.4.  Had to fix fhandle_t from
499351292Sobrien	structure to actual char[], because the structure was passed to
499451292Sobrien	xdr_fhandle as data and not a pointer.  Surprisingly, gcc
499551292Sobrien	-fpcc-struct-return did not help.
499651292Sobrien	
499751292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
499851292Sobrien	definitions for solaris 2.4 have to be different from 2.3, and
499951292Sobrien	different from 2.5.
500051292Sobrien
500151292Sobrien	* libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
500251292Sobrien
500351292SobrienThu Jul 24 16:22:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
500451292Sobrien
500551292Sobrien	* conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
500651292Sobrien	types, not ==.  Fix from Christos Zoulas <christos@deshaw.com>.
500751292Sobrien
500851292Sobrien	* mk-amd-map/mk-amd-map.8: man page taken from bsd44.
500951292Sobrien
501051292SobrienThu Jul 24 00:01:55 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
501151292Sobrien
501251292Sobrien	* conf/mount/mount_linux.c: made the nfs error mapping code into a
501351292Sobrien	small function.
501451292Sobrien
501551292SobrienWed Jul 23 16:11:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
501651292Sobrien
501751292Sobrien	* conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
501851292Sobrien	error mappings from errno numbers to NFS errors.  From Debian
501951292Sobrien	Linux.
502051292Sobrien
502151292Sobrien	* scripts/am-eject.in (fs): new script (taken from Debian Linux
502251292Sobrien	folks) to auto-unmount floppy/cd devices before ejecting them.
502351292Sobrien
502451292Sobrien	* fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
502551292Sobrien	'5' as second arg to show_area_being_processed.  I'm not sure why.
502651292Sobrien
502751292Sobrien	* fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
502851292Sobrien	second arg to show_area_being_processed.  I'm not sure why.
502951292Sobrien
503051292Sobrien	* conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
503151292Sobrien	ensure that you have a buffer in *xopts to strcat onto.
503251292Sobrien	(mount_linux): fixed from Debian folks to ensure that NFS mount
503351292Sobrien	sockets are connected only for kernels prior to 1.3.10 (avoids
503451292Sobrien	hangs for multi-homed hosts).
503551292Sobrien
503651292Sobrien	* amd/mapc.c (make_entry_chain): from Debian folks: don't skip
503751292Sobrien	over amd map keys that have a prefix, and include the prefix in
503851292Sobrien	the returned readdir().
503951292Sobrien
504051292Sobrien	* amd/info_passwd.c (passwd_init, passwd_search): format
504151292Sobrien	enhancements from the Debian Linux folks.  They added
504251292Sobrien	- var0:=pw-prefix:=anydir
504351292Sobrien	- var1:=pw-rhost:=dom3.dom2.dom1
504451292Sobrien	- var2:=pw-user:=user
504551292Sobrien	- var3:=pw-home:=/anydir/dom1/dom2/dom3/user
504651292Sobrien
504751292Sobrien	* new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
504851292Sobrien
504951292Sobrien	* amd/ops_afs.c (afs_retry): patches from Debian Linux.  If
505051292Sobrien	afs_mount timed out, then explicitly forbid further retries after
505151292Sobrien	the timeout.  (afs_bgmount): buf fix from Debian Linux.  Timeout
505251292Sobrien	values (17 and 5) were mistakenly swapped.
505351292Sobrien
505451292SobrienWed Jul 23 15:53:25 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
505551292Sobrien
505651292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
505751292Sobrien	support for Solaris 2.4 (the header files incorrectly define parts
505851292Sobrien	of the NFS V.3 protocol, but the kernel does not support it).
505951292Sobrien
506051292SobrienWed Jul 23 00:07:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
506151292Sobrien
506251292Sobrien	* amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
506351292Sobrien	for determining if using old or new hesiod libraries,
506451292Sobrien	respectively.
506551292Sobrien
506651292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
506751292Sobrien	V.3 then use non-connected sockets (both TCP and UDP).  Otherwise
506851292Sobrien	they cause hangs of mounts from multi-homed hosts when the return
506951292Sobrien	route is not the same as the outgoing route (esp. on NetBSD
507051292Sobrien	1.2.1).  If "conn" option was supplied, then don't turn on the
507151292Sobrien	"noconn" mount option.  Otherwise default to "noconn" mount
507251292Sobrien	option.
507351292Sobrien
507451292Sobrien	* aux/configure.in: better check for systems that need libgdbm and
507551292Sobrien	<ndbm.h>
507651292Sobrien
507751292SobrienTue Jul 22 04:02:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
507851292Sobrien
507951292Sobrien	* hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
508051292Sobrien	mounts are hidden from df(1) on systems that keep mount tables in
508151292Sobrien	kernel, such as osf1.
508251292Sobrien
508351292SobrienTue Jul 22 02:26:55 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
508451292Sobrien
508551292Sobrien	*******************************************************************
508651292Sobrien	*** Released am-utils-6.0a8					***
508751292Sobrien	*******************************************************************
508851292Sobrien
508951292SobrienMon Jul 21 21:33:19 1997  Erez Zadok  <ezk@stone.mcl.cs.columbia.edu>
509051292Sobrien
509151292Sobrien	* hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
509251292Sobrien	AF_INET when hlfsd mounts itself, thus getting an errno "protocol
509351292Sobrien	family not supported".
509451292Sobrien
509551292SobrienMon Jul 21 20:46:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
509651292Sobrien
509751292Sobrien	* verified that amd on NetBSD 1.2.1 (i386) works, but the OS
509851292Sobrien	itself is flaky.
509951292Sobrien
510051292Sobrien	* verified that amd AIX 3 works w/ the new readdir() code.
510151292Sobrien
510251292SobrienMon Jul 21 18:59:30 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
510351292Sobrien
510451292Sobrien	* amd/mapc.c (maptypes): changed the default map caching type for
510551292Sobrien	nis and ndbm maps to "MAPC_ALL", so that all possible entries will
510651292Sobrien	be available to amd for browsable_dirs=yes.
510751292Sobrien
510851292SobrienMon Jul 21 18:04:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
510951292Sobrien
511051292Sobrien	* amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
511151292Sobrien	afs_readdir into a browsable version and a non-browsable one.
511251292Sobrien	Fixed bugs that resulted in an infinite nfs_readdir loop on the
511351292Sobrien	localhost for some operating systems.
511451292Sobrien
511551292SobrienSat Jul 19 19:38:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
511651292Sobrien
511751292Sobrien	* amd/ops_afs.c (afs_readdir): fixed up the browsable code to
511851292Sobrien	comply with nfs_readdir specs.  It was returning all entries at
511951292Sobrien	once, even if there was not enough space in the RPC packet.  Now,
512051292Sobrien	it sends a reasonably sized chunk, and sets static state to resume
512151292Sobrien	it for the next continuation RPC of readdir.
512251292Sobrien
512351292Sobrien	* amd/conf.c (set_conf_kv): fixed bug that resulted in the first
512451292Sobrien	regular map not getting all of the [global] options defaulted from.
512551292Sobrien
512651292SobrienFri Jul 18 00:45:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
512751292Sobrien
512851292Sobrien	* amq/amq.c (main): fixed so that portmapper "ping" will only fail
512951292Sobrien	upon an RPC timeout
513051292Sobrien
513151292Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
513251292Sobrien	amd/hlfsd process to kill.
513351292Sobrien
513451292Sobrien	* amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
513551292Sobrien	determine how to avoid df from seeing amd's toplvl mounts.  Moved
513651292Sobrien	from libamu/mount_fs.c and include/am_utils.h.  Ensure that hlfsd
513751292Sobrien	is hidden from df.
513851292Sobrien	(mount_toplvl): fixed df types for irix.
513951292Sobrien
514051292SobrienThu Jul 17 21:59:45 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
514151292Sobrien
514251292Sobrien	* amq/amq.c (main): fixed bug that caused the 5 second timeout for
514351292Sobrien	TLI amq using udp to be ignored.
514451292Sobrien	(main): if amq cannot contact remote host's portmapper within 5
514551292Sobrien	seconds, timeout and fail faster than the default longer timeout
514651292Sobrien	(this is for non-TLI systems).
514751292Sobrien
514851292SobrienThu Jul 17 17:08:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
514951292Sobrien
515051292Sobrien	* amq/amq.c (get_secure_amd_client): if amq cannot contact
515151292Sobrien	remote host's portmapper within 5 seconds, timeout and fail faster
515251292Sobrien	than the default TLI timeout of over 4 minutes.
515351292Sobrien
515451292Sobrien	* amd/am_ops.c (ops_showfstypes): added styles for new bsd44
515551292Sobrien	file systems nullfs, unionfs, and umapfs.
515651292Sobrien	(ops_show1): cleanup code and and reuse this function.
515751292Sobrien	(vops): empty placeholders for nullfs, unionfs, and umapfs.
515851292Sobrien
515951292Sobrien	* amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
516051292Sobrien	bsd44 style file systems.
516151292Sobrien
516251292Sobrien	* fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
516351292Sobrien	sources.
516451292Sobrien
516551292Sobrien	* amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
516651292Sobrien	conflict with systems that define it in <sys/ioctl.h> and also
516751292Sobrien	define a conflicting one via lex.  Newer versions of f/lex are ok.
516851292Sobrien
516951292SobrienWed Jul 16 00:17:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
517051292Sobrien
517151292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
517251292Sobrien	acdirmin/max and acregmin/max only if they exist.
517351292Sobrien
517451292Sobrien	* aux/configure.in: test for nfs_args fields acdirmin and
517551292Sobrien	acregmin.
517651292Sobrien
517751292SobrienTue Jul 15 17:24:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
517851292Sobrien
517951292Sobrien	* aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
518051292Sobrien	"nondev" and commented back in checking for "nodev".  This was a
518151292Sobrien	typo.
518251292Sobrien
518351292Sobrien	* include/am_compat.h: more compatibility options: define "ro"
518451292Sobrien	mnttab option all the time.  Define "overlay" as needed.  Added
518551292Sobrien	more fillers of mnttab options (as per Daniel S. Riley
518651292Sobrien	<dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
518751292Sobrien	acregmin, noac, grpid, nosuid, and actimo.
518851292Sobrien
518951292Sobrien	* libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
519051292Sobrien	per dsr@mail.lns.cornell.edu (Daniel S. Riley).  Then cleaned up
519151292Sobrien	the same code for other options in struct opt_tab.
519251292Sobrien
519351292SobrienMon Jul 14 22:36:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
519451292Sobrien
519551292Sobrien	* amd/get_args.c (get_args): moved amd.conf file parsing to before
519651292Sobrien	the switching the default log/debug options.  Suggested by
519751292Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley).
519851292Sobrien
519951292Sobrien	* aux/update_build_version: new script to record the build version
520051292Sobrien	of amd, along with the rest of the info thet comes up with amd -v.
520151292Sobrien
520251292SobrienSun Jul 13 00:30:24 1997  Erez Zadok  <ezk@decca.damtp.cam.ac.uk>
520351292Sobrien
520451292Sobrien	* aux/macros/os_cflags.m4: new macro, to add additional
520551292Sobrien	compilation options (also used during configuration), based on the
520651292Sobrien	OS and the compiler.  Used for solaris-2.6, osf, and irix6.
520751292Sobrien
520851292SobrienFri Jul 11 10:15:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
520951292Sobrien
521051292Sobrien	* amd/conf_tok.l, conf_parse.y: allow values of keys to include
521151292Sobrien	white spaces, if they are double-quoted (key="some value")
521251292Sobrien
521351292Sobrien	* amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
521451292Sobrien	of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
521551292Sobrien
521651292SobrienFri Jul 11 02:16:06 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
521751292Sobrien
521851292Sobrien	*******************************************************************
521951292Sobrien	*** Released am-utils-6.0a7					***
522051292Sobrien	*******************************************************************
522151292Sobrien
522251292SobrienThu Jul 10 12:19:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
522351292Sobrien
522451292Sobrien	* include/am_defs.h: fill in extern definition of innetgr() in
522551292Sobrien	case system headers don't.
522651292Sobrien
522751292Sobrien	* aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
522851292Sobrien	will show the full pathname to yacc/bison and f/lex.  Some systems
522951292Sobrien	have older or bad versions of those and this way the user will
523051292Sobrien	know for sure what is being invoked.
523151292Sobrien
523251292Sobrien	* tasks: file populated with todo items.
523351292Sobrien
523451292Sobrien	* scripts/amd2ldif.in: Script to convert amd maps to plain text
523551292Sobrien	LDAP object files.  Contributed by Leif Johansson
523651292Sobrien	<leifj@matematik.su.se>.
523751292Sobrien
523851292Sobrien	* aux/config.guess: added recognition for sun3's running 4.2bsd,
523951292Sobrien	from Tom Schmidt <tschmidt@micron.com>.  Fixed one small typo.
524051292Sobrien
524151292Sobrien	* amd/conf.c: several variables that were local to a map, were
524251292Sobrien	also added to [global], where they apply to all maps.  Each map
524351292Sobrien	can then individually override those defaults.  Flags
524451292Sobrien	affected: browsable_dirs and mount_type.  Options affected:
524551292Sobrien	map_type, map_options, and search_path.
524651292Sobrien
524751292Sobrien	* amd/amd.h: eliminated several global flags each of which took an
524851292Sobrien	int, in favor of one global flags variable used as a bit field.
524951292Sobrien
525051292Sobrien	* amd/amd.c (init_global_options): moved all global variables into
525151292Sobrien	a single struct amu_global_options, so it is easier to add new
525251292Sobrien	ones and/or identify existing ones.
525351292Sobrien
525451292Sobrien	* amd/get_args.c (get_args): removed unused amd -m option.
525551292Sobrien
525651292Sobrien	* amd/conf.c (gopt_cluster): added new amd.conf option for cluster
525751292Sobrien	name, same as amd -C.
525851292Sobrien
525951292Sobrien	* amd/info_ldap.c: LDAP info map functions from Leif Johansson
526051292Sobrien	<leifj@matematik.su.se>.
526151292Sobrien
526251292Sobrien	* amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
526351292Sobrien	amd.conf options for ldap_base and ldap_hostports.
526451292Sobrien
526551292Sobrien	* amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
526651292Sobrien	if the current host is in the ARG host netgroup.
526751292Sobrien
526851292Sobrien	* aux/configure.in: some systems replaced dbm in libc with GNU's
526951292Sobrien	libgdbm, so check for libgdbm, but only if dbm_open is not in
527051292Sobrien	libc already.  This was a recommendation from Tom Schmidt
527151292Sobrien	<tschmidt@micron.com>.
527251292Sobrien
527351292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
527451292Sobrien	completed.
527551292Sobrien
527651292SobrienWed Jul  9 18:14:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
527751292Sobrien
527851292Sobrien	* port to sparc-unknown-netbsd1.2E done, not tested.  Includes NFS
527951292Sobrien	V.3.
528051292Sobrien
528151292SobrienTue Jul  8 17:35:07 1997  Erez Zadok  <ezk@elk.mcl.cs.columbia.edu>
528251292Sobrien
528351292Sobrien	* port to i386-unknown-freebsd3.0 done and working.  Includes NFS
528451292Sobrien	V.3.
528551292Sobrien
528651292Sobrien	* aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
528751292Sobrien	file handle dereferencing style similar to freebsd22.
528851292Sobrien
528951292Sobrien	* include/am_defs.h: need to include <net/if_var.h> before
529051292Sobrien	<netinet/if_ether.h> on freebsd3.
529151292Sobrien
529251292Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
529351292Sobrien	for freeBSD 3.0.
529451292Sobrien
529551292SobrienTue Jul  8 16:53:41 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
529651292Sobrien
529751292Sobrien	* amd/info_nis.c (nis_reload): cast nis' callback function so
529851292Sobrien	picky compilers won't complain.
529951292Sobrien
530051292Sobrien	* libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
530151292Sobrien	gets compiled only if the system has NFS V3 and does not have
530251292Sobrien	xdr_mountres3.
530351292Sobrien
530451292SobrienTue Jul  8 12:42:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
530551292Sobrien
530651292Sobrien	* COPYING: put in some legal stuff in this file.
530751292Sobrien
530851292SobrienMon Jul  7 19:10:44 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
530951292Sobrien
531051292Sobrien	* NFS V3 now works under Irix5, thanks to patches from 
531151292Sobrien	Andreas Stolcke <stolcke@speech.sri.com>.
531251292Sobrien
531351292Sobrien	* conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
531451292Sobrien	version and an irix6 version, since irix5's NFS V3 code is broken
531551292Sobrien	and hacky.
531651292Sobrien
531751292Sobrien	* amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
531851292Sobrien	sizes for some hesiod queries.  Patch from Danny Braniss
531951292Sobrien	<danny@cs.huji.ac.il>.
532051292Sobrien
532151292SobrienMon Jul  7 19:04:14 1997  Erez Zadok  <ezk@glory.soscorp.com>
532251292Sobrien
532351292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
532451292Sobrien
532551292SobrienSun Jul  6 14:22:24 1997  Erez Zadok  <ezk@glory.soscorp.com>
532651292Sobrien
532751292Sobrien	* aux/{configure.in,acconfig.h}: added checks for struct
532851292Sobrien	nfs_args's fields proto and sotype (bsdi3).
532951292Sobrien	
533051292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
533151292Sobrien	nfs_args.flags for bsdi3.  Set field proto to 0.  Set sotype field
533251292Sobrien	to SOCK_STREAM or SOCK_DGRAM.
533351292Sobrien
533451292Sobrien	* aux/macros/check_mount_style.m4: add case for bsdi3.
533551292Sobrien
533651292Sobrien	* amd/info_hesiod.c: got hesiod support for bsdi3.
533751292Sobrien
533851292SobrienSun Jul  6 11:14:47 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
533951292Sobrien
534051292Sobrien	* aux/configure.in: look for hesiod on libc (bsdi3)
534151292Sobrien
534251292Sobrien	* amd/get_args.c (get_args): reformat usage so it fits in 80
534351292Sobrien	columns.
534451292Sobrien
534551292Sobrien	* scripts/ctl-amd.in: changed directory name for optional tftpboot
534651292Sobrien	map to /tftpboot/.amd.
534751292Sobrien
534851292SobrienSat Jul  5 17:46:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
534951292Sobrien
535051292Sobrien	*******************************************************************
535151292Sobrien	*** Released am-utils-6.0a6					***
535251292Sobrien	*******************************************************************
535351292Sobrien
535451292SobrienSat Jul  5 03:17:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
535551292Sobrien
535651292Sobrien	* scripts/ctl-amd.in: include -T tag for tftpboot.
535751292Sobrien
535851292Sobrien	* new port: mips-sgi-irix5.3.  Compiled with gcc, but NFS V3 code
535951292Sobrien	is broken and needs work on the specific nfs_args that irix5 uses
536051292Sobrien	for V3 mounts.
536151292Sobrien
536251292SobrienSat Jul  5 01:44:25 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
536351292Sobrien
536451292Sobrien	* amd/get_args.c (get_args): new options amd -T tag.  A map with
536551292Sobrien	tag=foo matching the -T tag will be processed.  All untagged maps
536651292Sobrien	get processed all the time.
536751292Sobrien
536851292SobrienFri Jul  4 16:19:26 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
536951292Sobrien
537051292Sobrien	* aux/configure.in: need to check for strcasecmp in libucb (ncr2)
537151292Sobrien
537251292Sobrien	* aux/macros/check_os_libs.m4: a new macro to set the usage of
537351292Sobrien	libnsl and libsocket based on the OS.
537451292Sobrien
537551292Sobrien	* libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
537651292Sobrien	defined (problem on osf4).
537751292Sobrien
537851292Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
537951292Sobrien
538051292Sobrien	* include/am_defs.h, aux/macros/try_compile_nfs.m4,
538151292Sobrien	aux/macros/mount_headers.m4: do include <sys/proc.h> because it
538251292Sobrien	failes on irix5.  Rather, put in the individual
538351292Sobrien	conf/nfs_prot/nfs_prot_*.h headers.
538451292Sobrien
538551292Sobrien	* amd/conf.c: AIX3 doesn't like strdup() being passed a constant
538651292Sobrien	char*, so cast all strdup()'s args to a non-const char*.
538751292Sobrien
538851292Sobrien	* amd/mapc.c (root_newmap): don't try to strdup only a "const
538951292Sobrien	char *".
539051292Sobrien
539151292SobrienFri Jul  4 15:47:10 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
539251292Sobrien
539351292Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
539451292Sobrien	sys/errno.h.
539551292Sobrien
539651292SobrienThu Jul  3 17:49:00 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
539751292Sobrien
539851292Sobrien	* made sure am-utils compiles, links, and runs properly on Irix
539951292Sobrien	6.2 using "cc -32 -Wl,-woff,"
540051292Sobrien
540151292Sobrien	* aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
540251292Sobrien	AC_CHECK_LIB.  If OTHER-LIBRARIES are defined and used, then add
540351292Sobrien	them to $LIBS.
540451292Sobrien
540551292Sobrien	* aux/configure.in: some cleanup of which libraries are needed.
540651292Sobrien	Espectially ensure that libnsl is included only on Solaris, where
540751292Sobrien	so far it is the only system on which it is absolutely necessary.
540851292Sobrien	Also no longer need to include libc explicitly. 
540951292Sobrien
541051292Sobrien	* amd/amd.c,wire-test/wire-test.c (main): convert IP address to
541151292Sobrien	network-long order before printing it.
541251292Sobrien
541351292Sobrien	* wire-test/wire-test.c (main): also check and report on the IP
541451292Sobrien	address of the local host, since some systems have bad versions of
541551292Sobrien	get_myaddress, or ones that conflict with other versions in
541651292Sobrien	multiple libraries (SunOS 4 and Irix especially).
541751292Sobrien
541851292SobrienWed Jul  2 18:19:02 1997  Erez Zadok  <ezk@starblazers.soscorp.com>
541951292Sobrien
542051292Sobrien	* scripts/ctl-amd.in: don't use full pathname so killproc() works
542151292Sobrien	better.  Also run bsd44 and irix style ps programs. 
542251292Sobrien
542351292Sobrien	* aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
542451292Sobrien	of library no matter if it was found or not.
542551292Sobrien
542651292SobrienWed Jul  2 02:11:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
542751292Sobrien
542851292Sobrien	* aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
542951292Sobrien	for M_* macros, but ensure that <sys/stream.h> is not included at
543051292Sobrien	all so it won't conflict with other M_* macros.
543151292Sobrien
543251292SobrienTue Jul  1 21:16:51 1997  Erez Zadok  <ezk@mako.cs.columbia.edu>
543351292Sobrien
543451292Sobrien	* conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
543551292Sobrien	irix should be "spec" (host:/path), not the dir of the mnt point.
543651292Sobrien
543751292Sobrien	* amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
543851292Sobrien	fixed.  If on, it essentially ignored the setting in a
543951292Sobrien	selector-controlled /defaults if there were 2 or more entries in it.
544051292Sobrien
544151292SobrienTue Jul  1 12:23:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
544251292Sobrien
544351292Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
544451292Sobrien	using BSD style ps, then try SVR4 style ps.
544551292Sobrien
544651292Sobrien	* include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
544751292Sobrien	etc., to avoid conflicts with similar named macros in <ldap.h>.
544851292Sobrien
544951292Sobrien	* aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
545051292Sobrien	support needed for LDAP.  Now the code has to be written mostly in
545151292Sobrien	amd/info_ldap.c.
545251292Sobrien
545351292Sobrien	* Included additional patches from Andreas Stolcke
545451292Sobrien	<stolcke@speech.sri.com> to support using the best possible
545551292Sobrien	combination of NFS version (2,3) and protocol (udp,tcp) for any
545651292Sobrien	given host, since it appears that some Irix versions have NFS V3,
545751292Sobrien	but do not support TCP.
545851292Sobrien
545951292Sobrien	* scripts/ctl-amd.in: updated amd control script to look for and
546051292Sobrien	use amd.conf file.
546151292Sobrien
546251292SobrienTue Jul  1 00:28:23 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
546351292Sobrien
546451292Sobrien	* amd/mapc.c (mapc_create): now, each map in the amd.conf can be
546551292Sobrien	initialized off of a different type, or default to cycling through
546651292Sobrien	all maps until one of them matches.
546751292Sobrien
546851292SobrienMon Jun 30 20:49:13 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
546951292Sobrien
547051292Sobrien	* amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
547151292Sobrien	if browsable_dirs=yes is set in the map section in amd.conf, that
547251292Sobrien	map will return all entries back to a readdir(2).
547351292Sobrien
547451292SobrienSun Jun 29 16:22:11 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
547551292Sobrien
547651292Sobrien	* rudimentary amd.conf file support included.  You may even
547751292Sobrien	override things like os=sos5, to get "backwards" compatibility with
547851292Sobrien	upl102.
547951292Sobrien
548051292SobrienSat Jun 28 13:35:02 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
548151292Sobrien
548251292Sobrien	* amd/conf.c: new file to process amd.conf file.
548351292Sobrien
548451292Sobrien	* amd/get_args.c (get_args): new options -H to print help.
548551292Sobrien
548651292Sobrien	* moved enable_default_selectors to be amd.conf controlled, and
548751292Sobrien	not compiler controlled.
548851292Sobrien
548951292Sobrien	* amd/get_args.c (get_args): new options -F <conf-file> to parse an
549051292Sobrien	amd configuration file.
549151292Sobrien
549251292SobrienWed Jun 25 23:15:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
549351292Sobrien
549451292Sobrien	* converted all files that used strcmp() == 0 or != 0  to using
549551292Sobrien	the STREQ() macro.
549651292Sobrien
549751292SobrienMon Jun 23 22:31:14 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
549851292Sobrien
549951292Sobrien	* aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
550051292Sobrien	search for any number of functions in any given library.
550151292Sobrien
550251292SobrienMon Jun 23 01:04:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
550351292Sobrien
550451292Sobrien	* amd/mapc.c: Included patch from Leif Johansson
550551292Sobrien	<leifj@matematik.su.se> to ensure that systems without an RE
550651292Sobrien	library can compile.
550751292Sobrien
550851292Sobrien	* libamu/mount_fs.c (mount_fs): Included patch from Andreas
550951292Sobrien	Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
551051292Sobrien	table are properly delimited by a comma.
551151292Sobrien
551251292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
551351292Sobrien	Stolcke <stolcke@speech.sri.com>, to allow users to override the
551451292Sobrien	proto= and vers= mount options.
551551292Sobrien
551651292SobrienSun Jun 22 01:00:11 1997  Eric Dana  (edana@ncr2.bgs.com)
551751292Sobrien
551851292Sobrien	* conf/nfs_prot/nfs_prot_svr4.h: port completed to
551951292Sobrien	i486-ncr-sysv4.3.03.  Assorted source cleanups done.
552051292Sobrien
552151292Sobrien	* include/am_defs.h, aux/macros/mount_headers.m4: don't include
552251292Sobrien	mnttab.h if sys/mnttab.h was already included, because on ncr2,
552351292Sobrien	they contain conflicting entries for struct mnttab.
552451292Sobrien
552551292SobrienSat Jun 21 23:52:15 1997  Eric Dana  (edana@ncr2.bgs.com)
552651292Sobrien
552751292Sobrien	* aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
552851292Sobrien
552951292SobrienFri Jun 20 06:14:17 1997  Erez Zadok  <ezk>
553051292Sobrien
553151292Sobrien	* amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
553251292Sobrien
553351292Sobrien	* aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
553451292Sobrien	on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
553551292Sobrien
553651292SobrienWed Jun 18 18:59:49 1997  Erez Zadok  <ezk@defiant.soscorp.com>
553751292Sobrien
553851292Sobrien	* aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
553951292Sobrien	nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
554051292Sobrien	better.
554151292Sobrien
554251292SobrienTue Jun 10 17:06:58 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
554351292Sobrien
554451292Sobrien	* amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
554551292Sobrien	NULL, set the maxlen and len fields in netbuf to zero.
554651292Sobrien
554751292SobrienWed May 28 22:52:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
554851292Sobrien
554951292Sobrien	* scripts/fix-amd-map.in (name): replace all matching patterns on
555051292Sobrien	line.
555151292Sobrien
555251292SobrienSun May 25 19:33:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
555351292Sobrien
555451292Sobrien	*******************************************************************
555551292Sobrien	*** Released am-utils-6.0a5					***
555651292Sobrien	*******************************************************************
555751292Sobrien
555851292SobrienSun May 25 13:37:24 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
555951292Sobrien
556051292Sobrien	* amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
556151292Sobrien	procedure now returns the full string that amd -v returns.
556251292Sobrien
556351292Sobrien	* amd/get_args.c (get_version_string): new function to return
556451292Sobrien	complete version/info string so it could be used more flexibly.
556551292Sobrien
556651292Sobrien	* amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
556751292Sobrien	of Fs types into a string buffer, rather than a FILE*.
556851292Sobrien
556951292Sobrien	* amd/mapc.c (mapc_showtypes): put the list of map types into a
557051292Sobrien	string buffer, rather than a FILE*.
557151292Sobrien
557251292SobrienSun May 25 01:25:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
557351292Sobrien
557451292Sobrien	* amd/get_args.c (get_args): amd -v also prints user who built
557551292Sobrien	amd, hostname built on, and date of configuration.
557651292Sobrien
557751292SobrienSat May 24 13:40:50 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
557851292Sobrien
557951292Sobrien	* scripts/lostaltmail.conf-sample: sample lostaltmail
558051292Sobrien	configuration file.
558151292Sobrien
558251292Sobrien	* scripts/lostaltmail.in: new script lostaltmail used to redeliver
558351292Sobrien	"lost" mail that hlfsd redirected to a temp location because the
558451292Sobrien	primary home file system of the user was full.
558551292Sobrien
558651292Sobrien	* scripts/amd2sun.in: new script amd2sun. Used to convert Sub
558751292Sobrien	automount maps to amd maps.
558851292Sobrien
558951292Sobrien	* scripts/ctl-hlfsd.in: new script ctl-hlfsd.  Used to start,
559051292Sobrien	stop, or restart hlfsd.
559151292Sobrien	
559251292Sobrien	* scripts/expn.1: man page for expn command.
559351292Sobrien
559451292Sobrien	* scripts/ctl-amd.in: new script ctl-amd.  Used to start, stop, or
559551292Sobrien	restart amd.
559651292Sobrien
559751292Sobrien	* scripts/expn.in: new script expn.  Actually taken from David
559851292Sobrien	Muir Sharnoff <muir@idiom.com>.  Used by hlfsd's mail re-delivery
559951292Sobrien	script.
560051292Sobrien
560151292Sobrien	* scripts/wait4amd.in: new script wait4amd added.  Waits for amd
560251292Sobrien	to come up on a host, and then runs a command (rsh $hostname by
560351292Sobrien	default).
560451292Sobrien
560551292Sobrien	* scripts/Makefile.am: new directory now holds all shell/perl
560651292Sobrien	scripts that belong to am-utils.
560751292Sobrien
560851292Sobrien	* conf/mount/mount_linux.c (parse_opts): new parser for
560951292Sobrien	linux-specific mounts.  Handles fs-type specific mount-options
561051292Sobrien	correctly.  Currently implemented: msdos, iso9660.
561151292Sobrien
561251292Sobrien	* amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
561351292Sobrien	(fix for linux).
561451292Sobrien
561551292Sobrien	* amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
561651292Sobrien	(fix for linux).
561751292Sobrien
561851292Sobrien	* amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
561951292Sobrien	core dumps upon "ls" of a mount point; an invalid pointer was
562051292Sobrien	being returned and dereferenced.
562151292Sobrien
562251292Sobrien	* port to Linux sparc working!
562351292Sobrien
562451292Sobrien	* hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
562551292Sobrien	failed to write test file, or else the fd will leak.
562651292Sobrien
562751292SobrienSun May 18 00:42:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
562851292Sobrien
562951292Sobrien	* amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
563051292Sobrien	instead of strcmp().
563151292Sobrien
563251292Sobrien	* Port to Digital Unix 4.0 (OSF) done.
563351292Sobrien
563451292Sobrien	* hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
563551292Sobrien	with dirname() function in <string.h> on OSF systems.
563651292Sobrien
563751292Sobrien	* fsinfo/fsi_util.c (set_ether_if): take out extern definition of
563851292Sobrien	inet_addr().  It should come from <arpa/inet.h> instead.
563951292Sobrien
564051292Sobrien	* conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
564151292Sobrien
564251292Sobrien	* include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
564351292Sobrien	avoid conflicts with DU 4.0 system header.
564451292Sobrien
564551292SobrienThu May 15 22:49:12 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
564651292Sobrien
564751292Sobrien	* libamu/mount_fs.c (mount_fs): pass along NFS version so I can
564851292Sobrien	determine if to include additional options in the mount table file
564951292Sobrien	entry (such as proto=tcp, and vers=3).
565051292Sobrien
565151292SobrienThu May 15 00:42:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
565251292Sobrien
565351292Sobrien	* libamu/mount_fs.c (mount_fs): include NFS version number in the
565451292Sobrien	mount table options, as well as proto={tcp,udp}.
565551292Sobrien
565651292SobrienWed May 14 14:30:19 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
565751292Sobrien
565851292Sobrien	* NFS V3 code ported to most other systems, so it compiles for V2
565951292Sobrien	and V3 NFS systems.
566051292Sobrien
566151292Sobrien	* NFS VERSION 3 support, first pass.  Working for Solaris and
566251292Sobrien	using TCP.
566351292Sobrien
566451292SobrienSun May 11 01:14:29 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
566551292Sobrien
566651292Sobrien	* amq/amq.c: many newline characters were missing from various
566751292Sobrien	stderr printfs.
566851292Sobrien
566951292SobrienSat May 10 13:09:06 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
567051292Sobrien
567151292Sobrien	* conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
567251292Sobrien	Solaris, which include NFS V3 support.
567351292Sobrien
567451292Sobrien	* conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
567551292Sobrien
567638494Sobrien	* conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
567738494Sobrien	protocol version while getting a mount client.
567838494Sobrien
567938494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
568038494Sobrien	file handle size, and proper file handle based on the correct NFS
568138494Sobrien	version number.
568238494Sobrien
568338494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
568438494Sobrien	Solaris and other SVR4 systems.
568538494Sobrien
568638494Sobrien	* amd/ops_nfs.c: store NFS file handle version and version
568738494Sobrien	specific handle in struct fh_cache.
568838494Sobrien	(got_nfs_fh): pick the correct RPC reply based on the NFS version
568938494Sobrien	of the server.
569038494Sobrien	(prime_nfs_fhandle_cache): figure out the right NFS file handle
569138494Sobrien	for a node, but now include NFS protocol version information.
569238494Sobrien	(call_mountd): set the correct version for the mount protocol,
569338494Sobrien	based on the NFS protocol version.
569438494Sobrien	(nfs_init): use the NFS protocol generic structure
569538494Sobrien	am_nfs_handle_t.
569638494Sobrien
569738494Sobrien	* include/am_utils.h: new structure am_nfs_handle_t to contain all
569838494Sobrien	possible versions of NFS file handles.
569938494Sobrien
570038494Sobrien	* amd/srvr_nfs.c (start_ping): ping program performs NFS version
570138494Sobrien	specific pings.
570238494Sobrien	(recompute_portmap): figure out the correct portmap version mount.
570338494Sobrien	(nfs_keepalive): call start_ping() with the correct NFS version.
570438494Sobrien	(find_nfs_srvr): if mount option "vers=" is given, use it.  Get
570538494Sobrien	the NFS server version and verify that it is up.
570638494Sobrien
570738494Sobrien	* conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
570838494Sobrien	function to find the best NFS version for a particular host.
570938494Sobrien
571038494Sobrien	* libamu/amu.h: determine what is the highest version of NFS we
571138494Sobrien	should try.
571238494Sobrien
571338494Sobrien	* include/am_utils.h (NFS_VERSION3): added definition for NFS V3
571438494Sobrien	protocol number.
571538494Sobrien	Added field fs_version to struct fserver, so we can now store the
571638494Sobrien	server protocol version.
571738494Sobrien
571838494SobrienFri May  9 01:09:45 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
571938494Sobrien
572038494Sobrien	* aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
572138494Sobrien	underscores too, so I can test for sub-fields.
572238494Sobrien
572338494Sobrien	* libamu/wire.c: use test that checks for sub-fields of struct
572438494Sobrien	ifreq.
572538494Sobrien
572638494SobrienSat May  6 10:20:17 2000  Erez Zadok  <ezk@glory.soscorp.com>
572738494Sobrien
572838494Sobrien	* port to BSD/OS 3.0 completed!  Many xdr_ functions were broken
572938494Sobrien	into smaller files.  M4 macros fixed to test for existence of
573038494Sobrien	file systems using getvfsbyname().
573138494Sobrien
573238494Sobrien	* amd/sched.c (sigchld): signal handler must waitpid() for all
573338494Sobrien	possible children.
573438494Sobrien
573538494Sobrien	* hlfsd/homedir.c: signal handler must waitpid() for all possible
573638494Sobrien	children. 
573738494Sobrien
573838494Sobrien	* aux/macros/check_restartable_signals.m4: new macro to determine
573938494Sobrien	if need to reinstall signal handlers per OS is better than trying
574038494Sobrien	to figure these out based on system macros.
574138494Sobrien
574238494SobrienFri May  5 19:23:28 2000  Erez Zadok  <ezk@glory.soscorp.com>
574338494Sobrien
574438494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
574538494Sobrien
574638494Sobrien	* amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
574738494Sobrien
574838494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
574938494Sobrien	(must be supplied for bsdi 3.0)
575038494Sobrien
575138494Sobrien	* libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
575238494Sobrien	associated new macro) for determining the right way to compute the
575338494Sobrien	size of the interface structure.
575438494Sobrien
575538494SobrienFri Apr 11 15:56:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
575638494Sobrien
575738494Sobrien	* aux/configure.in: need to include libc before libnsl if
575838494Sobrien	get_myaddress() is available because on irix libnsl has a buggy
575938494Sobrien	get_myaddress().
576038494Sobrien
576138494Sobrien	* include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
576238494Sobrien	on Irix 6 (an SVR4 variant)
576338494Sobrien
576438494SobrienThu Mar 27 02:28:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
576538494Sobrien
576638494Sobrien	*******************************************************************
576738494Sobrien	*** Released am-utils-6.0a4					***
576838494Sobrien	*******************************************************************
576938494Sobrien
577038494SobrienWed Mar 26 21:15:36 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
577138494Sobrien
577238494Sobrien	* amd/amq_subr.c (ok_security): turned off insecure code unless
577338494Sobrien	user explicitly runs configure --enable-amq-mount.
577438494Sobrien
577538494Sobrien	* hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
577638494Sobrien
577738494Sobrien	* amd/nfs_start.c (mount_automounter): use code that separately
577838494Sobrien	creates the NFS and the amq service.  Register tcp and udp
577938494Sobrien	services for amd.
578038494Sobrien
578138494Sobrien	* conf/transp/transp_*.c (create_amq_service): new function to
578238494Sobrien	separately create the amq service for amd.  Simplified prototypes
578338494Sobrien	for create_nfs_service().
578438494Sobrien
578538494SobrienWed Mar 19 20:40:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
578638494Sobrien
578738494Sobrien	*******************************************************************
578838494Sobrien	*** Released am-utils-6.0a3					***
578938494Sobrien	*******************************************************************
579038494Sobrien
579138494SobrienWed Mar 19 17:49:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
579238494Sobrien
579338494Sobrien	* new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0.  Lots
579438494Sobrien	of small changes to support these two.
579538494Sobrien
579638494SobrienWed Mar 19 14:33:30 1997  Erez Zadok  <ezk@grande.cs.columbia.edu>
579738494Sobrien
579838494Sobrien	* conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
579938494Sobrien	should run if MOUNT_TABLE_ON_FILE, not otherwise.
580038494Sobrien
580138494SobrienMon Mar 17 22:02:43 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
580238494Sobrien
580338494Sobrien	* hlfsd/hlfsd.c (main): fill in fhsize field if exists
580438494Sobrien	(freebsd-2.2).
580538494Sobrien
580638494Sobrien	* amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
580738494Sobrien	exists (freebsd-2.2).
580838494Sobrien
580938494SobrienSat Mar 15 19:37:48 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
581038494Sobrien
581138494Sobrien	* new port: i386-unknown-freebsd2.2.  FreeBSD 2.2 and higher
581238494Sobrien	changed the filehandle type in struct nfs_args from nfsv2fh_t to
581338494Sobrien	u_char.
581438494Sobrien
581538494SobrienSat Mar 14 10:11:03 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
581638494Sobrien
581738494Sobrien	* SHARED LIBRARIES: too many change to list individually.  Now,
581838494Sobrien	libamu can be built as a shared library, and other programs link
581938494Sobrien	with it.
582038494Sobrien
582138494SobrienTue Mar 11 22:24:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
582238494Sobrien
582338494Sobrien	* aux/macros/opt_shared.m4: new macro for setting options for
582438494Sobrien	building shared am-utils libraries.
582538494Sobrien
582638494SobrienSun Mar  9 19:17:46 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
582738494Sobrien
582838494Sobrien	* fixmount/fixrmtab: cleaned up the script.
582938494Sobrien
583038494Sobrien	* fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
583138494Sobrien	fixrmtab gets distributed too.
583238494Sobrien
583338494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
583438494Sobrien	Added extern for xdr_mountlist().
583538494Sobrien
583638494Sobrien	* aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
583738494Sobrien	MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
583838494Sobrien	the sources.
583938494Sobrien
584038494SobrienSat Mar  8 00:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
584138494Sobrien
584238494Sobrien	* fixmount/hlfsd ported to bsd44, hpux, and linux systems.
584338494Sobrien
584438494Sobrien	* aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
584538494Sobrien
584638494Sobrien	* conf/fixmount/fixmount_default.c: use lockf() if flock() is
584738494Sobrien	unavailable.
584838494Sobrien
584938494Sobrien	* include/am_defs.h: include <string.h> even if don't have
585038494Sobrien	STDC_HEADERS defined (sunos4).
585138494Sobrien	(seteuid): define seteuid() to be setresuid() for systems that
585238494Sobrien	have but not the other (hpux).
585338494Sobrien
585438494Sobrien	* aux/macros/check_extern.m4: test should include <strings.h>.
585538494Sobrien
585638494SobrienTue Mar  4 17:16:52 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
585738494Sobrien
585838494Sobrien	* lib/xutil.c (debug_option): moved from amd/getargs.c to this
585938494Sobrien	more proper file.
586038494Sobrien
586138494Sobrien	* include/am_utils.h: put in structure for debug options, for all
586238494Sobrien	progams to use.
586338494Sobrien
586438494Sobrien	* amd/get_args.c: moved structure for debug options out.
586538494Sobrien
586638494SobrienSun Mar  2 00:13:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
586738494Sobrien
586838494Sobrien	* ported fixmount.
586938494Sobrien
587038494Sobrien	* lib/ualarm.c: replacement function for systems that don't have a
587138494Sobrien	ualarm().
587238494Sobrien
587338494Sobrien	* ported fsinfo.
587438494Sobrien
587538494SobrienSun Mar  1 10:23:34 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
587638494Sobrien
587738494Sobrien	* ported mk-amd-map.
587838494Sobrien
587938494Sobrien	* buildall: added -K option to buildall, to run mkconf.
588038494Sobrien
588138494SobrienFri Feb 28 01:10:25 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
588238494Sobrien
588338494Sobrien	*******************************************************************
588438494Sobrien	*** Released am-utils-6.0a2					***
588538494Sobrien	*******************************************************************
588638494Sobrien
588738494SobrienThu Feb 27 13:58:59 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
588838494Sobrien
588938494Sobrien	* all *.[hcyl] files: add copyright line.
589038494Sobrien
589138494Sobrien	* aux/macros/check_mount_type.m4: test for mount type for
589238494Sobrien	linux-like systems, by checking for loadable or statically linked
589338494Sobrien	kernel filesystem modules.
589438494Sobrien
589538494Sobrien	* aux/macros/check_mnttab_type.m4: test for mount table entry
589638494Sobrien	for linux-like systems, by checking for loadable or statically
589738494Sobrien	linked kernel filesystem modules.
589838494Sobrien
589938494Sobrien	* aux/configure.in: pcfs filesystems can use vfat type (linux)
590038494Sobrien
590138494Sobrien	* aux/macros/check_fs_mntent.m4: test for filesystem existence for
590238494Sobrien	linux-like systems, by checking for loadable or statically linked
590338494Sobrien	kernel filesystem modules.
590438494Sobrien
590538494Sobrien	* conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
590638494Sobrien	9.0 header files.  This should be removed when HPUX 9.0 is deemed
590738494Sobrien	defunct.
590838494Sobrien
590938494Sobrien	* aux/acconfig.h: set an undefined variable for having an extern
591038494Sobrien	to clnt_sperrno().
591138494Sobrien
591238494Sobrien	* include/am_defs.h: define extern for clnt_sperrno() if needed.
591338494Sobrien
591438494Sobrien	* aux/configure.in: test for extern clnt_sperrno().
591538494Sobrien
591638494Sobrien	* aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
591738494Sobrien	similar to irix.
591838494Sobrien
591938494Sobrien	* aux/macros/check_mount_style.m4: use mount helper on HPUX.
592038494Sobrien
592138494Sobrien	* aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
592238494Sobrien	not integer (but may be mapped to one later).
592338494Sobrien
592438494Sobrien	* conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
592538494Sobrien	files.  They have mount(2) and vfsmount(2) which don't take same
592638494Sobrien	arguments, and they have string mount types MNTTYPE_* as well as
592738494Sobrien	integer types MOUNT_*.  So I need this new mount function to map
592838494Sobrien	from string types to integer types for the vfsmount() function.
592938494Sobrien
593038494Sobrien	* conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
593138494Sobrien	vfsmount(), call mount_hpux().
593238494Sobrien
593338494SobrienThu Feb 27 03:34:14 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
593438494Sobrien
593538494Sobrien	* lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
593638494Sobrien	both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
593738494Sobrien
593838494SobrienThu Feb 27 00:26:00 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
593938494Sobrien
594038494Sobrien	* conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
594138494Sobrien	hpux.
594238494Sobrien
594338494Sobrien	* include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
594438494Sobrien
594538494Sobrien	* aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
594638494Sobrien
594738494Sobrien	* buildall: added ability to configure using other shells than
594838494Sobrien	/bin/sh, on those systems where /bin/sh is buggy or limited
594938494Sobrien	(HPUX).
595038494Sobrien
595138494Sobrien	* aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
595238494Sobrien	defined am_nfs_fh, and also test for plain typedef "nfs_fh".
595338494Sobrien
595438494Sobrien	* aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
595538494Sobrien	reinstated macro.
595638494Sobrien
595738494Sobrien	* aux/configure.in: check for <nfs/export.h>
595838494Sobrien
595938494Sobrien	* include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
596038494Sobrien
596138494Sobrien	* aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
596238494Sobrien	exists.
596338494Sobrien
596438494Sobrien	* aux/macros/mount_headers.m4 (define): removed some non-working
596538494Sobrien	(on HPUX) code that attempts to recreate the fhandle_t rather than
596638494Sobrien	load it up from system headers.  Also added some NFS protocol
596738494Sobrien	header inclusion.  include <nfs/export.h> (HPUX) if exists.
596838494Sobrien
596938494SobrienWed Feb 26 00:32:35 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
597038494Sobrien
597138494Sobrien	* aux/macros/mount_headers.m4 (define): Use M4 changequote to
597238494Sobrien	ensure [] brackets are correctly used.
597338494Sobrien
597438494Sobrien	* aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
597538494Sobrien	multi-line M4 inclusions in [].
597638494Sobrien
597738494SobrienTue Feb 25 22:19:44 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
597838494Sobrien
597938494Sobrien	* conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
598038494Sobrien	it exists.
598138494Sobrien
598238494Sobrien	* aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
598338494Sobrien	config.h macro for field f_fstypename of struct statfs.
598438494Sobrien
598538494Sobrien	* aux/configure.in: testing for field f_fstypename field of struct
598638494Sobrien	statfs (NetBSD).
598738494Sobrien
598838494Sobrien	* aux/acconfig.h: moved all of the "static" definitions out to a
598938494Sobrien	fixed file called include/am_defs.h.  Added to all */Makefile.am
599038494Sobrien	files a dependency on am_defs.h.  Created am_defs.h of course, and
599138494Sobrien	then added #include <amd_defs.h> to all of the source and header
599238494Sobrien	files that required it.
599338494Sobrien
599438494SobrienMon Feb 24 01:27:02 1997  Erez Zadok  <ezk@defiant.soscorp.com>
599538494Sobrien
599638494Sobrien	* aux/acconfig.h: two more externals for xdr functions that may be
599738494Sobrien	implemented by libamu.
599838494Sobrien
599938494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
600038494Sobrien	definitions.
600138494Sobrien
600238494SobrienSun Feb 23 15:25:26 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
600338494Sobrien
600438494Sobrien	* buildall (default): added -D option for turning on even stricker
600538494Sobrien	developer options.
600638494Sobrien
600738494Sobrien	* */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
600838494Sobrien	determine dependencies on optional NFS protocol headers.
600938494Sobrien
601038494Sobrien	* aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
601138494Sobrien
601238494Sobrien	* aux/macros/check_nfs_prot_header.m4: new test to determine what
601338494Sobrien	NFS protocol headers to use. 
601438494Sobrien
601538494Sobrien	* conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
601638494Sobrien	complete missing system headers for NFS protocol definitions.
601738494Sobrien
601838494SobrienSun Feb 16 15:58:42 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
601938494Sobrien
602038494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
602138494Sobrien	#ifdef's as needed.
602238494Sobrien
602338494Sobrien	* amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
602438494Sobrien	suitable #ifdef'ed.
602538494Sobrien
602638494Sobrien	* include/am_compat.h: a couple more mnttab options
602738494Sobrien	(timeo/retrans) setting just in case.
602838494Sobrien
602938494Sobrien	* amd/autil.c (host_normalize): make sure hostent->h_name is
603038494Sobrien	passed a non-const char *.
603138494Sobrien
603238494Sobrien	* conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
603338494Sobrien
603438494Sobrien	* {lib,amq,amd}/*.c (many functions): cast xdr_entry to
603538494Sobrien	XDRPROC_T_TYPE.
603638494Sobrien
603738494Sobrien	* lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
603838494Sobrien	XDRPROC_T_TYPE.
603938494Sobrien
604038494Sobrien	* lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
604138494Sobrien	XDRPROC_T_TYPE.
604238494Sobrien
604338494Sobrien	* lib/wire.c (getwire): Make sure safe assignment from const to
604438494Sobrien	none is done.
604538494Sobrien
604638494SobrienSat Feb 15 19:38:51 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
604738494Sobrien
604838494Sobrien	* aux/macros/expand_cpp_int.m4: new macro for expanding integers.
604938494Sobrien
605038494Sobrien	* aux/configure.in: added linux/fs.h support in configure and
605138494Sobrien	several M4 macros.
605238494Sobrien
605338494Sobrien	* conf/mount/mount_linux.c (mount_linux): use macro instead of
605438494Sobrien	"ugly" fixed hex number for mount() arguments.
605538494Sobrien
605638494SobrienSat Feb 15 02:09:47 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
605738494Sobrien
605838494Sobrien	* amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
605938494Sobrien	turned all of its code always on.  That code always seems to
606038494Sobrien	compile, as long as you have hesiod and libresolv.
606138494Sobrien
606238494Sobrien	* amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
606338494Sobrien	of its code always on.
606438494Sobrien
606538494Sobrien	* aux/configure.in: removed superfluous test for hs_zone_transfer
606638494Sobrien	function (will never find it because it is an amd-internal
606738494Sobrien	function).
606838494Sobrien
606938494Sobrien	* amd/mapc.c (maptypes): must used correct new name for am-utils'
607038494Sobrien	hesiod initialization function: hesiod_am_init.
607138494Sobrien
607238494Sobrien	* amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
607338494Sobrien	hesiod_am_init so as not to conflict with libhesiod's
607438494Sobrien	hesiod_init() function.
607538494Sobrien
607638494Sobrien	* aux/configure.in: added test and explicit inclusion of
607738494Sobrien	libresolv.a for later resolution of library references with
607838494Sobrien	libhesiod.
607938494Sobrien
608038494Sobrien	* aux/macros/opt_cppflags.m4: new file.  configure/compile C
608138494Sobrien	preprocessor flags.
608238494Sobrien
608338494Sobrien	* aux/macros/opt_libs.m4: new file.  configure/compile library
608438494Sobrien	flags.
608538494Sobrien
608638494Sobrien	* Makefile.am (EXTRA_DIST_AUX): include two new macros
608738494Sobrien	opt_cppflags.m4 and opt_libs.m4.
608838494Sobrien
608938494Sobrien	* aux/configure.in: test for libhesiod needs to additional
609038494Sobrien	libresolv to link completely.  Additional configuration time
609138494Sobrien	options added for setting initial CPPFLAGS and LIBS.
609238494Sobrien
609338494SobrienTue Feb 10 02:15:40 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
609438494Sobrien
609538494Sobrien	*******************************************************************
609638494Sobrien	*** Released am-utils-6.0a1					***
609738494Sobrien	*******************************************************************
609838494Sobrien
609938494SobrienThu Feb  6 02:55:19 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
610038494Sobrien
610138494Sobrien	* amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
610238494Sobrien	it works on freebsd, where they map dbm_pagfno a non-existing
610338494Sobrien	macro on purpose, to force you to port the code to Berkeley DB.
610438494Sobrien
610538494SobrienFri Jan 31 01:35:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
610638494Sobrien
610738494Sobrien	* amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
610838494Sobrien	actual mount_toplvl, to avoid some possible race conditions.
610938494Sobrien
611038494SobrienThu Jan 30 02:31:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
611138494Sobrien
611238494Sobrien	* amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
611338494Sobrien
611438494SobrienWed Jan 29 18:25:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
611538494Sobrien
611638494Sobrien	* lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
611738494Sobrien
611838494Sobrien	* amd/amd.c (main): fix local address using htonl(). Free up
611938494Sobrien	buffers allocated by netdir_*() functions.
612038494Sobrien
612138494SobrienWed Jan 22 23:53:24 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
612238494Sobrien
612338494Sobrien	* amd/fix-amd-map.in: new script that will convert old-style amd
612438494Sobrien	maps to new one.
612538494Sobrien
612638494SobrienTue Jan 21 01:18:16 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
612738494Sobrien
612838494Sobrien	* FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
612938494Sobrien	and replies back to simple nfs/link type mount queries).
613038494Sobrien
613138494Sobrien	* conf/mtab/mtab_svr4.c: reorganized the code in this file to be
613238494Sobrien	easier to read, and fixed a few bugs with un/setting the lock file
613338494Sobrien	descriptor.
613438494Sobrien
613538494SobrienWed Jan  8 15:27:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
613638494Sobrien
613738494Sobrien	* amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
613838494Sobrien	signals in Svr3 systems.  Only stellix ever used this.
613938494Sobrien
614038494Sobrien	* amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
614138494Sobrien	by DYNAMIC_BUFFERS, since it was not in use.
614238494Sobrien
614338494SobrienTue Jan  7 00:45:59 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
614438494Sobrien
614538494Sobrien	* amd/opts.c (eval_opts): removed AMD_COMPAT code.  Amd no longer
614638494Sobrien	takes '=' sign as old selector.  Fix your maps.
614738494Sobrien	(deslashify): removed APOLLO code that treated two '//' as one.
614838494Sobrien
614938494SobrienSun Jan  5 01:25:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
615038494Sobrien
615138494Sobrien	* amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
615238494Sobrien	was not used.  It made any submount error fail the whole group.
615338494Sobrien
615438494Sobrien	* amd/ops_nfs.c (make_nfs_auth): removed code dependent on
615538494Sobrien	HAS_NFS_QUALIFIED_NAMES.
615638494Sobrien	(mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
615738494Sobrien	is never on.  So code that was triggered by #ifndef
615838494Sobrien	NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
615938494Sobrien	be fixed later.
616038494Sobrien	Removed all ULTRIX_HACK code.  Ultrix is DEAD!
616138494Sobrien	removed all PRESET_AC code, which was only on for Linux to preset
616238494Sobrien	the attribute cache values (otherwise they default to zero).
616338494Sobrien	(nfs_umounted): revobed KICK_KERNEL code (IRIX systems).  Will
616438494Sobrien	have to fixed up later.
616538494Sobrien	(mount_nfs_fh): removed code that was never included, which
616638494Sobrien	attempted to set the port on which amd's nfs mounts on.  This
616738494Sobrien	isn't supported by the ping algorithm yet.  In any case, it is all
616838494Sobrien	done in nfs_init().
616938494Sobrien
617038494Sobrien	* amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
617138494Sobrien	removed HAS_TCP_NFS code.  The whole use of NFS V.3 with TCP or
617238494Sobrien	specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
617338494Sobrien	have to be addressed later.
617438494Sobrien
617538494Sobrien	* amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
617638494Sobrien	on PRECISE_SYMLINKS.
617738494Sobrien
617838494Sobrien	* amd/mapc.c (mapc_meta_search): removed code that depended on
617938494Sobrien	HAS_DEPOT.  It is known buggy code.  The whole DEPOT support needs
618038494Sobrien	to be rethought.
618138494Sobrien	(mapc_add_kv): ported code to use standard regular expression
618238494Sobrien	(regexp) library.
618338494Sobrien
618438494Sobrien	* amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
618538494Sobrien	FLUSH_KERNEL_NAME_CACHE and the macro itself.
618638494Sobrien
618738494SobrienSat Jan  4 15:46:58 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
618838494Sobrien
618938494Sobrien	* amd/map.c (exported_ap_alloc): removed all code triggered by
619038494Sobrien	SHRINK_EXPORTED_AP and the macro itself.
619138494Sobrien
619238494Sobrien	* amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
619338494Sobrien	in all the time.  Assuming that there is always NIS realod
619438494Sobrien	available.
619538494Sobrien	(yp_all_fixed): removed code for BROKEN_YP_ALL.  If your yp_all()
619638494Sobrien	function is broken such that it does not release filedescriptors
619738494Sobrien	it created, then you are hosed.  Get a fix for yp_all from your
619838494Sobrien	vendor or switch operating systems.
619938494Sobrien
620038494SobrienTue Dec 31 15:34:36 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
620138494Sobrien
620238494Sobrien	* amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
620338494Sobrien	HAVE_HS_ZONE_TRANSFER.
620438494Sobrien
620538494SobrienMon Dec 30 17:33:23 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
620638494Sobrien
620738494Sobrien	* amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
620838494Sobrien	always included.  We should always try to inform the remove mount
620938494Sobrien	daemon of mounts we performed.  If we want an option for this, it
621038494Sobrien	should be a run-time option.
621138494Sobrien
621238494Sobrien	* amd/host_ops.c: removed all that optionally did not make the
621338494Sobrien	directory mount points for amd.
621438494Sobrien
621538494Sobrien	* HOST_EXEC code removed from everywhere.  There is no indication
621638494Sobrien	that it was used anywhere.  If it needs to be used, then a
621738494Sobrien	run-time switch should control it.
621838494Sobrien
621938494SobrienThu Dec 26 00:06:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
622038494Sobrien
622138494Sobrien	* amd/*_ops.c: removed all references to mntent_t's fields
622238494Sobrien	mnt_freq and mnt_passno, since they are no longe rused (and never
622338494Sobrien	have been).
622438494Sobrien
622538494Sobrien	* amd/am_ops.c: removed function sunos4_match, which was off
622638494Sobrien	anyway.  This was one of the places where an '=' sign was allowed
622738494Sobrien	as an assignment operator (which is now ':=').
622838494Sobrien
622938494Sobrien	* amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
623038494Sobrien	was off anyway.  This was one of the places where an '=' sign was
623138494Sobrien	allowed as an assignment operator (which is now ':=').
623238494Sobrien
623338494SobrienTue Dec 24 01:53:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
623438494Sobrien
623538494Sobrien	* amq/amq.c: ported to am-utils.  Working.
623638494Sobrien
623738494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
623838494Sobrien	to be string, as it should be (rather than a string mapped to int
623938494Sobrien	and back mapped to string).
624038494Sobrien
624138494SobrienSun Dec 22 13:26:05 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
624238494Sobrien
624338494Sobrien	* lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
624438494Sobrien
624538494Sobrien	* lib/umount_fs.c: split this into three files: default, osf, and
624638494Sobrien	bsd44, that are in conf/umount/umount_*.c.
624738494Sobrien
624838494SobrienThu Dec 19 17:33:46 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
624938494Sobrien
625038494Sobrien	* aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
625138494Sobrien	macro to automatically figure out if an external definition for
625238494Sobrien	sys_errlist[] exists.
625338494Sobrien
625438494Sobrien	* lib/xutil.c (xfree): removed "#undef free" because it's not
625538494Sobrien	needed there.  Any system that redefines free() needs help.
625638494Sobrien
625738494Sobrien	* conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
625838494Sobrien	was dependent on REWRITE_MTAB_IN_PLACE.  It does not appear to be
625938494Sobrien	in active use anywhere.  If added later, it should be a run-time
626038494Sobrien	configuration option.
626138494Sobrien
626238494Sobrien	* conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
626338494Sobrien	be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
626438494Sobrien	in a file in /etc.
626538494Sobrien
626638494Sobrien	* lib/util.c (str3cat): removed _AIX code.  AIX should have a
626738494Sobrien	working realloc, or else find a cleaner solution to this.
626838494Sobrien	(mkdirs): removed SUNOS4_WORKAROUND code.  This was to do a sync()
626938494Sobrien	after immediately making directories so that fsck will be able to
627038494Sobrien	fix the filesystem in the event of an immediate crash.  This was
627138494Sobrien	because a bug in UFS which is fixed by now.
627238494Sobrien
627338494Sobrien	* lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
627438494Sobrien	code.  Does not appear to be on and used anywhere.
627538494Sobrien	(dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
627638494Sobrien
627738494Sobrien	* lib/resvport.c: split the binding of reserved ports code to a
627838494Sobrien	separate file.  A #define (HAVE_T_OPEN) separates the TLI (SVR4)
627938494Sobrien	from the BSD code.
628038494Sobrien
628138494SobrienThu Dec 19 02:08:35 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
628238494Sobrien
628338494Sobrien	* lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
628438494Sobrien	in by automake and configure, for optional sources that need to be
628538494Sobrien	built as part of libamu.a.
628638494Sobrien
628738494Sobrien	* aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
628838494Sobrien	to LIBOBJS.
628938494Sobrien
629038494Sobrien	* lib/memcmp.c (memcmp): new file added to replace a possible bad
629138494Sobrien	implementation of memcmp.
629238494Sobrien
629338494SobrienWed Dec 18 22:20:23 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
629438494Sobrien
629538494Sobrien	* converted the sources to use memset/memmove/memcmp instead of
629682794Sobrien	bzero/bcopy/bcmp.
629738494Sobrien
629838494Sobrien	* ran all sources through gnu Indent w/ options specified in
629938494Sobrien	aux/amindent.
630038494Sobrien
630138494SobrienWed Dec 11 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
630238494Sobrien
630338494Sobrien	* At this point the initial genration of config.h via autoconf and
630438494Sobrien	some preliminary makefiles via automake is done.  I will not begin
630538494Sobrien	modifying sources, so it's a good time to document from here.
630682794Sobrien
630782794SobrienWed Dec 10 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
630882794Sobrien
630982794Sobrien	*******************************************************************
631082794Sobrien	*** Initial ChangeLog Entry					***
631182794Sobrien	*******************************************************************
6312