ChangeLog revision 51292
151292Sobrien1999-09-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
251292Sobrien
351292Sobrien	*******************************************************************
451292Sobrien	*** Released am-utils-6.0.1					***
551292Sobrien	*******************************************************************
651292Sobrien
751292Sobrien1999-09-08  Erez Zadok  <ezk@cs.columbia.edu>
851292Sobrien
951292Sobrien	* aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct
1051292Sobrien	netexport defined.
1151292Sobrien
1251292Sobrien	* aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and
1351292Sobrien	struct netexport defined.
1451292Sobrien
1551292Sobrien1999-09-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1651292Sobrien
1751292Sobrien	* aux/macros/check_field.m4 (ac_upcase_var_name): include
1851292Sobrien	<ifaddrs.h> so we can detect fields within struct ifaddrs.
1951292Sobrien
2051292Sobrien	* libamu/wire.c (getwire): bsdi-2.1 uses a second arg to
2151292Sobrien	getifaddrs() and struct ifaddrs has no ifa_next field.
2251292Sobrien
2351292Sobrien	* aux/configure.in: check if 'struct ifaddrs' has a field
2451292Sobrien	ifa_next.
2551292Sobrien
2651292Sobrien	* include/amq_defs.h (AMQ_STRLEN): double size of amq string
2751292Sobrien	length to 2048 bytes.
2851292Sobrien
2951292Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs
3051292Sobrien	header files and ufs/ufs/ufsmount.h.  Bug reported by <Christos
3151292Sobrien	Zoulas> christos@zoulas.com.
3251292Sobrien
3351292Sobrien	* aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>.
3451292Sobrien	Bug reported by <Christos Zoulas> christos@zoulas.com.
3551292Sobrien
3651292Sobrien	* aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h>
3751292Sobrien
3851292Sobrien1999-09-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3951292Sobrien
4051292Sobrien	* libamu/xutil.c (expand_error): use strerror if available instead
4151292Sobrien	of sys_errlist.  Bug reported by <Christos Zoulas>
4251292Sobrien	christos@zoulas.com.
4351292Sobrien
4451292Sobrien	* hlfsd/hlfsd.c (fatal): use strerror if available instead of
4551292Sobrien	sys_errlist.
4651292Sobrien
4751292Sobrien	* amq/amq.c (show_mi): use strerror if available instead of
4851292Sobrien	sys_errlist.
4951292Sobrien
5051292Sobrien	* aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4
5151292Sobrien	nfs_prot header is used for any future (1.5 etc.) netbsd systems.
5251292Sobrien
5351292Sobrien	* amq/pawd.c (find_mt): check for type nfsl as well.  Fix from
5451292Sobrien	"Andrew J. Korty" <ajk@purdue.edu>
5551292Sobrien
5651292Sobrien1999-08-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5751292Sobrien
5851292Sobrien	* doc/am-utils.texi (Supported Platforms): updates for redhat
5951292Sobrien	systems.
6051292Sobrien
6151292Sobrien	* INSTALL: updates for redhat systems.
6251292Sobrien
6351292Sobrien	* libamu/wire.c (getwire_lookup): spell "succeeded" correctly
6451292Sobrien
6551292Sobrien1999-08-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6651292Sobrien
6751292Sobrien	* scripts/ctl-amd.in: sleep 1 second between killing amd and
6851292Sobrien	restarting it, because amq may respond that amd is down, where in
6951292Sobrien	fact it is still trying to unmount itself after unmapping itself
7051292Sobrien	from the portmapper.
7151292Sobrien
7251292Sobrien	* aux/config.guess.long: new script to print long version of
7351292Sobrien	config.guess output.
7451292Sobrien
7551292Sobrien	* buildall (host_alias): use long version of config.guess.
7651292Sobrien
7751292Sobrien1999-08-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
7851292Sobrien
7951292Sobrien	* scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop
8051292Sobrien	scripts.
8151292Sobrien
8251292Sobrien1999-08-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
8351292Sobrien
8451292Sobrien	* released snapshot am-utils-6.0.1s11
8551292Sobrien
8651292Sobrien	* libamu/xutil.c (expand_error): make sure expanding the string
8751292Sobrien	with textual version of errno doesn't overrun the 1024 bytes
8851292Sobrien	buffer.
8951292Sobrien	(real_plog): null terminate msg, just in case.
9051292Sobrien
9151292Sobrien	* amq/amq.c (main): don't getopt -M option and don't process it
9251292Sobrien	unless ENABLE_AMQ_MOUNT is on.
9351292Sobrien
9451292Sobrien	* amd/amq_svc.c (amq_program_1): all code that relates to amq -M
9551292Sobrien	is conditional on #ifdef ENABLE_AMQ_MOUNT.
9651292Sobrien
9751292Sobrien	* amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked
9851292Sobrien	when amq -M code is disabled.  Not taking any chances.
9951292Sobrien
10051292Sobrien1999-08-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
10151292Sobrien
10251292Sobrien	* released snapshot am-utils-6.0.1s10
10351292Sobrien
10451292SobrienSun Aug 22 16:18:59 1999  Erez Zadok  <ezk@subzero.cs.columbia.edu>
10551292Sobrien
10651292Sobrien	* libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on
10751292Sobrien	128.59.16.0), try to shift the network out of zeros (e.g.,
10851292Sobrien	128.59.16) and try again.  Irix 6.4 requires short network
10951292Sobrien	numbers.
11051292Sobrien
11151292Sobrien1999-08-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
11251292Sobrien
11351292Sobrien	* libamu/wire.c (getwire_lookup): correctly compute subnet using
11451292Sobrien	netmask.
11551292Sobrien
11651292Sobrien	* libamu/mount_fs.c (compute_automounter_nfs_args): require that
11751292Sobrien	Amd's own NFS mounts use reserved ports (if possible).  IP packet
11851292Sobrien	security fix from Jeffrey C Honig <jch@BSDI.COM>.
11951292Sobrien
12051292Sobrien	* conf/transp/transp_tli.c (create_autofs_service): use correct
12151292Sobrien	autofs_port.  IP packet security fix from Jeffrey C Honig
12251292Sobrien	<jch@BSDI.COM>.
12351292Sobrien
12451292Sobrien	* conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary
12551292Sobrien	function.  IP packet security fix from Jeffrey C Honig
12651292Sobrien	<jch@BSDI.COM>.
12751292Sobrien	(create_nfs_service): use bind_resv_port() directly.  ensure that
12851292Sobrien	privileged ports are used.  IP packet security fix from Jeffrey C
12951292Sobrien	Honig <jch@BSDI.COM>.
13051292Sobrien
13151292Sobrien	* amd/nfs_prot_svc.c (nfs_program_2): verify that requests come
13251292Sobrien	from reserved ports and from a local IP address.  IP packet
13351292Sobrien	security fix from Jeffrey C Honig <jch@BSDI.COM>.
13451292Sobrien
13551292Sobrien	* amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of
13651292Sobrien	hard-coded 1024.  IP packet security fix from Jeffrey C Honig
13751292Sobrien	<jch@BSDI.COM>.
13851292Sobrien	(amqproc_mount_1_svc): provide information on the caller making an
13951292Sobrien	amq -M request.  IP packet security fix from Jeffrey C Honig
14051292Sobrien	<jch@BSDI.COM>.
14151292Sobrien
14251292Sobrien	* amd/map.c (free_map_if_success): If the program doing an unmount
14351292Sobrien	of a program filesystem fails, amd tries to interpret the return
14451292Sobrien	code as an errno.  Fix from Jeffrey C Honig <jch@BSDI.COM>.
14551292Sobrien
14651292Sobrien	* amd/info_nis.c (determine_nis_domain): don't always print
14751292Sobrien	warning about NIS domain name not being set, even if NIS is not in
14851292Sobrien	use.
14951292Sobrien
15051292Sobrien1999-08-21  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
15151292Sobrien
15251292Sobrien	* amd/info_ldap.c (get_ldap_timestamp): initialize variable err.
15351292Sobrien	(amu_ldap_search): initialize variable err.
15451292Sobrien
15551292Sobrien1999-08-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
15651292Sobrien
15751292Sobrien	* libamu/wire.c: written using getifaddrs() for BSD systems,
15851292Sobrien	contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>).
15951292Sobrien
16051292Sobrien1999-08-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
16151292Sobrien
16251292Sobrien	* include/am_utils.h (SALLOC): a simple macro to allocate N bytes.
16351292Sobrien
16451292Sobrien	* aux/configure.in: check for irs.h and ifaddrs.h.
16551292Sobrien	Increase libamu.so --version-info to 3:1:1 since we've changed the
16651292Sobrien	source code for the library.
16751292Sobrien	Check for getifaddrs() function.
16851292Sobrien
16951292Sobrien1999-08-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
17051292Sobrien
17151292Sobrien	* libamu/mount_fs.c (print_nfs_args): print fields namlen and
17251292Sobrien	bsize if they exist.
17351292Sobrien
17451292Sobrien	* conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen
17551292Sobrien	and ->bsize fields correctly, if those fields exist.  This is a
17651292Sobrien	bug in that amd neglected to set these fields, but told the
17751292Sobrien	kernel it is mounting the nfs_args_t structure using mount version
17851292Sobrien	3 (which requires both bsize and namlen fields).
17951292Sobrien
18051292Sobrien	* aux/configure.in: test for two new nfs_args_t fields (used on
18151292Sobrien	newer linux with mount versions 2 and 3): bsize and namlen.
18251292Sobrien
18351292Sobrien	* doc/am-utils.texi (netgrpd Selector Function): document new
18451292Sobrien	selector function.
18551292Sobrien
18651292Sobrien	* amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to
18751292Sobrien	test if the current host (fully-qualified name) is in the ARG host
18851292Sobrien	netgroup.  The netgrp() function uses the short form of a host
18951292Sobrien	name.  Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>.
19051292Sobrien
19151292Sobrien	* doc/am-utils.texi (automount2amd): document new script.
19251292Sobrien
19351292Sobrien	* scripts/Makefile.am: create, install, and distribute
19451292Sobrien	automount2amd perl script and its man page.
19551292Sobrien
19651292Sobrien	* scripts/automount2amd.8: new man page for automount2amd.
19751292Sobrien
19851292Sobrien	* scripts/automount2amd.in: new file, contributed a in 1993 by
19951292Sobrien	Mike Walker <mike@tab00.larc.nasa.gov>.  Fixed to use addopts for
20051292Sobrien	any automount map options specified.
20151292Sobrien
20251292Sobrien1999-08-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
20351292Sobrien
20451292Sobrien	* released snapshot am-utils-6.0.1s9
20551292Sobrien
20651292Sobrien1999-08-09  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
20751292Sobrien
20851292Sobrien	* amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to
20951292Sobrien	1.
21051292Sobrien	(amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0.
21151292Sobrien	(amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of
21251292Sobrien	(u_int)~0.
21351292Sobrien
21451292Sobrien	* amd/mapc.c (make_entry_chain): NFS cookies should be
21551292Sobrien	monotonically increasing, because Linux 2.3 expects that, even
21651292Sobrien	though it is not in the spec (RFC-1094) for NFS V2.
21751292Sobrien
21851292Sobrien1999-08-06  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
21951292Sobrien
22051292Sobrien	* aux/macros/check_lib_funcs.m4: removed unused macro.
22151292Sobrien
22251292Sobrien	* aux/macros/linux_headers.m4: new macro to ensure that linux
22351292Sobrien	kernel headers match running kernel version.
22451292Sobrien
22551292Sobrien	* aux/acconfig.h: define HOST_HEADER_VERSION so we can check if
22651292Sobrien	amd is configured on linux hosts that run one kernel but have
22751292Sobrien	headers for a different version.
22851292Sobrien
22951292Sobrien	* amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the
23051292Sobrien	logic which uses nis_isup and has_yp_order.  Make sure it is used
23151292Sobrien	correctly , esp. for NIS+ in NIS-compatibility mode.  Bug fix from
23251292Sobrien	Peter Breitenlohner <peb@mppmu.mpg.de>.
23351292Sobrien
23451292Sobrien	* include/am_defs.h: fix conflicts on linux 2.2 systems with older
23551292Sobrien	libc5.  Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>.
23651292Sobrien
23751292Sobrien	* scripts/lostaltmail.in: use sockaddr_in(), not pack() to
23851292Sobrien	correctly fill in a struct sockaddr_in.  On Solaris x86 hosts,
23951292Sobrien	using pack() results in byte-misaligned values.
24051292Sobrien
24151292Sobrien1999-08-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
24251292Sobrien
24351292Sobrien	* conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3
24451292Sobrien	mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>.  Also use
24551292Sobrien	better macros for case statement.
24651292Sobrien
24751292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures
24851292Sobrien	unless ldap is actually available.
24951292Sobrien
25051292Sobrien	* use updated config.guess and config.sub.  Use newer automake
25151292Sobrien	that fixes problems with distributing optional libamu files
25251292Sobrien	(clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c,
25351292Sobrien	and ualarm.c)
25451292Sobrien
25551292Sobrien1999-07-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
25651292Sobrien
25751292Sobrien	* minor port i386-unknown-openbsd2.5
25851292Sobrien
25951292Sobrien1999-07-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
26051292Sobrien
26151292Sobrien	* minor ports to freebsdelf 3.[0-2] and 4.0 completed
26251292Sobrien
26351292Sobrien	* aux/macros/check_nfs_prot_headers.m4: support freebsdelf
26451292Sobrien
26551292Sobrien	* aux/macros/check_nfs_socket_connection.m4: support freebsdelf
26651292Sobrien
26751292Sobrien1999-06-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
26851292Sobrien
26951292Sobrien	* released snapshot am-utils-6.0.1s8
27051292Sobrien
27151292Sobrien1999-06-23  Erez Zadok  <ezk@beetle.mcl.cs.columbia.edu>
27251292Sobrien
27351292Sobrien	* include/am_defs.h: avoid various header conflicts on
27451292Sobrien	RedHat/Linux 6.0 and kernels 2.2.10 or newer.
27551292Sobrien
27651292Sobrien	* aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and
27751292Sobrien	kernel 2.2.10)
27851292Sobrien
27951292Sobrien	* amd/amfs_program.c (amfs_program_exec): make sure logfp is
28051292Sobrien	initialized dynamically to stderr if needed.
28151292Sobrien
28251292Sobrien	* libamu/xutil.c (dplog): make sure logfp is initialized
28351292Sobrien	dynamically to stderr if needed.
28451292Sobrien	(plog): ditto.
28551292Sobrien
28651292Sobrien	* amd/amfs_program.c (amfs_program_exec): set logfp to stderr if
28751292Sobrien	not initialized.
28851292Sobrien
28951292Sobrien	* libamu/xutil.c: don't initialize logfp statically to stderr,
29051292Sobrien	because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer
29151292Sobrien	be manipulated like a variable.
29251292Sobrien
29351292Sobrien	* include/am_defs.h: avoid more conflicts between <linux/fs.h> and
29451292Sobrien	<sys/mount.h> on 2.2 linux kernels.
29551292Sobrien	include <db1/ndbm.h> as needed (RedHat/Linux 6.0)
29651292Sobrien
29751292Sobrien1999-04-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
29851292Sobrien
29951292Sobrien	* all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS)
30051292Sobrien
30151292Sobrien	* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER):
30251292Sobrien	renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake
30351292Sobrien	won't attempt to add it to the header files to distribute.
30451292Sobrien
30551292Sobrien1999-04-19  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
30651292Sobrien
30751292Sobrien	* aux/GNUmakefile: invoke aclocal with new --altdir flag.
30851292Sobrien
30951292Sobrien1999-04-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
31051292Sobrien
31151292Sobrien	* minor new port: i386-unknown-netbsd1.4 (ALPHA)
31251292Sobrien
31351292Sobrien	* aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h>
31451292Sobrien	and <isofs/cd9660/cd9660_mount.h> because they are also included
31551292Sobrien	from MOUNT_HEADERS.  Causes multiple inclusion of unprotected
31651292Sobrien	headers on netbsd-1.4_ALPHA.
31751292Sobrien
31851292Sobrien1999-04-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
31951292Sobrien
32051292Sobrien	* aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's
32151292Sobrien	sys_errlist extern doesn't end with [].
32251292Sobrien
32351292Sobrien	* aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support.
32451292Sobrien
32551292Sobrien1999-04-11  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
32651292Sobrien
32751292Sobrien	* newer automake wants texinfo.tex to be in aux/ not doc/
32851292Sobrien
32951292Sobrien1999-03-30  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
33051292Sobrien
33151292Sobrien	* amd/conf_parse.y: alloca support.
33251292Sobrien
33351292Sobrien	* fsinfo/fsi_gram.y: alloca support.
33451292Sobrien
33551292Sobrien	* libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if
33651292Sobrien	needed.
33751292Sobrien
33851292Sobrien	* aux/configure.in: test for alloca support.  Needed because bison
33951292Sobrien	generates parsers that use alloca, and hpux9 does have alloca and
34051292Sobrien	its /bin/cc doesn't support it builtin (the way gcc does).
34151292Sobrien
34251292Sobrien	* libamu/alloca.c: new file, needed on hpux9 with /bin/cc.  Taken
34351292Sobrien	verbatim from bison-1.25.
34451292Sobrien
34551292Sobrien	* include/am_defs.h: fixed typo #errir -> #error
34651292Sobrien
34751292Sobrien	* released snapshot am-utils-6.0.1s7
34851292Sobrien
34951292Sobrien	* README.y2k: more information about am-utils' compatibility, from
35051292Sobrien	Paul Balyoz <pbalyoz@sedona.ch.intel.com>.
35151292Sobrien
35251292Sobrien	* scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K
35351292Sobrien	compliant format.  Patch from Paul Balyoz
35451292Sobrien	<pbalyoz@sedona.ch.intel.com>
35551292Sobrien
35651292Sobrien	* doc/am-utils.texi (Supported Platforms): hpux10.20 could have
35751292Sobrien	nfs v.3 support (with some vendor patches), but it is turned off.
35851292Sobrien
35951292Sobrien	* aux/macros/os_cflags.m4: use ansi compiler options on hpux.
36051292Sobrien
36151292Sobrien	* conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid
36251292Sobrien	confusing am-utils.  10.20 with some patches has incomplete
36351292Sobrien	support.  Patch from Jon Peatfield
36451292Sobrien	<J.S.Peatfield@damtp.cam.ac.uk>.
36551292Sobrien
36651292Sobrien1999-03-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
36751292Sobrien
36851292Sobrien	* minor port i386-pc-bsdi4.0.1
36951292Sobrien
37051292Sobrien1999-03-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
37151292Sobrien
37251292Sobrien	* doc/am-utils.texi (Supported Platforms): add forgotten listing
37351292Sobrien	for powerpc-linux.
37451292Sobrien
37551292Sobrien1999-03-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
37651292Sobrien
37751292Sobrien	* scripts/amd.conf.5: fix typo.  From Jeffrey C Honig
37851292Sobrien	<jch@BSDI.COM>.
37951292Sobrien
38051292Sobrien	* doc/am-utils.texi: document iso9660 options norrip, gens, and
38151292Sobrien	extatt.
38251292Sobrien	(opts Option): documented dumbtimr and noauto options.  From
38351292Sobrien	Jeffrey C Honig <jch@BSDI.COM>.
38451292Sobrien
38551292Sobrien	* include/am_compat.h: define default strings for options norrip,
38651292Sobrien	gens, and extatt.
38751292Sobrien
38851292Sobrien	* amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and
38951292Sobrien	extatt.
39051292Sobrien
39151292Sobrien	* aux/macros/mount_headers.m4: also include
39251292Sobrien	<isofs/cd9660/cd9660_mount.h> as needed.
39351292Sobrien
39451292Sobrien	* aux/configure.in: check for isofs mount options for bsdi4:
39551292Sobrien	norrip, gens, and extatt.  Reported by Jeffrey C Honig
39651292Sobrien	<jch@BSDI.COM>.
39751292Sobrien
39851292Sobrien	* aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags
39951292Sobrien	(bsdi4).
40051292Sobrien
40151292Sobrien1999-03-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
40251292Sobrien
40351292Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: ditto.
40451292Sobrien
40551292Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>,
40651292Sobrien	for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>.
40751292Sobrien
40851292Sobrien1999-03-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
40951292Sobrien
41051292Sobrien	* get latest copies of config.guess, config.sub, ltconfig, and
41151292Sobrien	ltmain.sh from libtool-1.2f.
41251292Sobrien
41351292Sobrien	* all Makefile.am: don't use continuation lines (using \) for
41451292Sobrien	short lists of files.
41551292Sobrien
41651292Sobrien	* libamu/Makefile.am (DISTCLEANFILES): make distclean should
41751292Sobrien	remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c.
41851292Sobrien	Reported by Jeffrey C Honig <jch@BSDI.COM>.
41951292Sobrien
42051292Sobrien	* fixmount/Makefile.am (DISTCLEANFILES): make distclean should
42151292Sobrien	remove checkmount.c.  Reported by Jeffrey C Honig <jch@BSDI.COM>.
42251292Sobrien
42351292Sobrien	* Makefile.am (DISTCLEANFILES): make distclean should remove
42451292Sobrien	amu_nfs_prot.h, config.cache.old, and dbgcf.h.  Reported by
42551292Sobrien	Jeffrey C Honig <jch@BSDI.COM>.
42651292Sobrien
42751292Sobrien1999-03-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
42851292Sobrien
42951292Sobrien	* released snapshot am-utils-6.0.1s6
43051292Sobrien
43151292Sobrien1999-03-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
43251292Sobrien
43351292Sobrien	* INSTALL: document freebsdelf.
43451292Sobrien
43551292Sobrien	* doc/am-utils.texi (Supported Platforms): document freebsdelf.
43651292Sobrien
43751292Sobrien1999-03-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
43851292Sobrien
43951292Sobrien	* minor new ports: i386-unknown-freebsdelf3.1 and
44051292Sobrien	i386-unknown-freebsdelf4.0
44151292Sobrien
44251292Sobrien	* aux/macros/check_nfs_prot_headers.m4: freebsd4 support.
44351292Sobrien
44451292Sobrien	* aux/macros/check_nfs_socket_connection.m4: freebsd4 support.
44551292Sobrien
44651292Sobrien	* aux/macros/check_nfs_fh_dref.m4: freebsd4 support.
44751292Sobrien
44851292Sobrien	* amd/opts.c (eval_opts): changed log level of "executing
44951292Sobrien	negated..." message from USER to INFO, as per Guntram Wolski
45051292Sobrien	<gwolsk@sei.com>.
45151292Sobrien
45251292Sobrien1999-02-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
45351292Sobrien
45451292Sobrien	* */Makefile.am (LDADD): force linking against an installed
45551292Sobrien	libamu.{a,so}.
45651292Sobrien
45751292Sobrien	* doc/am-utils.texi (addopts Option): document remopts interaction
45851292Sobrien	with addopts.
45951292Sobrien
46051292Sobrien	* amd/am_ops.c (ops_match): if addopts are specified, apply them
46151292Sobrien	to the value of remopts as well as opts.
46251292Sobrien
46351292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used.
46451292Sobrien
46551292Sobrien1999-02-05  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
46651292Sobrien
46751292Sobrien	* released snapshot am-utils-6.0.1s5
46851292Sobrien
46951292Sobrien	* conf/mount/mount_linux.c (mount_linux): set default nfs_args
47051292Sobrien	options for ac{reg,dir}{min,man} as per the mount-2.8a package,
47151292Sobrien	but only if noac option was not used.
47251292Sobrien
47351292Sobrien1999-02-05  Erez Zadok  <ezk@retro.cs.columbia.edu>
47451292Sobrien
47551292Sobrien	* conf/mount/mount_linux.c (mount_linux): print nfs_args again
47651292Sobrien	since it was updated.
47751292Sobrien	(mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels
47851292Sobrien	and newer.  Bug was found by Neil Conway
47951292Sobrien	<nconway.list@ukaea.org.uk>
48051292Sobrien
48151292Sobrien1999-02-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
48251292Sobrien
48351292Sobrien	* released snapshot am-utils-6.0.1s4
48451292Sobrien
48551292Sobrien1999-02-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
48651292Sobrien
48751292Sobrien	* amq/amq.c (main): don't list -M as a valid amq option unless
48851292Sobrien	configure'd with --enable-amq-mount.
48951292Sobrien
49051292SobrienWed Feb  3 18:11:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
49151292Sobrien
49251292Sobrien	* amd/nfs_start.c (amd_use_autofs): Define.
49351292Sobrien	(mount_automounter): Create autofs service listener only if
49451292Sobrien	necessary to avoid unnecessary clashes with e.g. automountd.
49551292Sobrien
49651292Sobrien	* amd/amd.h (amd_use_autofs): Declare.
49751292Sobrien
49851292Sobrien	* amd/conf.c (gopt_mount_type): Set amd_use_autofs.
49951292Sobrien	(ropt_mount_type): Likewise.
50051292Sobrien
50151292Sobrien1999-02-02  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
50251292Sobrien
50351292Sobrien	* aux/macros/check_mnt2_nfs_opt.m4:: ditto
50451292Sobrien
50551292Sobrien	* aux/macros/check_mnt2_cdfs_opt.m4: ditto
50651292Sobrien
50751292Sobrien	* aux/macros/check_mnt2_gen_opt.m4: ditto
50851292Sobrien
50951292Sobrien	* aux/macros/check_mnttab_opt.m4: new macro in this file to loop
51051292Sobrien	over AC_CHECK_MNTTAB_OPT.  Reduces size of configure script a lot.
51151292Sobrien
51251292Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h,
51351292Sobrien	nfs/nfs.h and nfs/nfsmount.h if they exist.  Patch from
51451292Sobrien	christos@zoulas.com (Christos Zoulas).
51551292Sobrien
51651292Sobrien	* amd/info_hesiod.c: some forward declarations.  Patch from
51751292Sobrien	christos@zoulas.com (Christos Zoulas).
51851292Sobrien
51951292Sobrien1999-01-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
52051292Sobrien
52151292Sobrien	* libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn
52251292Sobrien	option if it was already in that state.  Patch from David
52351292Sobrien	Wolfskill <dhw@whistle.com>.
52451292Sobrien
52551292Sobrien1999-01-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
52651292Sobrien
52751292Sobrien	* aux/configure.in: automake nowadays supports LTLIBOBJS (but not
52851292Sobrien	LTALLOCA yet).  Substitute value of LIBTOOL_DEPS for libtool
52951292Sobrien	rebuild make rules.
53051292Sobrien
53151292Sobrien	* Makefile.am: new rules to remake libtool (maintainers only)
53251292Sobrien
53351292Sobrien	* amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags
53451292Sobrien	if -D trace was used.
53551292Sobrien
53651292Sobrien1999-01-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
53751292Sobrien
53851292Sobrien	* buildall: all if statements should have an else clause because
53951292Sobrien	of Ultrix's /bin/sh.
54051292Sobrien
54151292Sobrien1999-01-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
54251292Sobrien
54351292Sobrien	* amq/amq.c: removed dummy variables.
54451292Sobrien
54551292Sobrien	* amq/pawd.c: removed dummy variable.s
54651292Sobrien
54751292Sobrien	* fixmount/fixmount.c (usage): removed dummy variables.
54851292Sobrien
54951292Sobrien	* fsinfo/fsinfo.c: removed dummy variables.
55051292Sobrien
55151292Sobrien	* hlfsd/hlfsd.c: removed dummy variables.
55251292Sobrien
55351292Sobrien	* wire-test/wire-test.c: removed dummy variables.
55451292Sobrien
55551292Sobrien	* mk-amd-map/mk-amd-map.c: removed dummy variables.
55651292Sobrien
55751292Sobrien	* doc/texinfo.tex: updates from GNU mirror.
55851292Sobrien
55951292Sobrien	* aux/GNUmakefile (../doc/texinfo.tex): new rule to update
56051292Sobrien	doc/texinfo.tex from GNU mirror.
56151292Sobrien
56251292Sobrien	* released snapshot am-utils-6.0.1s3
56351292Sobrien
56451292Sobrien	* Makefile.am (install-snapshot): better snapshot and new
56551292Sobrien	install-snapshot and test-snapshot rules (maintainer).
56651292Sobrien
56751292Sobrien	* amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the
56851292Sobrien	args may be NULL.
56951292Sobrien	Some dlog() entries were not enclosed in #ifdef DEBUG.  Fix from
57051292Sobrien	Bill Paul <wpaul@ctr.columbia.edu>
57151292Sobrien
57251292Sobrien1999-01-13  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
57351292Sobrien
57451292Sobrien	* check for experimental generic 'ignore' mount flag on freebsd3.
57551292Sobrien
57651292Sobrien	* Update library -version-info to 3:0:1 (will result in 2.1.0 .so
57751292Sobrien	version, which is backwards compatible with older versions.)  Only
57851292Sobrien	one new interface was added to libamu.
57951292Sobrien
58051292Sobrien	* amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags
58151292Sobrien	that are specific to automounter mounts.
58251292Sobrien
58351292Sobrien	* aux/configure.in: update libamu.so age and revision since a new
58451292Sobrien	interface was added to libamu/mount_fs.c
58551292Sobrien	(compute_automounter_mount_flags).
58651292Sobrien
58751292Sobrien	* libamu/mount_fs.c (compute_automounter_mount_flags): new
58851292Sobrien	function to compute generic mount flags that are specific to mount
58951292Sobrien	points only.
59051292Sobrien
59151292Sobrien	* aux/{configure.in,acconfig.h}: add support for generic mount
59251292Sobrien	entry ignore option.
59351292Sobrien
59451292Sobrien	* released snapshot am-utils-6.0.1s2
59551292Sobrien
59651292Sobrien	* amd/info_ldap.c (get_ldap_timestamp): dlog format fixes.
59751292Sobrien
59851292Sobrien	* libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format
59951292Sobrien	of knc_semantics from u_long to u_int.
60051292Sobrien
60151292Sobrien	* aux/macros/check_mount_style.m4: freebsd3 no longer needs a
60251292Sobrien	special mount helper.
60351292Sobrien
60451292Sobrien1999-01-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
60551292Sobrien
60651292Sobrien	* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS):
60751292Sobrien	amu_nfs_conf.h should always be found in $top_builddir.
60851292Sobrien
60951292SobrienTue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
61051292Sobrien
61151292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine
61251292Sobrien	to avoid wrong reports from show_fstypes.
61351292Sobrien
61451292Sobrien	* conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise.
61551292Sobrien
61651292Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise.
61751292Sobrien
61851292SobrienTue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
61951292Sobrien
62051292Sobrien	* BUGS (mips-dec-ultrix4.3): Update Ultrix caveats.
62151292Sobrien
62251292SobrienTue Jan 12 00:05:42 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
62351292Sobrien
62451292Sobrien	* hlfsd/homedir.c (delay): Cast child to long, adapt format.
62551292Sobrien	(hlfsd_getpwent): Likewise for pw_uid.
62651292Sobrien
62751292Sobrien	* amd/info_nis.c (nis_init): Cast order to unsigned long, adapt
62851292Sobrien	format. 
62951292Sobrien
63051292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast
63151292Sobrien	tv_sec to int to match format.
63251292Sobrien	(get_nfs_version): Cast nfs_version, NFS_VERSION to int to match
63351292Sobrien	formats. 
63451292Sobrien
63551292Sobrien	* amd/amfs_program.c (amfs_program_exec): Cast ptr difference to
63651292Sobrien	long, adapt format.
63751292Sobrien
63851292Sobrien	* include/am_defs.h: Handle __attribute__ if available.  From
63951292Sobrien	GNU fileutils 4.0 lib/errors.h.
64051292Sobrien
64151292SobrienMon Jan 11 13:46:44 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
64251292Sobrien
64351292Sobrien	* libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to
64451292Sobrien	match format.
64551292Sobrien
64651292Sobrien	* hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long,
64751292Sobrien	adapt format.
64851292Sobrien	(nfsproc_lookup_2_svc): Likewise.
64951292Sobrien	(nfsproc_readlink_2_svc): Likewise for userid, groupid.
65051292Sobrien
65151292Sobrien	* hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
65251292Sobrien	format.
65351292Sobrien
65451292Sobrien	* hlfsd/homedir.c (homedir): Cast uid, child to long, adapt
65551292Sobrien	format. 
65651292Sobrien
65751292Sobrien	* amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned
65851292Sobrien	long, adapt format.
65951292Sobrien
66051292Sobrien	* amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to
66151292Sobrien	unsigned long, adapt format.
66251292Sobrien	(got_nfs_fh): Likewise.
66351292Sobrien	(prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match
66451292Sobrien	format. 
66551292Sobrien	(call_mountd): Likewise, mnt_version also.
66651292Sobrien	(mount_nfs_fh): Likewise.
66751292Sobrien
66851292Sobrien	* amd/ops_autofs.c (autofs_program_1): Cast args to int to match
66951292Sobrien	format.
67051292Sobrien	(autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to
67151292Sobrien	unsigned long, adapt formats.
67251292Sobrien	(autofs_bgmount): Cast opt_fs to unsigned to, adapt format.
67351292Sobrien	(autofs_bgmount): Use long format to match arg.
67451292Sobrien	(autofs_lookuppn): Removed superfluous arg.
67551292Sobrien
67651292Sobrien	* amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match
67751292Sobrien	format. 
67851292Sobrien	(got_portmap): Likewise for port.
67951292Sobrien	(recompute_portmap): Likewise for fs->fs_version, mnt_version.
68051292Sobrien	(find_nfs_srvr): Likewise for nfs_version.
68151292Sobrien
68251292Sobrien	* amd/sched.c (sched_task): Cast wchan to unsigned long, adapt
68351292Sobrien	format. 
68451292Sobrien
68551292Sobrien	* amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem
68651292Sobrien	to unsigned long, adapt format.
68751292Sobrien	Cast tvv.tv_sec to int to match format.
68851292Sobrien
68951292Sobrien	* amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
69051292Sobrien	format.
69151292Sobrien
69251292Sobrien	* amd/map.c (root_fh): Cast pid to long, adapt format.
69351292Sobrien	(timeout_mp): Cast time_t to long, adapt format.
69451292Sobrien
69551292Sobrien	* amd/clock.c (reschedule_timeouts): Use long format, cast time_t
69651292Sobrien	arg.
69751292Sobrien
69851292Sobrien	* amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to
69951292Sobrien	match format.
70051292Sobrien	(amfs_host_fmount): Likewise.
70151292Sobrien	(amfs_host_umounted): Likewise.  Removed superfluous arg.
70251292Sobrien
70351292Sobrien	* amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned
70451292Sobrien	long, adapt format.
70551292Sobrien	(amfs_auto_bgmount): Use long format, cast time_t arg.
70651292Sobrien	(amfs_auto_lookuppn): Removed superfluous arg.
70751292Sobrien
70851292Sobrien	* amd/amd.c (main): Cast geteuid() result to long, adapt format.
70951292Sobrien
71051292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version
71151292Sobrien	to int to match format.
71251292Sobrien
71351292Sobrien	* include/am_utils.h: Declare plog, dplog as printf-like.
71451292Sobrien
71551292Sobrien	* conf/mount/mount_irix6.c (mount_irix): Print type as char *.
71651292Sobrien
71751292SobrienMon Jan 11 13:46:44 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
71851292Sobrien
71951292Sobrien	* amd/info_hesiod.c (hesiod_isup): New function.
72051292Sobrien	* amd/mapc.c (maptypes): Add it.
72151292Sobrien
72251292Sobrien1999-01-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
72351292Sobrien
72451292Sobrien	* released snapshot am-utils-6.0.1s1
72551292Sobrien
72651292Sobrien1999-01-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
72751292Sobrien
72851292Sobrien	* ALL: bump copyright year to 1999.
72951292Sobrien
73051292SobrienFri Jan  8 15:24:15 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
73151292Sobrien
73251292Sobrien	* aux/macros/check_mtype_type.m4: Ultrix uses an int mount type,
73351292Sobrien	too. 
73451292Sobrien
73551292Sobrien	* aux/macros/check_mtype_printf_type.m4: Adapt corresponding
73651292Sobrien	printf type.
73751292Sobrien
73851292SobrienFri Jan  8 15:24:15 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
73951292Sobrien
74051292Sobrien	* aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused.
74151292Sobrien
74251292Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
74351292Sobrien
74451292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise.
74551292Sobrien
74651292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise.
74751292Sobrien
74851292Sobrien	* Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current
74951292Sobrien	automake.
75051292Sobrien
75151292SobrienThu Jan  7 02:55:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
75251292Sobrien
75351292Sobrien	* aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not
75451292Sobrien	in current automake.
75551292Sobrien
75651292SobrienThu Jan  7 02:55:18 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
75751292Sobrien
75851292Sobrien	* doc/am-utils.texi: Added some missing inter-punctation after
75951292Sobrien	@xref, or use @pxref/@ref as appropriate.  Spotted by makeinfo
76051292Sobrien	from texinfo 3.12b.
76151292Sobrien
76251292Sobrien1999-01-07  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
76351292Sobrien
76451292Sobrien	* doc/texinfo.tex: updated off of latest GNU mirror.
76551292Sobrien
76651292Sobrien1999-01-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
76751292Sobrien
76851292Sobrien	* doc/am-utils.texi (Supported Platforms): update platforms that
76951292Sobrien	support NFS v.3.  Nicer postscript printing on double-sided pages.
77051292Sobrien
77151292Sobrien	* amd/info_hesiod.c: add extern definition for hesiod_init()
77251292Sobrien
77342629Sobrien1999-01-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
77442629Sobrien
77542629Sobrien	*******************************************************************
77642629Sobrien	*** Released am-utils-6.0					***
77742629Sobrien	*******************************************************************
77842629Sobrien
77942629Sobrien1998-12-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
78042629Sobrien
78142629Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7.
78242629Sobrien
78342629Sobrien1998-12-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
78442629Sobrien
78542629Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on
78642629Sobrien	bsdi4 for NFS V3/nfs mounts.
78742629Sobrien
78842629Sobrien1998-12-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
78942629Sobrien
79042629Sobrien	* using latest libtool (1.2e + patches), now supporting shared
79142629Sobrien	libraries on many more systems.  Also using latest autoconf and
79242629Sobrien	automake (unreleased GNU CVS'd versions.)
79342629Sobrien
79442629Sobrien	* minor new ports: hppa2.0w-hp-hpux11.00,
79542629Sobrien	i386-unknown-netbsd1.3.3, mips-sgi-irix6.5.
79642629Sobrien
79742629Sobrien	* fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that
79842629Sobrien	have /usr/bin/flex but not libfl.
79942629Sobrien
80042629Sobrien1998-12-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
80142629Sobrien
80242629Sobrien	* lots of code cleanup, to make sure libamu.so does not use
80342629Sobrien	undefined symbols.  Some system's shared libraries cannot handle
80442629Sobrien	that.
80542629Sobrien
80642629Sobrien1998-12-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
80742629Sobrien
80842629Sobrien	* include/am_defs.h: only defined seteuid extern if function also
80942629Sobrien	exists and is not superceded by setresuid (hpux).
81042629Sobrien
81142629Sobrien	* amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit
81242629Sobrien	braces to avoid confusion with nested if-then-else clauses.
81342629Sobrien
81442629Sobrien	* aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs:
81542629Sobrien	updated from latest versions.
81642629Sobrien
81742629Sobrien1998-12-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
81842629Sobrien
81942629Sobrien	* minor new port: i386-pc-bsdi4.0
82042629Sobrien
82142629Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header
82242629Sobrien	definitions for bsdi4.
82342629Sobrien
82442629Sobrien	* {amd,fsinfo}/Makefile.am: force path to .y/.l files, because
82542629Sobrien	some make programs (bsdi4) do not support VPATH correctly.
82642629Sobrien
82742629Sobrien1998-12-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
82842629Sobrien
82942629Sobrien	* conf/mount/mount_aix.c: minor code cleanup
83042629Sobrien
83142629Sobrien	* aux/configure.in: check for extern definition to xdr_groups.
83242629Sobrien
83342629Sobrien1998-12-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
83442629Sobrien
83542629Sobrien	* minor new port: powerpc-ibm-aix4.3.1.0
83642629Sobrien
83742629Sobrien	* aux/macros/*.m4: updates for aix 4.3
83842629Sobrien
83942629Sobrien1998-12-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
84042629Sobrien
84142629Sobrien	* minor new port: i386-unknown-openbsd2.4
84242629Sobrien
84342629Sobrien	* aux/configure.in: don't check for xfs on openbsd because
84442629Sobrien	openbsd-2.4 introduces a new file system named xfs, but different
84542629Sobrien	than Irix's XFS.  Sigh.
84642629Sobrien
84742629Sobrien	* minor new port: i386-unknown-freebsd2.2.8
84842629Sobrien
84942629Sobrien1998-12-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
85042629Sobrien
85142629Sobrien	* amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host
85242629Sobrien	name match.  Bug fix from Douglas K. Rand" <rand@aero.und.edu>.
85342629Sobrien
85442629Sobrien1998-11-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
85542629Sobrien
85642629Sobrien	* scripts/ctl-amd.in: wait4amd2die runs in the stop action, to
85742629Sobrien	avoid race conditions when shutting down systems running amd.
85842629Sobrien
85942629Sobrien	* Makefile.am: add a dist-hook to change modes of the directories
86042629Sobrien	in the tar file so they are not world writable.
86142629Sobrien
86242629Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support,
86342629Sobrien	since it is now finally defined in the header files and
86442629Sobrien	(hopefully) stable.
86542629Sobrien
86642629Sobrien	* amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option
86742629Sobrien	is specified in mount options.  freebsd patches from David
86842629Sobrien	O'Brien.
86942629Sobrien
87042629Sobrien	* amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c
87142629Sobrien	(main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main),
87242629Sobrien	amd/get_args.c (get_args): posix: use -1 to check for return from
87342629Sobrien	getopt() (not EOF), as per posix.
87442629Sobrien
87542629Sobrien	* amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David
87642629Sobrien	O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree.  Use
87742629Sobrien	real variable whose pointer is on the stack for decoding a long
87842629Sobrien	int.
87942629Sobrien
88042629Sobrien1998-11-11  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
88142629Sobrien
88242629Sobrien	* scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's
88342629Sobrien	chkconfig utility.
88442629Sobrien
88542629Sobrien1998-11-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
88642629Sobrien
88742629Sobrien	* released snapshot am-utils-6.0b2s3
88842629Sobrien
88942629Sobrien	* conf/transp/transp_sockets.c (create_nfs_service): remove C++
89042629Sobrien	style comments.
89142629Sobrien
89242629Sobrien1998-11-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
89342629Sobrien
89442629Sobrien	* released snapshot am-utils-6.0b2s2
89542629Sobrien
89642629Sobrien	* created CVS package
89742629Sobrien
89842629Sobrien	* amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race
89942629Sobrien	condition between unmounting and re-mounting an entry, by
90042629Sobrien	increasing the ttl of a looked up entry before unmounting it.
90142629Sobrien	Patch from Mike Mitchell <mcm@unx.sas.com>.
90242629Sobrien
90342629Sobrien	* All files: spell comments and strings.
90442629Sobrien
90542629Sobrien1998-11-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
90642629Sobrien
90742629Sobrien	* aux/configure.in: look for yp_all in libnsl only if yp_all not
90842629Sobrien	already found elsewhere (in libc or other default libraries).
90942629Sobrien	This is so RedHat 5.1 systems could find yp functions in libnsl,
91042629Sobrien	but also so AIX 4.2.1 will NOT include libnsl, because the latter
91142629Sobrien	has broken nis functionality that also exists and works ok in libc.
91242629Sobrien
91342629Sobrien1998-10-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
91442629Sobrien
91542629Sobrien	* amd/amd.c (main): bug fix: swapped arguments to kill(2).  Fix
91642629Sobrien	from Danny Rathjens <dkr@cs.fiu.edu>.
91742629Sobrien
91842629Sobrien1998-10-28  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
91942629Sobrien
92042629Sobrien	* released snapshot am-utils-6.0b2s1
92142629Sobrien
92242629Sobrien1998-10-27  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
92342629Sobrien
92442629Sobrien	* aux/macros/*.m4: support bsdi4 as bsdi3.
92542629Sobrien
92642629Sobrien	* aux/macros/os_ldflags.m4: enable detection of LDAP on solaris
92742629Sobrien	2.7 (libraries located in /usr/lib/fn).  This is off until Sun
92842629Sobrien	includes LDAP header information.
92942629Sobrien
93041142Sobrien1998-10-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
93141142Sobrien
93241142Sobrien	*******************************************************************
93341142Sobrien	*** Released am-utils-6.0b1					***
93441142Sobrien	*******************************************************************
93541142Sobrien
93641142Sobrien1998-10-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
93741142Sobrien
93841142Sobrien	* mk-amd-map/mk-amd-map.c (main): use perror not strerror.
93941142Sobrien	(main): set return type to int if no ndbm maps.
94041142Sobrien
94141142Sobrien	* include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1
94241142Sobrien	kernels.
94341142Sobrien
94441142Sobrien1998-10-18  Erez Zadok  <ezk@london.mcl.cs.columbia.edu>
94541142Sobrien
94641142Sobrien	* A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup
94741142Sobrien	for netbsd 1.3.2.
94841142Sobrien
94941142Sobrien1998-10-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
95041142Sobrien
95141142Sobrien	* aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1
95241142Sobrien	systems put NIS functions there.
95341142Sobrien
95441142Sobrien	* mk-amd-map/mk-amd-map.c: patch from "David O'Brien"
95541142Sobrien	<obrien@NUXI.com> merged in.  Use POSIX -1 return code from
95641142Sobrien	getopt(), not EOF.  Use .db extentions for systems that use it,
95741142Sobrien	instead of .{pag,dir}.
95841142Sobrien
95941142Sobrien1998-10-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
96041142Sobrien
96141142Sobrien	* wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c,
96241142Sobrien	amd/amd.c (main): avoid overrunning hostname buffer.  Bug fix from
96341142Sobrien	"David O'Brien" <obrien@NUXI.com>.
96441142Sobrien
96541142Sobrien	* scripts/amd.conf.5: minor typo reported by "David O'Brien"
96641142Sobrien	<obrien@NUXI.com> in .TH section of man page.
96741142Sobrien
96841142Sobrien	* amd/info_nis.c (am_yp_all): don't leak key-val entries.  Patch
96941142Sobrien	from Thomas Richter <richter@chemie.fu-berlin.de>.
97041142Sobrien
97141142Sobrien1998-10-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
97241142Sobrien
97341142Sobrien	* doc/am-utils.texi (Program Filesystem): minor typo fixed as per
97441142Sobrien	Andreas Stolcke <stolcke@speech.sri.com>.
97541142Sobrien
97641142Sobrien	* minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7,
97741142Sobrien	and sparc-sun-solaris2.7.
97841142Sobrien
97941142Sobrien	* conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now
98041142Sobrien	a 4.4lite kernel, and somethings were removed, such as
98141142Sobrien	INITMOUNTNAMES.
98241142Sobrien
98341142Sobrien	* amd/ops_autofs.c (autofs_lookuppn): don't leak memory while
98441142Sobrien	processing /defaults.  Free temporary opts.  Patch from
98541142Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley)
98641142Sobrien
98741142Sobrien	* amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while
98841142Sobrien	processing /defaults.  Free temporary opts.  Patch from
98941142Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley)
99041142Sobrien
99141142Sobrien	* conf/mtab/mtab_osf.c (read_mtab): patch from
99241142Sobrien	 dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access
99341142Sobrien	 uninitialized memory on Digital Unix.
99441142Sobrien
99541142Sobrien1998-10-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
99641142Sobrien
99741142Sobrien	* aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most
99841142Sobrien	systems now use "char *" as their mount type.
99941142Sobrien
100041142Sobrien1998-10-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
100141142Sobrien
100241142Sobrien	* amd/conf.c (gopt_map_type, ropt_map_type): check if map type
100341142Sobrien	exists.
100441142Sobrien
100541142Sobrien	* amd/mapc.c (mapc_type_exists): function to test if a map of
100641142Sobrien	certain type exists.
100741142Sobrien
100841142Sobrien1998-10-08  Erez Zadok  <ezk@horatio.mcl.cs.columbia.edu>
100941142Sobrien
101041142Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
101141142Sobrien	include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl
101241142Sobrien	in RH-5.1 sparc64 between <netinet/in.h> and
101341142Sobrien	<linux/byteorder/generic.h> (2.1 kernels).
101441142Sobrien
101541142Sobrien1998-09-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
101641142Sobrien
101741142Sobrien	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat
101841142Sobrien	5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket
101941142Sobrien	from yp_all().
102041142Sobrien
102141142Sobrien1998-09-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
102241142Sobrien
102341142Sobrien	* conf/mount/mount_linux.c (parse_opts): check for pcfs support
102441142Sobrien	only if autoconfigured.
102541142Sobrien
102641142Sobrien1998-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
102741142Sobrien
102841142Sobrien	* Makefile.am (EXTRA_DIST): distribute README.yk2 file.
102941142Sobrien
103041142Sobrien	* README.y2k: explain y2k compliance status of am-utils.
103141142Sobrien
103241142Sobrien1998-09-16  Erez Zadok  <ezk@iguana.mcl.cs.columbia.edu>
103341142Sobrien
103441142Sobrien	* amd/amfs_host.c (fetch_fhandle, amfs_host_fmount,
103541142Sobrien	amfs_host_umounted): clnt_sperrno() may return a const.
103641142Sobrien
103741142SobrienSat Aug  8 23:28:32 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
103841142Sobrien
103941142Sobrien	* aux/configure.in: check for <nfs/nfsmount.h>, as per Christos
104041142Sobrien	Zoulas. Turned on checking for mount options: async, synchronous,
104141142Sobrien	deadthresh, leasterm, nqnfs, and readahead.
104241142Sobrien
104341142Sobrien	* amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas)
104441142Sobrien	to include prototype definition for nis_isup().
104541142Sobrien
104641142SobrienSun Jul 19 18:50:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
104741142Sobrien
104841142Sobrien	* hlfsd/stubs.c (getcreds): force sscanf arg to u_long.
104941142Sobrien
105041142SobrienTue Jul 14 20:34:25 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
105141142Sobrien
105241142Sobrien	* released snapshot am-utils-6.0a17s1
105341142Sobrien
105441142SobrienWed Jul  8 21:49:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
105541142Sobrien
105641142Sobrien	* aux/macros/host_macros.m4: all x86 hosts should have $arch be
105741142Sobrien	i386, not i[456]86.
105841142Sobrien
105941142SobrienTue Jul  7 18:55:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
106041142Sobrien
106141142Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
106241142Sobrien	include/am_defs.h: include <linux/posix_types.h> before
106341142Sobrien	<linux/fs.h> because on redhat 5.1, there is a bug (misuse) of
106441142Sobrien	headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of
106541142Sobrien	__KERNEL_STRICT_NAMES).
106641142Sobrien
106741142Sobrien	* aux/configure.in: check for <linux/posix_types.h> because it is
106841142Sobrien	need for RedHat 5.1.
106941142Sobrien
107041142SobrienWed Jun 17 00:05:33 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
107141142Sobrien
107241142Sobrien	* scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from
107341142Sobrien	.in as well, so it doesn't get removed by make clean.
107441142Sobrien
107541142SobrienTue Jun 16 22:00:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
107641142Sobrien
107741142Sobrien	* aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
107841142Sobrien	check_mount_type.m4}: redhat 5.1 puts some modules in
107941142Sobrien	/lib/modules/preferred/.
108041142Sobrien
108141142SobrienWed May 13 16:33:57 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
108241142Sobrien
108341142Sobrien	* amd/ops_autofs.c (mount_autofs): cast pid to long.
108441142Sobrien
108551292SobrienTue Apr 28 15:12:36 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
108651292Sobrien
108751292Sobrien	* conf/nfs_prot/nfs_prot/nfs_prot_irix6.h,
108851292Sobrien	conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to
108951292Sobrien	avoid amd/am_ops.c (show_fstypes) from erroneously claiming
109051292Sobrien	support.
109151292Sobrien
109251292SobrienFri Apr 24 23:02:11 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
109351292Sobrien	
109451292Sobrien	* libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON
109551292Sobrien	unconditionally, may be missing on Ultrix V4.3.
109651292Sobrien
109751292SobrienThu Apr 23 20:24:33 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
109851292Sobrien
109951292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define,
110051292Sobrien	missing from <sys/mntent.h>.
110151292Sobrien	
110251292Sobrien	* conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h>
110351292Sobrien	without KERNEL defined here.
110451292Sobrien
110551292Sobrien	* aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>,
110651292Sobrien	<cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of
110751292Sobrien	ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed.
110851292Sobrien
110951292Sobrien	* amd/ops_ufs.c (mount_ufs): Removed obsolete comment.
111051292Sobrien
111151292Sobrien	* ChangeLog: Fixed confusing linebreaks from ChangeLog imports.
111251292Sobrien	Removed purely local (and obsolete) entry.
111351292Sobrien
111438494SobrienThu Apr 23 00:22:17 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
111538494Sobrien
111638494Sobrien	*******************************************************************
111738494Sobrien	*** Released am-utils-6.0a16					***
111838494Sobrien	*******************************************************************
111938494Sobrien
112038494SobrienWed Apr 22 01:20:39 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
112138494Sobrien
112238494Sobrien	* aux/macros/check_mount_style.m4: define freebsd3 mount style.
112338494Sobrien
112438494Sobrien	* aux/macros/check_mount_trap.m4: new mount trap for freebsd3.
112538494Sobrien
112638494Sobrien	* aux/macros/check_mtype_printf_type.m4,
112738494Sobrien	aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as
112838494Sobrien	of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not
112938494Sobrien	integers, but I'll keep them as integers and do the mapping in
113038494Sobrien	conf/mount/mount_freebsd3.c
113138494Sobrien
113238494Sobrien	* minor new port to i386-pc-bsdi3.1.
113338494Sobrien
113438494Sobrien	* minor new port to i386-unknown-netbsd1.3.1.
113538494Sobrien
113638494Sobrien	* amd/opts.c: new option addopts:=ARG, which smartly merges ARG
113738494Sobrien	options with whatever the /default ones for a key are.  This
113838494Sobrien	allows adding or overriding /default options individual keys.
113938494Sobrien
114038494Sobrien	* amd/am_ops.c (ops_match): strdup/malloc string assigned to
114138494Sobrien	opt_opts because it'll get free()'d upon next use.
114238494Sobrien	(merge_opts): new function to merge two sets of options.
114338494Sobrien	(ops_match): if addopts option exist, append and merge it to the
114438494Sobrien	current default options.
114538494Sobrien
114638494SobrienTue Apr 21 12:54:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
114738494Sobrien
114838494Sobrien	* wire-test/wire-test.c (main): use dynamically allocated returned
114938494Sobrien	string with list of interfaces.
115038494Sobrien
115138494Sobrien	* amd/get_args.c (get_version_string): allocate enough space for
115238494Sobrien	header version string and a list of network interfaces of any
115338494Sobrien	length.
115438494Sobrien
115538494Sobrien	* libamu/wire.c (print_wires): return dynamically allocated string
115638494Sobrien	containing list of networks.  Must be dynamic because some sites
115738494Sobrien	had potentially dozens of network interfaces.  Patch from Matthew
115838494Sobrien	Crosby <mcrosby@ms.com> slightly modified.
115938494Sobrien
116038494SobrienMon Apr 20 00:37:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
116138494Sobrien
116238494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because
116338494Sobrien	irix 5.3 does not have full header definitions for it.
116438494Sobrien
116538494Sobrien	* fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and
116638494Sobrien	undefined it when not needed (similar to amd/conf_tok.l)
116738494Sobrien
116838494Sobrien	* hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size
116938494Sobrien	of these to unsigned short (because uid_t on some linux systems is
117038494Sobrien	small).
117138494Sobrien
117238494Sobrien	* released snapshot am-utils-6.0a16s10
117338494Sobrien
117438494Sobrien	* doc/am-utils.texi (opts Option): documented resvport mount
117538494Sobrien	option.
117638494Sobrien
117738494SobrienSun Apr 19 18:17:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
117838494Sobrien
117938494Sobrien	* doc/am-utils.texi (-D-Option): document behavior of -D info and
118038494Sobrien	especially what it does to hesiod (turn on RES_DEBUG).
118138494Sobrien
118238494Sobrien	* scripts/amd.conf.5: document info debugging option.
118338494Sobrien
118438494Sobrien	* libamu/xutil.c (dbg_opt): parse info debugging option.
118538494Sobrien
118638494Sobrien	* include/am_utils.h (D_INFO): define new trace option.
118738494Sobrien
118838494Sobrien	* Makefile.am (EXTRA_DIST): include list of official mirrors in
118938494Sobrien	distribution.
119038494Sobrien
119138494Sobrien	* libamu/wire.c (SIZE): in the simple case, just compute
119238494Sobrien	sizeof(struct ifreq).
119338494Sobrien
119438494SobrienSun Apr 19 16:30:35 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
119538494Sobrien
119638494Sobrien	* amd/amd.c (daemon_mode): set a temporary secure umask(0022)
119738494Sobrien	before writing log file and restore it afterwards.  Patch from
119838494Sobrien	Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
119938494Sobrien
120038494Sobrien	* amd/get_args.c (get_args): 
120138494Sobrien
120238494Sobrien	* doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf
120338494Sobrien	file specified by -F is always processed last.
120438494Sobrien
120538494Sobrien	* amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd
120638494Sobrien	won't be reused.  Allows startup script to redirect stdout.  Patch
120738494Sobrien	from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
120838494Sobrien
120938494Sobrien	* libamu/xutil.c (switch_to_logfile): compare logfile name and
121038494Sobrien	syslog string with correct length.  Patch from Donald Buczek
121138494Sobrien	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
121238494Sobrien
121338494Sobrien	* amd/restart.c (restart): correctly inherit existing NFS V.3
121438494Sobrien	mounts upon restart.  Patch from Donald Buczek
121538494Sobrien	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
121638494Sobrien
121738494SobrienSat Apr 18 19:01:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
121838494Sobrien
121938494Sobrien	* using libtool 1.2 and automake 1.3 (with my patches).
122038494Sobrien
122138494Sobrien	* aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to
122238494Sobrien	AMU_CFLAGS to avoid conflicts with automake-1.3.
122338494Sobrien
122438494SobrienSun Apr  5 23:09:08 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
122538494Sobrien
122638494Sobrien	* converted to using libtool-1.2.
122738494Sobrien
122838494SobrienTue Mar 10 16:52:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
122938494Sobrien
123038494Sobrien	* fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly
123138494Sobrien	for loop (ITER) which used to run only to initialize the variable
123238494Sobrien	dd once and then break; with a simple assignment.
123338494Sobrien
123438494Sobrien	* hlfsd/hlfsd.h: cleanup so it compiles with Solaris
123538494Sobrien	/opt/SUNWspro/bin/cc, and use gid_t not int.
123638494Sobrien
123738494Sobrien	* amd/mapc.c (mapc_sync): don't dereference pointer (so it
123838494Sobrien	compiles with Solaris /opt/SUNWspro/bin/cc)
123938494Sobrien
124038494SobrienSun Mar  8 15:54:22 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
124138494Sobrien
124238494Sobrien	* aux/config.{guess,sub}: used from gcc-2.8.1.
124338494Sobrien
124438494SobrienSat Mar  7 15:33:27 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
124538494Sobrien
124638494Sobrien	* released snapshot am-utils-6.0a16s9
124738494Sobrien
124838494Sobrien	* INSTALL, doc/am-utils.texi (Supported Platforms): updated names
124938494Sobrien	based on new output of new config.guess.
125038494Sobrien
125138494Sobrien	* aux/config.{sub,guess}: used newer versions from gcc-2.8.0.
125238494Sobrien
125338494Sobrien	* amd/amd.8,doc/am-utils.texi: document correct usage of default
125438494Sobrien	/etc/amd.conf file.
125538494Sobrien
125638494Sobrien	* fixmount/fixmount.c (inetresport,privsock): use some more
125738494Sobrien	portable code from amq/amq.c.
125838494Sobrien
125938494Sobrien	* amd/get_args.c (get_args): use default /etc/amd.conf file only
126038494Sobrien	if no arguments had been passed to amd.
126138494Sobrien
126238494Sobrien	* fixmount/fixmount.c (clnt_create_timeout): use tli/socket code
126338494Sobrien	ala amq/amq.c so that fixmount will work on both types of systems.
126438494Sobrien
126538494Sobrien	* amq/amq.c (main): do no close tcp socket before running udp try,
126638494Sobrien	because we're not sure if it was opened at all.
126738494Sobrien
126838494Sobrien	* mips-dec-ultrix* port merged in and cleaned up.
126938494Sobrien
127038494Sobrien	* aux/configure.in: up minor shared library revision number, since
127138494Sobrien	it has changed enough.
127238494Sobrien
127338494Sobrien	* hlfsd/hlfsd.c (main): don't check for overlay mount option here,
127438494Sobrien	as it is now done in compute_nfs_args().  Remove ultrix specific
127538494Sobrien	code also because it was moved to compute_nfs_args().
127638494Sobrien
127738494Sobrien	* conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that
127838494Sobrien	we have more generic code in print_nfs_args().
127938494Sobrien
128038494Sobrien	* libamu/mount_fs.c (print_nfs_args): print maxlen of
128138494Sobrien	nfs_args.addr, and also syncaddr (which is mostly NULL).  Print
128238494Sobrien	struct knetconfig from nfs_args->knconf.
128338494Sobrien
128438494Sobrien	* aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs
128538494Sobrien	headers here, but in try_compile_anyfs.m4.
128638494Sobrien
128738494Sobrien	* aux/macros/type_ufs_args.m4: move test for struct ufs_specific
128838494Sobrien	(for ultrix) here from its own macro.
128938494Sobrien
129038494Sobrien	* aux/macros/type_cdfs_args.m4: move test for struct iso_specific
129138494Sobrien	(for ultrix) here from its own macro.
129238494Sobrien
129338494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking
129438494Sobrien	for overlay mount option.  Remove code which checks for overlay
129538494Sobrien	option, as it is now done in compute_nfs_args().
129638494Sobrien
129738494Sobrien	* libamu/mount_fs.c (compute_mount_flags): move here code which
129838494Sobrien	checks for overlay mount option which was in amd/amfs_toplvl.c:
129938494Sobrien	mount_amfs_toplvl().
130038494Sobrien
130138494SobrienWed Feb  7 15:35:51 1998  Rainer Orth  <ro@xayide.TechFak.Uni-Bielefeld.DE>
130238494Sobrien
130338494Sobrien	* The following are Rainer's ChangeLog entries for his ultrix
130438494Sobrien	port, added manually. -Erez.
130538494Sobrien
130638494Sobrien	* merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
130738494Sobrien	(mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
130838494Sobrien
130951292Sobrien	* include/am_defs.h: include cdfs specific mount headers
131051292Sobrien	avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix)
131138494Sobrien
131238494Sobrien	* include/am_compat.h: define several mount options corresponding
131338494Sobrien	to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
131438494Sobrien	noversion, rrip (cdfs), nocache, quota, sync (generic) removed
131538494Sobrien	duplicate MNTTAB_OPT_RO definition
131638494Sobrien
131738494Sobrien	* aux/macros/try_compile_anyfs.m4: include Ultrix specific
131838494Sobrien	ufs/cdfs mount headers
131938494Sobrien
132038494Sobrien	* aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX
132138494Sobrien	specific mount headers
132238494Sobrien
132338494Sobrien	* aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_*
132438494Sobrien	mount types in mount headers (Ultrix)
132538494Sobrien
132638494Sobrien	* aux/configure.in: Ultrix/Digital UNIX specific checks: new
132738494Sobrien	headers, mount structures and fields, filesystem and mount types,
132838494Sobrien	mount flags
132938494Sobrien
133038494Sobrien	* aux/acconfig.h: placeholders for new mount options: quota
133138494Sobrien	(generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs)
133238494Sobrien	cdfs, nfs, ufs mount structure fields new ufs, cdfs mount
133338494Sobrien	structures
133438494Sobrien
133538494Sobrien	* amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in
133638494Sobrien	ufs_args.ufs_flags and has ufs specific pgthresh option
133738494Sobrien
133838494Sobrien	* amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific
133938494Sobrien	CDFS mount flags and options
134038494Sobrien
134138494Sobrien	* amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh),
134238494Sobrien	hlfsd/hlfsd.c (main): store generic mount flags in
134338494Sobrien	nfs_args.gfs_flags, handle separate NFS ro flag
134438494Sobrien
134538494Sobrien	* aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific,
134638494Sobrien	struct_ufs_specific}.m4: new files; check for Ultrix specific
134738494Sobrien	mount structures
134838494Sobrien
134938494Sobrien	* conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
135038494Sobrien
135138494Sobrien	* aux/macros/type_auth_create_gidlist.m4 (ultrix*):
135238494Sobrien	AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
135338494Sobrien	comment in <rpc/auth.h>
135438494Sobrien
135538494Sobrien	* include/am_defs.h: #define KERNEL to avoid definition of
135651292Sobrien	gt_names[]
135751292Sobrien	conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before <config.h>
135851292Sobrien	to force single definition here
135938494Sobrien
136038494Sobrien	* libamu/mount_fs.c (compute_nfs_args): Ultrix support for
136151292Sobrien	nfs_args.gfs_flags moved to callers
136251292Sobrien	store mount options in nap->optstr
136338494Sobrien
136438494Sobrien	* include/am_defs.h: fix _am_mntent mnt_{type, opts} field
136538494Sobrien	descriptions
136638494Sobrien
136738494Sobrien	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
136838494Sobrien	include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
136938494Sobrien	definition in prototypes
137038494Sobrien
137138494Sobrien	* aux/macros/mount_headers.m4: include <sys/errno.h> before
137238494Sobrien	AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
137338494Sobrien	definitions
137438494Sobrien
137538494Sobrien	* conf/nfs_prot/nfs_prot_ultrix.h: new file
137638494Sobrien
137751292Sobrien	* aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
137838494Sobrien
137938494Sobrien	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
138038494Sobrien	aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
138138494Sobrien	inclusion of <rpc/xdr.h>
138238494Sobrien
138338494SobrienSat Mar  7 13:56:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
138438494Sobrien
138538494Sobrien	* aux/configure.in: save state of config.cache and confdefs.h
138638494Sobrien	(as dbgcf.h) at various points of the configure.
138738494Sobrien
138838494Sobrien	* aux/macros/save_state.m4: new macro to save state of configure,
138938494Sobrien	esp. useful in long ones.  Saves confdefs.h and write $ac_cv_*
139038494Sobrien	cache variables that are known so far.
139138494Sobrien
139238494Sobrien	* released snapshot am-utils-6.0a16s8
139338494Sobrien
139438494Sobrien1998-03-06  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
139538494Sobrien
139638494Sobrien	* fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining
139738494Sobrien	it, but only for flex.
139838494Sobrien
139938494SobrienFri Mar  6 17:23:17 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
140038494Sobrien
140138494Sobrien	* hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file
140238494Sobrien	to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible)
140338494Sobrien	to write the dump file.
140438494Sobrien
140538494Sobrien	* doc/am-utils.texi,amd/opts.c: rename all references to nomadic
140638494Sobrien	functions to boolean functions, which is what they really are.
140738494Sobrien
140838494Sobrien	* aux/configure.in: don't look for strcasecmp in libucb at all,
140938494Sobrien	but rather complete it from libamu/strcasecmp.c as needed.
141038494Sobrien
141138494SobrienFri Mar  6 03:29:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
141238494Sobrien
141338494Sobrien	* conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS.
141438494Sobrien
141538494Sobrien	* libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X
141638494Sobrien	which defines IFF_ROUTE instead of IFF_LOOPBACK.  Patch from Tom
141738494Sobrien	Schmidt <tschmidt@micron.com>.
141838494Sobrien
141938494Sobrien	* released snapshot am-utils-6.0a16s7
142038494Sobrien
142138494Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to
142238494Sobrien	hppa1.0-hp-hpux11.00.tgz.
142338494Sobrien
142438494SobrienThu Mar  5 21:59:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
142538494Sobrien
142638494Sobrien	* converted all sources to use mntent field names, and map mnttab
142738494Sobrien	field names to mntent's.
142838494Sobrien
142938494Sobrien	* include/am_defs.h (mnt_special): map struct mnttab field names
143038494Sobrien	to struct mntent field names.
143138494Sobrien
143238494Sobrien	* aux/macros/check_mount_trap.m4: hpux11's mount trap style is
143338494Sobrien	identical to svr4/solaris2.
143438494Sobrien
143538494Sobrien	* aux/macros/check_mount_style.m4: hpux11's mount style is
143638494Sobrien	identical to svr4/solaris2.
143738494Sobrien
143838494Sobrien	* aux/macros/check_network_transport_type.m4: hpux11 is a TLI
143938494Sobrien	system!
144038494Sobrien
144138494Sobrien	* aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address
144238494Sobrien	dereferencing style is same as svr4.
144338494Sobrien
144438494Sobrien	* aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh
144538494Sobrien	dereferencing style is same as svr4.
144638494Sobrien
144738494Sobrien	* conf/transp/transp_tli.c (create_nfs_service): if failed to
144838494Sobrien	getnetconfigent() of ticlts, then try udp (hpux11).
144938494Sobrien
145038494Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for
145138494Sobrien	struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris
145238494Sobrien	2.5.1 (HP used them).
145338494Sobrien
145438494Sobrien	* amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open()
145538494Sobrien	because hpux11 doesn't like it. if t_open failed, print error
145638494Sobrien	based on t_errlist, not sys_errlist.
145738494Sobrien
145838494SobrienWed Mar  4 22:01:55 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
145938494Sobrien
146038494Sobrien	* doc/am-utils.texi: lots of documentation fixes from Rainer Orth
146138494Sobrien	<ro@TechFak.Uni-Bielefeld.DE>.
146238494Sobrien
146338494SobrienSat Feb 28 22:16:35 1998  Erez Zadok  <ezk@kosh.cs.columbia.edu>
146438494Sobrien
146538494Sobrien	* fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used
146638494Sobrien	later.
146738494Sobrien
146838494Sobrien	* include/am_defs.h: defined the extern for ualarm() if it isn't
146938494Sobrien	found, regardless if the function isn't found in standard
147038494Sobrien	libraries, because otherwise libamu will include it.
147138494Sobrien
147238494Sobrien1998-02-28  Erez Zadok (per Ron Snyder)  <ezk@short.cvo.roguewave.com>
147338494Sobrien
147438494Sobrien	* initial port to hpux-11 completed.  Compiles cleanly, but
147538494Sobrien	probably does not work, because of missing NFS V.2/3 headers.
147638494Sobrien
147738494Sobrien	* amd/conf_tok.l: cast yytext to char* when passed to strlen and
147838494Sobrien	strdup, for hpux-11's ansi-cc compiler.
147938494Sobrien
148038494Sobrien	* include/am_utils.h: renamed all xfree() to XFREE() to avoid
148138494Sobrien	conflict with hpux-11's system headers.  Also move (voidp) cast
148238494Sobrien	from sources to inside the macro itself.
148338494Sobrien
148438494SobrienSat Feb 28 13:44:21 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
148538494Sobrien
148638494Sobrien	* released snapshot am-utils-6.0a16s6
148738494Sobrien
148838494Sobrien	* amd/info_nis.c (nis_isup): new function to test if NIS is up
148938494Sobrien	without hanging amd.  Used to ensure that amd does not clear the
149038494Sobrien	maps when the expiration period arrived, if the service is down.
149138494Sobrien	Otherwise it would be left with empty maps.  It is better to stay
149238494Sobrien	with possibly old information than none at all.
149338494Sobrien
149438494Sobrien	* amd/mapc.c (mapc_sync): check to see if map service is up.
149538494Sobrien
149638494SobrienTue Feb 24 02:19:42 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
149738494Sobrien
149838494Sobrien	* aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it
149938494Sobrien	includes auxiliary library only if needed.
150038494Sobrien
150138494Sobrien1998-02-22  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
150238494Sobrien
150338494Sobrien	* amd/conf_tok.l: undefine ECHO again, so it doesn't get used
150438494Sobrien	later.
150538494Sobrien
150638494SobrienSun Feb 22 01:41:08 1998  Erez Zadok  <ezk@zen.cs.columbia.edu>
150738494Sobrien
150838494Sobrien	* conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1
150938494Sobrien	completed.
151038494Sobrien
151138494Sobrien	* conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3.
151238494Sobrien
151338494SobrienSat Feb 21 19:45:48 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
151438494Sobrien
151538494Sobrien	* doc/am-utils.texi (Network Host Filesystem): correct example for
151638494Sobrien	type:=host map.
151738494Sobrien
151838494Sobrien	* aux/macros/os_cflags.m4: only osf4 should compile with
151938494Sobrien	-D_SOCKADDR_LEN.
152038494Sobrien
152138494Sobrien	* aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2
152238494Sobrien	and OSF4.
152338494Sobrien
152438494Sobrien	* BUGS: include a new file listing known bugs.
152538494Sobrien
152638494SobrienSat Feb 21 03:50:48 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
152738494Sobrien
152838494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux
152938494Sobrien	versions.
153038494Sobrien
153138494Sobrien	* aux/macros/type_recvfrom_fromlen.m4: linux alpha should use
153238494Sobrien	size_t for recvfrom fromlen arg.
153338494Sobrien
153438494SobrienSat Feb 21 03:33:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
153538494Sobrien
153638494Sobrien	* scripts/ctl-hlfsd.in: turn -D fork so primary process never
153738494Sobrien	hangs.
153838494Sobrien
153938494SobrienSat Feb 21 02:45:51 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
154038494Sobrien
154138494Sobrien	* include/am_defs.h: don't include <sys/stat.h> and
154238494Sobrien	<linux/stat.h>, just remaining definitions in <statbuf.h>
154338494Sobrien
154438494SobrienThu Jan 29 00:44:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
154538494Sobrien
154638494Sobrien	* released snapshot am-utils-6.0a16s5
154738494Sobrien
154838494Sobrien	* conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to
154938494Sobrien	mount(2).
155038494Sobrien
155138494Sobrien	* check for <sys/fs/xfs_clnt.h> and include it when needed.
155238494Sobrien
155338494Sobrien	* conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize
155438494Sobrien	efs and xfs separately from "ufs".
155538494Sobrien
155638494Sobrien	* amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs.
155738494Sobrien
155838494Sobrien	* aux/configure.in: look for irix efs and xfs file systems.
155938494Sobrien
156038494Sobrien	* scripts/amd.conf.5: new unmount_on_exit option documented.
156138494Sobrien
156238494Sobrien	* doc/am-utils.texi (unmount_on_exit): new option documented.
156338494Sobrien
156438494Sobrien	* amd/conf.c (gopt_unmount_on_exit): new function to handle new
156538494Sobrien	amd.conf option.
156638494Sobrien
156738494Sobrien	* amd/map.c (umount_exported): if global amd.conf flag
156838494Sobrien	unmount_on_exit is on, then try to unmount all mounted (or
156938494Sobrien	restartable) file systems.
157038494Sobrien
157138494Sobrien	* amd/amd.c: if print_pid option is on, then normally print it to
157238494Sobrien	stdout.  If also pid_file is specified, then print the process ID
157338494Sobrien	into that file.
157438494Sobrien
157538494Sobrien	* amd/get_args.c (get_args): print correct -l option depending if
157638494Sobrien	system supports syslog and/or syslog facilities.  Patch from 
157738494Sobrien	Tom Schmidt <tschmidt@micron.com>.
157838494Sobrien
157938494Sobrien	* doc/am-utils.texi (opts Option): updates for documentation for
158038494Sobrien	new cdfs options defperm, nodefperm, noversion, rrip.
158138494Sobrien
158238494Sobrien	* amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm,
158338494Sobrien	nodefperm, noversion, rrip.
158438494Sobrien
158538494Sobrien	* conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h>
158638494Sobrien	on osf.
158738494Sobrien
158838494Sobrien	* aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4,
158938494Sobrien	expand_cpp_string.m4}: use #error to make failed compilations
159038494Sobrien	fail faster, rather than have the program fail during a run.
159138494Sobrien
159238494Sobrien	* include/am_compat.h: added a few new cdfs options: rrip,
159338494Sobrien	noversion, defperm, and nodefperm (used in OSF).
159438494Sobrien
159538494SobrienWed Jan 28 20:24:09 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
159638494Sobrien
159738494Sobrien	* released snapshot am-utils-6.0a16s4
159838494Sobrien
159938494Sobrien	* doc/am-utils.texi (Global Parameters): update manual for new
160038494Sobrien	amd.conf global variable hesiod_base.
160138494Sobrien
160238494Sobrien	* scripts/amd.conf.5: update man page for new amd.conf global
160338494Sobrien	variable hesiod_base.
160438494Sobrien
160538494Sobrien	* amd/get_args.c (get_args): use /etc/amd.conf file if exists by
160638494Sobrien	default, else try command line options.  Patch from Randall
160738494Sobrien	S. Winchester <rsw@Glue.umd.edu>.
160838494Sobrien
160938494SobrienWed Jan 28 12:20:56 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
161038494Sobrien
161138494Sobrien	* amd/info_hesiod.c (hesiod_search), amd/conf.c
161238494Sobrien	(gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options):
161338494Sobrien	included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to
161438494Sobrien	support a hesiod base name in the amd.conf file.
161538494Sobrien
161638494Sobrien	* doc/am-utils.texi (pid_file Parameter): document new global
161738494Sobrien	amd.conf parameter.
161838494Sobrien
161938494Sobrien	* scripts/amd.conf.5: document new global option pid_file.
162038494Sobrien
162138494Sobrien	* amd/amd.c (daemon_mode): if cannot open pid_file, continue to
162238494Sobrien	run, but print error message.
162338494Sobrien
162438494Sobrien	* amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode,
162538494Sobrien	init_global_options): Included patch from Randall S. Winchester
162638494Sobrien	<rsw@Glue.umd.edu>, to support pid files in the amd.conf file.
162738494Sobrien
162838494Sobrien	* amd/get_args.c (get_args): correct usage info on amd -t.
162938494Sobrien
163038494Sobrien	* amd/*.c: massive file name and symbol name changes.  All amd
163138494Sobrien	file systems files and symbols are prefix with amfs_*.  Now using
163238494Sobrien	real name of file system: amfs_auto instead of afs, amfs_inherit
163338494Sobrien	instead of ifs, amfs_linkx instead of sfsx, etc.  This will enable
163438494Sobrien	clear distinction between amd file system and generic ones like
163538494Sobrien	nfs/ufs/pcfs/hsfs.  Also, now we can implement true afs (Andrew
163638494Sobrien	f/s) and DFS (Distributed f/s).
163738494Sobrien
163838494Sobrien	* amd/amfs_union.c: unionfs for amd is always defined, no need to
163938494Sobrien	#ifdef it.
164038494Sobrien
164138494SobrienMon Jan 26 16:51:38 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
164238494Sobrien
164338494Sobrien	* libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on
164438494Sobrien	or off, based on the particular quirks of the OS in question.
164538494Sobrien
164638494Sobrien	* aux/macros/check_nfs_socket_connection.m4: new macro to set the
164738494Sobrien	correct wait of handling un/connected NFS sockets.
164838494Sobrien
164938494Sobrien	* scripts/wait4amd.in: use rlogin instead of rsh.
165038494Sobrien
165138494Sobrien	* amd/am_ops.c (ops_showfstypes): when showing F/S types in amd
165238494Sobrien	-v, always show "nfs3" for NFS V.3.
165338494Sobrien
165438494Sobrien1998-01-25  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
165538494Sobrien
165638494Sobrien	* lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets
165738494Sobrien	more picky than 2.7.2.3 did.
165838494Sobrien
165938494Sobrien1998-01-24  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
166038494Sobrien
166138494Sobrien	* include/am_utils.h (dlog): amuDebug macros reduced to shorter
166238494Sobrien	forms.
166338494Sobrien
166438494SobrienFri Jan 23 18:38:30 1998  Erez Zadok  <ezk@goat.mcl.cs.columbia.edu>
166538494Sobrien
166638494Sobrien	* released snapshot am-utils-6.0a16s3
166738494Sobrien
166838494Sobrien	* include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included
166938494Sobrien	in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h
167038494Sobrien	must not, fake a definition for varargs.
167138494Sobrien
167238494SobrienFri Jan 16 10:16:40 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
167338494Sobrien
167438494Sobrien	* README: show how to configure in additional support such as
167538494Sobrien	hesiod using various --enable-* flags.
167638494Sobrien
167738494SobrienWed Jan 14 15:13:02 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
167838494Sobrien
167938494Sobrien	* aux/configure.in: look for strcasecmp(), and replace it if not
168038494Sobrien	available.
168138494Sobrien
168238494Sobrien	* amd/ops_nfsl.c (nfsl_match): host names should be compared using
168338494Sobrien	case insensitive.
168438494Sobrien
168538494Sobrien	* amd/opts.c: for each map variable, define if the comparison
168638494Sobrien	needs to be done case insensitive.
168738494Sobrien
168838494Sobrien	* include/am_utils.h (STRCEQ): a new macro to use strcasecmp().
168938494Sobrien	Patch from Thomas Richter <richter@chemie.fu-berlin.de>
169038494Sobrien
169138494Sobrien1998-01-14  Erez Zadok  <ezk@irt.cs.columbia.edu>
169238494Sobrien
169338494Sobrien	* aux/configure.in: look for "isofs" as a possible mount type for
169438494Sobrien	cdfs (RedHat Linux).
169538494Sobrien
169638494SobrienWed Jan 14 02:07:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
169738494Sobrien
169838494Sobrien	* conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount
169938494Sobrien	type if not defined.
170038494Sobrien
170138494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if
170238494Sobrien	already defined.
170338494Sobrien
170438494Sobrien	* aux/configure.in: look for ext2fs before ufs, b/c some linux
170538494Sobrien	have both.
170638494Sobrien
170738494SobrienMon Jan 12 15:43:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
170838494Sobrien
170938494Sobrien	* Makefile.am (snapshot): allow me to install snapshots into the
171038494Sobrien	ftp directory.
171138494Sobrien
171238494Sobrien	* scripts/ctl-hlfsd.in: don't turn on -D mem by default.
171338494Sobrien
171438494Sobrien	* amd/get_args.c (get_args): minor bug in output of amd -H.
171538494Sobrien
171638494SobrienMon Jan 12 03:05:06 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
171738494Sobrien
171838494Sobrien	*******************************************************************
171938494Sobrien	*** Released am-utils-6.0a15					***
172038494Sobrien	*******************************************************************
172138494Sobrien
172238494SobrienSun Jan 11 15:06:34 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
172338494Sobrien
172438494Sobrien	* amd/conf.c (*_browsable_dirs): allow specifying
172538494Sobrien	browsable_dirs=full, which will print *all* entries (other than
172638494Sobrien	/default), including  those with '*' and '/' characters.
172738494Sobrien
172838494Sobrien	* amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length
172938494Sobrien	to 1500.
173038494Sobrien
173138494Sobrien	* doc/am-utils.texi: fixed reversed documentation for NFS mount
173238494Sobrien	options vers and proto.
173338494Sobrien
173438494Sobrien	* doc/Makefile.am (install-html): separate target just for
173538494Sobrien	installing html files.  Another new target "alldocs" is just for
173638494Sobrien	installing all files needed for the am-utils home page.
173738494Sobrien
173838494Sobrien	* scripts/amd.conf-sample: updated example for log_file.
173938494Sobrien
174038494Sobrien	* scripts/amd.conf.5: updated for new way to declare new syslog
174138494Sobrien	facility in the log_file option.
174238494Sobrien
174338494Sobrien	* amd/amd.8: updated for new way to declare new syslog facility in
174438494Sobrien	the -l option.
174538494Sobrien
174638494Sobrien	* libamu/xutil.c (get_syslog_facility): allow users to specify the
174738494Sobrien	syslog facility as an appended string to the log device.  Ex. amd
174838494Sobrien	-l syslog:local7 will use LOG_LOCAL7, while the older -l syslog
174938494Sobrien	will use the default LOG_DAEMON facility.
175038494Sobrien
175138494Sobrien	* amd/get_args.c (get_args): updated new syntax for amd -l
175238494Sobrien	syslog:facility.
175338494Sobrien
175438494SobrienThu Jan  8 04:05:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
175538494Sobrien
175638494Sobrien	* aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3
175738494Sobrien	(intel).
175838494Sobrien
175938494Sobrien	* libamu/wire.c (print_wires): bug fix.  Nullify output buffer
176038494Sobrien	before appending to it, on systems with two or more network
176138494Sobrien	interfaces.
176238494Sobrien
176338494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for
176438494Sobrien	the mntent for cachefs.
176538494Sobrien
176638494Sobrien	* include/am_defs.h: external definition for strstr() should use
176738494Sobrien	const for both arguments.
176838494Sobrien
176938494Sobrien	* aux/configure.in: add extern definitions for getwd() if missing.
177038494Sobrien
177138494Sobrien	* include/am_defs.h: define the extern for strdup() even if the
177238494Sobrien	function does not exist, for it will be filled in by
177338494Sobrien	libamu/strdup.c
177438494Sobrien
177538494Sobrien	* amq/pawd.c (cluster_server): don't use getccent() if the extern
177638494Sobrien	for it isn't there.  On hpux 10.20, the function is in libc, but
177738494Sobrien	<cluster.h> and struct cct_entry do not exist.
177838494Sobrien
177938494Sobrien	* aux/configure.in: check for an extern for getccent() b/c some
178038494Sobrien	hpux systems don't have it (hpux 10.20).
178138494Sobrien
178238494SobrienWed Jan  7 00:09:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
178338494Sobrien
178438494Sobrien	* doc/am-utils.texi (Amq -T option): manual documentation updates
178538494Sobrien	for new amq options -T/-U.
178638494Sobrien
178738494Sobrien	* amq/amq.8: updated man page for new amq options -T/-U.
178838494Sobrien
178938494Sobrien	* amq/amq.c: two new switches to amq. -U will contact amd using
179038494Sobrien	UDP only.  -T will use TCP only.  Normally amq will try TCP and
179138494Sobrien	if that failed, will try UDP.
179238494Sobrien
179338494Sobrien	* doc/am-utils.texi (pawd): manual documentation for pawd.
179438494Sobrien
179538494Sobrien	* amq/pawd.1: new man page for pawd.
179638494Sobrien
179738494SobrienTue Jan  6 04:21:59 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
179838494Sobrien
179938494Sobrien	* amq/pawd.c: a new program, Print Automounter Working Directory,
180038494Sobrien	to print the proper pathname of the cwd or any other pathname,
180138494Sobrien	adjusted for automounter paths, while avoiding mount points.
180238494Sobrien
180338494Sobrien	* aux/macros/localconfig.m4: trivial support for am-utils
180438494Sobrien	maintainers to adjust some of the configuration of am-utils after
180538494Sobrien	it has been auto-configured by putting whatever definitions you
180638494Sobrien	wish in a file called localconfig.h, located in the top build
180738494Sobrien	directory (the same one where config.h is created for you).
180838494Sobrien
180938494Sobrien	* doc/am-utils.texi (Caching Filesystem): updated documents for
181038494Sobrien	cachefs file system.
181138494Sobrien
181238494Sobrien	* amd/ops_cachefs.c: initial cachefs support, for solaris.
181338494Sobrien	type:=cachefs, requires cachedir:=/cache/dir/name to be defined
181438494Sobrien	and initialized with cfsadmin -c.  $rfs is backdir to be cached
181538494Sobrien	from, and $fs is the local mount point of the cachefs.
181638494Sobrien
181738494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): support mounting of
181838494Sobrien	cachefs file systems.
181938494Sobrien
182038494Sobrien	* amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the
182138494Sobrien	mnttab type is.
182238494Sobrien
182338494SobrienMon Jan  5 23:22:49 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
182438494Sobrien
182538494Sobrien	* amd/opts.c: added support for new variable $cachedir.
182638494Sobrien
182738494Sobrien	* include/am_utils.h: added opt_cachedir field to struct am_opts.
182838494Sobrien
182938494SobrienSat Jan  3 01:43:57 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
183038494Sobrien
183138494Sobrien	* amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
183238494Sobrien	local hostname does not match $rhost, and if so, also assume
183338494Sobrien	type:=nfs.
183438494Sobrien
183538494SobrienFri Jan  2 01:00:40 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
183638494Sobrien
183738494Sobrien	* updated all source files to add 1998 as a copyright year.
183838494Sobrien
183938494Sobrien	* amd/ops_nfsl.c: new amd meta file system "type:=nfsl".  Behaves
184038494Sobrien	like type:=linkx if the pathname denoted by $fs exists, and like
184138494Sobrien	type:=nfs if it does not.  A convenient shortcut for the most
184238494Sobrien	popular amd map entry.
184338494Sobrien
184438494Sobrien	* amd/amd.c (main): amd should chdir to / before starting, to
184538494Sobrien	avoid hanging on other NFS server if started elsewhere.
184638494Sobrien
184738494Sobrien	* amd/ops_TEMPLATE.c: added an empty template file for developers
184838494Sobrien	who wish to write new amd pseudo file systems.
184938494Sobrien
185038494SobrienThu Jan  1 00:27:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
185138494Sobrien
185238494Sobrien	* hlfsd/homedir.c (plt_init): make function exported, to save on
185338494Sobrien	the unnecessary init_homedir() function which was removed.
185438494Sobrien	(table_add): don't use xmalloc() when you can use strdup()
185538494Sobrien	instead.
185638494Sobrien
185738494SobrienThu Jan  1 00:15:58 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
185838494Sobrien
185938494Sobrien	* hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this
186038494Sobrien	because we will be making more passwd calls afterwards.  On
186138494Sobrien	Solaris 2.5.1, making getpwent() calls after calling endpwent()
186238494Sobrien	results in a memory leak! (and no, even Purify didn't detect
186338494Sobrien	it...)
186438494Sobrien
186538494SobrienTue Dec 23 18:23:47 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
186638494Sobrien
186738494Sobrien	* hlfsd/hlfsd.c (main): Bug fix.  Don't try to free() an
186838494Sobrien	automatically allocated address.
186938494Sobrien
187038494Sobrien	* amd/ops_afs.c (mount_toplvl): Bug fix.  Don't try to free() an
187138494Sobrien	automatically allocated address.
187238494Sobrien
187338494Sobrien	* ALL SOURCES: change every direct call to free() to xfree(), so
187438494Sobrien	it can be mapped to the right debugging function as needed.
187538494Sobrien
187638494Sobrien	* include/am_utils.h: new free() policy.  If debugging memory,
187738494Sobrien	call dxfree(), which will print the file name and line number
187838494Sobrien	where the free occurred and the pointer address.  if only regular
187938494Sobrien	debugging, then free() and reset  the pointer to NULL so it cannot
188038494Sobrien	be used afterwards inadvertently.  If not DEBUG at all, then just
188138494Sobrien	run free().  Three different #define macros set the right mapping.
188238494Sobrien
188338494Sobrien	* libamu/xutil.c (dxfree): renamed function to dxfree(), so it can
188438494Sobrien	be called only when debugging the memory.
188538494Sobrien
188638494SobrienTue Dec 23 04:24:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
188738494Sobrien
188838494Sobrien	* wire-test/wire-test.c (main): use xmalloc() not malloc().
188938494Sobrien
189038494Sobrien	* conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not
189138494Sobrien	calloc().
189238494Sobrien
189338494Sobrien	* conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc().
189438494Sobrien
189538494Sobrien	* conf/mount/mount_linux.c (parse_opts): use xmalloc() not
189638494Sobrien	malloc().
189738494Sobrien
189838494Sobrien	* amd/info_ldap.c: use xmalloc() not malloc().
189938494Sobrien
190038494Sobrien	* libamu/xutil.c (xzalloc): new function to allocate memory and
190138494Sobrien	zero its bytes.
190238494Sobrien
190338494Sobrien	* amq/amq.c: amq does not need its own definition of xfree().
190438494Sobrien
190538494Sobrien	* aux/macros/opt_debug.m4: if used --enable-debug=mem, then also
190638494Sobrien	look for function malloc_verify() in libmapmalloc.a, and function
190738494Sobrien	mallinfo() in libmalloc.
190838494Sobrien
190938494Sobrien	* libamu/xutil.c (checkup_mem): do not use mallinfo field
191038494Sobrien	uordbytes, because it does not always exist.  Rather, compute it
191138494Sobrien	from other fields..
191238494Sobrien
191338494Sobrien	* include/am_utils.h: add external definition to xfree() function
191438494Sobrien	used when debugging memory references.
191538494Sobrien
191638494SobrienMon Dec 22 03:01:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
191738494Sobrien
191838494Sobrien	* amd/ops_afs.c (afs_readdir_browsable): reduce the number of
191938494Sobrien	bytes heuristically computed to be returned to the kernel.
192038494Sobrien	Otherwise browsable_dirs fails on OpenBSD 2.2.
192138494Sobrien
192238494Sobrien	* amd/mntfs.c (uninit_mntfs): bug fix.  Moved freeing of
192338494Sobrien	mf_private field to AFTER it gets used.
192438494Sobrien
192538494SobrienSat Dec 20 00:51:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
192638494Sobrien
192738494Sobrien	* amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
192838494Sobrien	on systems that don't support it.
192938494Sobrien
193038494Sobrien	* include/am_defs.h: add missing extern definition for free().
193138494Sobrien
193238494Sobrien	* aux/configure.in: check for external definition for free().
193338494Sobrien
193438494Sobrien	* libamu/Makefile.am: add to comment a mention of strstr as an
193538494Sobrien	optional function.
193638494Sobrien
193738494Sobrien	* libamu/xutil.c (switch_to_logfile): use openlog() options only
193838494Sobrien	if they exist.
193938494Sobrien
194038494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): don't use
194138494Sobrien	clnt_spcreateerror if it does not exist.
194238494Sobrien
194338494Sobrien	* aux/configure.in: check for missing functions clnt_create and
194438494Sobrien	clnt_spcreateerror.  Check for missing strstr, and complete
194538494Sobrien	its code.  Check for missing external definition for strstr.
194638494Sobrien
194738494Sobrien	* aux/macros/host_macros.m4: normalize sun3* names.
194838494Sobrien
194938494Sobrien	* Makefile.am: updates for new sunos3 files distributed.
195038494Sobrien
195138494Sobrien	* conf/nfs_prot/nfs_prot_sunos3.h: new file.
195238494Sobrien
195338494Sobrien	* conf/fh_dref/fh_dref_sunos3.h: new file.
195438494Sobrien
195538494Sobrien	* aux/macros/check_nfs_prot_headers.m4: added sunos3 case.
195638494Sobrien
195738494Sobrien	* aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
195838494Sobrien
195938494Sobrien	* doc/am-utils.texi (wire Selector Variable): updated manual for
196038494Sobrien	adjusted variables wire, network, and netnumber, all using the
196138494Sobrien	in_network() function.
196238494Sobrien
196338494SobrienFri Dec 19 04:37:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
196438494Sobrien
196538494Sobrien	* amd/opts.c: allow options to be processed by executing arbitrary
196638494Sobrien	functions.  Converted wire, network, and netnumber all to use the
196738494Sobrien	nomadic function in_network.  So from now on they perform a match
196838494Sobrien	against all networks, not just primary.
196938494Sobrien
197038494Sobrien	* initial port to alpha-unknown-linux-gnu, probably works, but
197138494Sobrien	untested yet.
197238494Sobrien
197338494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: add special definitions for
197438494Sobrien	__FD_* macros which for som strange reason do not get included
197538494Sobrien	from <selectbits.h> on redhat alpha linux.  Also turn off usage of
197638494Sobrien	<rpc/des_auth.h> because it is incomplete on the same systems.
197738494Sobrien
197838494Sobrien	* hlfsd/homedir.c (table_add): cast uid field to int, for
197938494Sobrien	comparison.
198038494Sobrien
198138494Sobrien	* include/am_defs.h: more coflicts with redhat alpha linux
198238494Sobrien	"resolved".
198338494Sobrien
198438494Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
198538494Sobrien	There's a conflict of definitions on redhat alpha linux between
198638494Sobrien	<netinet/in.h> and <linux/fs.h> which must be avoided.
198738494Sobrien
198838494Sobrien	* aux/configure.in: check for <socketbits.h>, which is in use on
198938494Sobrien	redhat alpha linux.
199038494Sobrien
199138494Sobrien	* doc/am-utils.texi (Selectors): added documentation to describe
199238494Sobrien	the new "!" (negated) nomadic functions.
199338494Sobrien
199438494Sobrien	* amd/opts.c (f_in_network): print debugging info that is correct,
199538494Sobrien	rather than saying that any ARG is on a local network.
199638494Sobrien	(eval_opts): added support for negating nomadic functions, by
199738494Sobrien	prepending "!" to their name.  Example, !exists(/foo/bar).
199838494Sobrien
199938494SobrienThu Dec 18 20:57:19 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
200038494Sobrien
200138494Sobrien	* include/am_compat.h: ensure that all NFS3 systems have the mount
200238494Sobrien	table entries (and amd opts switches) "proto" and "vers".
200338494Sobrien
200438494Sobrien	* hlfsd/homedir.c (table_add): added some debugging info to try
200538494Sobrien	and track down a serious memory leak in hlfsd.
200638494Sobrien
200738494Sobrien1997-12-18  Erez Zadok  <ezk@t-rex.mcl.cs.columbia.edu>
200838494Sobrien
200938494Sobrien	* libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that
201038494Sobrien	you do NOT set the noconn option, and use connected sockets
201138494Sobrien	always.  So I'm now forced not to set it at all, and have the user
201238494Sobrien	specify it as "conn" or "noconn" in their /default entry.  Argh...
201338494Sobrien	Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
201438494Sobrien	buggy (TCP hangs with "short receive" kernel errors).  I'd better
201538494Sobrien	wait until they get it working in their version of the automounter
201638494Sobrien	first.  So I'm putting the "noconn" option back.
201738494Sobrien
201838494SobrienThu Dec 18 02:39:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
201938494Sobrien
202038494Sobrien	* libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set
202138494Sobrien	nfs_args field maxgrouplist accordingly.
202238494Sobrien
202338494Sobrien	* include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition
202438494Sobrien	for mount table entry for maxgroups based on NFS mount option
202538494Sobrien	maxgrp.
202638494Sobrien
202738494Sobrien	* aux/configure.in: put back testing for NFS mount option
202838494Sobrien	"maxgrps".  Added test for mount table entry "maxgroups".
202938494Sobrien
203038494Sobrien	* libamu/mount_fs.c (compute_nfs_args): perform more careful tests
203138494Sobrien	on nfs_proto, because it could be NULL.
203238494Sobrien
203338494Sobrien	* doc/am-utils.texi (Selectors): added example of in_network()
203438494Sobrien	selector.
203538494Sobrien
203638494Sobrien	* aux/macros/check_hide_mount_type.m4: all hpux versions,
203738494Sobrien	including 9.x, should use "ignore" as the mount type to hide from
203838494Sobrien	amd.
203938494Sobrien
204038494SobrienWed Dec 17 13:09:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
204138494Sobrien
204238494Sobrien	* include/am_utils.h (NSTREQ): use new macro instead of strncmp()
204338494Sobrien	every where in the sources.
204438494Sobrien
204538494SobrienWed Dec 17 01:15:01 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
204638494Sobrien
204738494Sobrien	* libamu/mount_fs.c (print_nfs_args): if -D trace is on, will
204838494Sobrien	print as much info that is given in struct nfs_args as possible.
204938494Sobrien	useful for detecting internal flags and options, as well as the
205038494Sobrien	file handle used.
205138494Sobrien
205238494Sobrien	* scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc
205338494Sobrien	after /etc and before /etc/local.
205438494Sobrien
205538494SobrienTue Dec 16 18:51:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
205638494Sobrien
205738494Sobrien	* aux/configure.in, libamu/Makefile.am: added support for linking
205838494Sobrien	with specific versions of libamu.  Upped shared library version of
205938494Sobrien	libamu to 1 (libamu.so.1.0.0)
206038494Sobrien
206138494Sobrien	* include/am_defs.h: added external definition for mkstemp() as
206238494Sobrien	needed.
206338494Sobrien
206438494Sobrien	* minor new port to i386-unknown-netbsd1.3 (BETA version of
206538494Sobrien	netbsd).
206638494Sobrien
206738494Sobrien	* aux/config.guess: don't leave a trailing '.' on the system name
206838494Sobrien	for NetBSD-1.3_BETA and similarly for OpenBSD.
206938494Sobrien
207038494Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
207138494Sobrien	differences in ypall calling conventions.
207238494Sobrien
207338494Sobrien	* mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible
207438494Sobrien	in preference over mktemp(), b/c it is more secure.
207538494Sobrien
207638494Sobrien	* aux/configure.in: check for mkstemp(), a more secure version of
207738494Sobrien	mktemp().
207838494Sobrien
207938494SobrienMon Dec 15 02:32:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
208038494Sobrien
208138494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
208238494Sobrien	table "vers" option generally do not set the mnttab entry to
208338494Sobrien	"nfs3", but to "nfs" and then they set "vers=3".  Setting it to
208438494Sobrien	"nfs3" works, but it may break some things like "df -t nfs" and
208538494Sobrien	the "quota" program (esp. on Solaris and Irix).  So on those
208638494Sobrien	systems, set it to "nfs".
208738494Sobrien
208838494SobrienSat Dec 13 01:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
208938494Sobrien
209038494Sobrien	* doc/am-utils.texi (Distrib): updates for new ports, location of
209138494Sobrien	am-utils' home page, and URL cross references (now supported by my
209238494Sobrien	version of texi2html).
209338494Sobrien
209438494Sobrien	* aux/macros/check_mtype_type.m4: also use string type for file
209538494Sobrien	system mount types under nextstep for mount(2).
209638494Sobrien
209738494Sobrien	* aux/macros/check_mtype_printf_type.m4}: nextstep can handle both
209838494Sobrien	integer and string types for file system mount types in mount(2),
209938494Sobrien	but it is better to use string types.
210038494Sobrien
210138494Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to
210238494Sobrien	0, not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
210338494Sobrien	(EPERM) instead of 0 (OK).  Fixes m68k-next-nextstep3 which now
210438494Sobrien	works.
210538494Sobrien
210638494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0,
210738494Sobrien	not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
210838494Sobrien	(EPERM) instead of 0 (OK).
210938494Sobrien
211038494Sobrien	* libamu/xdr_func.c (xdr_*): add debugging calls that are optioned
211138494Sobrien	by -D trace (protocol trace).
211238494Sobrien
211338494Sobrien1997-12-11  Erez Zadok  <ezk@bach.cs.columbia.edu>
211438494Sobrien
211538494Sobrien	* A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR
211638494Sobrien	macro based on existence on others, and include <sys/stat.h>.
211738494Sobrien
211838494SobrienThu Dec 11 14:14:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
211938494Sobrien
212038494Sobrien	* aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off
212138494Sobrien	inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
212238494Sobrien	which this header is broken (it tries to include non-existing
212338494Sobrien	headers).
212438494Sobrien
212538494SobrienWed Dec 10 16:09:07 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
212638494Sobrien
212738494Sobrien	* libamu/mount_fs.c (mnt_flags): support either nfs or generic
212838494Sobrien	mount option for grpid.
212938494Sobrien
213038494Sobrien	* aux/configure.in: turn back on NFS mount option grpid.
213138494Sobrien
213238494SobrienSat Dec  6 04:36:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
213338494Sobrien
213438494Sobrien	* doc/Makefile.am (install-ps): added target to install postscript
213538494Sobrien	file in the am-utils' home page, as well as a few other useful
213638494Sobrien	files for the new am-utils Web page.
213738494Sobrien
213838494SobrienMon Nov 17 05:22:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
213938494Sobrien
214038494Sobrien	*******************************************************************
214138494Sobrien	*** Released am-utils-6.0a14					***
214238494Sobrien	*******************************************************************
214338494Sobrien
214438494SobrienSun Nov 16 21:56:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
214538494Sobrien
214638494Sobrien	* doc/am-utils.texi (Supported Platforms): updated table of new
214738494Sobrien	ports.
214838494Sobrien
214938494SobrienSat Nov 15 06:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
215038494Sobrien
215138494Sobrien	* libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab
215238494Sobrien	options so that they can be printed in logs as needed.
215338494Sobrien
215438494Sobrien	* doc/am-utils.texi (osver Parameter): updated for the correct
215538494Sobrien	usage of the -o/-O options.
215638494Sobrien
215738494Sobrien	* scripts/amd.conf.5: corrected info for -o/-O options.
215838494Sobrien
215938494Sobrien	* amd/amd.8: updated man page for new -O op_sys_name option, and
216038494Sobrien	corrected the usage of the -o op_sys_ver option
216138494Sobrien
216238494Sobrien	* amd/get_args.c (get_args): added new amd option -O to override
216338494Sobrien	OS name.
216438494Sobrien	(get_args): updated usage string.  Removed old -m option.  Added
216538494Sobrien	-o and -O options.
216638494Sobrien
216738494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case
216838494Sobrien	it is not there.  Reportedly, irix 5.2 does not define it.
216938494Sobrien
217038494Sobrien	* scripts/lostaltmail.in: removed references to unused $hack
217138494Sobrien	variable.
217238494Sobrien
217338494Sobrien	* aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf
217438494Sobrien	<metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
217538494Sobrien	for solaris2.5.
217638494Sobrien
217738494Sobrien	* doc/am-utils.texi (Distrib): typo in the subscription
217838494Sobrien	instructions to amd-dev.  Patch from Stefan Vogel
217938494Sobrien	<vogel@physik-rzu.unizh.ch>.
218038494Sobrien
218138494Sobrien1997-11-15  Erez Zadok  <ezk@amtrak.cs.columbia.edu>
218238494Sobrien
218338494Sobrien	* NFS3 works on powerpc-ibm-aix4.2.1.0.
218438494Sobrien
218538494Sobrien	* libamu/mount_fs.c (compute_nfs_args): set fh3 variable to
218638494Sobrien	static.  Some compilers (gcc from egcs  on aix 4.2.1) corrupt the
218738494Sobrien	stack of an automatic variable when pointer to it is passed around
218838494Sobrien	several times.
218938494Sobrien
219038494SobrienFri Nov 14 20:09:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
219138494Sobrien
219238494Sobrien	* libamu/xutil.c (real_plog): syslog like behavior for normal
219338494Sobrien	logging.  Will not print repeated strings, only a count "last
219438494Sobrien	message repeated N times", but will always print something if
219538494Sobrien	message is repeated more than 100 times.
219638494Sobrien
219738494Sobrien	* scripts/lostaltmail.in: look for lostaltmail.conf files also in
219838494Sobrien	/etc/global, /etc/os, and /etc/local (in that order).
219938494Sobrien
220038494SobrienMon Nov 10 03:03:17 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
220138494Sobrien
220238494Sobrien	* conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3
220338494Sobrien	mounts.
220438494Sobrien
220538494Sobrien	* aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for
220638494Sobrien	aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h
220738494Sobrien
220838494Sobrien	* conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the
220938494Sobrien	NFS_SA_DREF macro is a pointer to the structure that used to be
221038494Sobrien	passed to it before.  So now I have to dereference the pointer
221138494Sobrien	before accessing its values.
221238494Sobrien
221338494Sobrien	* hlfsd/hlfsd.c (main): use the new and cleaner
221438494Sobrien	compute_nfs_args() and compute_automounter_nfs_args() functions.
221538494Sobrien
221638494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner
221738494Sobrien	compute_nfs_args() and compute_automounter_nfs_args() functions.
221838494Sobrien
221938494Sobrien	* amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION.  Use the new
222038494Sobrien	and cleaner compute_nfs_args() and compute_automounter_nfs_args()
222138494Sobrien	functions.
222238494Sobrien
222338494Sobrien	* libamu/mount_fs.c (compute_nfs_args): major code cleanup that
222438494Sobrien	relates for struct nfs_args.  A new function sets the numerous
222538494Sobrien	possible flags and fields of nfs_args_t in an orderly fashion.
222638494Sobrien	Code cleaned up, organized, and moved from amd/hlfsd into
222738494Sobrien	libamu.  This saves on overall size of code.
222838494Sobrien	(compute_automounter_nfs_args): A variant of compute_nfs_args()
222938494Sobrien	which sets special options/flags that need to be used when NFS
223038494Sobrien	mounting an automounter's mount point.  Used by hlfsd and amd.
223138494Sobrien
223238494Sobrien	* amq/amq.c (get_secure_amd_client): don't print any more
223338494Sobrien	"get_secure_amd_client: using TCP, port 12345".  It's more
223438494Sobrien	annoying than useful a message, even when assumed to be compiled
223538494Sobrien	under DEBUG only.
223638494Sobrien
223738494SobrienThu Oct 30 14:33:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
223838494Sobrien
223938494Sobrien	* aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs
224038494Sobrien	mount table entries.  The code used to define the /etc/mnttab name
224138494Sobrien	for file systems based on physical media (disk, cdrom, floppy) to
224238494Sobrien	the generic name, rather than the OS specific name.  For example
224338494Sobrien	autoconf searches for all these types of mount table entries for a
224438494Sobrien	floppy based file system: vfat pcfs pc msdos msdosfs fat.  But if
224538494Sobrien	it found any, it hard-coded the mnttab name to "pcfs" rather than
224638494Sobrien	the actual name found!  Same for ufs, cdfs, pcfs, tmpfs, lofs,
224738494Sobrien	nullfs, unionfs, and umapfs.
224838494Sobrien
224938494Sobrien	* aux/configure.in: also test for xfs (for newer Irix) when
225038494Sobrien	looking for mount type names, numbers, etc of a disk-based ufs.
225138494Sobrien
225238494SobrienSun Oct 26 19:32:57 1997  Erez Zadok  <ezk@defiant.soscorp.com>
225338494Sobrien
225438494Sobrien	* amq/amq.c (main): use pmap_ping() to test if remote host is up.
225538494Sobrien	This works better on bsdi2 and bsdi3, because their portmapper
225638494Sobrien	does not appear to like forwarding operations (it is generaly
225738494Sobrien	insecure).
225838494Sobrien
225938494SobrienSat Oct 25 04:55:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
226038494Sobrien
226138494Sobrien	*******************************************************************
226238494Sobrien	*** Released am-utils-6.0a13					***
226338494Sobrien	*******************************************************************
226438494Sobrien
226538494SobrienFri Oct 24 05:04:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
226638494Sobrien
226738494Sobrien	* conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for
226838494Sobrien	struct datum typedef.
226938494Sobrien
227038494Sobrien	* conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for
227138494Sobrien	ypall_callback_fxn_t for netbsd.
227238494Sobrien
227338494Sobrien	* aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for
227438494Sobrien	the 5th arg to authunix_create(), while before and after they used
227538494Sobrien	gid_t.
227638494Sobrien
227738494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
227838494Sobrien	clnt_create_timed() on older Solaris 2.3 systems that did not have
227938494Sobrien	it.
228038494Sobrien
228138494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for
228238494Sobrien	kernel only on bsdi2, so do not include it.
228338494Sobrien
228438494SobrienFri Oct 24 00:29:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
228538494Sobrien
228638494Sobrien	* hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated
228738494Sobrien	messages about resolution of mailboxes based on uid/gid.
228838494Sobrien
228938494Sobrien	* scripts/ctl-hlfsd.in: check for alternate password file in
229038494Sobrien	${prefix}/etc/passwd and use it in hlfsd's startup.
229138494Sobrien
229238494SobrienThu Oct 23 22:48:50 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
229338494Sobrien
229438494Sobrien	* hlfsd/homedir.c (hlfsd_getpwent): added support for -P
229538494Sobrien	passwdfile option.  If hlfsd is started with -P passwdfile, then
229638494Sobrien	the passwdfile is read and parsed just as a standard unix
229738494Sobrien	passwd(4) file.  Only the username, uid, and homedir fields are
229838494Sobrien	read and checked.  All the rest are ignored.  No NIS/netgroup
229938494Sobrien	support!
230038494Sobrien
230138494Sobrien	* hlfsd/hlfsd.c (main): check if hlfsd is run as root after
230238494Sobrien	parsing command line options, so that usage() can be printed when
230338494Sobrien	-h is invoked.
230438494Sobrien
230538494SobrienWed Oct 22 00:16:39 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
230638494Sobrien
230738494Sobrien	* amd/nfs_start.c (mount_automounter): if autofs service listener
230838494Sobrien	fails to initialize it is OK if using a test amd.
230938494Sobrien
231038494Sobrien	* amd/opts.c (f_in_network): new nomadic function in_network(arg),
231138494Sobrien	which returns TRUE if 'arg' is any one of this host's networks.
231238494Sobrien
231338494Sobrien	* libamu/wire.c (getwire): rewritten parts of function, to store
231438494Sobrien	all networks names and numbers in the order of the interface (not
231538494Sobrien	in reverse).
231638494Sobrien
231738494SobrienMon Oct 20 01:59:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
231838494Sobrien
231938494Sobrien	* aux/configure.in: don't add ops_ufs.o on AIX twice.  My code
232038494Sobrien	would have worked had it not been due to AIX's buggy /bin/sh.
232138494Sobrien
232238494Sobrien	* doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
232338494Sobrien	am-utils.ps in the distribution sources.
232438494Sobrien	(html): generate html documentation for
232538494Sobrien	http://www.cs.columbia.edu/~ezk/am-utils/
232638494Sobrien
232738494SobrienSun Oct 19 12:35:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
232838494Sobrien
232938494Sobrien	* conf/nfs_prot/nfs_prot_netbsd.h: override the definition of
233038494Sobrien	ypall_callback_fxn_t.  The NetBSD team compiles all sources with
233138494Sobrien	gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
233238494Sobrien
233338494Sobrien	* amd/info_nis.c: allow for override of ypall_callback_fxn_t
233438494Sobrien	function typedef.
233538494Sobrien
233638494Sobrien	* libamu/xutil.c (amu_release_controlling_tty): new function to
233738494Sobrien	release the controlling tty in a clean and sane manner.  No longer
233838494Sobrien	using setpgid() b/c it may not work.  Uses setsid(),
233938494Sobrien	and ioctl() (in order).  This new function is used in amd/amd.c
234038494Sobrien	and hlfsd/hlfsd.c.  Also avoid setpgrp(), because it works on some
234138494Sobrien	systems, but on others it is the same as setpgid().
234238494Sobrien
234338494SobrienSat Oct 18 23:42:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
234438494Sobrien
234538494Sobrien	* aux/acconfig.h: check for nfs mount option 'fsname'.  Code for
234638494Sobrien	it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but
234738494Sobrien	never used, because the configure test for fsname flag wasn't
234838494Sobrien	used.  This fixed a bug in HPUX 10, where syncer and manual mounts
234938494Sobrien	left blank lines in /etc/mnttab.
235038494Sobrien
235138494Sobrien	* aux/configure.in: check for nfs mount option 'fsname'.
235238494Sobrien
235338494SobrienFri Oct 17 13:30:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
235438494Sobrien
235538494Sobrien	* amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
235638494Sobrien	mount flags of toplvl mounts.  Important esp. for HPUX 10.  Now
235738494Sobrien	hpux-10 will mount amd's mounts points as 'ignore' (by df).
235838494Sobrien
235938494Sobrien	* aux/configure.in: check for NFS mount option 'ignore', useful in
236038494Sobrien	HPUX 10.
236138494Sobrien
236238494SobrienThu Oct 16 03:28:33 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
236338494Sobrien
236438494Sobrien	* aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
236538494Sobrien	mount type and not NFS, for the amd mount points.
236638494Sobrien
236738494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
236838494Sobrien	an RPC timeout as an error, but just an info message.  From
236938494Sobrien	Andreas Stolcke <stolcke@speech.sri.com>
237038494Sobrien
237138494Sobrien	* If the NFS server is down or does not support the portmapper
237238494Sobrien	call (such as certain Novell NFS servers) we mark it as version 2
237338494Sobrien	and we let the nfs code deal with the case that is down.  If when
237438494Sobrien	the server comes back up, it can support NFS V.3 and/or TCP, it
237538494Sobrien	will use those.  From christos@deshaw.com (Christos Zoulas).
237638494Sobrien
237738494Sobrien	* hlfsd/homedir.c (plt_print): various compile time cleanups to
237838494Sobrien	printfs that take a long, but pass an int to print.  From
237938494Sobrien	christos@deshaw.com (Christos Zoulas).
238038494Sobrien
238138494Sobrien	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
238238494Sobrien	macro to determine if the OS has a bad yp_all(), based on the host
238338494Sobrien	OS name.  So far only irix (all versions) have a bad yp_all, so
238438494Sobrien	they will use am_yp_all() instead (which is slower as it
238538494Sobrien	enumerates manually all of the map's entries).
238638494Sobrien
238738494SobrienThu Oct 16 03:14:37 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
238838494Sobrien
238938494Sobrien	* amd/info_nis.c (am_yp_all): code for a replacement yp_all that
239038494Sobrien	avoids using a file-descriptor leaking yp_all() on some systems
239138494Sobrien	like irix.
239238494Sobrien
239338494SobrienWed Oct 15 21:52:35 1997  Erez Zadok  <ezk>
239438494Sobrien
239538494Sobrien	* fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
239638494Sobrien	systems using /usr/bin/flex.
239738494Sobrien
239838494Sobrien	* amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
239938494Sobrien	that have a modified GNU flex which does define yywrap (DU-4.x).
240038494Sobrien
240138494SobrienFri Sep 26 14:25:29 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
240238494Sobrien
240338494Sobrien	* conf/checkmount/checkmount_bsd44.c: include prototype.
240451292Sobrien
240551292SobrienFri Sep 26 01:26:24 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
240651292Sobrien
240751292Sobrien	*******************************************************************
240851292Sobrien	*** Released am-utils-6.0a12					***
240951292Sobrien	*******************************************************************
241051292Sobrien
241151292SobrienFri Sep 26 00:13:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
241251292Sobrien
241351292Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
241451292Sobrien	code in irix6 until it can be tested correctly
241551292Sobrien
241651292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
241751292Sobrien	on clnt_create for 3 seconds, rather than wait for the much longer
241851292Sobrien	default.
241951292Sobrien
242051292Sobrien	* conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
242151292Sobrien	Includes NFS3, untested.
242251292Sobrien
242351292SobrienThu Sep 25 11:03:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
242451292Sobrien
242551292Sobrien	* amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
242651292Sobrien	pcfs_args_t if they exist.
242751292Sobrien
242851292Sobrien	* amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
242951292Sobrien	cdfs_args_t if it exists.
243051292Sobrien
243151292Sobrien	* new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
243251292Sobrien	hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
243351292Sobrien
243451292SobrienWed Sep 24 00:48:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
243551292Sobrien
243651292Sobrien	* doc/am-utils.texi (wire-test): updated documentation for the new
243751292Sobrien	option.
243851292Sobrien
243951292Sobrien	* wire-test/wire-test.8: updated man page for new option.
244051292Sobrien
244151292Sobrien	* wire-test/wire-test.c (main): added a test for various
244251292Sobrien	combinations of NFS proto/vers to a remote/local host.
244351292Sobrien
244451292Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
244551292Sobrien	<isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
244651292Sobrien	freebsd will correctly set mount options for pcfs and cdfs.
244751292Sobrien
244851292Sobrien	* amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
244951292Sobrien	0777 (if field exists).
245051292Sobrien
245151292Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
245251292Sobrien	<msdosfs/msdosfsmount.h> if available.
245351292Sobrien
245451292Sobrien	* minor new port: rs6000-ibm-aix4.1.4.0.
245551292Sobrien
245651292Sobrien	* libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
245751292Sobrien	write the "time" field in /etc/mnttab.
245851292Sobrien
245951292Sobrien	* conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
246051292Sobrien	detecting mnt_time field of mntent_t.
246151292Sobrien
246251292Sobrien	* libamu/mtab.c (mnt_free): fixed typo in macro names for
246351292Sobrien	detecting mnt_time field of mntent_t.
246451292Sobrien
246551292SobrienTue Sep 23 15:30:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
246651292Sobrien
246751292Sobrien	* conf/mtab/mtab_file.c (lock): Use flock() in preference over
246851292Sobrien	fcntl() to lock the mtab file.
246951292Sobrien
247051292SobrienMon Sep 22 23:04:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
247151292Sobrien
247251292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): define
247351292Sobrien	the try_again goto label only for NFS3.
247451292Sobrien	(pmap_ping): assume timeout failure of clnt_stat.
247551292Sobrien
247651292Sobrien	* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
247751292Sobrien	"groups *".
247851292Sobrien
247951292SobrienMon Sep 22 20:34:33 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
248051292Sobrien
248151292Sobrien	* conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
248251292Sobrien	<dsr@mail.lns.cornell.edu> to make sure that amd works with more
248351292Sobrien	secure portmappers that do not allow forwarding of RPC messages to
248451292Sobrien	other services.
248551292Sobrien
248651292Sobrien	* */Makefile.am: all source files should also depend on the new
248751292Sobrien	include/am_xdr_func.h header.
248851292Sobrien
248951292Sobrien	* include/am_xdr_func.h: new file as part of the code cleanup from
249051292Sobrien	Christos Zoulas <christos@deshaw.com>.
249151292Sobrien
249251292Sobrien	* Lots of fixes from Christos Zoulas <christos@deshaw.com> that
249351292Sobrien	involved missing prototypes, cleaned up ones, and removal of
249451292Sobrien	unused variables.
249551292Sobrien
249651292Sobrien	* libamu/xdr_func.c (xdr_mountres3): some code cleanup.  A switch
249751292Sobrien	statement with only one case is unclean.
249851292Sobrien
249951292SobrienMon Sep 22 17:26:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
250051292Sobrien
250151292Sobrien	* amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
250251292Sobrien	0 so that all fields are initialized to zero at first.  This way
250351292Sobrien	SunOS 4.x and other systems don't get /etc/mtab entries with
250451292Sobrien	random integers for the fsck/freq fields. Patch from Andreas
250551292Sobrien	Stolcke <stolcke@speech.sri.com>.
250651292Sobrien
250751292SobrienMon Sep 22 00:34:19 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
250851292Sobrien
250951292Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
251051292Sobrien	that the important definition for HOSTNAMESZ will be found.
251151292Sobrien
251251292Sobrien	* amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
251351292Sobrien	(inside the nfs_args structure) if the system uses that macro.
251451292Sobrien	Otherwise systems like SunOS refuse to NFS mount long pathnames
251551292Sobrien	and result in ENAMETOOLONG errno's.
251651292Sobrien
251751292SobrienWed Sep 17 04:56:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
251851292Sobrien
251951292Sobrien	* doc/am-utils.texi (Supported Platforms): specify new support for
252051292Sobrien	solaris 2.6, and hlfsd running on 2.5.1 too.
252151292Sobrien
252251292SobrienWed Sep 17 03:55:02 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
252351292Sobrien
252451292Sobrien	* conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
252551292Sobrien	mount if it is not supported or was turned off.
252651292Sobrien
252751292SobrienWed Sep 17 03:19:36 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
252851292Sobrien
252951292Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
253051292Sobrien	again.  Apparently at some previous release SunOS 4 supported was
253151292Sobrien	broken and all nfs mounts resulted in ESTALE.
253251292Sobrien
253351292SobrienWed Sep 17 00:26:25 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
253451292Sobrien
253551292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
253651292Sobrien	solaris 2.6.
253751292Sobrien
253851292Sobrien	* aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
253951292Sobrien	protocol header selection.
254051292Sobrien
254151292SobrienSat Sep 13 14:31:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
254251292Sobrien
254351292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
254451292Sobrien	infinite loop.
254551292Sobrien
254651292SobrienSun Sep  7 18:23:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
254751292Sobrien
254851292Sobrien	*******************************************************************
254951292Sobrien	*** Released am-utils-6.0a11					***
255051292Sobrien	*******************************************************************
255151292Sobrien
255251292SobrienFri Sep  5 11:55:10 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
255351292Sobrien
255451292Sobrien	* amd/amd.c (main): if plock() succeeded, don't try to display
255551292Sobrien	errno message.   Patch from Chris Metcalf
255651292Sobrien	<metcalf@catfish.lcs.mit.edu.
255751292Sobrien
255851292SobrienThu Sep  4 19:17:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
255951292Sobrien
256051292Sobrien	* hlfsd/homedir.c (table_add): make sure duplicate passwd entries
256151292Sobrien	are ignored.   Only the first entry should ever be used, because
256251292Sobrien	that's how lookup in passwd database works.
256351292Sobrien
256451292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): when determining
256551292Sobrien	if a remote host is up or down, use NFS v.2.  Fix suggested by
256651292Sobrien	Enami Tsugutomo <enami@cv.sony.co.jp>.
256751292Sobrien
256851292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
256951292Sobrien	function to get the best possible NFS version, but also timeout
257051292Sobrien	faster than normal defaults, so remote hosts which are down can be
257151292Sobrien	detected in a reasonable time.
257251292Sobrien	(get_nfs_version): use the new "best" function.
257351292Sobrien
257451292SobrienTue Sep  2 00:41:00 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
257551292Sobrien
257651292Sobrien	*******************************************************************
257751292Sobrien	*** Released am-utils-6.0a10					***
257851292Sobrien	*******************************************************************
257951292Sobrien
258051292SobrienMon Sep  1 15:39:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
258151292Sobrien
258251292Sobrien	* conf/transp/transp_tli.c (get_nfs_version): don't use
258351292Sobrien	clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
258451292Sobrien	and earlier).
258551292Sobrien
258651292Sobrien	* aux/configure.in: test for existence of clnt_tp_create_timed(),
258751292Sobrien	since Solaris 2.4 (and possibly earlier) do not have it.
258851292Sobrien
258951292SobrienMon Sep  1 15:23:18 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
259051292Sobrien
259151292Sobrien	* amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
259251292Sobrien	field if it exists (solaris 2.4's autofs does not have it).
259351292Sobrien
259451292SobrienMon Sep  1 14:45:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
259551292Sobrien
259651292Sobrien	* aux/macros/type_auth_create_gidlist.m4: a new test to determine
259751292Sobrien	the correct type to the 5th argument of authunix_create().
259851292Sobrien
259951292SobrienMon Sep  1 03:44:32 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
260051292Sobrien
260151292Sobrien	* libamu/xdr_func.c (xdr_umntrequest): add test for autofs
260251292Sobrien	structure umntrequest, if it has the field rdevid.  Seems Solaris
260351292Sobrien	2.4 and earlier didn't have it.
260451292Sobrien
260551292SobrienMon Sep  1 01:10:53 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
260651292Sobrien
260751292Sobrien	* hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
260851292Sobrien	can be done before primary process forks.
260951292Sobrien	(main): bug fix: wait a bit to give child a chance to initialize.
261051292Sobrien	Without this, hlfsd got into a busy infinite loop while, never
261151292Sobrien	completing the mount.
261251292Sobrien
261351292Sobrien	* amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
261451292Sobrien	to make amd works when talking to NIS+ servers in NIS
261551292Sobrien	compatibility mode.
261651292Sobrien
261751292SobrienMon Sep  1 00:46:56 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
261851292Sobrien
261951292Sobrien	* amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
262051292Sobrien
262151292SobrienSun Aug 31 20:20:40 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
262251292Sobrien
262351292Sobrien	* amd/conf.c (gopt_fully_qualified_hosts): a new function to
262451292Sobrien	process another new global variable.
262551292Sobrien
262651292Sobrien	* amd/ops_nfs.c (make_nfs_auth): if a new global variable
262751292Sobrien	fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
262851292Sobrien	Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
262951292Sobrien
263051292Sobrien	* amd/conf.c (process_last_regular_map): If the amd.conf file only
263151292Sobrien	has a [global] section (pretty useless IMHO), do not try to
263251292Sobrien	process a map that does not exist.
263351292Sobrien
263451292Sobrien	* scripts/amd.conf.5: fixed typos (repeated 'as' word).
263551292Sobrien
263651292Sobrien	* doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
263751292Sobrien
263851292Sobrien	* amd/conf.c (reset_cf_map): Bug fix.  Reset 'tag' field of cfm
263951292Sobrien	structure, so it does not carry over from map entry to another.
264051292Sobrien
264151292SobrienSat Aug 30 18:39:21 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
264251292Sobrien
264351292Sobrien	* amd/amd.c (main): fixed the meaning of the plock option.  A bug
264451292Sobrien	caused it to be reversed.
264551292Sobrien
264651292SobrienSat Aug 30 15:13:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
264751292Sobrien
264851292Sobrien	* hlfsd/stubs.c: don't initialize some statics here.  They are
264951292Sobrien	better initialized in hlfsd_init_filehandles().
265051292Sobrien
265151292SobrienFri Aug 22 14:47:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
265251292Sobrien
265351292Sobrien	* amd/conf.c (gopt_show_statfs_entries): new function and a global
265451292Sobrien	amd.conf key show_statfs_entries.  Defaults to 'no'.  If 'yes',
265551292Sobrien	then all maps flagged as browsable will also show a count of the
265651292Sobrien	number of entries (keys) in that map.
265751292Sobrien
265851292Sobrien	* amd/nfs_subr.c (count_map_entries): new function to count number
265951292Sobrien	of entries in a map.  Now used if browsable is turned on in a map,
266051292Sobrien	to return a count of available keys in a given map.
266151292Sobrien
266251292Sobrien	* hlfsd/stubs.c (eq_fh): use correct memcmp().  BUG fixed! hlfsd
266351292Sobrien	confused the file handles for ".", "..", and the symlink, causing
266451292Sobrien	mess.
266551292Sobrien
266651292Sobrien	* aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
266751292Sobrien	but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
266851292Sobrien	with bad memcmp() in libc's (nextstep3).
266951292Sobrien
267051292SobrienThu Aug 21 17:38:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
267151292Sobrien
267251292Sobrien	* aux/configure.in: check if autofs_args_t has a field named
267351292Sobrien	addr.  Solaris has it for specifying the address of the daemon,
267451292Sobrien	but Irix does not.  So how does irix tell the kernel the daemon's
267551292Sobrien	address?  I suspect that it is hardcoded to "localhost" using a
267651292Sobrien	"private well-known port" (#define AUTOFS_PORT 2048).
267751292Sobrien
267851292Sobrien	* conf/nfs_prot/nfs_prot_linux.h: added missing autofs
267951292Sobrien	definitions.
268051292Sobrien
268151292Sobrien	* README.autofs: new file listing autofs support notes
268251292Sobrien
268351292Sobrien	* very preliminary autofs code working.  Call it pre-alpha
268451292Sobrien	quality.
268551292Sobrien
268651292SobrienSun Aug 17 02:25:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
268751292Sobrien
268851292Sobrien	* amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
268951292Sobrien	"autofs" if system does not support it.
269051292Sobrien
269151292Sobrien	* amd/amd.c (main): log am-utils version string (same as amd -v)
269251292Sobrien	at start of run.
269351292Sobrien
269451292Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): in order to tell
269551292Sobrien	if a remote host is available, try to contact its portmapper and
269651292Sobrien	timeout if no answer is received in 3 seconds.
269751292Sobrien
269851292SobrienThu Aug 14 16:12:04 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
269951292Sobrien
270051292Sobrien	* aux/macros/check_extern.m4 (pattern): use a simpler pattern for
270151292Sobrien	match for external function definitions.  The function could span
270251292Sobrien	multiple lines, so only match the opening parenthesis, not the
270351292Sobrien	closing one too.
270451292Sobrien
270551292Sobrien	* aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
270651292Sobrien	posix mode for nextstep3.  It is broken.
270751292Sobrien
270851292Sobrien	* amd/amd.c (init_global_options): run uname() only if
270951292Sobrien	<sys/utsname.h> and uname(2) exist.
271051292Sobrien
271151292Sobrien	* amd/rpc_fwd.c (fwd_packet): if remote host is down, the
271251292Sobrien	forwarding socket is null, so declare this an error.
271351292Sobrien
271451292Sobrien	* include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
271551292Sobrien	for when a remote host is down.  Try, in order, "host down", "host
271651292Sobrien	unreachable", "invalid argument".
271751292Sobrien
271851292Sobrien	* amd/ops_nfs.c (discard_fh): don't dereference a null pointer
271951292Sobrien	(happens when remote host is down, and fp->fh_fs is NULL).
272051292Sobrien	(prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
272151292Sobrien	and FSF_DOWN.
272251292Sobrien
272351292Sobrien	* amd/sched.c: nobody uses "union wait" any more, or so it
272451292Sobrien	appears, so clean up that code.
272551292Sobrien
272651292Sobrien	* conf/transp/transp_tli.c (get_nfs_version): if remote host is
272751292Sobrien	down, time it out faster than default (3 seconds).
272851292Sobrien	(get_mount_client): free netconfig entry when done with it.
272951292Sobrien
273051292Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
273151292Sobrien	port to nextstep3 (m68k-next-nextstep3).
273251292Sobrien
273351292Sobrien	* fsinfo/Makefile.am (LDADD): needs to link with libamu in case
273451292Sobrien	system does not have strdup().
273551292Sobrien
273651292Sobrien	* include/am_defs.h: complete external definition for getlogin()
273751292Sobrien	if needed.
273851292Sobrien
273951292Sobrien	* conf/transp/transp_tli.c (get_nfs_version): no need to keep
274051292Sobrien	static versout variable.
274151292Sobrien
274251292Sobrien	* amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
274351292Sobrien	server is probably down.  Don't use sendto() in that case.
274451292Sobrien
274551292Sobrien	* buildall (default): run gmake if found, before trying plain
274651292Sobrien	make.  GNU make is always preferable.
274751292Sobrien
274851292SobrienTue Aug 12 21:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
274951292Sobrien
275051292Sobrien	* aux/macros/host_macros.m4: cleanup of os_version and os
275151292Sobrien	overrides.  Solaris 2.5.1 for example will come up as solaris2 and
275251292Sobrien	2.5.1, rather than sunos5 and 5.5.1.  Both can be overridden in
275351292Sobrien	the amd.conf file.
275451292Sobrien
275551292SobrienFri Aug  8 14:37:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
275651292Sobrien
275751292Sobrien	*******************************************************************
275851292Sobrien	*** Released am-utils-6.0a9					***
275951292Sobrien	*******************************************************************
276051292Sobrien
276151292SobrienThu Aug  7 00:52:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
276251292Sobrien
276351292Sobrien	* conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
276451292Sobrien	(i486-ncr-sysv4.3.03) headers.  Needed to complete missing stuff
276551292Sobrien	from <ndbm.h> and <sys/resource.h>.
276651292Sobrien
276751292Sobrien	* scripts/amd.conf.5: new map page.
276851292Sobrien
276951292Sobrien	* amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
277051292Sobrien	does not.
277151292Sobrien
277251292Sobrien	* amd/amd.8: updated man page.
277351292Sobrien
277451292Sobrien	* amd/get_args.c (get_args): removed defunct -h option to amd.
277551292Sobrien
277651292Sobrien	* amq/amq.8: updated man page.
277751292Sobrien
277851292Sobrien	* amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
277951292Sobrien	SparcCompiler CC won't complain.
278051292Sobrien
278151292Sobrien	* amd/info_hesiod.c (hesiod_search): small fixes to compile with
278251292Sobrien	hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
278351292Sobrien
278451292Sobrien	* aux/macros/opt_ldflags.m4: new option added to configure
278551292Sobrien	--enable-ldflags, to specify -L option for configuring/compiling.
278651292Sobrien	The older one --enable-libs is now to be used only for -l options.
278751292Sobrien
278851292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): bug fixed.  Should initialize
278951292Sobrien	nc_protoname from nfs_proto if available for all TLI systems, not
279051292Sobrien	just those that have NFS V3.
279151292Sobrien
279251292Sobrien	* amd/info_ldap.c: ldap patches from Leif Johansson
279351292Sobrien	<leifj@matematik.su.se>, adding two new amd.conf ldap variables:
279451292Sobrien	ldap_cache_seconds and ldap_cache_maxmem.
279551292Sobrien
279651292Sobrien	* hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
279751292Sobrien	htons().
279851292Sobrien
279951292SobrienSun Aug  3 17:20:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
280051292Sobrien
280151292Sobrien	* amd/nfs_start.c (mount_automounter): register amd with the rpc
280251292Sobrien	program number that may have been overridden by amd.conf.
280351292Sobrien
280451292Sobrien	* libamu/xutil.c (set_amd_program_number, get_amd_program_number):
280551292Sobrien	allow storing and retrieving alternate amd program numbers.
280651292Sobrien
280751292Sobrien	* amd/conf.c (gopt_portmap_program): new function to parse
280851292Sobrien	amd.conf entry portmap_program=1234.
280951292Sobrien
281051292Sobrien	* amq/amq.c (main): allow specifying an alternate rpc program
281151292Sobrien	number for amd via -P prognum.
281251292Sobrien
281351292Sobrien	* new amq RPC to get the process id of the running amd.  This is
281451292Sobrien	used in ctl-amd to quickly find the pid of the amd that is to be
281551292Sobrien	killed.
281651292Sobrien
281751292Sobrien	* expanded shared libraries support.  Using GNU libtool-1.0,
281851292Sobrien	am-utils now builds shared libraries on many platforms that have
281951292Sobrien	support for it and proper compilers/linkers.  See "INSTALL" file
282051292Sobrien	for compatibility chart.
282151292Sobrien
282251292SobrienThu Jul 31 13:07:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
282351292Sobrien
282451292Sobrien	* fsinfo/fsi_lex.l: removed code that was in support of very old
282551292Sobrien	versions of flex.  No longer needed.
282651292Sobrien
282751292SobrienTue Jul 29 12:00:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
282851292Sobrien
282951292Sobrien	* amd/amd.c (init_global_options): find the kernel architecture
283051292Sobrien	from uname() if possible.
283151292Sobrien
283251292SobrienMon Jul 28 03:53:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
283351292Sobrien
283451292Sobrien	* new working port: i386-unknown-openbsd2.1
283551292Sobrien
283651292SobrienFri Jul 25 03:16:31 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
283751292Sobrien
283851292Sobrien	* working port: sparc-sun-solaris2.4.  Had to fix fhandle_t from
283951292Sobrien	structure to actual char[], because the structure was passed to
284051292Sobrien	xdr_fhandle as data and not a pointer.  Surprisingly, gcc
284151292Sobrien	-fpcc-struct-return did not help.
284251292Sobrien	
284351292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
284451292Sobrien	definitions for solaris 2.4 have to be different from 2.3, and
284551292Sobrien	different from 2.5.
284651292Sobrien
284751292Sobrien	* libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
284851292Sobrien
284951292SobrienThu Jul 24 16:22:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
285051292Sobrien
285151292Sobrien	* conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
285251292Sobrien	types, not ==.  Fix from Christos Zoulas <christos@deshaw.com>.
285351292Sobrien
285451292Sobrien	* mk-amd-map/mk-amd-map.8: man page taken from bsd44.
285551292Sobrien
285651292SobrienThu Jul 24 00:01:55 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
285751292Sobrien
285851292Sobrien	* conf/mount/mount_linux.c: made the nfs error mapping code into a
285951292Sobrien	small function.
286051292Sobrien
286151292SobrienWed Jul 23 16:11:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
286251292Sobrien
286351292Sobrien	* conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
286451292Sobrien	error mappings from errno numbers to NFS errors.  From Debian
286551292Sobrien	Linux.
286651292Sobrien
286751292Sobrien	* scripts/am-eject.in (fs): new script (taken from Debian Linux
286851292Sobrien	folks) to auto-unmount floppy/cd devices before ejecting them.
286951292Sobrien
287051292Sobrien	* fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
287151292Sobrien	'5' as second arg to show_area_being_processed.  I'm not sure why.
287251292Sobrien
287351292Sobrien	* fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
287451292Sobrien	second arg to show_area_being_processed.  I'm not sure why.
287551292Sobrien
287651292Sobrien	* conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
287751292Sobrien	ensure that you have a buffer in *xopts to strcat onto.
287851292Sobrien	(mount_linux): fixed from Debian folks to ensure that NFS mount
287951292Sobrien	sockets are connected only for kernels prior to 1.3.10 (avoids
288051292Sobrien	hangs for multi-homed hosts).
288151292Sobrien
288251292Sobrien	* amd/mapc.c (make_entry_chain): from Debian folks: don't skip
288351292Sobrien	over amd map keys that have a prefix, and include the prefix in
288451292Sobrien	the returned readdir().
288551292Sobrien
288651292Sobrien	* amd/info_passwd.c (passwd_init, passwd_search): format
288751292Sobrien	enhancements from the Debian Linux folks.  They added
288851292Sobrien	- var0:=pw-prefix:=anydir
288951292Sobrien	- var1:=pw-rhost:=dom3.dom2.dom1
289051292Sobrien	- var2:=pw-user:=user
289151292Sobrien	- var3:=pw-home:=/anydir/dom1/dom2/dom3/user
289251292Sobrien
289351292Sobrien	* new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
289451292Sobrien
289551292Sobrien	* amd/ops_afs.c (afs_retry): patches from Debian Linux.  If
289651292Sobrien	afs_mount timed out, then explicitly forbid further retries after
289751292Sobrien	the timeout.  (afs_bgmount): buf fix from Debian Linux.  Timeout
289851292Sobrien	values (17 and 5) were mistakenly swapped.
289951292Sobrien
290051292SobrienWed Jul 23 15:53:25 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
290151292Sobrien
290251292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
290351292Sobrien	support for Solaris 2.4 (the header files incorrectly define parts
290451292Sobrien	of the NFS V.3 protocol, but the kernel does not support it).
290551292Sobrien
290651292SobrienWed Jul 23 00:07:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
290751292Sobrien
290851292Sobrien	* amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
290951292Sobrien	for determining if using old or new hesiod libraries,
291051292Sobrien	respectively.
291151292Sobrien
291251292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
291351292Sobrien	V.3 then use non-connected sockets (both TCP and UDP).  Otherwise
291451292Sobrien	they cause hangs of mounts from multi-homed hosts when the return
291551292Sobrien	route is not the same as the outgoing route (esp. on NetBSD
291651292Sobrien	1.2.1).  If "conn" option was supplied, then don't turn on the
291751292Sobrien	"noconn" mount option.  Otherwise default to "noconn" mount
291851292Sobrien	option.
291951292Sobrien
292051292Sobrien	* aux/configure.in: better check for systems that need libgdbm and
292151292Sobrien	<ndbm.h>
292251292Sobrien
292351292SobrienTue Jul 22 04:02:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
292451292Sobrien
292551292Sobrien	* hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
292651292Sobrien	mounts are hidden from df(1) on systems that keep mount tables in
292751292Sobrien	kernel, such as osf1.
292851292Sobrien
292951292SobrienTue Jul 22 02:26:55 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
293051292Sobrien
293151292Sobrien	*******************************************************************
293251292Sobrien	*** Released am-utils-6.0a8					***
293351292Sobrien	*******************************************************************
293451292Sobrien
293551292SobrienMon Jul 21 21:33:19 1997  Erez Zadok  <ezk@stone.mcl.cs.columbia.edu>
293651292Sobrien
293751292Sobrien	* hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
293851292Sobrien	AF_INET when hlfsd mounts itself, thus getting an errno "protocol
293951292Sobrien	family not supported".
294051292Sobrien
294151292SobrienMon Jul 21 20:46:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
294251292Sobrien
294351292Sobrien	* verified that amd on NetBSD 1.2.1 (i386) works, but the OS
294451292Sobrien	itself is flaky.
294551292Sobrien
294651292Sobrien	* verified that amd AIX 3 works w/ the new readdir() code.
294751292Sobrien
294851292SobrienMon Jul 21 18:59:30 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
294951292Sobrien
295051292Sobrien	* amd/mapc.c (maptypes): changed the default map caching type for
295151292Sobrien	nis and ndbm maps to "MAPC_ALL", so that all possible entries will
295251292Sobrien	be available to amd for browsable_dirs=yes.
295351292Sobrien
295451292SobrienMon Jul 21 18:04:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
295551292Sobrien
295651292Sobrien	* amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
295751292Sobrien	afs_readdir into a browsable version and a non-browsable one.
295851292Sobrien	Fixed bugs that resulted in an infinite nfs_readdir loop on the
295951292Sobrien	localhost for some operating systems.
296051292Sobrien
296151292SobrienSat Jul 19 19:38:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
296251292Sobrien
296351292Sobrien	* amd/ops_afs.c (afs_readdir): fixed up the browsable code to
296451292Sobrien	comply with nfs_readdir specs.  It was returning all entries at
296551292Sobrien	once, even if there was not enough space in the RPC packet.  Now,
296651292Sobrien	it sends a reasonably sized chunk, and sets static state to resume
296751292Sobrien	it for the next continuation RPC of readdir.
296851292Sobrien
296951292Sobrien	* amd/conf.c (set_conf_kv): fixed bug that resulted in the first
297051292Sobrien	regular map not getting all of the [global] options defaulted from.
297151292Sobrien
297251292SobrienFri Jul 18 00:45:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
297351292Sobrien
297451292Sobrien	* amq/amq.c (main): fixed so that portmapper "ping" will only fail
297551292Sobrien	upon an RPC timeout
297651292Sobrien
297751292Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
297851292Sobrien	amd/hlfsd process to kill.
297951292Sobrien
298051292Sobrien	* amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
298151292Sobrien	determine how to avoid df from seeing amd's toplvl mounts.  Moved
298251292Sobrien	from libamu/mount_fs.c and include/am_utils.h.  Ensure that hlfsd
298351292Sobrien	is hidden from df.
298451292Sobrien	(mount_toplvl): fixed df types for irix.
298551292Sobrien
298651292SobrienThu Jul 17 21:59:45 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
298751292Sobrien
298851292Sobrien	* amq/amq.c (main): fixed bug that caused the 5 second timeout for
298951292Sobrien	TLI amq using udp to be ignored.
299051292Sobrien	(main): if amq cannot contact remote host's portmapper within 5
299151292Sobrien	seconds, timeout and fail faster than the default longer timeout
299251292Sobrien	(this is for non-TLI systems).
299351292Sobrien
299451292SobrienThu Jul 17 17:08:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
299551292Sobrien
299651292Sobrien	* amq/amq.c (get_secure_amd_client): if amq cannot contact
299751292Sobrien	remote host's portmapper within 5 seconds, timeout and fail faster
299851292Sobrien	than the default TLI timeout of over 4 minutes.
299951292Sobrien
300051292Sobrien	* amd/am_ops.c (ops_showfstypes): added styles for new bsd44
300151292Sobrien	file systems nullfs, unionfs, and umapfs.
300251292Sobrien	(ops_show1): cleanup code and and reuse this function.
300351292Sobrien	(vops): empty placeholders for nullfs, unionfs, and umapfs.
300451292Sobrien
300551292Sobrien	* amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
300651292Sobrien	bsd44 style file systems.
300751292Sobrien
300851292Sobrien	* fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
300951292Sobrien	sources.
301051292Sobrien
301151292Sobrien	* amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
301251292Sobrien	conflict with systems that define it in <sys/ioctl.h> and also
301351292Sobrien	define a conflicting one via lex.  Newer versions of f/lex are ok.
301451292Sobrien
301551292SobrienWed Jul 16 00:17:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
301651292Sobrien
301751292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
301851292Sobrien	acdirmin/max and acregmin/max only if they exist.
301951292Sobrien
302051292Sobrien	* aux/configure.in: test for nfs_args fields acdirmin and
302151292Sobrien	acregmin.
302251292Sobrien
302351292SobrienTue Jul 15 17:24:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
302451292Sobrien
302551292Sobrien	* aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
302651292Sobrien	"nondev" and commented back in checking for "nodev".  This was a
302751292Sobrien	typo.
302851292Sobrien
302951292Sobrien	* include/am_compat.h: more compatibility options: define "ro"
303051292Sobrien	mnttab option all the time.  Define "overlay" as needed.  Added
303151292Sobrien	more fillers of mnttab options (as per Daniel S. Riley
303251292Sobrien	<dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
303351292Sobrien	acregmin, noac, grpid, nosuid, and actimo.
303451292Sobrien
303551292Sobrien	* libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
303651292Sobrien	per dsr@mail.lns.cornell.edu (Daniel S. Riley).  Then cleaned up
303751292Sobrien	the same code for other options in struct opt_tab.
303851292Sobrien
303951292SobrienMon Jul 14 22:36:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
304051292Sobrien
304151292Sobrien	* amd/get_args.c (get_args): moved amd.conf file parsing to before
304251292Sobrien	the switching the default log/debug options.  Suggested by
304351292Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley).
304451292Sobrien
304551292Sobrien	* aux/update_build_version: new script to record the build version
304651292Sobrien	of amd, along with the rest of the info thet comes up with amd -v.
304751292Sobrien
304851292SobrienSun Jul 13 00:30:24 1997  Erez Zadok  <ezk@decca.damtp.cam.ac.uk>
304951292Sobrien
305051292Sobrien	* aux/macros/os_cflags.m4: new macro, to add additional
305151292Sobrien	compilation options (also used during configuration), based on the
305251292Sobrien	OS and the compiler.  Used for solaris-2.6, osf, and irix6.
305351292Sobrien
305451292SobrienFri Jul 11 10:15:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
305551292Sobrien
305651292Sobrien	* amd/conf_tok.l, conf_parse.y: allow values of keys to include
305751292Sobrien	white spaces, if they are double-quoted (key="some value")
305851292Sobrien
305951292Sobrien	* amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
306051292Sobrien	of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
306151292Sobrien
306251292SobrienFri Jul 11 02:16:06 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
306351292Sobrien
306451292Sobrien	*******************************************************************
306551292Sobrien	*** Released am-utils-6.0a7					***
306651292Sobrien	*******************************************************************
306751292Sobrien
306851292SobrienThu Jul 10 12:19:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
306951292Sobrien
307051292Sobrien	* include/am_defs.h: fill in extern definition of innetgr() in
307151292Sobrien	case system headers don't.
307251292Sobrien
307351292Sobrien	* aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
307451292Sobrien	will show the full pathname to yacc/bison and f/lex.  Some systems
307551292Sobrien	have older or bad versions of those and this way the user will
307651292Sobrien	know for sure what is being invoked.
307751292Sobrien
307851292Sobrien	* tasks: file populated with todo items.
307951292Sobrien
308051292Sobrien	* scripts/amd2ldif.in: Script to convert amd maps to plain text
308151292Sobrien	LDAP object files.  Contributed by Leif Johansson
308251292Sobrien	<leifj@matematik.su.se>.
308351292Sobrien
308451292Sobrien	* aux/config.guess: added recognition for sun3's running 4.2bsd,
308551292Sobrien	from Tom Schmidt <tschmidt@micron.com>.  Fixed one small typo.
308651292Sobrien
308751292Sobrien	* amd/conf.c: several variables that were local to a map, were
308851292Sobrien	also added to [global], where they apply to all maps.  Each map
308951292Sobrien	can then individually override those defaults.  Flags
309051292Sobrien	affected: browsable_dirs and mount_type.  Options affected:
309151292Sobrien	map_type, map_options, and search_path.
309251292Sobrien
309351292Sobrien	* amd/amd.h: eliminated several global flags each of which took an
309451292Sobrien	int, in favor of one global flags variable used as a bit field.
309551292Sobrien
309651292Sobrien	* amd/amd.c (init_global_options): moved all global variables into
309751292Sobrien	a single struct amu_global_options, so it is easier to add new
309851292Sobrien	ones and/or identify existing ones.
309951292Sobrien
310051292Sobrien	* amd/get_args.c (get_args): removed unused amd -m option.
310151292Sobrien
310251292Sobrien	* amd/conf.c (gopt_cluster): added new amd.conf option for cluster
310351292Sobrien	name, same as amd -C.
310451292Sobrien
310551292Sobrien	* amd/info_ldap.c: LDAP info map functions from Leif Johansson
310651292Sobrien	<leifj@matematik.su.se>.
310751292Sobrien
310851292Sobrien	* amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
310951292Sobrien	amd.conf options for ldap_base and ldap_hostports.
311051292Sobrien
311151292Sobrien	* amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
311251292Sobrien	if the current host is in the ARG host netgroup.
311351292Sobrien
311451292Sobrien	* aux/configure.in: some systems replaced dbm in libc with GNU's
311551292Sobrien	libgdbm, so check for libgdbm, but only if dbm_open is not in
311651292Sobrien	libc already.  This was a recommendation from Tom Schmidt
311751292Sobrien	<tschmidt@micron.com>.
311851292Sobrien
311951292Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
312051292Sobrien	completed.
312151292Sobrien
312251292SobrienWed Jul  9 18:14:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
312351292Sobrien
312451292Sobrien	* port to sparc-unknown-netbsd1.2E done, not tested.  Includes NFS
312551292Sobrien	V.3.
312651292Sobrien
312751292SobrienTue Jul  8 17:35:07 1997  Erez Zadok  <ezk@elk.mcl.cs.columbia.edu>
312851292Sobrien
312951292Sobrien	* port to i386-unknown-freebsd3.0 done and working.  Includes NFS
313051292Sobrien	V.3.
313151292Sobrien
313251292Sobrien	* aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
313351292Sobrien	file handle dereferencing style similar to freebsd22.
313451292Sobrien
313551292Sobrien	* include/am_defs.h: need to include <net/if_var.h> before
313651292Sobrien	<netinet/if_ether.h> on freebsd3.
313751292Sobrien
313851292Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
313951292Sobrien	for freeBSD 3.0.
314051292Sobrien
314151292SobrienTue Jul  8 16:53:41 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
314251292Sobrien
314351292Sobrien	* amd/info_nis.c (nis_reload): cast nis' callback function so
314451292Sobrien	picky compilers won't complain.
314551292Sobrien
314651292Sobrien	* libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
314751292Sobrien	gets compiled only if the system has NFS V3 and does not have
314851292Sobrien	xdr_mountres3.
314951292Sobrien
315051292SobrienTue Jul  8 12:42:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
315151292Sobrien
315251292Sobrien	* COPYING: put in some legal stuff in this file.
315351292Sobrien
315451292SobrienMon Jul  7 19:10:44 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
315551292Sobrien
315651292Sobrien	* NFS V3 now works under Irix5, thanks to patches from 
315751292Sobrien	Andreas Stolcke <stolcke@speech.sri.com>.
315851292Sobrien
315951292Sobrien	* conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
316051292Sobrien	version and an irix6 version, since irix5's NFS V3 code is broken
316151292Sobrien	and hacky.
316251292Sobrien
316351292Sobrien	* amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
316451292Sobrien	sizes for some hesiod queries.  Patch from Danny Braniss
316551292Sobrien	<danny@cs.huji.ac.il>.
316651292Sobrien
316751292SobrienMon Jul  7 19:04:14 1997  Erez Zadok  <ezk@glory.soscorp.com>
316851292Sobrien
316951292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
317051292Sobrien
317151292SobrienSun Jul  6 14:22:24 1997  Erez Zadok  <ezk@glory.soscorp.com>
317251292Sobrien
317351292Sobrien	* aux/{configure.in,acconfig.h}: added checks for struct
317451292Sobrien	nfs_args's fields proto and sotype (bsdi3).
317551292Sobrien	
317651292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
317751292Sobrien	nfs_args.flags for bsdi3.  Set field proto to 0.  Set sotype field
317851292Sobrien	to SOCK_STREAM or SOCK_DGRAM.
317951292Sobrien
318051292Sobrien	* aux/macros/check_mount_style.m4: add case for bsdi3.
318151292Sobrien
318251292Sobrien	* amd/info_hesiod.c: got hesiod support for bsdi3.
318351292Sobrien
318451292SobrienSun Jul  6 11:14:47 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
318551292Sobrien
318651292Sobrien	* aux/configure.in: look for hesiod on libc (bsdi3)
318751292Sobrien
318851292Sobrien	* amd/get_args.c (get_args): reformat usage so it fits in 80
318951292Sobrien	columns.
319051292Sobrien
319151292Sobrien	* scripts/ctl-amd.in: changed directory name for optional tftpboot
319251292Sobrien	map to /tftpboot/.amd.
319351292Sobrien
319451292SobrienSat Jul  5 17:46:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
319551292Sobrien
319651292Sobrien	*******************************************************************
319751292Sobrien	*** Released am-utils-6.0a6					***
319851292Sobrien	*******************************************************************
319951292Sobrien
320051292SobrienSat Jul  5 03:17:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
320151292Sobrien
320251292Sobrien	* scripts/ctl-amd.in: include -T tag for tftpboot.
320351292Sobrien
320451292Sobrien	* new port: mips-sgi-irix5.3.  Compiled with gcc, but NFS V3 code
320551292Sobrien	is broken and needs work on the specific nfs_args that irix5 uses
320651292Sobrien	for V3 mounts.
320751292Sobrien
320851292SobrienSat Jul  5 01:44:25 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
320951292Sobrien
321051292Sobrien	* amd/get_args.c (get_args): new options amd -T tag.  A map with
321151292Sobrien	tag=foo matching the -T tag will be processed.  All untagged maps
321251292Sobrien	get processed all the time.
321351292Sobrien
321451292SobrienFri Jul  4 16:19:26 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
321551292Sobrien
321651292Sobrien	* aux/configure.in: need to check for strcasecmp in libucb (ncr2)
321751292Sobrien
321851292Sobrien	* aux/macros/check_os_libs.m4: a new macro to set the usage of
321951292Sobrien	libnsl and libsocket based on the OS.
322051292Sobrien
322151292Sobrien	* libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
322251292Sobrien	defined (problem on osf4).
322351292Sobrien
322451292Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
322551292Sobrien
322651292Sobrien	* include/am_defs.h, aux/macros/try_compile_nfs.m4,
322751292Sobrien	aux/macros/mount_headers.m4: do include <sys/proc.h> because it
322851292Sobrien	failes on irix5.  Rather, put in the individual
322951292Sobrien	conf/nfs_prot/nfs_prot_*.h headers.
323051292Sobrien
323151292Sobrien	* amd/conf.c: AIX3 doesn't like strdup() being passed a constant
323251292Sobrien	char*, so cast all strdup()'s args to a non-const char*.
323351292Sobrien
323451292Sobrien	* amd/mapc.c (root_newmap): don't try to strdup only a "const
323551292Sobrien	char *".
323651292Sobrien
323751292SobrienFri Jul  4 15:47:10 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
323851292Sobrien
323951292Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
324051292Sobrien	sys/errno.h.
324151292Sobrien
324251292SobrienThu Jul  3 17:49:00 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
324351292Sobrien
324451292Sobrien	* made sure am-utils compiles, links, and runs properly on Irix
324551292Sobrien	6.2 using "cc -32 -Wl,-woff,"
324651292Sobrien
324751292Sobrien	* aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
324851292Sobrien	AC_CHECK_LIB.  If OTHER-LIBRARIES are defined and used, then add
324951292Sobrien	them to $LIBS.
325051292Sobrien
325151292Sobrien	* aux/configure.in: some cleanup of which libraries are needed.
325251292Sobrien	Espectially ensure that libnsl is included only on Solaris, where
325351292Sobrien	so far it is the only system on which it is absolutely necessary.
325451292Sobrien	Also no longer need to include libc explicitly. 
325551292Sobrien
325651292Sobrien	* amd/amd.c,wire-test/wire-test.c (main): convert IP address to
325751292Sobrien	network-long order before printing it.
325851292Sobrien
325951292Sobrien	* wire-test/wire-test.c (main): also check and report on the IP
326051292Sobrien	address of the local host, since some systems have bad versions of
326151292Sobrien	get_myaddress, or ones that conflict with other versions in
326251292Sobrien	multiple libraries (SunOS 4 and Irix especially).
326351292Sobrien
326451292SobrienWed Jul  2 18:19:02 1997  Erez Zadok  <ezk@starblazers.soscorp.com>
326551292Sobrien
326651292Sobrien	* scripts/ctl-amd.in: don't use full pathname so killproc() works
326751292Sobrien	better.  Also run bsd44 and irix style ps programs. 
326851292Sobrien
326951292Sobrien	* aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
327051292Sobrien	of library no matter if it was found or not.
327151292Sobrien
327251292SobrienWed Jul  2 02:11:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
327351292Sobrien
327451292Sobrien	* aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
327551292Sobrien	for M_* macros, but ensure that <sys/stream.h> is not included at
327651292Sobrien	all so it won't conflict with other M_* macros.
327751292Sobrien
327851292SobrienTue Jul  1 21:16:51 1997  Erez Zadok  <ezk@mako.cs.columbia.edu>
327951292Sobrien
328051292Sobrien	* conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
328151292Sobrien	irix should be "spec" (host:/path), not the dir of the mnt point.
328251292Sobrien
328351292Sobrien	* amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
328451292Sobrien	fixed.  If on, it essentially ignored the setting in a
328551292Sobrien	selector-controlled /defaults if there were 2 or more entries in it.
328651292Sobrien
328751292SobrienTue Jul  1 12:23:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
328851292Sobrien
328951292Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
329051292Sobrien	using BSD style ps, then try SVR4 style ps.
329151292Sobrien
329251292Sobrien	* include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
329351292Sobrien	etc., to avoid conflicts with similar named macros in <ldap.h>.
329451292Sobrien
329551292Sobrien	* aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
329651292Sobrien	support needed for LDAP.  Now the code has to be written mostly in
329751292Sobrien	amd/info_ldap.c.
329851292Sobrien
329951292Sobrien	* Included additional patches from Andreas Stolcke
330051292Sobrien	<stolcke@speech.sri.com> to support using the best possible
330151292Sobrien	combination of NFS version (2,3) and protocol (udp,tcp) for any
330251292Sobrien	given host, since it appears that some Irix versions have NFS V3,
330351292Sobrien	but do not support TCP.
330451292Sobrien
330551292Sobrien	* scripts/ctl-amd.in: updated amd control script to look for and
330651292Sobrien	use amd.conf file.
330751292Sobrien
330851292SobrienTue Jul  1 00:28:23 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
330951292Sobrien
331051292Sobrien	* amd/mapc.c (mapc_create): now, each map in the amd.conf can be
331151292Sobrien	initialized off of a different type, or default to cycling through
331251292Sobrien	all maps until one of them matches.
331351292Sobrien
331451292SobrienMon Jun 30 20:49:13 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
331551292Sobrien
331651292Sobrien	* amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
331751292Sobrien	if browsable_dirs=yes is set in the map section in amd.conf, that
331851292Sobrien	map will return all entries back to a readdir(2).
331951292Sobrien
332051292SobrienSun Jun 29 16:22:11 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
332151292Sobrien
332251292Sobrien	* rudimentary amd.conf file support included.  You may even
332351292Sobrien	override things like os=sos5, to get "backwards" compatibility with
332451292Sobrien	upl102.
332551292Sobrien
332651292SobrienSat Jun 28 13:35:02 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
332751292Sobrien
332851292Sobrien	* amd/conf.c: new file to process amd.conf file.
332951292Sobrien
333051292Sobrien	* amd/get_args.c (get_args): new options -H to print help.
333151292Sobrien
333251292Sobrien	* moved enable_default_selectors to be amd.conf controlled, and
333351292Sobrien	not compiler controlled.
333451292Sobrien
333551292Sobrien	* amd/get_args.c (get_args): new options -F <conf-file> to parse an
333651292Sobrien	amd configuration file.
333751292Sobrien
333851292SobrienWed Jun 25 23:15:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
333951292Sobrien
334051292Sobrien	* converted all files that used strcmp() == 0 or != 0  to using
334151292Sobrien	the STREQ() macro.
334251292Sobrien
334351292SobrienMon Jun 23 22:31:14 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
334451292Sobrien
334551292Sobrien	* aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
334651292Sobrien	search for any number of functions in any given library.
334751292Sobrien
334851292SobrienMon Jun 23 01:04:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
334951292Sobrien
335051292Sobrien	* amd/mapc.c: Included patch from Leif Johansson
335151292Sobrien	<leifj@matematik.su.se> to ensure that systems without an RE
335251292Sobrien	library can compile.
335351292Sobrien
335451292Sobrien	* libamu/mount_fs.c (mount_fs): Included patch from Andreas
335551292Sobrien	Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
335651292Sobrien	table are properly delimited by a comma.
335751292Sobrien
335851292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
335951292Sobrien	Stolcke <stolcke@speech.sri.com>, to allow users to override the
336051292Sobrien	proto= and vers= mount options.
336151292Sobrien
336251292SobrienSun Jun 22 01:00:11 1997  Eric Dana  (edana@ncr2.bgs.com)
336351292Sobrien
336451292Sobrien	* conf/nfs_prot/nfs_prot_svr4.h: port completed to
336551292Sobrien	i486-ncr-sysv4.3.03.  Assorted source cleanups done.
336651292Sobrien
336751292Sobrien	* include/am_defs.h, aux/macros/mount_headers.m4: don't include
336851292Sobrien	mnttab.h if sys/mnttab.h was already included, because on ncr2,
336951292Sobrien	they contain conflicting entries for struct mnttab.
337051292Sobrien
337151292SobrienSat Jun 21 23:52:15 1997  Eric Dana  (edana@ncr2.bgs.com)
337251292Sobrien
337351292Sobrien	* aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
337451292Sobrien
337551292SobrienFri Jun 20 06:14:17 1997  Erez Zadok  <ezk>
337651292Sobrien
337751292Sobrien	* amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
337851292Sobrien
337951292Sobrien	* aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
338051292Sobrien	on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
338151292Sobrien
338251292SobrienWed Jun 18 18:59:49 1997  Erez Zadok  <ezk@defiant.soscorp.com>
338351292Sobrien
338451292Sobrien	* aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
338551292Sobrien	nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
338651292Sobrien	better.
338751292Sobrien
338851292SobrienTue Jun 10 17:06:58 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
338951292Sobrien
339051292Sobrien	* amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
339151292Sobrien	NULL, set the maxlen and len fields in netbuf to zero.
339251292Sobrien
339351292SobrienWed May 28 22:52:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
339451292Sobrien
339551292Sobrien	* scripts/fix-amd-map.in (name): replace all matching patterns on
339651292Sobrien	line.
339751292Sobrien
339851292SobrienSun May 25 19:33:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
339951292Sobrien
340051292Sobrien	*******************************************************************
340151292Sobrien	*** Released am-utils-6.0a5					***
340251292Sobrien	*******************************************************************
340351292Sobrien
340451292SobrienSun May 25 13:37:24 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
340551292Sobrien
340651292Sobrien	* amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
340751292Sobrien	procedure now returns the full string that amd -v returns.
340851292Sobrien
340951292Sobrien	* amd/get_args.c (get_version_string): new function to return
341051292Sobrien	complete version/info string so it could be used more flexibly.
341151292Sobrien
341251292Sobrien	* amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
341351292Sobrien	of Fs types into a string buffer, rather than a FILE*.
341451292Sobrien
341551292Sobrien	* amd/mapc.c (mapc_showtypes): put the list of map types into a
341651292Sobrien	string buffer, rather than a FILE*.
341751292Sobrien
341851292SobrienSun May 25 01:25:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
341951292Sobrien
342051292Sobrien	* amd/get_args.c (get_args): amd -v also prints user who built
342151292Sobrien	amd, hostname built on, and date of configuration.
342251292Sobrien
342351292SobrienSat May 24 13:40:50 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
342451292Sobrien
342551292Sobrien	* scripts/lostaltmail.conf-sample: sample lostaltmail
342651292Sobrien	configuration file.
342751292Sobrien
342851292Sobrien	* scripts/lostaltmail.in: new script lostaltmail used to redeliver
342951292Sobrien	"lost" mail that hlfsd redirected to a temp location because the
343051292Sobrien	primary home file system of the user was full.
343151292Sobrien
343251292Sobrien	* scripts/amd2sun.in: new script amd2sun. Used to convert Sub
343351292Sobrien	automount maps to amd maps.
343451292Sobrien
343551292Sobrien	* scripts/ctl-hlfsd.in: new script ctl-hlfsd.  Used to start,
343651292Sobrien	stop, or restart hlfsd.
343751292Sobrien	
343851292Sobrien	* scripts/expn.1: man page for expn command.
343951292Sobrien
344051292Sobrien	* scripts/ctl-amd.in: new script ctl-amd.  Used to start, stop, or
344151292Sobrien	restart amd.
344251292Sobrien
344351292Sobrien	* scripts/expn.in: new script expn.  Actually taken from David
344451292Sobrien	Muir Sharnoff <muir@idiom.com>.  Used by hlfsd's mail re-delivery
344551292Sobrien	script.
344651292Sobrien
344751292Sobrien	* scripts/wait4amd.in: new script wait4amd added.  Waits for amd
344851292Sobrien	to come up on a host, and then runs a command (rsh $hostname by
344951292Sobrien	default).
345051292Sobrien
345151292Sobrien	* scripts/Makefile.am: new directory now holds all shell/perl
345251292Sobrien	scripts that belong to am-utils.
345351292Sobrien
345451292Sobrien	* conf/mount/mount_linux.c (parse_opts): new parser for
345551292Sobrien	linux-specific mounts.  Handles fs-type specific mount-options
345651292Sobrien	correctly.  Currently implemented: msdos, iso9660.
345751292Sobrien
345851292Sobrien	* amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
345951292Sobrien	(fix for linux).
346051292Sobrien
346151292Sobrien	* amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
346251292Sobrien	(fix for linux).
346351292Sobrien
346451292Sobrien	* amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
346551292Sobrien	core dumps upon "ls" of a mount point; an invalid pointer was
346651292Sobrien	being returned and dereferenced.
346751292Sobrien
346851292Sobrien	* port to Linux sparc working!
346951292Sobrien
347051292Sobrien	* hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
347151292Sobrien	failed to write test file, or else the fd will leak.
347251292Sobrien
347351292SobrienSun May 18 00:42:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
347451292Sobrien
347551292Sobrien	* amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
347651292Sobrien	instead of strcmp().
347751292Sobrien
347851292Sobrien	* Port to Digital Unix 4.0 (OSF) done.
347951292Sobrien
348051292Sobrien	* hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
348151292Sobrien	with dirname() function in <string.h> on OSF systems.
348251292Sobrien
348351292Sobrien	* fsinfo/fsi_util.c (set_ether_if): take out extern definition of
348451292Sobrien	inet_addr().  It should come from <arpa/inet.h> instead.
348551292Sobrien
348651292Sobrien	* conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
348751292Sobrien
348851292Sobrien	* include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
348951292Sobrien	avoid conflicts with DU 4.0 system header.
349051292Sobrien
349151292SobrienThu May 15 22:49:12 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
349251292Sobrien
349351292Sobrien	* libamu/mount_fs.c (mount_fs): pass along NFS version so I can
349451292Sobrien	determine if to include additional options in the mount table file
349551292Sobrien	entry (such as proto=tcp, and vers=3).
349651292Sobrien
349751292SobrienThu May 15 00:42:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
349851292Sobrien
349951292Sobrien	* libamu/mount_fs.c (mount_fs): include NFS version number in the
350051292Sobrien	mount table options, as well as proto={tcp,udp}.
350151292Sobrien
350251292SobrienWed May 14 14:30:19 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
350351292Sobrien
350451292Sobrien	* NFS V3 code ported to most other systems, so it compiles for V2
350551292Sobrien	and V3 NFS systems.
350651292Sobrien
350751292Sobrien	* NFS VERSION 3 support, first pass.  Working for Solaris and
350851292Sobrien	using TCP.
350951292Sobrien
351051292SobrienSun May 11 01:14:29 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
351151292Sobrien
351251292Sobrien	* amq/amq.c: many newline characters were missing from various
351351292Sobrien	stderr printfs.
351451292Sobrien
351551292SobrienSat May 10 13:09:06 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
351651292Sobrien
351751292Sobrien	* conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
351851292Sobrien	Solaris, which include NFS V3 support.
351951292Sobrien
352051292Sobrien	* conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
352151292Sobrien	*** Released am-utils-6.0a15					***
352251292Sobrien	* conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
352351292Sobrien	protocol version while getting a mount client.
352451292Sobrien
352551292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
352651292Sobrien	file handle size, and proper file handle based on the correct NFS
352751292Sobrien	version number.
352851292Sobrien	browsable_dirs=full, which will print *all* entries (other than
352951292Sobrien	* conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
353051292Sobrien	Solaris and other SVR4 systems.
353151292Sobrien
353251292Sobrien	* amd/ops_nfs.c: store NFS file handle version and version
353351292Sobrien	specific handle in struct fh_cache.
353451292Sobrien	(got_nfs_fh): pick the correct RPC reply based on the NFS version
353551292Sobrien	of the server.
353651292Sobrien	(prime_nfs_fhandle_cache): figure out the right NFS file handle
353751292Sobrien	for a node, but now include NFS protocol version information.
353851292Sobrien	(call_mountd): set the correct version for the mount protocol,
353951292Sobrien	based on the NFS protocol version.
354051292Sobrien	(nfs_init): use the NFS protocol generic structure
354151292Sobrien	am_nfs_handle_t.
354251292Sobrien	to 1500.
354351292Sobrien	* include/am_utils.h: new structure am_nfs_handle_t to contain all
354451292Sobrien	possible versions of NFS file handles.
354551292Sobrien	* doc/am-utils.texi: fixed reversed documentation for NFS mount
354651292Sobrien	* amd/srvr_nfs.c (start_ping): ping program performs NFS version
354751292Sobrien	specific pings.
354851292Sobrien	(recompute_portmap): figure out the correct portmap version mount.
354951292Sobrien	(nfs_keepalive): call start_ping() with the correct NFS version.
355051292Sobrien	(find_nfs_srvr): if mount option "vers=" is given, use it.  Get
355151292Sobrien	the NFS server version and verify that it is up.
355251292Sobrien
355351292Sobrien	* conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
355451292Sobrien	function to find the best NFS version for a particular host.
355551292Sobrien	installing html files.  Another new target "alldocs" is just for
355651292Sobrien	* libamu/amu.h: determine what is the highest version of NFS we
355751292Sobrien	should try.
355851292Sobrien
355951292Sobrien	* include/am_utils.h (NFS_VERSION3): added definition for NFS V3
356051292Sobrien	protocol number.
356151292Sobrien	Added field fs_version to struct fserver, so we can now store the
356251292Sobrien	server protocol version.
356351292Sobrien	facility in the log_file option.
356451292SobrienFri May  9 01:09:45 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
356551292Sobrien	* libamu/xutil.c (get_syslog_facility): allow users to specify the
356651292Sobrien	* aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
356751292Sobrien	underscores too, so I can test for sub-fields.
356851292Sobrien	will use the default LOG_DAEMON facility.
356951292Sobrien	* libamu/wire.c: use test that checks for sub-fields of struct
357051292Sobrien	ifreq.
357151292SobrienThu Jan  8 04:05:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
357251292SobrienSat May  6 10:20:17 2000  Erez Zadok  <ezk@glory.soscorp.com>
357351292Sobrien	(intel).
357451292Sobrien	* port to BSD/OS 3.0 completed!  Many xdr_ functions were broken
357551292Sobrien	into smaller files.  M4 macros fixed to test for existence of
357651292Sobrien	file systems using getvfsbyname().
357751292Sobrien	before appending to it, on systems with two or more network
357851292Sobrien	* amd/sched.c (sigchld): signal handler must waitpid() for all
357951292Sobrien	possible children.
358051292Sobrien	the mntent for cachefs.
358151292Sobrien	* hlfsd/homedir.c: signal handler must waitpid() for all possible
358251292Sobrien	children. 
358351292Sobrien	const for both arguments.
358451292Sobrien	* aux/macros/check_restartable_signals.m4: new macro to determine
358551292Sobrien	if need to reinstall signal handlers per OS is better than trying
358651292Sobrien	to figure these out based on system macros.
358751292Sobrien
358851292SobrienFri May  5 19:23:28 2000  Erez Zadok  <ezk@glory.soscorp.com>
358951292Sobrien	* amq/pawd.c (cluster_server): don't use getccent() if the extern
359051292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
359151292Sobrien	<cluster.h> and struct cct_entry do not exist.
359251292Sobrien	* amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
359351292Sobrien	hpux systems don't have it (hpux 10.20).
359451292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
359551292Sobrien	(must be supplied for bsdi 3.0)
359651292Sobrien
359751292Sobrien	* libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
359851292Sobrien	associated new macro) for determining the right way to compute the
359951292Sobrien	size of the interface structure.
360051292Sobrien	for new amq options -T/-U.
360151292SobrienFri Apr 11 15:56:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
360251292Sobrien
360351292Sobrien	* aux/configure.in: need to include libc before libnsl if
360451292Sobrien	get_myaddress() is available because on irix libnsl has a buggy
360551292Sobrien	get_myaddress().
360651292Sobrien
360751292Sobrien	* include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
360851292Sobrien	on Irix 6 (an SVR4 variant)
360951292Sobrien	* amq/pawd.c: a new program, Print Automounter Working Directory,
361051292SobrienThu Mar 27 02:28:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
361151292Sobrien	* aux/macros/localconfig.m4: trivial support for am-utils
361251292Sobrien	*******************************************************************
361351292Sobrien	*** Released am-utils-6.0a4					***
361451292Sobrien	*******************************************************************
361551292Sobrien	wish in a file called localconfig.h, located in the top build
361651292SobrienWed Mar 26 21:15:36 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
361751292Sobrien	* doc/am-utils.texi (Caching Filesystem): updated documents for
361851292Sobrien	* amd/amq_subr.c (ok_security): turned off insecure code unless
361951292Sobrien	user explicitly runs configure --enable-amq-mount.
362051292Sobrien	* amd/ops_cachefs.c: initial cachefs support, for solaris.
362151292Sobrien	* hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
362251292Sobrien
362351292Sobrien	* amd/nfs_start.c (mount_automounter): use code that separately
362451292Sobrien	creates the NFS and the amq service.  Register tcp and udp
362551292Sobrien	services for amd.
362651292Sobrien	cachefs file systems.
362751292Sobrien	* conf/transp/transp_*.c (create_amq_service): new function to
362851292Sobrien	separately create the amq service for amd.  Simplified prototypes
362951292Sobrien	for create_nfs_service().
363051292Sobrien	mnttab type is.
363151292SobrienWed Mar 19 20:40:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
363251292SobrienMon Jan  5 23:22:49 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
363351292Sobrien	*******************************************************************
363451292Sobrien	*** Released am-utils-6.0a3					***
363551292Sobrien	*******************************************************************
363651292Sobrien
363751292SobrienWed Mar 19 17:49:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
363851292Sobrien	* amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
363951292Sobrien	* new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0.  Lots
364051292Sobrien	of small changes to support these two.
364151292Sobrien	type:=nfs.
364251292SobrienWed Mar 19 14:33:30 1997  Erez Zadok  <ezk@grande.cs.columbia.edu>
364351292Sobrien	* updated all source files to add 1998 as a copyright year.
364451292Sobrien	* conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
364551292Sobrien	should run if MOUNT_TABLE_ON_FILE, not otherwise.
364651292Sobrien	like type:=linkx if the pathname denoted by $fs exists, and like
364751292SobrienMon Mar 17 22:02:43 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
364851292Sobrien
364951292Sobrien	* hlfsd/hlfsd.c (main): fill in fhsize field if exists
365051292Sobrien	(freebsd-2.2).
365151292Sobrien
365251292Sobrien	* amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
365351292Sobrien	exists (freebsd-2.2).
365451292Sobrien
365551292SobrienSat Mar 15 19:37:48 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
365651292Sobrien	* hlfsd/homedir.c (plt_init): make function exported, to save on
365751292Sobrien	* new port: i386-unknown-freebsd2.2.  FreeBSD 2.2 and higher
365851292Sobrien	changed the filehandle type in struct nfs_args from nfsv2fh_t to
365951292Sobrien	u_char.
366051292Sobrien	instead.
366151292SobrienSat Mar 14 10:11:03 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
366251292SobrienThu Jan  1 00:15:58 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
366351292Sobrien	* SHARED LIBRARIES: too many change to list individually.  Now,
366451292Sobrien	libamu can be built as a shared library, and other programs link
366551292Sobrien	with it.
366651292Sobrien
366751292SobrienTue Mar 11 22:24:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
366851292Sobrien
366951292Sobrien	* aux/macros/opt_shared.m4: new macro for setting options for
367051292Sobrien	building shared am-utils libraries.
367151292Sobrien	* amd/ops_afs.c (mount_toplvl): Bug fix.  Don't try to free() an
367251292SobrienSun Mar  9 19:17:46 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
367351292Sobrien	* ALL SOURCES: change every direct call to free() to xfree(), so
367451292Sobrien	* fixmount/fixrmtab: cleaned up the script.
367551292Sobrien	call dxfree(), which will print the file name and line number
367651292Sobrien	* fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
367751292Sobrien	fixrmtab gets distributed too.
367851292Sobrien
367951292Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
368051292Sobrien	Added extern for xdr_mountlist().
368151292SobrienTue Dec 23 04:24:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
368251292Sobrien	* aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
368351292Sobrien	MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
368451292Sobrien	the sources.
368551292Sobrien
368651292SobrienSat Mar  8 00:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
368751292Sobrien	calloc().
368851292Sobrien	* fixmount/hlfsd ported to bsd44, hpux, and linux systems.
368951292Sobrien
369051292Sobrien	* aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
369151292Sobrien	malloc().
369251292Sobrien	* conf/fixmount/fixmount_default.c: use lockf() if flock() is
369351292Sobrien	unavailable.
369451292Sobrien	zero its bytes.
369551292Sobrien	* include/am_defs.h: include <string.h> even if don't have
369651292Sobrien	STDC_HEADERS defined (sunos4).
369751292Sobrien	(seteuid): define seteuid() to be setresuid() for systems that
369851292Sobrien	have but not the other (hpux).
369951292Sobrien	* amq/amq.c: amq does not need its own definition of xfree().
370051292Sobrien	* aux/macros/check_extern.m4: test should include <strings.h>.
370151292Sobrien	look for function malloc_verify() in libmapmalloc.a, and function
370251292SobrienTue Mar  4 17:16:52 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
370351292Sobrien
370451292Sobrien	* lib/xutil.c (debug_option): moved from amd/getargs.c to this
370551292Sobrien	more proper file.
370651292Sobrien	uordbytes, because it does not always exist.  Rather, compute it
370751292Sobrien	* include/am_utils.h: put in structure for debug options, for all
370851292Sobrien	progams to use.
370951292Sobrien	used when debugging memory references.
371051292Sobrien	* amd/get_args.c: moved structure for debug options out.
371151292SobrienMon Dec 22 03:01:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
371251292SobrienSun Mar  2 00:13:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
371351292Sobrien	Otherwise browsable_dirs fails on OpenBSD 2.2.
371451292Sobrien	* ported fixmount.
371551292Sobrien	* amd/mntfs.c (uninit_mntfs): bug fix.  Moved freeing of
371651292Sobrien	* lib/ualarm.c: replacement function for systems that don't have a
371751292Sobrien	ualarm().
371851292SobrienSat Dec 20 00:51:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
371951292Sobrien	* ported fsinfo.
372051292Sobrien	* amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
372151292SobrienSun Mar  1 10:23:34 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
372251292Sobrien	* include/am_defs.h: add missing extern definition for free().
372351292Sobrien	* ported mk-amd-map.
372451292Sobrien
372551292Sobrien	* buildall: added -K option to buildall, to run mkconf.
372651292Sobrien	optional function.
372751292SobrienFri Feb 28 01:10:25 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
372851292Sobrien	if they exist.
372951292Sobrien	*******************************************************************
373051292Sobrien	*** Released am-utils-6.0a2					***
373151292Sobrien	*******************************************************************
373251292Sobrien	* aux/configure.in: check for missing functions clnt_create and
373351292SobrienThu Feb 27 13:58:59 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
373451292Sobrien
373551292Sobrien	* all *.[hcyl] files: add copyright line.
373651292Sobrien	* Makefile.am: updates for new sunos3 files distributed.
373751292Sobrien	* aux/macros/check_mount_type.m4: test for mount type for
373851292Sobrien	linux-like systems, by checking for loadable or statically linked
373951292Sobrien	kernel filesystem modules.
374051292Sobrien	* conf/fh_dref/fh_dref_sunos3.h: new file.
374151292Sobrien	* aux/macros/check_mnttab_type.m4: test for mount table entry
374251292Sobrien	for linux-like systems, by checking for loadable or statically
374351292Sobrien	linked kernel filesystem modules.
374451292Sobrien	* aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
374551292Sobrien	* aux/configure.in: pcfs filesystems can use vfat type (linux)
374651292Sobrien	* doc/am-utils.texi (wire Selector Variable): updated manual for
374751292Sobrien	* aux/macros/check_fs_mntent.m4: test for filesystem existence for
374851292Sobrien	linux-like systems, by checking for loadable or statically linked
374951292Sobrien	kernel filesystem modules.
375051292Sobrien	in_network() function.
375151292Sobrien	* conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
375251292Sobrien	9.0 header files.  This should be removed when HPUX 9.0 is deemed
375351292Sobrien	defunct.
375451292Sobrien	functions.  Converted wire, network, and netnumber all to use the
375551292Sobrien	* aux/acconfig.h: set an undefined variable for having an extern
375651292Sobrien	to clnt_sperrno().
375751292Sobrien	against all networks, not just primary.
375851292Sobrien	* include/am_defs.h: define extern for clnt_sperrno() if needed.
375951292Sobrien	* conf/nfs_prot/nfs_prot_linux.h: add special definitions for
376051292Sobrien	* aux/configure.in: test for extern clnt_sperrno().
376151292Sobrien	<rpc/des_auth.h> because it is incomplete on the same systems.
376251292Sobrien	* aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
376351292Sobrien	similar to irix.
376451292Sobrien	* hlfsd/homedir.c (table_add): cast uid field to int, for
376551292Sobrien	* aux/macros/check_mount_style.m4: use mount helper on HPUX.
376651292Sobrien	* include/am_defs.h: more coflicts with redhat alpha linux
376751292Sobrien	* aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
376851292Sobrien	not integer (but may be mapped to one later).
376951292Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
377051292Sobrien	* conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
377151292Sobrien	files.  They have mount(2) and vfsmount(2) which don't take same
377251292Sobrien	arguments, and they have string mount types MNTTYPE_* as well as
377351292Sobrien	integer types MOUNT_*.  So I need this new mount function to map
377451292Sobrien	from string types to integer types for the vfsmount() function.
377551292Sobrien	redhat alpha linux.
377651292Sobrien	* conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
377751292Sobrien	vfsmount(), call mount_hpux().
377851292Sobrien	the new "!" (negated) nomadic functions.
377951292SobrienThu Feb 27 03:34:14 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
378051292Sobrien	rather than saying that any ARG is on a local network.
378151292Sobrien	* lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
378251292Sobrien	both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
378351292Sobrien
378451292SobrienThu Feb 27 00:26:00 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
378551292SobrienThu Dec 18 20:57:19 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
378651292Sobrien	* conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
378751292Sobrien	hpux.
378851292Sobrien
378951292Sobrien	* include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
379051292Sobrien	Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
379151292Sobrien	* aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
379251292Sobrien	wait until they get it working in their version of the automounter
379351292Sobrien	* buildall: added ability to configure using other shells than
379451292Sobrien	/bin/sh, on those systems where /bin/sh is buggy or limited
379551292Sobrien	(HPUX).
379651292Sobrien	maxgrp.
379751292Sobrien	* aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
379851292Sobrien	defined am_nfs_fh, and also test for plain typedef "nfs_fh".
379951292Sobrien	"maxgrps".  Added test for mount table entry "maxgroups".
380051292Sobrien	* aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
380151292Sobrien	reinstated macro.
380251292Sobrien	* libamu/mount_fs.c (compute_nfs_args): perform more careful tests
380351292Sobrien	* aux/configure.in: check for <nfs/export.h>
380451292Sobrien
380551292Sobrien	* include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
380651292Sobrien	including 9.x, should use "ignore" as the mount type to hide from
380751292Sobrien	* aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
380851292Sobrien	exists.
380951292Sobrien
381051292Sobrien	* aux/macros/mount_headers.m4 (define): removed some non-working
381151292Sobrien	(on HPUX) code that attempts to recreate the fhandle_t rather than
381251292Sobrien	load it up from system headers.  Also added some NFS protocol
381351292Sobrien	header inclusion.  include <nfs/export.h> (HPUX) if exists.
381451292Sobrien	every where in the sources.
381551292SobrienWed Feb 26 00:32:35 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
381651292Sobrien
381751292Sobrien	* aux/macros/mount_headers.m4 (define): Use M4 changequote to
381851292Sobrien	ensure [] brackets are correctly used.
381951292Sobrien	useful for detecting internal flags and options, as well as the
382051292Sobrien	* aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
382151292Sobrien	multi-line M4 inclusions in [].
382251292Sobrien	after /etc and before /etc/local.
382351292SobrienTue Feb 25 22:19:44 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
382451292Sobrien	* aux/configure.in, libamu/Makefile.am: added support for linking
382551292Sobrien	* conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
382651292Sobrien	it exists.
382751292Sobrien
382851292Sobrien	* aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
382951292Sobrien	config.h macro for field f_fstypename of struct statfs.
383051292Sobrien	needed.
383151292Sobrien	* aux/configure.in: testing for field f_fstypename field of struct
383251292Sobrien	statfs (NetBSD).
383351292Sobrien	netbsd).
383451292Sobrien	* aux/acconfig.h: moved all of the "static" definitions out to a
383551292Sobrien	fixed file called include/am_defs.h.  Added to all */Makefile.am
383651292Sobrien	files a dependency on am_defs.h.  Created am_defs.h of course, and
383751292Sobrien	then added #include <amd_defs.h> to all of the source and header
383851292Sobrien	files that required it.
383951292Sobrien	for NetBSD-1.3_BETA and similarly for OpenBSD.
384051292SobrienMon Feb 24 01:27:02 1997  Erez Zadok  <ezk@defiant.soscorp.com>
384151292Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
384251292Sobrien	* aux/acconfig.h: two more externals for xdr functions that may be
384351292Sobrien	implemented by libamu.
384451292Sobrien	mktemp().
384551292Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
384651292Sobrien	definitions.
384751292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
384851292SobrienSun Feb 23 15:25:26 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
384951292Sobrien	"nfs3", but to "nfs" and then they set "vers=3".  Setting it to
385051292Sobrien	* buildall (default): added -D option for turning on even stricker
385151292Sobrien	developer options.
385251292Sobrien	systems, set it to "nfs".
385351292Sobrien	* */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
385451292Sobrien	determine dependencies on optional NFS protocol headers.
385551292Sobrien
385651292Sobrien	* aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
385751292Sobrien
385851292Sobrien	* aux/macros/check_nfs_prot_header.m4: new test to determine what
385951292Sobrien	NFS protocol headers to use. 
386051292Sobrien	system mount types under nextstep for mount(2).
386151292Sobrien	* conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
386251292Sobrien	complete missing system headers for NFS protocol definitions.
386351292Sobrien	integer and string types for file system mount types in mount(2),
386451292SobrienSun Feb 16 15:58:42 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
386551292Sobrien	(EPERM) instead of 0 (OK).  Fixes m68k-next-nextstep3 which now
386651292Sobrien	* amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
386751292Sobrien	#ifdef's as needed.
386851292Sobrien
386951292Sobrien	* amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
387051292Sobrien	suitable #ifdef'ed.
387151292Sobrien
387251292Sobrien	* include/am_compat.h: a couple more mnttab options
387351292Sobrien	(timeo/retrans) setting just in case.
387451292Sobrien
387551292Sobrien	* amd/autil.c (host_normalize): make sure hostent->h_name is
387651292Sobrien	passed a non-const char *.
387751292Sobrien
387851292Sobrien	* conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
387951292Sobrien	inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
388051292Sobrien	* {lib,amq,amd}/*.c (many functions): cast xdr_entry to
388151292Sobrien	XDRPROC_T_TYPE.
388251292Sobrien	* libamu/mount_fs.c (mnt_flags): support either nfs or generic
388351292Sobrien	* lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
388451292Sobrien	XDRPROC_T_TYPE.
388551292Sobrien
388651292Sobrien	* lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
388751292Sobrien	XDRPROC_T_TYPE.
388851292Sobrien
388951292Sobrien	* lib/wire.c (getwire): Make sure safe assignment from const to
389051292Sobrien	none is done.
389151292Sobrien	file in the am-utils' home page, as well as a few other useful
389251292SobrienSat Feb 15 19:38:51 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
389351292SobrienMon Nov 17 05:22:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
389451292Sobrien	* aux/macros/expand_cpp_int.m4: new macro for expanding integers.
389551292Sobrien	*******************************************************************
389651292Sobrien	* aux/configure.in: added linux/fs.h support in configure and
389751292Sobrien	several M4 macros.
389851292Sobrien
389951292Sobrien	* conf/mount/mount_linux.c (mount_linux): use macro instead of
390051292Sobrien	"ugly" fixed hex number for mount() arguments.
390151292Sobrien	ports.
390251292SobrienSat Feb 15 02:09:47 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
390351292Sobrien
390451292Sobrien	* amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
390551292Sobrien	turned all of its code always on.  That code always seems to
390651292Sobrien	compile, as long as you have hesiod and libresolv.
390751292Sobrien	* scripts/amd.conf.5: corrected info for -o/-O options.
390851292Sobrien	* amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
390951292Sobrien	of its code always on.
391051292Sobrien	OS name.
391151292Sobrien	* aux/configure.in: removed superfluous test for hs_zone_transfer
391251292Sobrien	function (will never find it because it is an amd-internal
391351292Sobrien	function).
391451292Sobrien	-o and -O options.
391551292Sobrien	* amd/mapc.c (maptypes): must used correct new name for am-utils'
391651292Sobrien	hesiod initialization function: hesiod_am_init.
391751292Sobrien
391851292Sobrien	* amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
391951292Sobrien	hesiod_am_init so as not to conflict with libhesiod's
392051292Sobrien	hesiod_init() function.
392151292Sobrien	variable.
392251292Sobrien	* aux/configure.in: added test and explicit inclusion of
392351292Sobrien	libresolv.a for later resolution of library references with
392451292Sobrien	libhesiod.
392551292Sobrien	<metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
392651292Sobrien	* aux/macros/opt_cppflags.m4: new file.  configure/compile C
392751292Sobrien	preprocessor flags.
392851292Sobrien	* doc/am-utils.texi (Distrib): typo in the subscription
392951292Sobrien	* aux/macros/opt_libs.m4: new file.  configure/compile library
393051292Sobrien	flags.
393151292Sobrien	<vogel@physik-rzu.unizh.ch>.
393251292Sobrien	* Makefile.am (EXTRA_DIST_AUX): include two new macros
393351292Sobrien	opt_cppflags.m4 and opt_libs.m4.
393451292Sobrien1997-11-15  Erez Zadok  <ezk@amtrak.cs.columbia.edu>
393551292Sobrien	* aux/configure.in: test for libhesiod needs to additional
393651292Sobrien	libresolv to link completely.  Additional configuration time
393751292Sobrien	options added for setting initial CPPFLAGS and LIBS.
393851292Sobrien
393951292SobrienTue Feb 10 02:15:40 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
394051292Sobrien	* NFS3 works on powerpc-ibm-aix4.2.1.0.
394151292Sobrien
394251292Sobrien	*** Released am-utils-6.0a1					***
394351292Sobrien	static.  Some compilers (gcc from egcs  on aix 4.2.1) corrupt the
394451292Sobrien	stack of an automatic variable when pointer to it is passed around
394551292SobrienThu Feb  6 02:55:19 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
394651292Sobrien
394751292Sobrien	* amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
394851292Sobrien	it works on freebsd, where they map dbm_pagfno a non-existing
394951292Sobrien	macro on purpose, to force you to port the code to Berkeley DB.
395051292Sobrien	* libamu/xutil.c (real_plog): syslog like behavior for normal
395151292SobrienFri Jan 31 01:35:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
395251292Sobrien
395351292Sobrien	* amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
395451292Sobrien	actual mount_toplvl, to avoid some possible race conditions.
395551292Sobrien
395651292SobrienThu Jan 30 02:31:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
395751292Sobrien
395851292Sobrien	* amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
395951292Sobrien
396051292SobrienWed Jan 29 18:25:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
396151292Sobrien
396251292Sobrien	* lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
396351292Sobrien	passed to it before.  So now I have to dereference the pointer
396451292Sobrien	* amd/amd.c (main): fix local address using htonl(). Free up
396551292Sobrien	buffers allocated by netdir_*() functions.
396651292Sobrien
396751292SobrienWed Jan 22 23:53:24 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
396851292Sobrien
396951292Sobrien	* amd/fix-amd-map.in: new script that will convert old-style amd
397051292Sobrien	maps to new one.
397151292Sobrien	compute_nfs_args() and compute_automounter_nfs_args() functions.
397251292SobrienTue Jan 21 01:18:16 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
397351292Sobrien	and cleaner compute_nfs_args() and compute_automounter_nfs_args()
397451292Sobrien	* FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
397551292Sobrien	and replies back to simple nfs/link type mount queries).
397651292Sobrien	relates for struct nfs_args.  A new function sets the numerous
397751292Sobrien	* conf/mtab/mtab_svr4.c: reorganized the code in this file to be
397851292Sobrien	easier to read, and fixed a few bugs with un/setting the lock file
397951292Sobrien	descriptor.
398051292Sobrien	libamu.  This saves on overall size of code.
398151292SobrienWed Jan  8 15:27:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
398251292Sobrien	mounting an automounter's mount point.  Used by hlfsd and amd.
398351292Sobrien	* amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
398451292Sobrien	signals in Svr3 systems.  Only stellix ever used this.
398551292Sobrien	* amq/amq.c (get_secure_amd_client): don't print any more
398651292Sobrien	* amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
398751292Sobrien	by DYNAMIC_BUFFERS, since it was not in use.
398851292Sobrien	under DEBUG only.
398951292SobrienTue Jan  7 00:45:59 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
399051292Sobrien
399151292Sobrien	* amd/opts.c (eval_opts): removed AMD_COMPAT code.  Amd no longer
399251292Sobrien	takes '=' sign as old selector.  Fix your maps.
399351292Sobrien	(deslashify): removed APOLLO code that treated two '//' as one.
399451292Sobrien	for file systems based on physical media (disk, cdrom, floppy) to
399551292SobrienSun Jan  5 01:25:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
399651292Sobrien	autoconf searches for all these types of mount table entries for a
399751292Sobrien	* amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
399851292Sobrien	was not used.  It made any submount error fail the whole group.
399951292Sobrien	the actual name found!  Same for ufs, cdfs, pcfs, tmpfs, lofs,
400051292Sobrien	* amd/ops_nfs.c (make_nfs_auth): removed code dependent on
400151292Sobrien	HAS_NFS_QUALIFIED_NAMES.
400251292Sobrien	(mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
400351292Sobrien	is never on.  So code that was triggered by #ifndef
400451292Sobrien	NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
400551292Sobrien	be fixed later.
400651292Sobrien	Removed all ULTRIX_HACK code.  Ultrix is DEAD!
400751292Sobrien	removed all PRESET_AC code, which was only on for Linux to preset
400851292Sobrien	the attribute cache values (otherwise they default to zero).
400951292Sobrien	(nfs_umounted): revobed KICK_KERNEL code (IRIX systems).  Will
401051292Sobrien	have to fixed up later.
401151292Sobrien	(mount_nfs_fh): removed code that was never included, which
401251292Sobrien	attempted to set the port on which amd's nfs mounts on.  This
401351292Sobrien	isn't supported by the ping algorithm yet.  In any case, it is all
401451292Sobrien	done in nfs_init().
401551292Sobrien
401651292Sobrien	* amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
401751292Sobrien	removed HAS_TCP_NFS code.  The whole use of NFS V.3 with TCP or
401851292Sobrien	specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
401951292Sobrien	have to be addressed later.
402051292SobrienSun Oct 26 19:32:57 1997  Erez Zadok  <ezk@defiant.soscorp.com>
402151292Sobrien	* amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
402251292Sobrien	on PRECISE_SYMLINKS.
402351292Sobrien	This works better on bsdi2 and bsdi3, because their portmapper
402451292Sobrien	* amd/mapc.c (mapc_meta_search): removed code that depended on
402551292Sobrien	HAS_DEPOT.  It is known buggy code.  The whole DEPOT support needs
402651292Sobrien	to be rethought.
402751292Sobrien	(mapc_add_kv): ported code to use standard regular expression
402851292Sobrien	(regexp) library.
402951292Sobrien	insecure).
403051292Sobrien	* amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
403151292Sobrien	FLUSH_KERNEL_NAME_CACHE and the macro itself.
403251292Sobrien	*** Released am-utils-6.0a13					***
403351292SobrienSat Jan  4 15:46:58 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
403451292SobrienFri Oct 24 05:04:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
403551292Sobrien	* amd/map.c (exported_ap_alloc): removed all code triggered by
403651292Sobrien	SHRINK_EXPORTED_AP and the macro itself.
403751292Sobrien	struct datum typedef.
403851292Sobrien	* amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
403951292Sobrien	in all the time.  Assuming that there is always NIS realod
404051292Sobrien	available.
404151292Sobrien	(yp_all_fixed): removed code for BROKEN_YP_ALL.  If your yp_all()
404251292Sobrien	function is broken such that it does not release filedescriptors
404351292Sobrien	it created, then you are hosed.  Get a fix for yp_all from your
404451292Sobrien	vendor or switch operating systems.
404551292Sobrien
404651292SobrienTue Dec 31 15:34:36 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
404751292Sobrien	gid_t.
404851292Sobrien	* amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
404951292Sobrien	HAVE_HS_ZONE_TRANSFER.
405051292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
405151292SobrienMon Dec 30 17:33:23 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
405251292Sobrien
405351292Sobrien	* amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
405451292Sobrien	always included.  We should always try to inform the remove mount
405551292Sobrien	daemon of mounts we performed.  If we want an option for this, it
405651292Sobrien	should be a run-time option.
405751292Sobrien
405851292Sobrien	* amd/host_ops.c: removed all that optionally did not make the
405951292Sobrien	directory mount points for amd.
406051292Sobrien
406151292Sobrien	* HOST_EXEC code removed from everywhere.  There is no indication
406251292Sobrien	that it was used anywhere.  If it needs to be used, then a
406351292Sobrien	run-time switch should control it.
406451292Sobrien
406551292SobrienThu Dec 26 00:06:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
406651292Sobrien	passwdfile option.  If hlfsd is started with -P passwdfile, then
406751292Sobrien	* amd/*_ops.c: removed all references to mntent_t's fields
406851292Sobrien	mnt_freq and mnt_passno, since they are no longe rused (and never
406951292Sobrien	have been).
407051292Sobrien	read and checked.  All the rest are ignored.  No NIS/netgroup
407151292Sobrien	* amd/am_ops.c: removed function sunos4_match, which was off
407251292Sobrien	anyway.  This was one of the places where an '=' sign was allowed
407351292Sobrien	as an assignment operator (which is now ':=').
407451292Sobrien
407551292Sobrien	* amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
407651292Sobrien	was off anyway.  This was one of the places where an '=' sign was
407751292Sobrien	allowed as an assignment operator (which is now ':=').
407851292Sobrien	-h is invoked.
407951292SobrienTue Dec 24 01:53:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
408051292SobrienWed Oct 22 00:16:39 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
408151292Sobrien	* amq/amq.c: ported to am-utils.  Working.
408251292Sobrien
408351292Sobrien	* conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
408451292Sobrien	to be string, as it should be (rather than a string mapped to int
408551292Sobrien	and back mapped to string).
408651292Sobrien	which returns TRUE if 'arg' is any one of this host's networks.
408751292SobrienSun Dec 22 13:26:05 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
408851292Sobrien	all networks names and numbers in the order of the interface (not
408951292Sobrien	* lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
409051292SobrienMon Oct 20 01:59:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
409151292Sobrien	* lib/umount_fs.c: split this into three files: default, osf, and
409251292Sobrien	bsd44, that are in conf/umount/umount_*.c.
409351292Sobrien	* aux/configure.in: don't add ops_ufs.o on AIX twice.  My code
409451292SobrienThu Dec 19 17:33:46 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
409551292Sobrien	* doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
409651292Sobrien	* aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
409751292Sobrien	macro to automatically figure out if an external definition for
409851292Sobrien	sys_errlist[] exists.
409951292Sobrien	(html): generate html documentation for
410051292Sobrien	* lib/xutil.c (xfree): removed "#undef free" because it's not
410151292Sobrien	needed there.  Any system that redefines free() needs help.
410251292Sobrien
410351292Sobrien	* conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
410451292Sobrien	was dependent on REWRITE_MTAB_IN_PLACE.  It does not appear to be
410551292Sobrien	in active use anywhere.  If added later, it should be a run-time
410651292Sobrien	configuration option.
410751292Sobrien	ypall_callback_fxn_t.  The NetBSD team compiles all sources with
410851292Sobrien	* conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
410951292Sobrien	be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
411051292Sobrien	in a file in /etc.
411151292Sobrien	function typedef.
411251292Sobrien	* lib/util.c (str3cat): removed _AIX code.  AIX should have a
411351292Sobrien	working realloc, or else find a cleaner solution to this.
411451292Sobrien	(mkdirs): removed SUNOS4_WORKAROUND code.  This was to do a sync()
411551292Sobrien	after immediately making directories so that fsck will be able to
411651292Sobrien	fix the filesystem in the event of an immediate crash.  This was
411751292Sobrien	because a bug in UFS which is fixed by now.
411851292Sobrien	* libamu/xutil.c (amu_release_controlling_tty): new function to
411951292Sobrien	* lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
412051292Sobrien	code.  Does not appear to be on and used anywhere.
412151292Sobrien	(dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
412251292Sobrien	and hlfsd/hlfsd.c.  Also avoid setpgrp(), because it works on some
412351292Sobrien	* lib/resvport.c: split the binding of reserved ports code to a
412451292Sobrien	separate file.  A #define (HAVE_T_OPEN) separates the TLI (SVR4)
412551292Sobrien	from the BSD code.
412651292Sobrien
412751292SobrienThu Dec 19 02:08:35 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
412851292Sobrien
412951292Sobrien	* lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
413051292Sobrien	in by automake and configure, for optional sources that need to be
413151292Sobrien	built as part of libamu.a.
413251292Sobrien
413351292Sobrien	* aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
413451292Sobrien	to LIBOBJS.
413551292Sobrien
413651292Sobrien	* lib/memcmp.c (memcmp): new file added to replace a possible bad
413751292Sobrien	implementation of memcmp.
413851292Sobrien
413951292SobrienWed Dec 18 22:20:23 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
414051292Sobrien
414151292Sobrien	* converted the sources to use memset/memmove/memcmp instead of
414251292Sobrien	bzero/bcopy/bcmp.
414351292Sobrien
414451292Sobrien	* ran all sources through gnu Indent w/ options specified in
414551292Sobrien	aux/amindent.
414651292Sobrien
414751292SobrienWed Dec 11 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
414851292Sobrien
414951292Sobrien	* At this point the initial genration of config.h via autoconf and
415051292Sobrien	some preliminary makefiles via automake is done.  I will not begin
415151292Sobrien	modifying sources, so it's a good time to document from here.
415251292Sobrien
415351292SobrienWed Dec 10 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
415451292Sobrien
415551292Sobrien	*******************************************************************
415651292Sobrien	*** Initial ChangeLog Entry					***
415751292Sobrien	*******************************************************************
415851292Sobrien
415951292Sobrien	* amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
416051292Sobrien	mount flags of toplvl mounts.  Important esp. for HPUX 10.  Now
416151292Sobrien	hpux-10 will mount amd's mounts points as 'ignore' (by df).
416251292Sobrien
416351292Sobrien	* aux/configure.in: check for NFS mount option 'ignore', useful in
416451292Sobrien	HPUX 10.
416551292Sobrien
416651292SobrienThu Oct 16 03:28:33 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
416751292Sobrien
416851292Sobrien	* aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
416951292Sobrien	mount type and not NFS, for the amd mount points.
417051292Sobrien
417151292Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
417251292Sobrien	an RPC timeout as an error, but just an info message.  From
417351292Sobrien	Andreas Stolcke <stolcke@speech.sri.com>
417451292Sobrien
417551292Sobrien	* If the NFS server is down or does not support the portmapper
417651292Sobrien	call (such as certain Novell NFS servers) we mark it as version 2
417751292Sobrien	and we let the nfs code deal with the case that is down.  If when
417851292Sobrien	the server comes back up, it can support NFS V.3 and/or TCP, it
417951292Sobrien	will use those.  From christos@deshaw.com (Christos Zoulas).
418051292Sobrien
418151292Sobrien	* hlfsd/homedir.c (plt_print): various compile time cleanups to
418251292Sobrien	printfs that take a long, but pass an int to print.  From
418351292Sobrien	christos@deshaw.com (Christos Zoulas).
418451292Sobrien
418551292Sobrien	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
418651292Sobrien	macro to determine if the OS has a bad yp_all(), based on the host
418751292Sobrien	OS name.  So far only irix (all versions) have a bad yp_all, so
418851292Sobrien	they will use am_yp_all() instead (which is slower as it
418951292Sobrien	enumerates manually all of the map's entries).
419051292Sobrien
419151292SobrienThu Oct 16 03:14:37 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
419251292Sobrien
419351292Sobrien	* amd/info_nis.c (am_yp_all): code for a replacement yp_all that
419451292Sobrien	avoids using a file-descriptor leaking yp_all() on some systems
419551292Sobrien	like irix.
419651292Sobrien
419751292SobrienWed Oct 15 21:52:35 1997  Erez Zadok  <ezk>
419851292Sobrien
419951292Sobrien	* fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
420051292Sobrien	systems using /usr/bin/flex.
420151292Sobrien
420251292Sobrien	* amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
420351292Sobrien	that have a modified GNU flex which does define yywrap (DU-4.x).
420451292Sobrien
420551292SobrienFri Sep 26 14:25:29 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
420651292Sobrien
420751292Sobrien	* conf/checkmount/checkmount_bsd44.c: include prototype.
420838494Sobrien
420938494SobrienFri Sep 26 01:26:24 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
421038494Sobrien
421138494Sobrien	*******************************************************************
421238494Sobrien	*** Released am-utils-6.0a12					***
421338494Sobrien	*******************************************************************
421438494Sobrien
421538494SobrienFri Sep 26 00:13:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
421638494Sobrien
421738494Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
421838494Sobrien	code in irix6 until it can be tested correctly
421938494Sobrien
422038494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
422138494Sobrien	on clnt_create for 3 seconds, rather than wait for the much longer
422238494Sobrien	default.
422338494Sobrien
422438494Sobrien	* conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
422538494Sobrien	Includes NFS3, untested.
422638494Sobrien
422738494SobrienThu Sep 25 11:03:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
422838494Sobrien
422938494Sobrien	* amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
423038494Sobrien	pcfs_args_t if they exist.
423138494Sobrien
423238494Sobrien	* amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
423338494Sobrien	cdfs_args_t if it exists.
423438494Sobrien
423538494Sobrien	* new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
423638494Sobrien	hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
423738494Sobrien
423838494SobrienWed Sep 24 00:48:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
423938494Sobrien
424038494Sobrien	* doc/am-utils.texi (wire-test): updated documentation for the new
424138494Sobrien	option.
424238494Sobrien
424338494Sobrien	* wire-test/wire-test.8: updated man page for new option.
424438494Sobrien
424538494Sobrien	* wire-test/wire-test.c (main): added a test for various
424638494Sobrien	combinations of NFS proto/vers to a remote/local host.
424738494Sobrien
424838494Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
424938494Sobrien	<isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
425038494Sobrien	freebsd will correctly set mount options for pcfs and cdfs.
425138494Sobrien
425238494Sobrien	* amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
425338494Sobrien	0777 (if field exists).
425438494Sobrien
425538494Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
425638494Sobrien	<msdosfs/msdosfsmount.h> if available.
425738494Sobrien
425838494Sobrien	* minor new port: rs6000-ibm-aix4.1.4.0.
425938494Sobrien
426038494Sobrien	* libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
426138494Sobrien	write the "time" field in /etc/mnttab.
426238494Sobrien
426338494Sobrien	* conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
426438494Sobrien	detecting mnt_time field of mntent_t.
426538494Sobrien
426638494Sobrien	* libamu/mtab.c (mnt_free): fixed typo in macro names for
426738494Sobrien	detecting mnt_time field of mntent_t.
426838494Sobrien
426938494SobrienTue Sep 23 15:30:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
427038494Sobrien
427138494Sobrien	* conf/mtab/mtab_file.c (lock): Use flock() in preference over
427238494Sobrien	fcntl() to lock the mtab file.
427338494Sobrien
427438494SobrienMon Sep 22 23:04:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
427538494Sobrien
427638494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): define
427738494Sobrien	the try_again goto label only for NFS3.
427838494Sobrien	(pmap_ping): assume timeout failure of clnt_stat.
427938494Sobrien
428038494Sobrien	* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
428138494Sobrien	"groups *".
428238494Sobrien
428338494SobrienMon Sep 22 20:34:33 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
428438494Sobrien
428538494Sobrien	* conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
428638494Sobrien	<dsr@mail.lns.cornell.edu> to make sure that amd works with more
428738494Sobrien	secure portmappers that do not allow forwarding of RPC messages to
428838494Sobrien	other services.
428938494Sobrien
429038494Sobrien	* */Makefile.am: all source files should also depend on the new
429138494Sobrien	include/am_xdr_func.h header.
429238494Sobrien
429338494Sobrien	* include/am_xdr_func.h: new file as part of the code cleanup from
429438494Sobrien	Christos Zoulas <christos@deshaw.com>.
429538494Sobrien
429638494Sobrien	* Lots of fixes from Christos Zoulas <christos@deshaw.com> that
429738494Sobrien	involved missing prototypes, cleaned up ones, and removal of
429838494Sobrien	unused variables.
429938494Sobrien
430038494Sobrien	* libamu/xdr_func.c (xdr_mountres3): some code cleanup.  A switch
430138494Sobrien	statement with only one case is unclean.
430238494Sobrien
430338494SobrienMon Sep 22 17:26:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
430438494Sobrien
430538494Sobrien	* amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
430638494Sobrien	0 so that all fields are initialized to zero at first.  This way
430738494Sobrien	SunOS 4.x and other systems don't get /etc/mtab entries with
430838494Sobrien	random integers for the fsck/freq fields. Patch from Andreas
430938494Sobrien	Stolcke <stolcke@speech.sri.com>.
431038494Sobrien
431138494SobrienMon Sep 22 00:34:19 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
431238494Sobrien
431338494Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
431438494Sobrien	that the important definition for HOSTNAMESZ will be found.
431538494Sobrien
431638494Sobrien	* amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
431738494Sobrien	(inside the nfs_args structure) if the system uses that macro.
431838494Sobrien	Otherwise systems like SunOS refuse to NFS mount long pathnames
431938494Sobrien	and result in ENAMETOOLONG errno's.
432038494Sobrien
432138494SobrienWed Sep 17 04:56:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
432238494Sobrien
432338494Sobrien	* doc/am-utils.texi (Supported Platforms): specify new support for
432438494Sobrien	solaris 2.6, and hlfsd running on 2.5.1 too.
432538494Sobrien
432638494SobrienWed Sep 17 03:55:02 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
432738494Sobrien
432838494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
432938494Sobrien	mount if it is not supported or was turned off.
433038494Sobrien
433138494SobrienWed Sep 17 03:19:36 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
433238494Sobrien
433338494Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
433438494Sobrien	again.  Apparently at some previous release SunOS 4 supported was
433538494Sobrien	broken and all nfs mounts resulted in ESTALE.
433638494Sobrien
433738494SobrienWed Sep 17 00:26:25 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
433838494Sobrien
433938494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
434038494Sobrien	solaris 2.6.
434138494Sobrien
434238494Sobrien	* aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
434338494Sobrien	protocol header selection.
434438494Sobrien
434538494SobrienSat Sep 13 14:31:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
434638494Sobrien
434738494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
434838494Sobrien	infinite loop.
434938494Sobrien
435038494SobrienSun Sep  7 18:23:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
435138494Sobrien
435238494Sobrien	*******************************************************************
435338494Sobrien	*** Released am-utils-6.0a11					***
435438494Sobrien	*******************************************************************
435538494Sobrien
435638494SobrienFri Sep  5 11:55:10 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
435738494Sobrien
435838494Sobrien	* amd/amd.c (main): if plock() succeeded, don't try to display
435938494Sobrien	errno message.   Patch from Chris Metcalf
436038494Sobrien	<metcalf@catfish.lcs.mit.edu.
436138494Sobrien
436238494SobrienThu Sep  4 19:17:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
436338494Sobrien
436438494Sobrien	* hlfsd/homedir.c (table_add): make sure duplicate passwd entries
436538494Sobrien	are ignored.   Only the first entry should ever be used, because
436638494Sobrien	that's how lookup in passwd database works.
436738494Sobrien
436838494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): when determining
436938494Sobrien	if a remote host is up or down, use NFS v.2.  Fix suggested by
437038494Sobrien	Enami Tsugutomo <enami@cv.sony.co.jp>.
437138494Sobrien
437238494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
437338494Sobrien	function to get the best possible NFS version, but also timeout
437438494Sobrien	faster than normal defaults, so remote hosts which are down can be
437538494Sobrien	detected in a reasonable time.
437638494Sobrien	(get_nfs_version): use the new "best" function.
437738494Sobrien
437838494SobrienTue Sep  2 00:41:00 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
437938494Sobrien
438038494Sobrien	*******************************************************************
438138494Sobrien	*** Released am-utils-6.0a10					***
438238494Sobrien	*******************************************************************
438338494Sobrien
438438494SobrienMon Sep  1 15:39:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
438538494Sobrien
438638494Sobrien	* conf/transp/transp_tli.c (get_nfs_version): don't use
438738494Sobrien	clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
438838494Sobrien	and earlier).
438938494Sobrien
439038494Sobrien	* aux/configure.in: test for existence of clnt_tp_create_timed(),
439138494Sobrien	since Solaris 2.4 (and possibly earlier) do not have it.
439238494Sobrien
439338494SobrienMon Sep  1 15:23:18 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
439438494Sobrien
439538494Sobrien	* amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
439638494Sobrien	field if it exists (solaris 2.4's autofs does not have it).
439738494Sobrien
439838494SobrienMon Sep  1 14:45:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
439938494Sobrien
440038494Sobrien	* aux/macros/type_auth_create_gidlist.m4: a new test to determine
440138494Sobrien	the correct type to the 5th argument of authunix_create().
440238494Sobrien
440338494SobrienMon Sep  1 03:44:32 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
440438494Sobrien
440538494Sobrien	* libamu/xdr_func.c (xdr_umntrequest): add test for autofs
440638494Sobrien	structure umntrequest, if it has the field rdevid.  Seems Solaris
440738494Sobrien	2.4 and earlier didn't have it.
440838494Sobrien
440938494SobrienMon Sep  1 01:10:53 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
441038494Sobrien
441138494Sobrien	* hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
441238494Sobrien	can be done before primary process forks.
441338494Sobrien	(main): bug fix: wait a bit to give child a chance to initialize.
441438494Sobrien	Without this, hlfsd got into a busy infinite loop while, never
441538494Sobrien	completing the mount.
441638494Sobrien
441738494Sobrien	* amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
441838494Sobrien	to make amd works when talking to NIS+ servers in NIS
441938494Sobrien	compatibility mode.
442038494Sobrien
442138494SobrienMon Sep  1 00:46:56 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
442238494Sobrien
442338494Sobrien	* amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
442438494Sobrien
442538494SobrienSun Aug 31 20:20:40 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
442638494Sobrien
442738494Sobrien	* amd/conf.c (gopt_fully_qualified_hosts): a new function to
442838494Sobrien	process another new global variable.
442938494Sobrien
443038494Sobrien	* amd/ops_nfs.c (make_nfs_auth): if a new global variable
443138494Sobrien	fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
443238494Sobrien	Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
443338494Sobrien
443438494Sobrien	* amd/conf.c (process_last_regular_map): If the amd.conf file only
443538494Sobrien	has a [global] section (pretty useless IMHO), do not try to
443638494Sobrien	process a map that does not exist.
443738494Sobrien
443838494Sobrien	* scripts/amd.conf.5: fixed typos (repeated 'as' word).
443938494Sobrien
444038494Sobrien	* doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
444138494Sobrien
444238494Sobrien	* amd/conf.c (reset_cf_map): Bug fix.  Reset 'tag' field of cfm
444338494Sobrien	structure, so it does not carry over from map entry to another.
444438494Sobrien
444538494SobrienSat Aug 30 18:39:21 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
444638494Sobrien
444738494Sobrien	* amd/amd.c (main): fixed the meaning of the plock option.  A bug
444838494Sobrien	caused it to be reversed.
444938494Sobrien
445038494SobrienSat Aug 30 15:13:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
445138494Sobrien
445238494Sobrien	* hlfsd/stubs.c: don't initialize some statics here.  They are
445338494Sobrien	better initialized in hlfsd_init_filehandles().
445438494Sobrien
445538494SobrienFri Aug 22 14:47:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
445638494Sobrien
445738494Sobrien	* amd/conf.c (gopt_show_statfs_entries): new function and a global
445838494Sobrien	amd.conf key show_statfs_entries.  Defaults to 'no'.  If 'yes',
445938494Sobrien	then all maps flagged as browsable will also show a count of the
446038494Sobrien	number of entries (keys) in that map.
446138494Sobrien
446238494Sobrien	* amd/nfs_subr.c (count_map_entries): new function to count number
446338494Sobrien	of entries in a map.  Now used if browsable is turned on in a map,
446438494Sobrien	to return a count of available keys in a given map.
446538494Sobrien
446638494Sobrien	* hlfsd/stubs.c (eq_fh): use correct memcmp().  BUG fixed! hlfsd
446738494Sobrien	confused the file handles for ".", "..", and the symlink, causing
446838494Sobrien	mess.
446938494Sobrien
447038494Sobrien	* aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
447138494Sobrien	but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
447238494Sobrien	with bad memcmp() in libc's (nextstep3).
447338494Sobrien
447438494SobrienThu Aug 21 17:38:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
447538494Sobrien
447638494Sobrien	* aux/configure.in: check if autofs_args_t has a field named
447738494Sobrien	addr.  Solaris has it for specifying the address of the daemon,
447838494Sobrien	but Irix does not.  So how does irix tell the kernel the daemon's
447938494Sobrien	address?  I suspect that it is hardcoded to "localhost" using a
448038494Sobrien	"private well-known port" (#define AUTOFS_PORT 2048).
448138494Sobrien
448238494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: added missing autofs
448338494Sobrien	definitions.
448438494Sobrien
448538494Sobrien	* README.autofs: new file listing autofs support notes
448638494Sobrien
448738494Sobrien	* very preliminary autofs code working.  Call it pre-alpha
448838494Sobrien	quality.
448938494Sobrien
449038494SobrienSun Aug 17 02:25:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
449138494Sobrien
449238494Sobrien	* amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
449338494Sobrien	"autofs" if system does not support it.
449438494Sobrien
449538494Sobrien	* amd/amd.c (main): log am-utils version string (same as amd -v)
449638494Sobrien	at start of run.
449738494Sobrien
449838494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): in order to tell
449938494Sobrien	if a remote host is available, try to contact its portmapper and
450038494Sobrien	timeout if no answer is received in 3 seconds.
450138494Sobrien
450238494SobrienThu Aug 14 16:12:04 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
450338494Sobrien
450438494Sobrien	* aux/macros/check_extern.m4 (pattern): use a simpler pattern for
450538494Sobrien	match for external function definitions.  The function could span
450638494Sobrien	multiple lines, so only match the opening parenthesis, not the
450738494Sobrien	closing one too.
450838494Sobrien
450938494Sobrien	* aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
451038494Sobrien	posix mode for nextstep3.  It is broken.
451138494Sobrien
451238494Sobrien	* amd/amd.c (init_global_options): run uname() only if
451338494Sobrien	<sys/utsname.h> and uname(2) exist.
451438494Sobrien
451538494Sobrien	* amd/rpc_fwd.c (fwd_packet): if remote host is down, the
451638494Sobrien	forwarding socket is null, so declare this an error.
451738494Sobrien
451838494Sobrien	* include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
451938494Sobrien	for when a remote host is down.  Try, in order, "host down", "host
452038494Sobrien	unreachable", "invalid argument".
452138494Sobrien
452238494Sobrien	* amd/ops_nfs.c (discard_fh): don't dereference a null pointer
452338494Sobrien	(happens when remote host is down, and fp->fh_fs is NULL).
452438494Sobrien	(prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
452538494Sobrien	and FSF_DOWN.
452638494Sobrien
452738494Sobrien	* amd/sched.c: nobody uses "union wait" any more, or so it
452838494Sobrien	appears, so clean up that code.
452938494Sobrien
453038494Sobrien	* conf/transp/transp_tli.c (get_nfs_version): if remote host is
453138494Sobrien	down, time it out faster than default (3 seconds).
453238494Sobrien	(get_mount_client): free netconfig entry when done with it.
453338494Sobrien
453438494Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
453538494Sobrien	port to nextstep3 (m68k-next-nextstep3).
453638494Sobrien
453738494Sobrien	* fsinfo/Makefile.am (LDADD): needs to link with libamu in case
453838494Sobrien	system does not have strdup().
453938494Sobrien
454038494Sobrien	* include/am_defs.h: complete external definition for getlogin()
454138494Sobrien	if needed.
454238494Sobrien
454338494Sobrien	* conf/transp/transp_tli.c (get_nfs_version): no need to keep
454438494Sobrien	static versout variable.
454538494Sobrien
454638494Sobrien	* amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
454738494Sobrien	server is probably down.  Don't use sendto() in that case.
454838494Sobrien
454938494Sobrien	* buildall (default): run gmake if found, before trying plain
455038494Sobrien	make.  GNU make is always preferable.
455138494Sobrien
455238494SobrienTue Aug 12 21:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
455338494Sobrien
455438494Sobrien	* aux/macros/host_macros.m4: cleanup of os_version and os
455538494Sobrien	overrides.  Solaris 2.5.1 for example will come up as solaris2 and
455638494Sobrien	2.5.1, rather than sunos5 and 5.5.1.  Both can be overridden in
455738494Sobrien	the amd.conf file.
455838494Sobrien
455938494SobrienFri Aug  8 14:37:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
456038494Sobrien
456138494Sobrien	*******************************************************************
456238494Sobrien	*** Released am-utils-6.0a9					***
456338494Sobrien	*******************************************************************
456438494Sobrien
456538494SobrienThu Aug  7 00:52:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
456638494Sobrien
456738494Sobrien	* conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
456838494Sobrien	(i486-ncr-sysv4.3.03) headers.  Needed to complete missing stuff
456938494Sobrien	from <ndbm.h> and <sys/resource.h>.
457038494Sobrien
457138494Sobrien	* scripts/amd.conf.5: new map page.
457238494Sobrien
457338494Sobrien	* amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
457438494Sobrien	does not.
457538494Sobrien
457638494Sobrien	* amd/amd.8: updated man page.
457738494Sobrien
457838494Sobrien	* amd/get_args.c (get_args): removed defunct -h option to amd.
457938494Sobrien
458038494Sobrien	* amq/amq.8: updated man page.
458138494Sobrien
458238494Sobrien	* amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
458338494Sobrien	SparcCompiler CC won't complain.
458438494Sobrien
458538494Sobrien	* amd/info_hesiod.c (hesiod_search): small fixes to compile with
458638494Sobrien	hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
458738494Sobrien
458838494Sobrien	* aux/macros/opt_ldflags.m4: new option added to configure
458938494Sobrien	--enable-ldflags, to specify -L option for configuring/compiling.
459038494Sobrien	The older one --enable-libs is now to be used only for -l options.
459138494Sobrien
459238494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): bug fixed.  Should initialize
459338494Sobrien	nc_protoname from nfs_proto if available for all TLI systems, not
459438494Sobrien	just those that have NFS V3.
459538494Sobrien
459638494Sobrien	* amd/info_ldap.c: ldap patches from Leif Johansson
459738494Sobrien	<leifj@matematik.su.se>, adding two new amd.conf ldap variables:
459838494Sobrien	ldap_cache_seconds and ldap_cache_maxmem.
459938494Sobrien
460038494Sobrien	* hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
460138494Sobrien	htons().
460238494Sobrien
460338494SobrienSun Aug  3 17:20:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
460438494Sobrien
460538494Sobrien	* amd/nfs_start.c (mount_automounter): register amd with the rpc
460638494Sobrien	program number that may have been overridden by amd.conf.
460738494Sobrien
460838494Sobrien	* libamu/xutil.c (set_amd_program_number, get_amd_program_number):
460938494Sobrien	allow storing and retrieving alternate amd program numbers.
461038494Sobrien
461138494Sobrien	* amd/conf.c (gopt_portmap_program): new function to parse
461238494Sobrien	amd.conf entry portmap_program=1234.
461338494Sobrien
461438494Sobrien	* amq/amq.c (main): allow specifying an alternate rpc program
461538494Sobrien	number for amd via -P prognum.
461638494Sobrien
461738494Sobrien	* new amq RPC to get the process id of the running amd.  This is
461838494Sobrien	used in ctl-amd to quickly find the pid of the amd that is to be
461938494Sobrien	killed.
462038494Sobrien
462138494Sobrien	* expanded shared libraries support.  Using GNU libtool-1.0,
462238494Sobrien	am-utils now builds shared libraries on many platforms that have
462338494Sobrien	support for it and proper compilers/linkers.  See "INSTALL" file
462438494Sobrien	for compatibility chart.
462538494Sobrien
462638494SobrienThu Jul 31 13:07:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
462738494Sobrien
462838494Sobrien	* fsinfo/fsi_lex.l: removed code that was in support of very old
462938494Sobrien	versions of flex.  No longer needed.
463038494Sobrien
463138494SobrienTue Jul 29 12:00:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
463238494Sobrien
463338494Sobrien	* amd/amd.c (init_global_options): find the kernel architecture
463438494Sobrien	from uname() if possible.
463538494Sobrien
463638494SobrienMon Jul 28 03:53:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
463738494Sobrien
463838494Sobrien	* new working port: i386-unknown-openbsd2.1
463938494Sobrien
464038494SobrienFri Jul 25 03:16:31 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
464138494Sobrien
464238494Sobrien	* working port: sparc-sun-solaris2.4.  Had to fix fhandle_t from
464338494Sobrien	structure to actual char[], because the structure was passed to
464438494Sobrien	xdr_fhandle as data and not a pointer.  Surprisingly, gcc
464538494Sobrien	-fpcc-struct-return did not help.
464638494Sobrien	
464738494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
464838494Sobrien	definitions for solaris 2.4 have to be different from 2.3, and
464938494Sobrien	different from 2.5.
465038494Sobrien
465138494Sobrien	* libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
465238494Sobrien
465338494SobrienThu Jul 24 16:22:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
465438494Sobrien
465538494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
465638494Sobrien	types, not ==.  Fix from Christos Zoulas <christos@deshaw.com>.
465738494Sobrien
465838494Sobrien	* mk-amd-map/mk-amd-map.8: man page taken from bsd44.
465938494Sobrien
466038494SobrienThu Jul 24 00:01:55 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
466138494Sobrien
466238494Sobrien	* conf/mount/mount_linux.c: made the nfs error mapping code into a
466338494Sobrien	small function.
466438494Sobrien
466538494SobrienWed Jul 23 16:11:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
466638494Sobrien
466738494Sobrien	* conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
466838494Sobrien	error mappings from errno numbers to NFS errors.  From Debian
466938494Sobrien	Linux.
467038494Sobrien
467138494Sobrien	* scripts/am-eject.in (fs): new script (taken from Debian Linux
467238494Sobrien	folks) to auto-unmount floppy/cd devices before ejecting them.
467338494Sobrien
467438494Sobrien	* fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
467538494Sobrien	'5' as second arg to show_area_being_processed.  I'm not sure why.
467638494Sobrien
467738494Sobrien	* fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
467838494Sobrien	second arg to show_area_being_processed.  I'm not sure why.
467938494Sobrien
468038494Sobrien	* conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
468138494Sobrien	ensure that you have a buffer in *xopts to strcat onto.
468238494Sobrien	(mount_linux): fixed from Debian folks to ensure that NFS mount
468338494Sobrien	sockets are connected only for kernels prior to 1.3.10 (avoids
468438494Sobrien	hangs for multi-homed hosts).
468538494Sobrien
468638494Sobrien	* amd/mapc.c (make_entry_chain): from Debian folks: don't skip
468738494Sobrien	over amd map keys that have a prefix, and include the prefix in
468838494Sobrien	the returned readdir().
468938494Sobrien
469038494Sobrien	* amd/info_passwd.c (passwd_init, passwd_search): format
469138494Sobrien	enhancements from the Debian Linux folks.  They added
469238494Sobrien	- var0:=pw-prefix:=anydir
469338494Sobrien	- var1:=pw-rhost:=dom3.dom2.dom1
469438494Sobrien	- var2:=pw-user:=user
469538494Sobrien	- var3:=pw-home:=/anydir/dom1/dom2/dom3/user
469638494Sobrien
469738494Sobrien	* new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
469838494Sobrien
469938494Sobrien	* amd/ops_afs.c (afs_retry): patches from Debian Linux.  If
470038494Sobrien	afs_mount timed out, then explicitly forbid further retries after
470138494Sobrien	the timeout.  (afs_bgmount): buf fix from Debian Linux.  Timeout
470238494Sobrien	values (17 and 5) were mistakenly swapped.
470338494Sobrien
470438494SobrienWed Jul 23 15:53:25 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
470538494Sobrien
470638494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
470738494Sobrien	support for Solaris 2.4 (the header files incorrectly define parts
470838494Sobrien	of the NFS V.3 protocol, but the kernel does not support it).
470938494Sobrien
471038494SobrienWed Jul 23 00:07:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
471138494Sobrien
471238494Sobrien	* amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
471338494Sobrien	for determining if using old or new hesiod libraries,
471438494Sobrien	respectively.
471538494Sobrien
471638494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
471738494Sobrien	V.3 then use non-connected sockets (both TCP and UDP).  Otherwise
471838494Sobrien	they cause hangs of mounts from multi-homed hosts when the return
471938494Sobrien	route is not the same as the outgoing route (esp. on NetBSD
472038494Sobrien	1.2.1).  If "conn" option was supplied, then don't turn on the
472138494Sobrien	"noconn" mount option.  Otherwise default to "noconn" mount
472238494Sobrien	option.
472338494Sobrien
472438494Sobrien	* aux/configure.in: better check for systems that need libgdbm and
472538494Sobrien	<ndbm.h>
472638494Sobrien
472738494SobrienTue Jul 22 04:02:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
472838494Sobrien
472938494Sobrien	* hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
473038494Sobrien	mounts are hidden from df(1) on systems that keep mount tables in
473138494Sobrien	kernel, such as osf1.
473238494Sobrien
473338494SobrienTue Jul 22 02:26:55 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
473438494Sobrien
473538494Sobrien	*******************************************************************
473638494Sobrien	*** Released am-utils-6.0a8					***
473738494Sobrien	*******************************************************************
473838494Sobrien
473938494SobrienMon Jul 21 21:33:19 1997  Erez Zadok  <ezk@stone.mcl.cs.columbia.edu>
474038494Sobrien
474138494Sobrien	* hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
474238494Sobrien	AF_INET when hlfsd mounts itself, thus getting an errno "protocol
474338494Sobrien	family not supported".
474438494Sobrien
474538494SobrienMon Jul 21 20:46:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
474638494Sobrien
474738494Sobrien	* verified that amd on NetBSD 1.2.1 (i386) works, but the OS
474838494Sobrien	itself is flaky.
474938494Sobrien
475038494Sobrien	* verified that amd AIX 3 works w/ the new readdir() code.
475138494Sobrien
475238494SobrienMon Jul 21 18:59:30 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
475338494Sobrien
475438494Sobrien	* amd/mapc.c (maptypes): changed the default map caching type for
475538494Sobrien	nis and ndbm maps to "MAPC_ALL", so that all possible entries will
475638494Sobrien	be available to amd for browsable_dirs=yes.
475738494Sobrien
475838494SobrienMon Jul 21 18:04:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
475938494Sobrien
476038494Sobrien	* amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
476138494Sobrien	afs_readdir into a browsable version and a non-browsable one.
476238494Sobrien	Fixed bugs that resulted in an infinite nfs_readdir loop on the
476338494Sobrien	localhost for some operating systems.
476438494Sobrien
476538494SobrienSat Jul 19 19:38:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
476638494Sobrien
476738494Sobrien	* amd/ops_afs.c (afs_readdir): fixed up the browsable code to
476838494Sobrien	comply with nfs_readdir specs.  It was returning all entries at
476938494Sobrien	once, even if there was not enough space in the RPC packet.  Now,
477038494Sobrien	it sends a reasonably sized chunk, and sets static state to resume
477138494Sobrien	it for the next continuation RPC of readdir.
477238494Sobrien
477338494Sobrien	* amd/conf.c (set_conf_kv): fixed bug that resulted in the first
477438494Sobrien	regular map not getting all of the [global] options defaulted from.
477538494Sobrien
477638494SobrienFri Jul 18 00:45:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
477738494Sobrien
477838494Sobrien	* amq/amq.c (main): fixed so that portmapper "ping" will only fail
477938494Sobrien	upon an RPC timeout
478038494Sobrien
478138494Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
478238494Sobrien	amd/hlfsd process to kill.
478338494Sobrien
478438494Sobrien	* amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
478538494Sobrien	determine how to avoid df from seeing amd's toplvl mounts.  Moved
478638494Sobrien	from libamu/mount_fs.c and include/am_utils.h.  Ensure that hlfsd
478738494Sobrien	is hidden from df.
478838494Sobrien	(mount_toplvl): fixed df types for irix.
478938494Sobrien
479038494SobrienThu Jul 17 21:59:45 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
479138494Sobrien
479238494Sobrien	* amq/amq.c (main): fixed bug that caused the 5 second timeout for
479338494Sobrien	TLI amq using udp to be ignored.
479438494Sobrien	(main): if amq cannot contact remote host's portmapper within 5
479538494Sobrien	seconds, timeout and fail faster than the default longer timeout
479638494Sobrien	(this is for non-TLI systems).
479738494Sobrien
479838494SobrienThu Jul 17 17:08:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
479938494Sobrien
480038494Sobrien	* amq/amq.c (get_secure_amd_client): if amq cannot contact
480138494Sobrien	remote host's portmapper within 5 seconds, timeout and fail faster
480238494Sobrien	than the default TLI timeout of over 4 minutes.
480338494Sobrien
480438494Sobrien	* amd/am_ops.c (ops_showfstypes): added styles for new bsd44
480538494Sobrien	file systems nullfs, unionfs, and umapfs.
480638494Sobrien	(ops_show1): cleanup code and and reuse this function.
480738494Sobrien	(vops): empty placeholders for nullfs, unionfs, and umapfs.
480838494Sobrien
480938494Sobrien	* amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
481038494Sobrien	bsd44 style file systems.
481138494Sobrien
481238494Sobrien	* fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
481338494Sobrien	sources.
481438494Sobrien
481538494Sobrien	* amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
481638494Sobrien	conflict with systems that define it in <sys/ioctl.h> and also
481738494Sobrien	define a conflicting one via lex.  Newer versions of f/lex are ok.
481838494Sobrien
481938494SobrienWed Jul 16 00:17:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
482038494Sobrien
482138494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
482238494Sobrien	acdirmin/max and acregmin/max only if they exist.
482338494Sobrien
482438494Sobrien	* aux/configure.in: test for nfs_args fields acdirmin and
482538494Sobrien	acregmin.
482638494Sobrien
482738494SobrienTue Jul 15 17:24:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
482838494Sobrien
482938494Sobrien	* aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
483038494Sobrien	"nondev" and commented back in checking for "nodev".  This was a
483138494Sobrien	typo.
483238494Sobrien
483338494Sobrien	* include/am_compat.h: more compatibility options: define "ro"
483438494Sobrien	mnttab option all the time.  Define "overlay" as needed.  Added
483538494Sobrien	more fillers of mnttab options (as per Daniel S. Riley
483638494Sobrien	<dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
483738494Sobrien	acregmin, noac, grpid, nosuid, and actimo.
483838494Sobrien
483938494Sobrien	* libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
484038494Sobrien	per dsr@mail.lns.cornell.edu (Daniel S. Riley).  Then cleaned up
484138494Sobrien	the same code for other options in struct opt_tab.
484238494Sobrien
484338494SobrienMon Jul 14 22:36:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
484438494Sobrien
484538494Sobrien	* amd/get_args.c (get_args): moved amd.conf file parsing to before
484638494Sobrien	the switching the default log/debug options.  Suggested by
484738494Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley).
484838494Sobrien
484938494Sobrien	* aux/update_build_version: new script to record the build version
485038494Sobrien	of amd, along with the rest of the info thet comes up with amd -v.
485138494Sobrien
485238494SobrienSun Jul 13 00:30:24 1997  Erez Zadok  <ezk@decca.damtp.cam.ac.uk>
485338494Sobrien
485438494Sobrien	* aux/macros/os_cflags.m4: new macro, to add additional
485538494Sobrien	compilation options (also used during configuration), based on the
485638494Sobrien	OS and the compiler.  Used for solaris-2.6, osf, and irix6.
485738494Sobrien
485838494SobrienFri Jul 11 10:15:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
485938494Sobrien
486038494Sobrien	* amd/conf_tok.l, conf_parse.y: allow values of keys to include
486138494Sobrien	white spaces, if they are double-quoted (key="some value")
486238494Sobrien
486338494Sobrien	* amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
486438494Sobrien	of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
486538494Sobrien
486638494SobrienFri Jul 11 02:16:06 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
486738494Sobrien
486838494Sobrien	*******************************************************************
486938494Sobrien	*** Released am-utils-6.0a7					***
487038494Sobrien	*******************************************************************
487138494Sobrien
487238494SobrienThu Jul 10 12:19:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
487338494Sobrien
487438494Sobrien	* include/am_defs.h: fill in extern definition of innetgr() in
487538494Sobrien	case system headers don't.
487638494Sobrien
487738494Sobrien	* aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
487838494Sobrien	will show the full pathname to yacc/bison and f/lex.  Some systems
487938494Sobrien	have older or bad versions of those and this way the user will
488038494Sobrien	know for sure what is being invoked.
488138494Sobrien
488238494Sobrien	* tasks: file populated with todo items.
488338494Sobrien
488438494Sobrien	* scripts/amd2ldif.in: Script to convert amd maps to plain text
488538494Sobrien	LDAP object files.  Contributed by Leif Johansson
488638494Sobrien	<leifj@matematik.su.se>.
488738494Sobrien
488838494Sobrien	* aux/config.guess: added recognition for sun3's running 4.2bsd,
488938494Sobrien	from Tom Schmidt <tschmidt@micron.com>.  Fixed one small typo.
489038494Sobrien
489138494Sobrien	* amd/conf.c: several variables that were local to a map, were
489238494Sobrien	also added to [global], where they apply to all maps.  Each map
489338494Sobrien	can then individually override those defaults.  Flags
489438494Sobrien	affected: browsable_dirs and mount_type.  Options affected:
489538494Sobrien	map_type, map_options, and search_path.
489638494Sobrien
489738494Sobrien	* amd/amd.h: eliminated several global flags each of which took an
489838494Sobrien	int, in favor of one global flags variable used as a bit field.
489938494Sobrien
490038494Sobrien	* amd/amd.c (init_global_options): moved all global variables into
490138494Sobrien	a single struct amu_global_options, so it is easier to add new
490238494Sobrien	ones and/or identify existing ones.
490338494Sobrien
490438494Sobrien	* amd/get_args.c (get_args): removed unused amd -m option.
490538494Sobrien
490638494Sobrien	* amd/conf.c (gopt_cluster): added new amd.conf option for cluster
490738494Sobrien	name, same as amd -C.
490838494Sobrien
490938494Sobrien	* amd/info_ldap.c: LDAP info map functions from Leif Johansson
491038494Sobrien	<leifj@matematik.su.se>.
491138494Sobrien
491238494Sobrien	* amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
491338494Sobrien	amd.conf options for ldap_base and ldap_hostports.
491438494Sobrien
491538494Sobrien	* amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
491638494Sobrien	if the current host is in the ARG host netgroup.
491738494Sobrien
491838494Sobrien	* aux/configure.in: some systems replaced dbm in libc with GNU's
491938494Sobrien	libgdbm, so check for libgdbm, but only if dbm_open is not in
492038494Sobrien	libc already.  This was a recommendation from Tom Schmidt
492138494Sobrien	<tschmidt@micron.com>.
492238494Sobrien
492338494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
492438494Sobrien	completed.
492538494Sobrien
492638494SobrienWed Jul  9 18:14:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
492738494Sobrien
492838494Sobrien	* port to sparc-unknown-netbsd1.2E done, not tested.  Includes NFS
492938494Sobrien	V.3.
493038494Sobrien
493138494SobrienTue Jul  8 17:35:07 1997  Erez Zadok  <ezk@elk.mcl.cs.columbia.edu>
493238494Sobrien
493338494Sobrien	* port to i386-unknown-freebsd3.0 done and working.  Includes NFS
493438494Sobrien	V.3.
493538494Sobrien
493638494Sobrien	* aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
493738494Sobrien	file handle dereferencing style similar to freebsd22.
493838494Sobrien
493938494Sobrien	* include/am_defs.h: need to include <net/if_var.h> before
494038494Sobrien	<netinet/if_ether.h> on freebsd3.
494138494Sobrien
494238494Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
494338494Sobrien	for freeBSD 3.0.
494438494Sobrien
494538494SobrienTue Jul  8 16:53:41 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
494638494Sobrien
494738494Sobrien	* amd/info_nis.c (nis_reload): cast nis' callback function so
494838494Sobrien	picky compilers won't complain.
494938494Sobrien
495038494Sobrien	* libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
495138494Sobrien	gets compiled only if the system has NFS V3 and does not have
495238494Sobrien	xdr_mountres3.
495338494Sobrien
495438494SobrienTue Jul  8 12:42:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
495538494Sobrien
495638494Sobrien	* COPYING: put in some legal stuff in this file.
495738494Sobrien
495838494SobrienMon Jul  7 19:10:44 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
495938494Sobrien
496038494Sobrien	* NFS V3 now works under Irix5, thanks to patches from 
496138494Sobrien	Andreas Stolcke <stolcke@speech.sri.com>.
496238494Sobrien
496338494Sobrien	* conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
496438494Sobrien	version and an irix6 version, since irix5's NFS V3 code is broken
496538494Sobrien	and hacky.
496638494Sobrien
496738494Sobrien	* amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
496838494Sobrien	sizes for some hesiod queries.  Patch from Danny Braniss
496938494Sobrien	<danny@cs.huji.ac.il>.
497038494Sobrien
497138494SobrienMon Jul  7 19:04:14 1997  Erez Zadok  <ezk@glory.soscorp.com>
497238494Sobrien
497338494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
497438494Sobrien
497538494SobrienSun Jul  6 14:22:24 1997  Erez Zadok  <ezk@glory.soscorp.com>
497638494Sobrien
497738494Sobrien	* aux/{configure.in,acconfig.h}: added checks for struct
497838494Sobrien	nfs_args's fields proto and sotype (bsdi3).
497938494Sobrien	
498038494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
498138494Sobrien	nfs_args.flags for bsdi3.  Set field proto to 0.  Set sotype field
498238494Sobrien	to SOCK_STREAM or SOCK_DGRAM.
498338494Sobrien
498438494Sobrien	* aux/macros/check_mount_style.m4: add case for bsdi3.
498538494Sobrien
498638494Sobrien	* amd/info_hesiod.c: got hesiod support for bsdi3.
498738494Sobrien
498838494SobrienSun Jul  6 11:14:47 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
498938494Sobrien
499038494Sobrien	* aux/configure.in: look for hesiod on libc (bsdi3)
499138494Sobrien
499238494Sobrien	* amd/get_args.c (get_args): reformat usage so it fits in 80
499338494Sobrien	columns.
499438494Sobrien
499538494Sobrien	* scripts/ctl-amd.in: changed directory name for optional tftpboot
499638494Sobrien	map to /tftpboot/.amd.
499738494Sobrien
499838494SobrienSat Jul  5 17:46:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
499938494Sobrien
500038494Sobrien	*******************************************************************
500138494Sobrien	*** Released am-utils-6.0a6					***
500238494Sobrien	*******************************************************************
500338494Sobrien
500438494SobrienSat Jul  5 03:17:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
500538494Sobrien
500638494Sobrien	* scripts/ctl-amd.in: include -T tag for tftpboot.
500738494Sobrien
500838494Sobrien	* new port: mips-sgi-irix5.3.  Compiled with gcc, but NFS V3 code
500938494Sobrien	is broken and needs work on the specific nfs_args that irix5 uses
501038494Sobrien	for V3 mounts.
501138494Sobrien
501238494SobrienSat Jul  5 01:44:25 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
501338494Sobrien
501438494Sobrien	* amd/get_args.c (get_args): new options amd -T tag.  A map with
501538494Sobrien	tag=foo matching the -T tag will be processed.  All untagged maps
501638494Sobrien	get processed all the time.
501738494Sobrien
501838494SobrienFri Jul  4 16:19:26 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
501938494Sobrien
502038494Sobrien	* aux/configure.in: need to check for strcasecmp in libucb (ncr2)
502138494Sobrien
502238494Sobrien	* aux/macros/check_os_libs.m4: a new macro to set the usage of
502338494Sobrien	libnsl and libsocket based on the OS.
502438494Sobrien
502538494Sobrien	* libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
502638494Sobrien	defined (problem on osf4).
502738494Sobrien
502838494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
502938494Sobrien
503038494Sobrien	* include/am_defs.h, aux/macros/try_compile_nfs.m4,
503138494Sobrien	aux/macros/mount_headers.m4: do include <sys/proc.h> because it
503238494Sobrien	failes on irix5.  Rather, put in the individual
503338494Sobrien	conf/nfs_prot/nfs_prot_*.h headers.
503438494Sobrien
503538494Sobrien	* amd/conf.c: AIX3 doesn't like strdup() being passed a constant
503638494Sobrien	char*, so cast all strdup()'s args to a non-const char*.
503738494Sobrien
503838494Sobrien	* amd/mapc.c (root_newmap): don't try to strdup only a "const
503938494Sobrien	char *".
504038494Sobrien
504138494SobrienFri Jul  4 15:47:10 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
504238494Sobrien
504338494Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
504438494Sobrien	sys/errno.h.
504538494Sobrien
504638494SobrienThu Jul  3 17:49:00 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
504738494Sobrien
504838494Sobrien	* made sure am-utils compiles, links, and runs properly on Irix
504938494Sobrien	6.2 using "cc -32 -Wl,-woff,"
505038494Sobrien
505138494Sobrien	* aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
505238494Sobrien	AC_CHECK_LIB.  If OTHER-LIBRARIES are defined and used, then add
505338494Sobrien	them to $LIBS.
505438494Sobrien
505538494Sobrien	* aux/configure.in: some cleanup of which libraries are needed.
505638494Sobrien	Espectially ensure that libnsl is included only on Solaris, where
505738494Sobrien	so far it is the only system on which it is absolutely necessary.
505838494Sobrien	Also no longer need to include libc explicitly. 
505938494Sobrien
506038494Sobrien	* amd/amd.c,wire-test/wire-test.c (main): convert IP address to
506138494Sobrien	network-long order before printing it.
506238494Sobrien
506338494Sobrien	* wire-test/wire-test.c (main): also check and report on the IP
506438494Sobrien	address of the local host, since some systems have bad versions of
506538494Sobrien	get_myaddress, or ones that conflict with other versions in
506638494Sobrien	multiple libraries (SunOS 4 and Irix especially).
506738494Sobrien
506838494SobrienWed Jul  2 18:19:02 1997  Erez Zadok  <ezk@starblazers.soscorp.com>
506938494Sobrien
507038494Sobrien	* scripts/ctl-amd.in: don't use full pathname so killproc() works
507138494Sobrien	better.  Also run bsd44 and irix style ps programs. 
507238494Sobrien
507338494Sobrien	* aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
507438494Sobrien	of library no matter if it was found or not.
507538494Sobrien
507638494SobrienWed Jul  2 02:11:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
507738494Sobrien
507838494Sobrien	* aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
507938494Sobrien	for M_* macros, but ensure that <sys/stream.h> is not included at
508038494Sobrien	all so it won't conflict with other M_* macros.
508138494Sobrien
508238494SobrienTue Jul  1 21:16:51 1997  Erez Zadok  <ezk@mako.cs.columbia.edu>
508338494Sobrien
508438494Sobrien	* conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
508538494Sobrien	irix should be "spec" (host:/path), not the dir of the mnt point.
508638494Sobrien
508738494Sobrien	* amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
508838494Sobrien	fixed.  If on, it essentially ignored the setting in a
508938494Sobrien	selector-controlled /defaults if there were 2 or more entries in it.
509038494Sobrien
509138494SobrienTue Jul  1 12:23:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
509238494Sobrien
509338494Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
509438494Sobrien	using BSD style ps, then try SVR4 style ps.
509538494Sobrien
509638494Sobrien	* include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
509738494Sobrien	etc., to avoid conflicts with similar named macros in <ldap.h>.
509838494Sobrien
509938494Sobrien	* aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
510038494Sobrien	support needed for LDAP.  Now the code has to be written mostly in
510138494Sobrien	amd/info_ldap.c.
510238494Sobrien
510338494Sobrien	* Included additional patches from Andreas Stolcke
510438494Sobrien	<stolcke@speech.sri.com> to support using the best possible
510538494Sobrien	combination of NFS version (2,3) and protocol (udp,tcp) for any
510638494Sobrien	given host, since it appears that some Irix versions have NFS V3,
510738494Sobrien	but do not support TCP.
510838494Sobrien
510938494Sobrien	* scripts/ctl-amd.in: updated amd control script to look for and
511038494Sobrien	use amd.conf file.
511138494Sobrien
511238494SobrienTue Jul  1 00:28:23 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
511338494Sobrien
511438494Sobrien	* amd/mapc.c (mapc_create): now, each map in the amd.conf can be
511538494Sobrien	initialized off of a different type, or default to cycling through
511638494Sobrien	all maps until one of them matches.
511738494Sobrien
511838494SobrienMon Jun 30 20:49:13 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
511938494Sobrien
512038494Sobrien	* amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
512138494Sobrien	if browsable_dirs=yes is set in the map section in amd.conf, that
512238494Sobrien	map will return all entries back to a readdir(2).
512338494Sobrien
512438494SobrienSun Jun 29 16:22:11 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
512538494Sobrien
512638494Sobrien	* rudimentary amd.conf file support included.  You may even
512738494Sobrien	override things like os=sos5, to get "backwards" compatibilty with
512838494Sobrien	upl102.
512938494Sobrien
513038494SobrienSat Jun 28 13:35:02 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
513138494Sobrien
513238494Sobrien	* amd/conf.c: new file to process amd.conf file.
513338494Sobrien
513438494Sobrien	* amd/get_args.c (get_args): new options -H to print help.
513538494Sobrien
513638494Sobrien	* moved enable_default_selectors to be amd.conf controlled, and
513738494Sobrien	not compiler controlled.
513838494Sobrien
513938494Sobrien	* amd/get_args.c (get_args): new options -F <conf-file> to parse an
514038494Sobrien	amd configuration file.
514138494Sobrien
514238494SobrienWed Jun 25 23:15:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
514338494Sobrien
514438494Sobrien	* converted all files that used strcmp() == 0 or != 0  to using
514538494Sobrien	the STREQ() macro.
514638494Sobrien
514738494SobrienMon Jun 23 22:31:14 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
514838494Sobrien
514938494Sobrien	* aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
515038494Sobrien	search for any number of functions in any given library.
515138494Sobrien
515238494SobrienMon Jun 23 01:04:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
515338494Sobrien
515438494Sobrien	* amd/mapc.c: Included patch from Leif Johansson
515538494Sobrien	<leifj@matematik.su.se> to ensure that systems without an RE
515638494Sobrien	library can compile.
515738494Sobrien
515838494Sobrien	* libamu/mount_fs.c (mount_fs): Included patch from Andreas
515938494Sobrien	Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
516038494Sobrien	table are properly delimited by a comma.
516138494Sobrien
516238494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
516338494Sobrien	Stolcke <stolcke@speech.sri.com>, to allow users to override the
516438494Sobrien	proto= and vers= mount options.
516538494Sobrien
516638494SobrienSun Jun 22 01:00:11 1997  Eric Dana  (edana@ncr2.bgs.com)
516738494Sobrien
516838494Sobrien	* conf/nfs_prot/nfs_prot_svr4.h: port completed to
516938494Sobrien	i486-ncr-sysv4.3.03.  Assorted source cleanups done.
517038494Sobrien
517138494Sobrien	* include/am_defs.h, aux/macros/mount_headers.m4: don't include
517238494Sobrien	mnttab.h if sys/mnttab.h was already included, because on ncr2,
517338494Sobrien	they contain conflicting entries for struct mnttab.
517438494Sobrien
517538494SobrienSat Jun 21 23:52:15 1997  Eric Dana  (edana@ncr2.bgs.com)
517638494Sobrien
517738494Sobrien	* aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
517838494Sobrien
517938494SobrienFri Jun 20 06:14:17 1997  Erez Zadok  <ezk>
518038494Sobrien
518138494Sobrien	* amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
518238494Sobrien
518338494Sobrien	* aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
518438494Sobrien	on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
518538494Sobrien
518638494SobrienWed Jun 18 18:59:49 1997  Erez Zadok  <ezk@defiant.soscorp.com>
518738494Sobrien
518838494Sobrien	* aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
518938494Sobrien	nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
519038494Sobrien	better.
519138494Sobrien
519238494SobrienTue Jun 10 17:06:58 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
519338494Sobrien
519438494Sobrien	* amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
519538494Sobrien	NULL, set the maxlen and len fields in netbuf to zero.
519638494Sobrien
519738494SobrienWed May 28 22:52:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
519838494Sobrien
519938494Sobrien	* scripts/fix-amd-map.in (name): replace all matching patterns on
520038494Sobrien	line.
520138494Sobrien
520238494SobrienSun May 25 19:33:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
520338494Sobrien
520438494Sobrien	*******************************************************************
520538494Sobrien	*** Released am-utils-6.0a5					***
520638494Sobrien	*******************************************************************
520738494Sobrien
520838494SobrienSun May 25 13:37:24 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
520938494Sobrien
521038494Sobrien	* amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
521138494Sobrien	procedure now returns the full string that amd -v returns.
521238494Sobrien
521338494Sobrien	* amd/get_args.c (get_version_string): new function to return
521438494Sobrien	complete version/info string so it could be used more flexibly.
521538494Sobrien
521638494Sobrien	* amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
521738494Sobrien	of Fs types into a string buffer, rather than a FILE*.
521838494Sobrien
521938494Sobrien	* amd/mapc.c (mapc_showtypes): put the list of map types into a
522038494Sobrien	string buffer, rather than a FILE*.
522138494Sobrien
522238494SobrienSun May 25 01:25:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
522338494Sobrien
522438494Sobrien	* amd/get_args.c (get_args): amd -v also prints user who built
522538494Sobrien	amd, hostname built on, and date of configuration.
522638494Sobrien
522738494SobrienSat May 24 13:40:50 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
522838494Sobrien
522938494Sobrien	* scripts/lostaltmail.conf-sample: sample lostaltmail
523038494Sobrien	configuration file.
523138494Sobrien
523238494Sobrien	* scripts/lostaltmail.in: new script lostaltmail used to redeliver
523338494Sobrien	"lost" mail that hlfsd redirected to a temp location because the
523438494Sobrien	primary home file system of the user was full.
523538494Sobrien
523638494Sobrien	* scripts/amd2sun.in: new script amd2sun. Used to convert Sub
523738494Sobrien	automount maps to amd maps.
523838494Sobrien
523938494Sobrien	* scripts/ctl-hlfsd.in: new script ctl-hlfsd.  Used to start,
524038494Sobrien	stop, or restart hlfsd.
524138494Sobrien	
524238494Sobrien	* scripts/expn.1: man page for expn command.
524338494Sobrien
524438494Sobrien	* scripts/ctl-amd.in: new script ctl-amd.  Used to start, stop, or
524538494Sobrien	restart amd.
524638494Sobrien
524738494Sobrien	* scripts/expn.in: new script expn.  Actually taken from David
524838494Sobrien	Muir Sharnoff <muir@idiom.com>.  Used by hlfsd's mail re-delivery
524938494Sobrien	script.
525038494Sobrien
525138494Sobrien	* scripts/wait4amd.in: new script wait4amd added.  Waits for amd
525238494Sobrien	to come up on a host, and then runs a command (rsh $hostname by
525338494Sobrien	default).
525438494Sobrien
525538494Sobrien	* scripts/Makefile.am: new directory now holds all shell/perl
525638494Sobrien	scripts that belong to am-utils.
525738494Sobrien
525838494Sobrien	* conf/mount/mount_linux.c (parse_opts): new parser for
525938494Sobrien	linux-specific mounts.  Handles fs-type specific mount-options
526038494Sobrien	correctly.  Currently implemented: msdos, iso9660.
526138494Sobrien
526238494Sobrien	* amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
526338494Sobrien	(fix for linux).
526438494Sobrien
526538494Sobrien	* amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
526638494Sobrien	(fix for linux).
526738494Sobrien
526838494Sobrien	* amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
526938494Sobrien	core dumps upon "ls" of a mount point; an invalid pointer was
527038494Sobrien	being returned and dereferenced.
527138494Sobrien
527238494Sobrien	* port to Linux sparc working!
527338494Sobrien
527438494Sobrien	* hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
527538494Sobrien	failed to write test file, or else the fd will leak.
527638494Sobrien
527738494SobrienSun May 18 00:42:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
527838494Sobrien
527938494Sobrien	* amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
528038494Sobrien	instead of strcmp().
528138494Sobrien
528238494Sobrien	* Port to Digital Unix 4.0 (OSF) done.
528338494Sobrien
528438494Sobrien	* hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
528538494Sobrien	with dirname() function in <string.h> on OSF systems.
528638494Sobrien
528738494Sobrien	* fsinfo/fsi_util.c (set_ether_if): take out extern defintion of
528838494Sobrien	inet_addr().  It should come from <arpa/inet.h> instead.
528938494Sobrien
529038494Sobrien	* conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
529138494Sobrien
529238494Sobrien	* include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
529338494Sobrien	avoid conflicts with DU 4.0 system header.
529438494Sobrien
529538494SobrienThu May 15 22:49:12 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
529638494Sobrien
529738494Sobrien	* libamu/mount_fs.c (mount_fs): pass along NFS version so I can
529838494Sobrien	determine if to include additional options in the mount table file
529938494Sobrien	entry (such as proto=tcp, and vers=3).
530038494Sobrien
530138494SobrienThu May 15 00:42:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
530238494Sobrien
530338494Sobrien	* libamu/mount_fs.c (mount_fs): include NFS version number in the
530438494Sobrien	mount table options, as well as proto={tcp,udp}.
530538494Sobrien
530638494SobrienWed May 14 14:30:19 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
530738494Sobrien
530838494Sobrien	* NFS V3 code ported to most other systems, so it compiles for V2
530938494Sobrien	and V3 NFS systems.
531038494Sobrien
531138494Sobrien	* NFS VERSION 3 support, first pass.  Working for Solaris and
531238494Sobrien	using TCP.
531338494Sobrien
531438494SobrienSun May 11 01:14:29 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
531538494Sobrien
531638494Sobrien	* amq/amq.c: many newline characters were missing from various
531738494Sobrien	stderr printfs.
531838494Sobrien
531938494SobrienSat May 10 13:09:06 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
532038494Sobrien
532138494Sobrien	* conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
532238494Sobrien	Solaris, which include NFS V3 support.
532338494Sobrien
532438494Sobrien	* conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
532538494Sobrien
532638494Sobrien	* conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
532738494Sobrien	protocol version while getting a mount client.
532838494Sobrien
532938494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
533038494Sobrien	file handle size, and proper file handle based on the correct NFS
533138494Sobrien	version number.
533238494Sobrien
533338494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
533438494Sobrien	Solaris and other SVR4 systems.
533538494Sobrien
533638494Sobrien	* amd/ops_nfs.c: store NFS file handle version and version
533738494Sobrien	specific handle in struct fh_cache.
533838494Sobrien	(got_nfs_fh): pick the correct RPC reply based on the NFS version
533938494Sobrien	of the server.
534038494Sobrien	(prime_nfs_fhandle_cache): figure out the right NFS file handle
534138494Sobrien	for a node, but now include NFS protocol version information.
534238494Sobrien	(call_mountd): set the correct version for the mount protocol,
534338494Sobrien	based on the NFS protocol version.
534438494Sobrien	(nfs_init): use the NFS protocol generic structure
534538494Sobrien	am_nfs_handle_t.
534638494Sobrien
534738494Sobrien	* include/am_utils.h: new structure am_nfs_handle_t to contain all
534838494Sobrien	possible versions of NFS file handles.
534938494Sobrien
535038494Sobrien	* amd/srvr_nfs.c (start_ping): ping program performs NFS version
535138494Sobrien	specific pings.
535238494Sobrien	(recompute_portmap): figure out the correct portmap version mount.
535338494Sobrien	(nfs_keepalive): call start_ping() with the correct NFS version.
535438494Sobrien	(find_nfs_srvr): if mount option "vers=" is given, use it.  Get
535538494Sobrien	the NFS server version and verify that it is up.
535638494Sobrien
535738494Sobrien	* conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
535838494Sobrien	function to find the best NFS version for a particular host.
535938494Sobrien
536038494Sobrien	* libamu/amu.h: determine what is the highest version of NFS we
536138494Sobrien	should try.
536238494Sobrien
536338494Sobrien	* include/am_utils.h (NFS_VERSION3): added definition for NFS V3
536438494Sobrien	protocol number.
536538494Sobrien	Added field fs_version to struct fserver, so we can now store the
536638494Sobrien	server protocol version.
536738494Sobrien
536838494SobrienFri May  9 01:09:45 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
536938494Sobrien
537038494Sobrien	* aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
537138494Sobrien	underscores too, so I can test for sub-fields.
537238494Sobrien
537338494Sobrien	* libamu/wire.c: use test that checks for sub-fields of struct
537438494Sobrien	ifreq.
537538494Sobrien
537638494SobrienSat May  6 10:20:17 2000  Erez Zadok  <ezk@glory.soscorp.com>
537738494Sobrien
537838494Sobrien	* port to BSD/OS 3.0 completed!  Many xdr_ functions were broken
537938494Sobrien	into smaller files.  M4 macros fixed to test for existence of
538038494Sobrien	file systems using getvfsbyname().
538138494Sobrien
538238494Sobrien	* amd/sched.c (sigchld): signal handler must waitpid() for all
538338494Sobrien	possible children.
538438494Sobrien
538538494Sobrien	* hlfsd/homedir.c: signal handler must waitpid() for all possible
538638494Sobrien	children. 
538738494Sobrien
538838494Sobrien	* aux/macros/check_restartable_signals.m4: new macro to determine
538938494Sobrien	if need to reinstall signal handlers per OS is better than trying
539038494Sobrien	to figure these out based on system macros.
539138494Sobrien
539238494SobrienFri May  5 19:23:28 2000  Erez Zadok  <ezk@glory.soscorp.com>
539338494Sobrien
539438494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
539538494Sobrien
539638494Sobrien	* amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
539738494Sobrien
539838494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
539938494Sobrien	(must be supplied for bsdi 3.0)
540038494Sobrien
540138494Sobrien	* libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
540238494Sobrien	associated new macro) for determining the right way to compute the
540338494Sobrien	size of the interface structure.
540438494Sobrien
540538494SobrienFri Apr 11 15:56:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
540638494Sobrien
540738494Sobrien	* aux/configure.in: need to include libc before libnsl if
540838494Sobrien	get_myaddress() is available because on irix libnsl has a buggy
540938494Sobrien	get_myaddress().
541038494Sobrien
541138494Sobrien	* include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
541238494Sobrien	on Irix 6 (an SVR4 variant)
541338494Sobrien
541438494SobrienThu Mar 27 02:28:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
541538494Sobrien
541638494Sobrien	*******************************************************************
541738494Sobrien	*** Released am-utils-6.0a4					***
541838494Sobrien	*******************************************************************
541938494Sobrien
542038494SobrienWed Mar 26 21:15:36 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
542138494Sobrien
542238494Sobrien	* amd/amq_subr.c (ok_security): turned off insecure code unless
542338494Sobrien	user explicitly runs configure --enable-amq-mount.
542438494Sobrien
542538494Sobrien	* hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
542638494Sobrien
542738494Sobrien	* amd/nfs_start.c (mount_automounter): use code that separately
542838494Sobrien	creates the NFS and the amq service.  Register tcp and udp
542938494Sobrien	services for amd.
543038494Sobrien
543138494Sobrien	* conf/transp/transp_*.c (create_amq_service): new function to
543238494Sobrien	separately create the amq service for amd.  Simplified prototypes
543338494Sobrien	for create_nfs_service().
543438494Sobrien
543538494SobrienWed Mar 19 20:40:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
543638494Sobrien
543738494Sobrien	*******************************************************************
543838494Sobrien	*** Released am-utils-6.0a3					***
543938494Sobrien	*******************************************************************
544038494Sobrien
544138494SobrienWed Mar 19 17:49:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
544238494Sobrien
544338494Sobrien	* new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0.  Lots
544438494Sobrien	of small changes to support these two.
544538494Sobrien
544638494SobrienWed Mar 19 14:33:30 1997  Erez Zadok  <ezk@grande.cs.columbia.edu>
544738494Sobrien
544838494Sobrien	* conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
544938494Sobrien	should run if MOUNT_TABLE_ON_FILE, not otherwise.
545038494Sobrien
545138494SobrienMon Mar 17 22:02:43 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
545238494Sobrien
545338494Sobrien	* hlfsd/hlfsd.c (main): fill in fhsize field if exists
545438494Sobrien	(freebsd-2.2).
545538494Sobrien
545638494Sobrien	* amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
545738494Sobrien	exists (freebsd-2.2).
545838494Sobrien
545938494SobrienSat Mar 15 19:37:48 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
546038494Sobrien
546138494Sobrien	* new port: i386-unknown-freebsd2.2.  FreeBSD 2.2 and higher
546238494Sobrien	changed the filehandle type in struct nfs_args from nfsv2fh_t to
546338494Sobrien	u_char.
546438494Sobrien
546538494SobrienSat Mar 14 10:11:03 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
546638494Sobrien
546738494Sobrien	* SHARED LIBRARIES: too many change to list individually.  Now,
546838494Sobrien	libamu can be built as a shared library, and other programs link
546938494Sobrien	with it.
547038494Sobrien
547138494SobrienTue Mar 11 22:24:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
547238494Sobrien
547338494Sobrien	* aux/macros/opt_shared.m4: new macro for setting options for
547438494Sobrien	building shared am-utils libraries.
547538494Sobrien
547638494SobrienSun Mar  9 19:17:46 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
547738494Sobrien
547838494Sobrien	* fixmount/fixrmtab: cleaned up the script.
547938494Sobrien
548038494Sobrien	* fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
548138494Sobrien	fixrmtab gets distributed too.
548238494Sobrien
548338494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
548438494Sobrien	Added extern for xdr_mountlist().
548538494Sobrien
548638494Sobrien	* aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
548738494Sobrien	MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
548838494Sobrien	the sources.
548938494Sobrien
549038494SobrienSat Mar  8 00:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
549138494Sobrien
549238494Sobrien	* fixmount/hlfsd ported to bsd44, hpux, and linux systems.
549338494Sobrien
549438494Sobrien	* aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
549538494Sobrien
549638494Sobrien	* conf/fixmount/fixmount_default.c: use lockf() if flock() is
549738494Sobrien	unavailable.
549838494Sobrien
549938494Sobrien	* include/am_defs.h: include <string.h> even if don't have
550038494Sobrien	STDC_HEADERS defined (sunos4).
550138494Sobrien	(seteuid): define seteuid() to be setresuid() for systems that
550238494Sobrien	have but not the other (hpux).
550338494Sobrien
550438494Sobrien	* aux/macros/check_extern.m4: test should include <strings.h>.
550538494Sobrien
550638494SobrienTue Mar  4 17:16:52 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
550738494Sobrien
550838494Sobrien	* lib/xutil.c (debug_option): moved from amd/getargs.c to this
550938494Sobrien	more proper file.
551038494Sobrien
551138494Sobrien	* include/am_utils.h: put in structure for debug options, for all
551238494Sobrien	progams to use.
551338494Sobrien
551438494Sobrien	* amd/get_args.c: moved structure for debug options out.
551538494Sobrien
551638494SobrienSun Mar  2 00:13:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
551738494Sobrien
551838494Sobrien	* ported fixmount.
551938494Sobrien
552038494Sobrien	* lib/ualarm.c: replacement function for systems that don't have a
552138494Sobrien	ualarm().
552238494Sobrien
552338494Sobrien	* ported fsinfo.
552438494Sobrien
552538494SobrienSun Mar  1 10:23:34 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
552638494Sobrien
552738494Sobrien	* ported mk-amd-map.
552838494Sobrien
552938494Sobrien	* buildall: added -K option to buildall, to run mkconf.
553038494Sobrien
553138494SobrienFri Feb 28 01:10:25 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
553238494Sobrien
553338494Sobrien	*******************************************************************
553438494Sobrien	*** Released am-utils-6.0a2					***
553538494Sobrien	*******************************************************************
553638494Sobrien
553738494SobrienThu Feb 27 13:58:59 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
553838494Sobrien
553938494Sobrien	* all *.[hcyl] files: add copyright line.
554038494Sobrien
554138494Sobrien	* aux/macros/check_mount_type.m4: test for mount type for
554238494Sobrien	linux-like systems, by checking for loadable or statically linked
554338494Sobrien	kernel filesystem modules.
554438494Sobrien
554538494Sobrien	* aux/macros/check_mnttab_type.m4: test for mount table entry
554638494Sobrien	for linux-like systems, by checking for loadable or statically
554738494Sobrien	linked kernel filesystem modules.
554838494Sobrien
554938494Sobrien	* aux/configure.in: pcfs filesystems can use vfat type (linux)
555038494Sobrien
555138494Sobrien	* aux/macros/check_fs_mntent.m4: test for filesystem existence for
555238494Sobrien	linux-like systems, by checking for loadable or statically linked
555338494Sobrien	kernel filesystem modules.
555438494Sobrien
555538494Sobrien	* conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
555638494Sobrien	9.0 header files.  This should be removed when HPUX 9.0 is deemed
555738494Sobrien	defunct.
555838494Sobrien
555938494Sobrien	* aux/acconfig.h: set an undefined variable for having an extern
556038494Sobrien	to clnt_sperrno().
556138494Sobrien
556238494Sobrien	* include/am_defs.h: define extern for clnt_sperrno() if needed.
556338494Sobrien
556438494Sobrien	* aux/configure.in: test for extern clnt_sperrno().
556538494Sobrien
556638494Sobrien	* aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
556738494Sobrien	similar to irix.
556838494Sobrien
556938494Sobrien	* aux/macros/check_mount_style.m4: use mount helper on HPUX.
557038494Sobrien
557138494Sobrien	* aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
557238494Sobrien	not integer (but may be mapped to one later).
557338494Sobrien
557438494Sobrien	* conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
557538494Sobrien	files.  They have mount(2) and vfsmount(2) which don't take same
557638494Sobrien	arguments, and they have string mount types MNTTYPE_* as well as
557738494Sobrien	integer types MOUNT_*.  So I need this new mount function to map
557838494Sobrien	from string types to integer types for the vfsmount() function.
557938494Sobrien
558038494Sobrien	* conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
558138494Sobrien	vfsmount(), call mount_hpux().
558238494Sobrien
558338494SobrienThu Feb 27 03:34:14 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
558438494Sobrien
558538494Sobrien	* lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
558638494Sobrien	both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
558738494Sobrien
558838494SobrienThu Feb 27 00:26:00 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
558938494Sobrien
559038494Sobrien	* conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
559138494Sobrien	hpux.
559238494Sobrien
559338494Sobrien	* include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
559438494Sobrien
559538494Sobrien	* aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
559638494Sobrien
559738494Sobrien	* buildall: added ability to configure using other shells than
559838494Sobrien	/bin/sh, on those systems where /bin/sh is buggy or limited
559938494Sobrien	(HPUX).
560038494Sobrien
560138494Sobrien	* aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
560238494Sobrien	defined am_nfs_fh, and also test for plain typedef "nfs_fh".
560338494Sobrien
560438494Sobrien	* aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
560538494Sobrien	reinstated macro.
560638494Sobrien
560738494Sobrien	* aux/configure.in: check for <nfs/export.h>
560838494Sobrien
560938494Sobrien	* include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
561038494Sobrien
561138494Sobrien	* aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
561238494Sobrien	exists.
561338494Sobrien
561438494Sobrien	* aux/macros/mount_headers.m4 (define): removed some non-working
561538494Sobrien	(on HPUX) code that attempts to recreate the fhandle_t rather than
561638494Sobrien	load it up from system headers.  Also added some NFS protocol
561738494Sobrien	header inclusion.  include <nfs/export.h> (HPUX) if exists.
561838494Sobrien
561938494SobrienWed Feb 26 00:32:35 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
562038494Sobrien
562138494Sobrien	* aux/macros/mount_headers.m4 (define): Use M4 changequote to
562238494Sobrien	ensure [] brackets are correctly used.
562338494Sobrien
562438494Sobrien	* aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
562538494Sobrien	multi-line M4 inclusions in [].
562638494Sobrien
562738494SobrienTue Feb 25 22:19:44 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
562838494Sobrien
562938494Sobrien	* conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
563038494Sobrien	it exists.
563138494Sobrien
563238494Sobrien	* aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
563338494Sobrien	config.h macro for field f_fstypename of struct statfs.
563438494Sobrien
563538494Sobrien	* aux/configure.in: testing for field f_fstypename field of struct
563638494Sobrien	statfs (NetBSD).
563738494Sobrien
563838494Sobrien	* aux/acconfig.h: moved all of the "static" definitions out to a
563938494Sobrien	fixed file called include/am_defs.h.  Added to all */Makefile.am
564038494Sobrien	files a dependency on am_defs.h.  Created am_defs.h of course, and
564138494Sobrien	then added #include <amd_defs.h> to all of the source and header
564238494Sobrien	files that required it.
564338494Sobrien
564438494SobrienMon Feb 24 01:27:02 1997  Erez Zadok  <ezk@defiant.soscorp.com>
564538494Sobrien
564638494Sobrien	* aux/acconfig.h: two more externals for xdr functions that may be
564738494Sobrien	implemented by libamu.
564838494Sobrien
564938494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
565038494Sobrien	definitions.
565138494Sobrien
565238494SobrienSun Feb 23 15:25:26 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
565338494Sobrien
565438494Sobrien	* buildall (default): added -D option for turning on even stricker
565538494Sobrien	developer options.
565638494Sobrien
565738494Sobrien	* */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
565838494Sobrien	determine dependencies on optional NFS protocol headers.
565938494Sobrien
566038494Sobrien	* aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
566138494Sobrien
566238494Sobrien	* aux/macros/check_nfs_prot_header.m4: new test to determine what
566338494Sobrien	NFS protocol headers to use. 
566438494Sobrien
566538494Sobrien	* conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
566638494Sobrien	complete missing system headers for NFS protocol definitions.
566738494Sobrien
566838494SobrienSun Feb 16 15:58:42 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
566938494Sobrien
567038494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
567138494Sobrien	#ifdef's as needed.
567238494Sobrien
567338494Sobrien	* amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
567438494Sobrien	suitable #ifdef'ed.
567538494Sobrien
567638494Sobrien	* include/am_compat.h: a couple more mnttab options
567738494Sobrien	(timeo/retrans) setting just in case.
567838494Sobrien
567938494Sobrien	* amd/autil.c (host_normalize): make sure hostent->h_name is
568038494Sobrien	passed a non-const char *.
568138494Sobrien
568238494Sobrien	* conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
568338494Sobrien
568438494Sobrien	* {lib,amq,amd}/*.c (many functions): cast xdr_entry to
568538494Sobrien	XDRPROC_T_TYPE.
568638494Sobrien
568738494Sobrien	* lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
568838494Sobrien	XDRPROC_T_TYPE.
568938494Sobrien
569038494Sobrien	* lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
569138494Sobrien	XDRPROC_T_TYPE.
569238494Sobrien
569338494Sobrien	* lib/wire.c (getwire): Make sure safe assignment from const to
569438494Sobrien	none is done.
569538494Sobrien
569638494SobrienSat Feb 15 19:38:51 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
569738494Sobrien
569838494Sobrien	* aux/macros/expand_cpp_int.m4: new macro for expanding integers.
569938494Sobrien
570038494Sobrien	* aux/configure.in: added linux/fs.h support in configure and
570138494Sobrien	several M4 macros.
570238494Sobrien
570338494Sobrien	* conf/mount/mount_linux.c (mount_linux): use macro instead of
570438494Sobrien	"ugly" fixed hex number for mount() arguments.
570538494Sobrien
570638494SobrienSat Feb 15 02:09:47 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
570738494Sobrien
570838494Sobrien	* amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
570938494Sobrien	turned all of its code always on.  That code always seems to
571038494Sobrien	compile, as long as you have hesiod and libresolv.
571138494Sobrien
571238494Sobrien	* amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
571338494Sobrien	of its code always on.
571438494Sobrien
571538494Sobrien	* aux/configure.in: removed superfluous test for hs_zone_transfer
571638494Sobrien	function (will never find it because it is an amd-internal
571738494Sobrien	function).
571838494Sobrien
571938494Sobrien	* amd/mapc.c (maptypes): must used correct new name for am-utils'
572038494Sobrien	hesiod initialization function: hesiod_am_init.
572138494Sobrien
572238494Sobrien	* amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
572338494Sobrien	hesiod_am_init so as not to conflict with libhesiod's
572438494Sobrien	hesiod_init() function.
572538494Sobrien
572638494Sobrien	* aux/configure.in: added test and explicit inclusion of
572738494Sobrien	libresolv.a for later resolution of library references with
572838494Sobrien	libhesiod.
572938494Sobrien
573038494Sobrien	* aux/macros/opt_cppflags.m4: new file.  configure/compile C
573138494Sobrien	preprocessor flags.
573238494Sobrien
573338494Sobrien	* aux/macros/opt_libs.m4: new file.  configure/compile library
573438494Sobrien	flags.
573538494Sobrien
573638494Sobrien	* Makefile.am (EXTRA_DIST_AUX): include two new macros
573738494Sobrien	opt_cppflags.m4 and opt_libs.m4.
573838494Sobrien
573938494Sobrien	* aux/configure.in: test for libhesiod needs to additional
574038494Sobrien	libresolv to link completely.  Additional configuration time
574138494Sobrien	options added for setting initial CPPFLAGS and LIBS.
574238494Sobrien
574338494SobrienTue Feb 10 02:15:40 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
574438494Sobrien
574538494Sobrien	*******************************************************************
574638494Sobrien	*** Released am-utils-6.0a1					***
574738494Sobrien	*******************************************************************
574838494Sobrien
574938494SobrienThu Feb  6 02:55:19 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
575038494Sobrien
575138494Sobrien	* amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
575238494Sobrien	it works on freebsd, where they map dbm_pagfno a non-existing
575338494Sobrien	macro on purpose, to force you to port the code to Berkeley DB.
575438494Sobrien
575538494SobrienFri Jan 31 01:35:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
575638494Sobrien
575738494Sobrien	* amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
575838494Sobrien	actual mount_toplvl, to avoid some possible race conditions.
575938494Sobrien
576038494SobrienThu Jan 30 02:31:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
576138494Sobrien
576238494Sobrien	* amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
576338494Sobrien
576438494SobrienWed Jan 29 18:25:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
576538494Sobrien
576638494Sobrien	* lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
576738494Sobrien
576838494Sobrien	* amd/amd.c (main): fix local address using htonl(). Free up
576938494Sobrien	buffers allocated by netdir_*() functions.
577038494Sobrien
577138494SobrienWed Jan 22 23:53:24 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
577238494Sobrien
577338494Sobrien	* amd/fix-amd-map.in: new script that will convert old-style amd
577438494Sobrien	maps to new one.
577538494Sobrien
577638494SobrienTue Jan 21 01:18:16 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
577738494Sobrien
577838494Sobrien	* FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
577938494Sobrien	and replies back to simple nfs/link type mount queries).
578038494Sobrien
578138494Sobrien	* conf/mtab/mtab_svr4.c: reorganized the code in this file to be
578238494Sobrien	easier to read, and fixed a few bugs with un/setting the lock file
578338494Sobrien	descriptor.
578438494Sobrien
578538494SobrienWed Jan  8 15:27:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
578638494Sobrien
578738494Sobrien	* amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
578838494Sobrien	signals in Svr3 systems.  Only stellix ever used this.
578938494Sobrien
579038494Sobrien	* amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
579138494Sobrien	by DYNAMIC_BUFFERS, since it was not in use.
579238494Sobrien
579338494SobrienTue Jan  7 00:45:59 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
579438494Sobrien
579538494Sobrien	* amd/opts.c (eval_opts): removed AMD_COMPAT code.  Amd no longer
579638494Sobrien	takes '=' sign as old selector.  Fix your maps.
579738494Sobrien	(deslashify): removed APOLLO code that treated two '//' as one.
579838494Sobrien
579938494SobrienSun Jan  5 01:25:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
580038494Sobrien
580138494Sobrien	* amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
580238494Sobrien	was not used.  It made any submount error fail the whole group.
580338494Sobrien
580438494Sobrien	* amd/ops_nfs.c (make_nfs_auth): removed code dependent on
580538494Sobrien	HAS_NFS_QUALIFIED_NAMES.
580638494Sobrien	(mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
580738494Sobrien	is never on.  So code that was triggered by #ifndef
580838494Sobrien	NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
580938494Sobrien	be fixed later.
581038494Sobrien	Removed all ULTRIX_HACK code.  Ultrix is DEAD!
581138494Sobrien	removed all PRESET_AC code, which was only on for Linux to preset
581238494Sobrien	the attribute cache values (otherwise they default to zero).
581338494Sobrien	(nfs_umounted): revobed KICK_KERNEL code (IRIX systems).  Will
581438494Sobrien	have to fixed up later.
581538494Sobrien	(mount_nfs_fh): removed code that was never included, which
581638494Sobrien	attempted to set the port on which amd's nfs mounts on.  This
581738494Sobrien	isn't supported by the ping algorithm yet.  In any case, it is all
581838494Sobrien	done in nfs_init().
581938494Sobrien
582038494Sobrien	* amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
582138494Sobrien	removed HAS_TCP_NFS code.  The whole use of NFS V.3 with TCP or
582238494Sobrien	specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
582338494Sobrien	have to be addressed later.
582438494Sobrien
582538494Sobrien	* amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
582638494Sobrien	on PRECISE_SYMLINKS.
582738494Sobrien
582838494Sobrien	* amd/mapc.c (mapc_meta_search): removed code that depended on
582938494Sobrien	HAS_DEPOT.  It is known buggy code.  The whole DEPOT support needs
583038494Sobrien	to be rethought.
583138494Sobrien	(mapc_add_kv): ported code to use standard regular expression
583238494Sobrien	(regexp) library.
583338494Sobrien
583438494Sobrien	* amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
583538494Sobrien	FLUSH_KERNEL_NAME_CACHE and the macro itself.
583638494Sobrien
583738494SobrienSat Jan  4 15:46:58 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
583838494Sobrien
583938494Sobrien	* amd/map.c (exported_ap_alloc): removed all code triggered by
584038494Sobrien	SHRINK_EXPORTED_AP and the macro itself.
584138494Sobrien
584238494Sobrien	* amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
584338494Sobrien	in all the time.  Assuming that there is always NIS realod
584438494Sobrien	available.
584538494Sobrien	(yp_all_fixed): removed code for BROKEN_YP_ALL.  If your yp_all()
584638494Sobrien	function is broken such that it does not release filedescriptors
584738494Sobrien	it created, then you are hosed.  Get a fix for yp_all from your
584838494Sobrien	vendor or switch operating systems.
584938494Sobrien
585038494SobrienTue Dec 31 15:34:36 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
585138494Sobrien
585238494Sobrien	* amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
585338494Sobrien	HAVE_HS_ZONE_TRANSFER.
585438494Sobrien
585538494SobrienMon Dec 30 17:33:23 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
585638494Sobrien
585738494Sobrien	* amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
585838494Sobrien	always included.  We should always try to inform the remove mount
585938494Sobrien	daemon of mounts we performed.  If we want an option for this, it
586038494Sobrien	should be a run-time option.
586138494Sobrien
586238494Sobrien	* amd/host_ops.c: removed all that optionally did not make the
586338494Sobrien	directory mount points for amd.
586438494Sobrien
586538494Sobrien	* HOST_EXEC code removed from everywhere.  There is no indication
586638494Sobrien	that it was used anywhere.  If it needs to be used, then a
586738494Sobrien	run-time switch should control it.
586838494Sobrien
586938494SobrienThu Dec 26 00:06:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
587038494Sobrien
587138494Sobrien	* amd/*_ops.c: removed all references to mntent_t's fields
587238494Sobrien	mnt_freq and mnt_passno, since they are no longe rused (and never
587338494Sobrien	have been).
587438494Sobrien
587538494Sobrien	* amd/am_ops.c: removed function sunos4_match, which was off
587638494Sobrien	anyway.  This was one of the places where an '=' sign was allowed
587738494Sobrien	as an assignment operator (which is now ':=').
587838494Sobrien
587938494Sobrien	* amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
588038494Sobrien	was off anyway.  This was one of the places where an '=' sign was
588138494Sobrien	allowed as an assignment operator (which is now ':=').
588238494Sobrien
588338494SobrienTue Dec 24 01:53:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
588438494Sobrien
588538494Sobrien	* amq/amq.c: ported to am-utils.  Working.
588638494Sobrien
588738494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
588838494Sobrien	to be string, as it should be (rather than a string mapped to int
588938494Sobrien	and back mapped to string).
589038494Sobrien
589138494SobrienSun Dec 22 13:26:05 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
589238494Sobrien
589338494Sobrien	* lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
589438494Sobrien
589538494Sobrien	* lib/umount_fs.c: split this into three files: default, osf, and
589638494Sobrien	bsd44, that are in conf/umount/umount_*.c.
589738494Sobrien
589838494SobrienThu Dec 19 17:33:46 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
589938494Sobrien
590038494Sobrien	* aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
590138494Sobrien	macro to automatically figure out if an external definition for
590238494Sobrien	sys_errlist[] exists.
590338494Sobrien
590438494Sobrien	* lib/xutil.c (xfree): removed "#undef free" because it's not
590538494Sobrien	needed there.  Any system that redefines free() needs help.
590638494Sobrien
590738494Sobrien	* conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
590838494Sobrien	was dependent on REWRITE_MTAB_IN_PLACE.  It does not appear to be
590938494Sobrien	in active use anywhere.  If added later, it should be a run-time
591038494Sobrien	configuration option.
591138494Sobrien
591238494Sobrien	* conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
591338494Sobrien	be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
591438494Sobrien	in a file in /etc.
591538494Sobrien
591638494Sobrien	* lib/util.c (str3cat): removed _AIX code.  AIX should have a
591738494Sobrien	working realloc, or else find a cleaner solution to this.
591838494Sobrien	(mkdirs): removed SUNOS4_WORKAROUND code.  This was to do a sync()
591938494Sobrien	after immediately making directories so that fsck will be able to
592038494Sobrien	fix the filesystem in the event of an immediate crash.  This was
592138494Sobrien	because a bug in UFS which is fixed by now.
592238494Sobrien
592338494Sobrien	* lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
592438494Sobrien	code.  Does not appear to be on and used anywhere.
592538494Sobrien	(dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
592638494Sobrien
592738494Sobrien	* lib/resvport.c: split the binding of reserved ports code to a
592838494Sobrien	separate file.  A #define (HAVE_T_OPEN) separates the TLI (SVR4)
592938494Sobrien	from the BSD code.
593038494Sobrien
593138494SobrienThu Dec 19 02:08:35 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
593238494Sobrien
593338494Sobrien	* lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
593438494Sobrien	in by automake and configure, for optional sources that need to be
593538494Sobrien	built as part of libamu.a.
593638494Sobrien
593738494Sobrien	* aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
593838494Sobrien	to LIBOBJS.
593938494Sobrien
594038494Sobrien	* lib/memcmp.c (memcmp): new file added to replace a possible bad
594138494Sobrien	implementation of memcmp.
594238494Sobrien
594338494SobrienWed Dec 18 22:20:23 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
594438494Sobrien
594538494Sobrien	* converted the sources to use memset/memmove/memcmp instead of
594638494Sobrien	bzero/becopy/bcmp.
594738494Sobrien
594838494Sobrien	* ran all sources through gnu Indent w/ options specified in
594938494Sobrien	aux/amindent.
595038494Sobrien
595138494SobrienWed Dec 11 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
595238494Sobrien
595338494Sobrien	* At this point the initial genration of config.h via autoconf and
595438494Sobrien	some preliminary makefiles via automake is done.  I will not begin
595538494Sobrien	modifying sources, so it's a good time to document from here.
5956