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