ChangeLog revision 42629
142629Sobrien1999-01-01  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
242629Sobrien
342629Sobrien	*******************************************************************
442629Sobrien	*** Released am-utils-6.0					***
542629Sobrien	*******************************************************************
642629Sobrien
742629Sobrien1998-12-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
842629Sobrien
942629Sobrien	* conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7.
1042629Sobrien
1142629Sobrien1998-12-27  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1242629Sobrien
1342629Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on
1442629Sobrien	bsdi4 for NFS V3/nfs mounts.
1542629Sobrien
1642629Sobrien1998-12-26  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
1742629Sobrien
1842629Sobrien	* using latest libtool (1.2e + patches), now supporting shared
1942629Sobrien	libraries on many more systems.  Also using latest autoconf and
2042629Sobrien	automake (unreleased GNU CVS'd versions.)
2142629Sobrien
2242629Sobrien	* minor new ports: hppa2.0w-hp-hpux11.00,
2342629Sobrien	i386-unknown-netbsd1.3.3, mips-sgi-irix6.5.
2442629Sobrien
2542629Sobrien	* fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that
2642629Sobrien	have /usr/bin/flex but not libfl.
2742629Sobrien
2842629Sobrien1998-12-24  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
2942629Sobrien
3042629Sobrien	* lots of code cleanup, to make sure libamu.so does not use
3142629Sobrien	undefined symbols.  Some system's shared libraries cannot handle
3242629Sobrien	that.
3342629Sobrien
3442629Sobrien1998-12-23  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
3542629Sobrien
3642629Sobrien	* include/am_defs.h: only defined seteuid extern if function also
3742629Sobrien	exists and is not superceded by setresuid (hpux).
3842629Sobrien
3942629Sobrien	* amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit
4042629Sobrien	braces to avoid confusion with nested if-then-else clauses.
4142629Sobrien
4242629Sobrien	* aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs:
4342629Sobrien	updated from latest versions.
4442629Sobrien
4542629Sobrien1998-12-22  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
4642629Sobrien
4742629Sobrien	* minor new port: i386-pc-bsdi4.0
4842629Sobrien
4942629Sobrien	* conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header
5042629Sobrien	definitions for bsdi4.
5142629Sobrien
5242629Sobrien	* {amd,fsinfo}/Makefile.am: force path to .y/.l files, because
5342629Sobrien	some make programs (bsdi4) do not support VPATH correctly.
5442629Sobrien
5542629Sobrien1998-12-16  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
5642629Sobrien
5742629Sobrien	* conf/mount/mount_aix.c: minor code cleanup
5842629Sobrien
5942629Sobrien	* aux/configure.in: check for extern definition to xdr_groups.
6042629Sobrien
6142629Sobrien1998-12-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6242629Sobrien
6342629Sobrien	* minor new port: powerpc-ibm-aix4.3.1.0
6442629Sobrien
6542629Sobrien	* aux/macros/*.m4: updates for aix 4.3
6642629Sobrien
6742629Sobrien1998-12-14  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
6842629Sobrien
6942629Sobrien	* minor new port: i386-unknown-openbsd2.4
7042629Sobrien
7142629Sobrien	* aux/configure.in: don't check for xfs on openbsd because
7242629Sobrien	openbsd-2.4 introduces a new file system named xfs, but different
7342629Sobrien	than Irix's XFS.  Sigh.
7442629Sobrien
7542629Sobrien	* minor new port: i386-unknown-freebsd2.2.8
7642629Sobrien
7742629Sobrien1998-12-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
7842629Sobrien
7942629Sobrien	* amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host
8042629Sobrien	name match.  Bug fix from Douglas K. Rand" <rand@aero.und.edu>.
8142629Sobrien
8242629Sobrien1998-11-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
8342629Sobrien
8442629Sobrien	* scripts/ctl-amd.in: wait4amd2die runs in the stop action, to
8542629Sobrien	avoid race conditions when shutting down systems running amd.
8642629Sobrien
8742629Sobrien	* Makefile.am: add a dist-hook to change modes of the directories
8842629Sobrien	in the tar file so they are not world writable.
8942629Sobrien
9042629Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support,
9142629Sobrien	since it is now finally defined in the header files and
9242629Sobrien	(hopefully) stable.
9342629Sobrien
9442629Sobrien	* amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option
9542629Sobrien	is specified in mount options.  freebsd patches from David
9642629Sobrien	O'Brien.
9742629Sobrien
9842629Sobrien	* amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c
9942629Sobrien	(main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main),
10042629Sobrien	amd/get_args.c (get_args): posix: use -1 to check for return from
10142629Sobrien	getopt() (not EOF), as per posix.
10242629Sobrien
10342629Sobrien	* amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David
10442629Sobrien	O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree.  Use
10542629Sobrien	real variable whose pointer is on the stack for decoding a long
10642629Sobrien	int.
10742629Sobrien
10842629Sobrien1998-11-11  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
10942629Sobrien
11042629Sobrien	* scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's
11142629Sobrien	chkconfig utility.
11242629Sobrien
11342629Sobrien1998-11-10  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
11442629Sobrien
11542629Sobrien	* released snapshot am-utils-6.0b2s3
11642629Sobrien
11742629Sobrien	* conf/transp/transp_sockets.c (create_nfs_service): remove C++
11842629Sobrien	style comments.
11942629Sobrien
12042629Sobrien1998-11-04  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
12142629Sobrien
12242629Sobrien	* released snapshot am-utils-6.0b2s2
12342629Sobrien
12442629Sobrien	* created CVS package
12542629Sobrien
12642629Sobrien	* amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race
12742629Sobrien	condition between unmounting and re-mounting an entry, by
12842629Sobrien	increasing the ttl of a looked up entry before unmounting it.
12942629Sobrien	Patch from Mike Mitchell <mcm@unx.sas.com>.
13042629Sobrien
13142629Sobrien	* All files: spell comments and strings.
13242629Sobrien
13342629Sobrien1998-11-03  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
13442629Sobrien
13542629Sobrien	* aux/configure.in: look for yp_all in libnsl only if yp_all not
13642629Sobrien	already found elsewhere (in libc or other default libraries).
13742629Sobrien	This is so RedHat 5.1 systems could find yp functions in libnsl,
13842629Sobrien	but also so AIX 4.2.1 will NOT include libnsl, because the latter
13942629Sobrien	has broken nis functionality that also exists and works ok in libc.
14042629Sobrien
14142629Sobrien1998-10-29  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
14242629Sobrien
14342629Sobrien	* amd/amd.c (main): bug fix: swapped arguments to kill(2).  Fix
14442629Sobrien	from Danny Rathjens <dkr@cs.fiu.edu>.
14542629Sobrien
14642629Sobrien1998-10-28  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
14742629Sobrien
14842629Sobrien	* released snapshot am-utils-6.0b2s1
14942629Sobrien
15042629Sobrien1998-10-27  Erez Zadok  <ezk@spruce.mcl.cs.columbia.edu>
15142629Sobrien
15242629Sobrien	* aux/macros/*.m4: support bsdi4 as bsdi3.
15342629Sobrien
15442629Sobrien	* aux/macros/os_ldflags.m4: enable detection of LDAP on solaris
15542629Sobrien	2.7 (libraries located in /usr/lib/fn).  This is off until Sun
15642629Sobrien	includes LDAP header information.
15742629Sobrien
15841142Sobrien1998-10-20  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
15941142Sobrien
16041142Sobrien	*******************************************************************
16141142Sobrien	*** Released am-utils-6.0b1					***
16241142Sobrien	*******************************************************************
16341142Sobrien
16441142Sobrien1998-10-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
16541142Sobrien
16641142Sobrien	* mk-amd-map/mk-amd-map.c (main): use perror not strerror.
16741142Sobrien	(main): set return type to int if no ndbm maps.
16841142Sobrien
16941142Sobrien	* include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1
17041142Sobrien	kernels.
17141142Sobrien
17241142Sobrien1998-10-18  Erez Zadok  <ezk@london.mcl.cs.columbia.edu>
17341142Sobrien
17441142Sobrien	* A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup
17541142Sobrien	for netbsd 1.3.2.
17641142Sobrien
17741142Sobrien1998-10-17  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
17841142Sobrien
17941142Sobrien	* aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1
18041142Sobrien	systems put NIS functions there.
18141142Sobrien
18241142Sobrien	* mk-amd-map/mk-amd-map.c: patch from "David O'Brien"
18341142Sobrien	<obrien@NUXI.com> merged in.  Use POSIX -1 return code from
18441142Sobrien	getopt(), not EOF.  Use .db extentions for systems that use it,
18541142Sobrien	instead of .{pag,dir}.
18641142Sobrien
18741142Sobrien1998-10-15  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
18841142Sobrien
18941142Sobrien	* wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c,
19041142Sobrien	amd/amd.c (main): avoid overrunning hostname buffer.  Bug fix from
19141142Sobrien	"David O'Brien" <obrien@NUXI.com>.
19241142Sobrien
19341142Sobrien	* scripts/amd.conf.5: minor typo reported by "David O'Brien"
19441142Sobrien	<obrien@NUXI.com> in .TH section of man page.
19541142Sobrien
19641142Sobrien	* amd/info_nis.c (am_yp_all): don't leak key-val entries.  Patch
19741142Sobrien	from Thomas Richter <richter@chemie.fu-berlin.de>.
19841142Sobrien
19941142Sobrien1998-10-12  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
20041142Sobrien
20141142Sobrien	* doc/am-utils.texi (Program Filesystem): minor typo fixed as per
20241142Sobrien	Andreas Stolcke <stolcke@speech.sri.com>.
20341142Sobrien
20441142Sobrien	* minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7,
20541142Sobrien	and sparc-sun-solaris2.7.
20641142Sobrien
20741142Sobrien	* conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now
20841142Sobrien	a 4.4lite kernel, and somethings were removed, such as
20941142Sobrien	INITMOUNTNAMES.
21041142Sobrien
21141142Sobrien	* amd/ops_autofs.c (autofs_lookuppn): don't leak memory while
21241142Sobrien	processing /defaults.  Free temporary opts.  Patch from
21341142Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley)
21441142Sobrien
21541142Sobrien	* amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while
21641142Sobrien	processing /defaults.  Free temporary opts.  Patch from
21741142Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley)
21841142Sobrien
21941142Sobrien	* conf/mtab/mtab_osf.c (read_mtab): patch from
22041142Sobrien	 dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access
22141142Sobrien	 uninitialized memory on Digital Unix.
22241142Sobrien
22341142Sobrien1998-10-09  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
22441142Sobrien
22541142Sobrien	* aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most
22641142Sobrien	systems now use "char *" as their mount type.
22741142Sobrien
22841142Sobrien1998-10-08  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
22941142Sobrien
23041142Sobrien	* amd/conf.c (gopt_map_type, ropt_map_type): check if map type
23141142Sobrien	exists.
23241142Sobrien
23341142Sobrien	* amd/mapc.c (mapc_type_exists): function to test if a map of
23441142Sobrien	certain type exists.
23541142Sobrien
23641142Sobrien1998-10-08  Erez Zadok  <ezk@horatio.mcl.cs.columbia.edu>
23741142Sobrien
23841142Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
23941142Sobrien	include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl
24041142Sobrien	in RH-5.1 sparc64 between <netinet/in.h> and
24141142Sobrien	<linux/byteorder/generic.h> (2.1 kernels).
24241142Sobrien
24341142Sobrien1998-09-28  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
24441142Sobrien
24541142Sobrien	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat
24641142Sobrien	5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket
24741142Sobrien	from yp_all().
24841142Sobrien
24941142Sobrien1998-09-25  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
25041142Sobrien
25141142Sobrien	* conf/mount/mount_linux.c (parse_opts): check for pcfs support
25241142Sobrien	only if autoconfigured.
25341142Sobrien
25441142Sobrien1998-09-18  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
25541142Sobrien
25641142Sobrien	* Makefile.am (EXTRA_DIST): distribute README.yk2 file.
25741142Sobrien
25841142Sobrien	* README.y2k: explain y2k compliance status of am-utils.
25941142Sobrien
26041142Sobrien1998-09-16  Erez Zadok  <ezk@iguana.mcl.cs.columbia.edu>
26141142Sobrien
26241142Sobrien	* amd/amfs_host.c (fetch_fhandle, amfs_host_fmount,
26341142Sobrien	amfs_host_umounted): clnt_sperrno() may return a const.
26441142Sobrien
26541142SobrienSat Aug  8 23:28:32 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
26641142Sobrien
26741142Sobrien	* aux/configure.in: check for <nfs/nfsmount.h>, as per Christos
26841142Sobrien	Zoulas. Turned on checking for mount options: async, synchronous,
26941142Sobrien	deadthresh, leasterm, nqnfs, and readahead.
27041142Sobrien
27141142Sobrien	* amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas)
27241142Sobrien	to include prototype definition for nis_isup().
27341142Sobrien
27441142SobrienSun Jul 19 18:50:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
27541142Sobrien
27641142Sobrien	* hlfsd/stubs.c (getcreds): force sscanf arg to u_long.
27741142Sobrien
27841142SobrienTue Jul 14 20:34:25 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
27941142Sobrien
28041142Sobrien	* released snapshot am-utils-6.0a17s1
28141142Sobrien
28241142SobrienWed Jul  8 21:49:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
28341142Sobrien
28441142Sobrien	* aux/macros/host_macros.m4: all x86 hosts should have $arch be
28541142Sobrien	i386, not i[456]86.
28641142Sobrien
28741142SobrienTue Jul  7 18:55:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
28841142Sobrien
28941142Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
29041142Sobrien	include/am_defs.h: include <linux/posix_types.h> before
29141142Sobrien	<linux/fs.h> because on redhat 5.1, there is a bug (misuse) of
29241142Sobrien	headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of
29341142Sobrien	__KERNEL_STRICT_NAMES).
29441142Sobrien
29541142Sobrien	* aux/configure.in: check for <linux/posix_types.h> because it is
29641142Sobrien	need for RedHat 5.1.
29741142Sobrien
29841142SobrienWed Jun 17 00:05:33 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
29941142Sobrien
30041142Sobrien	* scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from
30141142Sobrien	.in as well, so it doesn't get removed by make clean.
30241142Sobrien
30341142SobrienTue Jun 16 22:00:15 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
30441142Sobrien
30541142Sobrien	* aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
30641142Sobrien	check_mount_type.m4}: redhat 5.1 puts some modules in
30741142Sobrien	/lib/modules/preferred/.
30841142Sobrien
30941142SobrienWed May 13 16:33:57 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
31041142Sobrien
31141142Sobrien	* amd/ops_autofs.c (mount_autofs): cast pid to long.
31241142Sobrien
31338494SobrienThu Apr 23 00:22:17 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
31438494Sobrien
31538494Sobrien	*******************************************************************
31638494Sobrien	*** Released am-utils-6.0a16					***
31738494Sobrien	*******************************************************************
31838494Sobrien
31938494SobrienWed Apr 22 01:20:39 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
32038494Sobrien
32138494Sobrien	* aux/macros/check_mount_style.m4: define freebsd3 mount style.
32238494Sobrien
32338494Sobrien	* aux/macros/check_mount_trap.m4: new mount trap for freebsd3.
32438494Sobrien
32538494Sobrien	* aux/macros/check_mtype_printf_type.m4,
32638494Sobrien	aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as
32738494Sobrien	of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not
32838494Sobrien	integers, but I'll keep them as integers and do the mapping in
32938494Sobrien	conf/mount/mount_freebsd3.c
33038494Sobrien
33138494Sobrien	* minor new port to i386-pc-bsdi3.1.
33238494Sobrien
33338494Sobrien	* minor new port to i386-unknown-netbsd1.3.1.
33438494Sobrien
33538494Sobrien	* amd/opts.c: new option addopts:=ARG, which smartly merges ARG
33638494Sobrien	options with whatever the /default ones for a key are.  This
33738494Sobrien	allows adding or overriding /default options individual keys.
33838494Sobrien
33938494Sobrien	* amd/am_ops.c (ops_match): strdup/malloc string assigned to
34038494Sobrien	opt_opts because it'll get free()'d upon next use.
34138494Sobrien	(merge_opts): new function to merge two sets of options.
34238494Sobrien	(ops_match): if addopts option exist, append and merge it to the
34338494Sobrien	current default options.
34438494Sobrien
34538494SobrienTue Apr 21 12:54:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
34638494Sobrien
34738494Sobrien	* wire-test/wire-test.c (main): use dynamically allocated returned
34838494Sobrien	string with list of interfaces.
34938494Sobrien
35038494Sobrien	* amd/get_args.c (get_version_string): allocate enough space for
35138494Sobrien	header version string and a list of network interfaces of any
35238494Sobrien	length.
35338494Sobrien
35438494Sobrien	* libamu/wire.c (print_wires): return dynamically allocated string
35538494Sobrien	containing list of networks.  Must be dynamic because some sites
35638494Sobrien	had potentially dozens of network interfaces.  Patch from Matthew
35738494Sobrien	Crosby <mcrosby@ms.com> slightly modified.
35838494Sobrien
35938494SobrienMon Apr 20 00:37:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
36038494Sobrien
36138494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because
36238494Sobrien	irix 5.3 does not have full header definitions for it.
36338494Sobrien
36438494Sobrien	* fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and
36538494Sobrien	undefined it when not needed (similar to amd/conf_tok.l)
36638494Sobrien
36738494Sobrien	* hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size
36838494Sobrien	of these to unsigned short (because uid_t on some linux systems is
36938494Sobrien	small).
37038494Sobrien
37138494Sobrien	* released snapshot am-utils-6.0a16s10
37238494Sobrien
37338494Sobrien	* doc/am-utils.texi (opts Option): documented resvport mount
37438494Sobrien	option.
37538494Sobrien
37638494SobrienSun Apr 19 18:17:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
37738494Sobrien
37838494Sobrien	* doc/am-utils.texi (-D-Option): document behavior of -D info and
37938494Sobrien	especially what it does to hesiod (turn on RES_DEBUG).
38038494Sobrien
38138494Sobrien	* scripts/amd.conf.5: document info debugging option.
38238494Sobrien
38338494Sobrien	* libamu/xutil.c (dbg_opt): parse info debugging option.
38438494Sobrien
38538494Sobrien	* include/am_utils.h (D_INFO): define new trace option.
38638494Sobrien
38738494Sobrien	* Makefile.am (EXTRA_DIST): include list of official mirrors in
38838494Sobrien	distribution.
38938494Sobrien
39038494Sobrien	* libamu/wire.c (SIZE): in the simple case, just compute
39138494Sobrien	sizeof(struct ifreq).
39238494Sobrien
39338494SobrienSun Apr 19 16:30:35 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
39438494Sobrien
39538494Sobrien	* amd/amd.c (daemon_mode): set a temporary secure umask(0022)
39638494Sobrien	before writing log file and restore it afterwards.  Patch from
39738494Sobrien	Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
39838494Sobrien
39938494Sobrien	* amd/get_args.c (get_args): 
40038494Sobrien
40138494Sobrien	* doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf
40238494Sobrien	file specified by -F is always processed last.
40338494Sobrien
40438494Sobrien	* amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd
40538494Sobrien	won't be reused.  Allows startup script to redirect stdout.  Patch
40638494Sobrien	from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
40738494Sobrien
40838494Sobrien	* libamu/xutil.c (switch_to_logfile): compare logfile name and
40938494Sobrien	syslog string with correct length.  Patch from Donald Buczek
41038494Sobrien	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
41138494Sobrien
41238494Sobrien	* amd/restart.c (restart): correctly inherit existing NFS V.3
41338494Sobrien	mounts upon restart.  Patch from Donald Buczek
41438494Sobrien	<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
41538494Sobrien
41638494SobrienSat Apr 18 19:01:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
41738494Sobrien
41838494Sobrien	* using libtool 1.2 and automake 1.3 (with my patches).
41938494Sobrien
42038494Sobrien	* aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to
42138494Sobrien	AMU_CFLAGS to avoid conflicts with automake-1.3.
42238494Sobrien
42338494SobrienSun Apr  5 23:09:08 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
42438494Sobrien
42538494Sobrien	* converted to using libtool-1.2.
42638494Sobrien
42738494SobrienTue Mar 10 16:52:09 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
42838494Sobrien
42938494Sobrien	* fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly
43038494Sobrien	for loop (ITER) which used to run only to initialize the variable
43138494Sobrien	dd once and then break; with a simple assignment.
43238494Sobrien
43338494Sobrien	* hlfsd/hlfsd.h: cleanup so it compiles with Solaris
43438494Sobrien	/opt/SUNWspro/bin/cc, and use gid_t not int.
43538494Sobrien
43638494Sobrien	* amd/mapc.c (mapc_sync): don't dereference pointer (so it
43738494Sobrien	compiles with Solaris /opt/SUNWspro/bin/cc)
43838494Sobrien
43938494SobrienSun Mar  8 15:54:22 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
44038494Sobrien
44138494Sobrien	* aux/config.{guess,sub}: used from gcc-2.8.1.
44238494Sobrien
44338494SobrienSat Mar  7 15:33:27 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
44438494Sobrien
44538494Sobrien	* released snapshot am-utils-6.0a16s9
44638494Sobrien
44738494Sobrien	* INSTALL, doc/am-utils.texi (Supported Platforms): updated names
44838494Sobrien	based on new output of new config.guess.
44938494Sobrien
45038494Sobrien	* aux/config.{sub,guess}: used newer versions from gcc-2.8.0.
45138494Sobrien
45238494Sobrien	* amd/amd.8,doc/am-utils.texi: document correct usage of default
45338494Sobrien	/etc/amd.conf file.
45438494Sobrien
45538494Sobrien	* fixmount/fixmount.c (inetresport,privsock): use some more
45638494Sobrien	portable code from amq/amq.c.
45738494Sobrien
45838494Sobrien	* amd/get_args.c (get_args): use default /etc/amd.conf file only
45938494Sobrien	if no arguments had been passed to amd.
46038494Sobrien
46138494Sobrien	* fixmount/fixmount.c (clnt_create_timeout): use tli/socket code
46238494Sobrien	ala amq/amq.c so that fixmount will work on both types of systems.
46338494Sobrien
46438494Sobrien	* amq/amq.c (main): do no close tcp socket before running udp try,
46538494Sobrien	because we're not sure if it was opened at all.
46638494Sobrien
46738494Sobrien	* mips-dec-ultrix* port merged in and cleaned up.
46838494Sobrien
46938494Sobrien	* aux/configure.in: up minor shared library revision number, since
47038494Sobrien	it has changed enough.
47138494Sobrien
47238494Sobrien	* hlfsd/hlfsd.c (main): don't check for overlay mount option here,
47338494Sobrien	as it is now done in compute_nfs_args().  Remove ultrix specific
47438494Sobrien	code also because it was moved to compute_nfs_args().
47538494Sobrien
47638494Sobrien	* conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that
47738494Sobrien	we have more generic code in print_nfs_args().
47838494Sobrien
47938494Sobrien	* libamu/mount_fs.c (print_nfs_args): print maxlen of
48038494Sobrien	nfs_args.addr, and also syncaddr (which is mostly NULL).  Print
48138494Sobrien	struct knetconfig from nfs_args->knconf.
48238494Sobrien
48338494Sobrien	* aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs
48438494Sobrien	headers here, but in try_compile_anyfs.m4.
48538494Sobrien
48638494Sobrien	* aux/macros/type_ufs_args.m4: move test for struct ufs_specific
48738494Sobrien	(for ultrix) here from its own macro.
48838494Sobrien
48938494Sobrien	* aux/macros/type_cdfs_args.m4: move test for struct iso_specific
49038494Sobrien	(for ultrix) here from its own macro.
49138494Sobrien
49238494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking
49338494Sobrien	for overlay mount option.  Remove code which checks for overlay
49438494Sobrien	option, as it is now done in compute_nfs_args().
49538494Sobrien
49638494Sobrien	* libamu/mount_fs.c (compute_mount_flags): move here code which
49738494Sobrien	checks for overlay mount option which was in amd/amfs_toplvl.c:
49838494Sobrien	mount_amfs_toplvl().
49938494Sobrien
50038494SobrienWed Feb  7 15:35:51 1998  Rainer Orth  <ro@xayide.TechFak.Uni-Bielefeld.DE>
50138494Sobrien
50238494Sobrien	* The following are Rainer's ChangeLog entries for his ultrix
50338494Sobrien	port, added manually. -Erez.
50438494Sobrien
50538494Sobrien	* merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
50638494Sobrien	(mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
50738494Sobrien
50838494Sobrien	* include/am_defs.h: include cdfs specific mount headers avoid
50938494Sobrien	duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix)
51038494Sobrien
51138494Sobrien	* include/am_compat.h: define several mount options corresponding
51238494Sobrien	to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
51338494Sobrien	noversion, rrip (cdfs), nocache, quota, sync (generic) removed
51438494Sobrien	duplicate MNTTAB_OPT_RO definition
51538494Sobrien
51638494Sobrien	* aux/macros/try_compile_anyfs.m4: include Ultrix specific
51738494Sobrien	ufs/cdfs mount headers
51838494Sobrien
51938494Sobrien	* aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX
52038494Sobrien	specific mount headers
52138494Sobrien
52238494Sobrien	* aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_*
52338494Sobrien	mount types in mount headers (Ultrix)
52438494Sobrien
52538494Sobrien	* aux/configure.in: Ultrix/Digital UNIX specific checks: new
52638494Sobrien	headers, mount structures and fields, filesystem and mount types,
52738494Sobrien	mount flags
52838494Sobrien
52938494Sobrien	* aux/acconfig.h: placeholders for new mount options: quota
53038494Sobrien	(generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs)
53138494Sobrien	cdfs, nfs, ufs mount structure fields new ufs, cdfs mount
53238494Sobrien	structures
53338494Sobrien
53438494Sobrien	* amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in
53538494Sobrien	ufs_args.ufs_flags and has ufs specific pgthresh option
53638494Sobrien
53738494Sobrien	* amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific
53838494Sobrien	CDFS mount flags and options
53938494Sobrien
54038494Sobrien	* amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh),
54138494Sobrien	hlfsd/hlfsd.c (main): store generic mount flags in
54238494Sobrien	nfs_args.gfs_flags, handle separate NFS ro flag
54338494Sobrien
54438494Sobrien	* aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific,
54538494Sobrien	struct_ufs_specific}.m4: new files; check for Ultrix specific
54638494Sobrien	mount structures
54738494Sobrien
54838494Sobrien	* conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
54938494Sobrien
55038494Sobrien	* aux/macros/type_auth_create_gidlist.m4 (ultrix*):
55138494Sobrien	AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
55238494Sobrien	comment in <rpc/auth.h>
55338494Sobrien
55438494Sobrien	* include/am_defs.h: #define KERNEL to avoid definition of
55538494Sobrien	gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before
55638494Sobrien	<config.h> to force single definition here
55738494Sobrien
55838494Sobrien	* libamu/mount_fs.c (compute_nfs_args): Ultrix support for
55938494Sobrien	nfs_args.gfs_flags moved to callers store mount options in
56038494Sobrien	nap->optstr
56138494Sobrien
56238494Sobrien	* include/am_defs.h: fix _am_mntent mnt_{type, opts} field
56338494Sobrien	descriptions
56438494Sobrien
56538494Sobrien	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
56638494Sobrien	include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
56738494Sobrien	definition in prototypes
56838494Sobrien
56938494Sobrien	* aux/macros/mount_headers.m4: include <sys/errno.h> before
57038494Sobrien	AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
57138494Sobrien	definitions
57238494Sobrien
57338494Sobrien	* aux/aclocal: adapt for local perl path and $prefix
57438494Sobrien
57538494Sobrien	* conf/nfs_prot/nfs_prot_ultrix.h: new file
57638494Sobrien
57738494Sobrien 	* aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
57838494Sobrien
57938494Sobrien	* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
58038494Sobrien	aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
58138494Sobrien	inclusion of <rpc/xdr.h>
58238494Sobrien
58338494SobrienSat Mar  7 13:56:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
58438494Sobrien
58538494Sobrien	* aux/configure.in: save state of config.cache and confdefs.h
58638494Sobrien	(as dbgcf.h) at various points of the configure.
58738494Sobrien
58838494Sobrien	* aux/macros/save_state.m4: new macro to save state of configure,
58938494Sobrien	esp. useful in long ones.  Saves confdefs.h and write $ac_cv_*
59038494Sobrien	cache variables that are known so far.
59138494Sobrien
59238494Sobrien	* released snapshot am-utils-6.0a16s8
59338494Sobrien
59438494Sobrien1998-03-06  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
59538494Sobrien
59638494Sobrien	* fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining
59738494Sobrien	it, but only for flex.
59838494Sobrien
59938494SobrienFri Mar  6 17:23:17 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
60038494Sobrien
60138494Sobrien	* hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file
60238494Sobrien	to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible)
60338494Sobrien	to write the dump file.
60438494Sobrien
60538494Sobrien	* doc/am-utils.texi,amd/opts.c: rename all references to nomadic
60638494Sobrien	functions to boolean functions, which is what they really are.
60738494Sobrien
60838494Sobrien	* aux/configure.in: don't look for strcasecmp in libucb at all,
60938494Sobrien	but rather complete it from libamu/strcasecmp.c as needed.
61038494Sobrien
61138494SobrienFri Mar  6 03:29:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
61238494Sobrien
61338494Sobrien	* conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS.
61438494Sobrien
61538494Sobrien	* libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X
61638494Sobrien	which defines IFF_ROUTE instead of IFF_LOOPBACK.  Patch from Tom
61738494Sobrien	Schmidt <tschmidt@micron.com>.
61838494Sobrien
61938494Sobrien	* released snapshot am-utils-6.0a16s7
62038494Sobrien
62138494Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to
62238494Sobrien	hppa1.0-hp-hpux11.00.tgz.
62338494Sobrien
62438494SobrienThu Mar  5 21:59:03 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
62538494Sobrien
62638494Sobrien	* converted all sources to use mntent field names, and map mnttab
62738494Sobrien	field names to mntent's.
62838494Sobrien
62938494Sobrien	* include/am_defs.h (mnt_special): map struct mnttab field names
63038494Sobrien	to struct mntent field names.
63138494Sobrien
63238494Sobrien	* aux/macros/check_mount_trap.m4: hpux11's mount trap style is
63338494Sobrien	identical to svr4/solaris2.
63438494Sobrien
63538494Sobrien	* aux/macros/check_mount_style.m4: hpux11's mount style is
63638494Sobrien	identical to svr4/solaris2.
63738494Sobrien
63838494Sobrien	* aux/macros/check_network_transport_type.m4: hpux11 is a TLI
63938494Sobrien	system!
64038494Sobrien
64138494Sobrien	* aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address
64238494Sobrien	dereferencing style is same as svr4.
64338494Sobrien
64438494Sobrien	* aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh
64538494Sobrien	dereferencing style is same as svr4.
64638494Sobrien
64738494Sobrien	* conf/transp/transp_tli.c (create_nfs_service): if failed to
64838494Sobrien	getnetconfigent() of ticlts, then try udp (hpux11).
64938494Sobrien
65038494Sobrien	* conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for
65138494Sobrien	struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris
65238494Sobrien	2.5.1 (HP used them).
65338494Sobrien
65438494Sobrien	* amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open()
65538494Sobrien	because hpux11 doesn't like it. if t_open failed, print error
65638494Sobrien	based on t_errlist, not sys_errlist.
65738494Sobrien
65838494SobrienWed Mar  4 22:01:55 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
65938494Sobrien
66038494Sobrien	* doc/am-utils.texi: lots of documentation fixes from Rainer Orth
66138494Sobrien	<ro@TechFak.Uni-Bielefeld.DE>.
66238494Sobrien
66338494SobrienSat Feb 28 22:16:35 1998  Erez Zadok  <ezk@kosh.cs.columbia.edu>
66438494Sobrien
66538494Sobrien	* fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used
66638494Sobrien	later.
66738494Sobrien
66838494Sobrien	* include/am_defs.h: defined the extern for ualarm() if it isn't
66938494Sobrien	found, regardless if the function isn't found in standard
67038494Sobrien	libraries, because otherwise libamu will include it.
67138494Sobrien
67238494Sobrien1998-02-28  Erez Zadok (per Ron Snyder)  <ezk@short.cvo.roguewave.com>
67338494Sobrien
67438494Sobrien	* initial port to hpux-11 completed.  Compiles cleanly, but
67538494Sobrien	probably does not work, because of missing NFS V.2/3 headers.
67638494Sobrien
67738494Sobrien	* amd/conf_tok.l: cast yytext to char* when passed to strlen and
67838494Sobrien	strdup, for hpux-11's ansi-cc compiler.
67938494Sobrien
68038494Sobrien	* include/am_utils.h: renamed all xfree() to XFREE() to avoid
68138494Sobrien	conflict with hpux-11's system headers.  Also move (voidp) cast
68238494Sobrien	from sources to inside the macro itself.
68338494Sobrien
68438494SobrienSat Feb 28 13:44:21 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
68538494Sobrien
68638494Sobrien	* released snapshot am-utils-6.0a16s6
68738494Sobrien
68838494Sobrien	* amd/info_nis.c (nis_isup): new function to test if NIS is up
68938494Sobrien	without hanging amd.  Used to ensure that amd does not clear the
69038494Sobrien	maps when the expiration period arrived, if the service is down.
69138494Sobrien	Otherwise it would be left with empty maps.  It is better to stay
69238494Sobrien	with possibly old information than none at all.
69338494Sobrien
69438494Sobrien	* amd/mapc.c (mapc_sync): check to see if map service is up.
69538494Sobrien
69638494SobrienTue Feb 24 02:19:42 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
69738494Sobrien
69838494Sobrien	* aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it
69938494Sobrien	includes auxiliary library only if needed.
70038494Sobrien
70138494Sobrien1998-02-22  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
70238494Sobrien
70338494Sobrien	* amd/conf_tok.l: undefine ECHO again, so it doesn't get used
70438494Sobrien	later.
70538494Sobrien
70638494SobrienSun Feb 22 01:41:08 1998  Erez Zadok  <ezk@zen.cs.columbia.edu>
70738494Sobrien
70838494Sobrien	* conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1
70938494Sobrien	completed.
71038494Sobrien
71138494Sobrien	* conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3.
71238494Sobrien
71338494SobrienSat Feb 21 19:45:48 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
71438494Sobrien
71538494Sobrien	* doc/am-utils.texi (Network Host Filesystem): correct example for
71638494Sobrien	type:=host map.
71738494Sobrien
71838494Sobrien	* aux/macros/os_cflags.m4: only osf4 should compile with
71938494Sobrien	-D_SOCKADDR_LEN.
72038494Sobrien
72138494Sobrien	* aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2
72238494Sobrien	and OSF4.
72338494Sobrien
72438494Sobrien	* BUGS: include a new file listing known bugs.
72538494Sobrien
72638494SobrienSat Feb 21 03:50:48 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
72738494Sobrien
72838494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux
72938494Sobrien	versions.
73038494Sobrien
73138494Sobrien	* aux/macros/type_recvfrom_fromlen.m4: linux alpha should use
73238494Sobrien	size_t for recvfrom fromlen arg.
73338494Sobrien
73438494SobrienSat Feb 21 03:33:59 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
73538494Sobrien
73638494Sobrien	* scripts/ctl-hlfsd.in: turn -D fork so primary process never
73738494Sobrien	hangs.
73838494Sobrien
73938494SobrienSat Feb 21 02:45:51 1998  Erez Zadok  <ezk@mercer.psl.cs.columbia.edu>
74038494Sobrien
74138494Sobrien	* include/am_defs.h: don't include <sys/stat.h> and
74238494Sobrien	<linux/stat.h>, just remaining definitions in <statbuf.h>
74338494Sobrien
74438494SobrienThu Jan 29 00:44:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
74538494Sobrien
74638494Sobrien	* released snapshot am-utils-6.0a16s5
74738494Sobrien
74838494Sobrien	* conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to
74938494Sobrien	mount(2).
75038494Sobrien
75138494Sobrien	* check for <sys/fs/xfs_clnt.h> and include it when needed.
75238494Sobrien
75338494Sobrien	* conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize
75438494Sobrien	efs and xfs separately from "ufs".
75538494Sobrien
75638494Sobrien	* amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs.
75738494Sobrien
75838494Sobrien	* aux/configure.in: look for irix efs and xfs file systems.
75938494Sobrien
76038494Sobrien	* scripts/amd.conf.5: new unmount_on_exit option documented.
76138494Sobrien
76238494Sobrien	* doc/am-utils.texi (unmount_on_exit): new option documented.
76338494Sobrien
76438494Sobrien	* amd/conf.c (gopt_unmount_on_exit): new function to handle new
76538494Sobrien	amd.conf option.
76638494Sobrien
76738494Sobrien	* amd/map.c (umount_exported): if global amd.conf flag
76838494Sobrien	unmount_on_exit is on, then try to unmount all mounted (or
76938494Sobrien	restartable) file systems.
77038494Sobrien
77138494Sobrien	* amd/amd.c: if print_pid option is on, then normally print it to
77238494Sobrien	stdout.  If also pid_file is specified, then print the process ID
77338494Sobrien	into that file.
77438494Sobrien
77538494Sobrien	* amd/get_args.c (get_args): print correct -l option depending if
77638494Sobrien	system supports syslog and/or syslog facilities.  Patch from 
77738494Sobrien	Tom Schmidt <tschmidt@micron.com>.
77838494Sobrien
77938494Sobrien	* doc/am-utils.texi (opts Option): updates for documentation for
78038494Sobrien	new cdfs options defperm, nodefperm, noversion, rrip.
78138494Sobrien
78238494Sobrien	* amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm,
78338494Sobrien	nodefperm, noversion, rrip.
78438494Sobrien
78538494Sobrien	* conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h>
78638494Sobrien	on osf.
78738494Sobrien
78838494Sobrien	* aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4,
78938494Sobrien	expand_cpp_string.m4}: use #error to make failed compilations
79038494Sobrien	fail faster, rather than have the program fail during a run.
79138494Sobrien
79238494Sobrien	* include/am_compat.h: added a few new cdfs options: rrip,
79338494Sobrien	noversion, defperm, and nodefperm (used in OSF).
79438494Sobrien
79538494SobrienWed Jan 28 20:24:09 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
79638494Sobrien
79738494Sobrien	* released snapshot am-utils-6.0a16s4
79838494Sobrien
79938494Sobrien	* doc/am-utils.texi (Global Parameters): update manual for new
80038494Sobrien	amd.conf global variable hesiod_base.
80138494Sobrien
80238494Sobrien	* scripts/amd.conf.5: update man page for new amd.conf global
80338494Sobrien	variable hesiod_base.
80438494Sobrien
80538494Sobrien	* amd/get_args.c (get_args): use /etc/amd.conf file if exists by
80638494Sobrien	default, else try command line options.  Patch from Randall
80738494Sobrien	S. Winchester <rsw@Glue.umd.edu>.
80838494Sobrien
80938494SobrienWed Jan 28 12:20:56 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
81038494Sobrien
81138494Sobrien	* amd/info_hesiod.c (hesiod_search), amd/conf.c
81238494Sobrien	(gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options):
81338494Sobrien	included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to
81438494Sobrien	support a hesiod base name in the amd.conf file.
81538494Sobrien
81638494Sobrien	* doc/am-utils.texi (pid_file Parameter): document new global
81738494Sobrien	amd.conf parameter.
81838494Sobrien
81938494Sobrien	* scripts/amd.conf.5: document new global option pid_file.
82038494Sobrien
82138494Sobrien	* amd/amd.c (daemon_mode): if cannot open pid_file, continue to
82238494Sobrien	run, but print error message.
82338494Sobrien
82438494Sobrien	* amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode,
82538494Sobrien	init_global_options): Included patch from Randall S. Winchester
82638494Sobrien	<rsw@Glue.umd.edu>, to support pid files in the amd.conf file.
82738494Sobrien
82838494Sobrien	* amd/get_args.c (get_args): correct usage info on amd -t.
82938494Sobrien
83038494Sobrien	* amd/*.c: massive file name and symbol name changes.  All amd
83138494Sobrien	file systems files and symbols are prefix with amfs_*.  Now using
83238494Sobrien	real name of file system: amfs_auto instead of afs, amfs_inherit
83338494Sobrien	instead of ifs, amfs_linkx instead of sfsx, etc.  This will enable
83438494Sobrien	clear distinction between amd file system and generic ones like
83538494Sobrien	nfs/ufs/pcfs/hsfs.  Also, now we can implement true afs (Andrew
83638494Sobrien	f/s) and DFS (Distributed f/s).
83738494Sobrien
83838494Sobrien	* amd/amfs_union.c: unionfs for amd is always defined, no need to
83938494Sobrien	#ifdef it.
84038494Sobrien
84138494SobrienMon Jan 26 16:51:38 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
84238494Sobrien
84338494Sobrien	* libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on
84438494Sobrien	or off, based on the particular quirks of the OS in question.
84538494Sobrien
84638494Sobrien	* aux/macros/check_nfs_socket_connection.m4: new macro to set the
84738494Sobrien	correct wait of handling un/connected NFS sockets.
84838494Sobrien
84938494Sobrien	* scripts/wait4amd.in: use rlogin instead of rsh.
85038494Sobrien
85138494Sobrien	* amd/am_ops.c (ops_showfstypes): when showing F/S types in amd
85238494Sobrien	-v, always show "nfs3" for NFS V.3.
85338494Sobrien
85438494Sobrien1998-01-25  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
85538494Sobrien
85638494Sobrien	* lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets
85738494Sobrien	more picky than 2.7.2.3 did.
85838494Sobrien
85938494Sobrien1998-01-24  Erez Zadok  <ezk@snoopy.cs.columbia.edu>
86038494Sobrien
86138494Sobrien	* include/am_utils.h (dlog): amuDebug macros reduced to shorter
86238494Sobrien	forms.
86338494Sobrien
86438494SobrienFri Jan 23 18:38:30 1998  Erez Zadok  <ezk@goat.mcl.cs.columbia.edu>
86538494Sobrien
86638494Sobrien	* released snapshot am-utils-6.0a16s3
86738494Sobrien
86838494Sobrien	* include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included
86938494Sobrien	in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h
87038494Sobrien	must not, fake a definition for varargs.
87138494Sobrien
87238494SobrienFri Jan 16 10:16:40 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
87338494Sobrien
87438494Sobrien	* README: show how to configure in additional support such as
87538494Sobrien	hesiod using various --enable-* flags.
87638494Sobrien
87738494SobrienWed Jan 14 15:13:02 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
87838494Sobrien
87938494Sobrien	* aux/configure.in: look for strcasecmp(), and replace it if not
88038494Sobrien	available.
88138494Sobrien
88238494Sobrien	* amd/ops_nfsl.c (nfsl_match): host names should be compared using
88338494Sobrien	case insensitive.
88438494Sobrien
88538494Sobrien	* amd/opts.c: for each map variable, define if the comparison
88638494Sobrien	needs to be done case insensitive.
88738494Sobrien
88838494Sobrien	* include/am_utils.h (STRCEQ): a new macro to use strcasecmp().
88938494Sobrien	Patch from Thomas Richter <richter@chemie.fu-berlin.de>
89038494Sobrien
89138494Sobrien1998-01-14  Erez Zadok  <ezk@irt.cs.columbia.edu>
89238494Sobrien
89338494Sobrien	* aux/configure.in: look for "isofs" as a possible mount type for
89438494Sobrien	cdfs (RedHat Linux).
89538494Sobrien
89638494SobrienWed Jan 14 02:07:05 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
89738494Sobrien
89838494Sobrien	* conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount
89938494Sobrien	type if not defined.
90038494Sobrien
90138494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if
90238494Sobrien	already defined.
90338494Sobrien
90438494Sobrien	* aux/configure.in: look for ext2fs before ufs, b/c some linux
90538494Sobrien	have both.
90638494Sobrien
90738494SobrienMon Jan 12 15:43:20 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
90838494Sobrien
90938494Sobrien	* Makefile.am (snapshot): allow me to install snapshots into the
91038494Sobrien	ftp directory.
91138494Sobrien
91238494Sobrien	* scripts/ctl-hlfsd.in: don't turn on -D mem by default.
91338494Sobrien
91438494Sobrien	* amd/get_args.c (get_args): minor bug in output of amd -H.
91538494Sobrien
91638494SobrienMon Jan 12 03:05:06 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
91738494Sobrien
91838494Sobrien	*******************************************************************
91938494Sobrien	*** Released am-utils-6.0a15					***
92038494Sobrien	*******************************************************************
92138494Sobrien
92238494SobrienSun Jan 11 15:06:34 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
92338494Sobrien
92438494Sobrien	* amd/conf.c (*_browsable_dirs): allow specifying
92538494Sobrien	browsable_dirs=full, which will print *all* entries (other than
92638494Sobrien	/default), including  those with '*' and '/' characters.
92738494Sobrien
92838494Sobrien	* amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length
92938494Sobrien	to 1500.
93038494Sobrien
93138494Sobrien	* doc/am-utils.texi: fixed reversed documentation for NFS mount
93238494Sobrien	options vers and proto.
93338494Sobrien
93438494Sobrien	* doc/Makefile.am (install-html): separate target just for
93538494Sobrien	installing html files.  Another new target "alldocs" is just for
93638494Sobrien	installing all files needed for the am-utils home page.
93738494Sobrien
93838494Sobrien	* scripts/amd.conf-sample: updated example for log_file.
93938494Sobrien
94038494Sobrien	* scripts/amd.conf.5: updated for new way to declare new syslog
94138494Sobrien	facility in the log_file option.
94238494Sobrien
94338494Sobrien	* amd/amd.8: updated for new way to declare new syslog facility in
94438494Sobrien	the -l option.
94538494Sobrien
94638494Sobrien	* libamu/xutil.c (get_syslog_facility): allow users to specify the
94738494Sobrien	syslog facility as an appended string to the log device.  Ex. amd
94838494Sobrien	-l syslog:local7 will use LOG_LOCAL7, while the older -l syslog
94938494Sobrien	will use the default LOG_DAEMON facility.
95038494Sobrien
95138494Sobrien	* amd/get_args.c (get_args): updated new syntax for amd -l
95238494Sobrien	syslog:facility.
95338494Sobrien
95438494SobrienThu Jan  8 04:05:10 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
95538494Sobrien
95638494Sobrien	* aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3
95738494Sobrien	(intel).
95838494Sobrien
95938494Sobrien	* libamu/wire.c (print_wires): bug fix.  Nullify output buffer
96038494Sobrien	before appending to it, on systems with two or more network
96138494Sobrien	interfaces.
96238494Sobrien
96338494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for
96438494Sobrien	the mntent for cachefs.
96538494Sobrien
96638494Sobrien	* include/am_defs.h: external definition for strstr() should use
96738494Sobrien	const for both arguments.
96838494Sobrien
96938494Sobrien	* aux/configure.in: add extern definitions for getwd() if missing.
97038494Sobrien
97138494Sobrien	* include/am_defs.h: define the extern for strdup() even if the
97238494Sobrien	function does not exist, for it will be filled in by
97338494Sobrien	libamu/strdup.c
97438494Sobrien
97538494Sobrien	* amq/pawd.c (cluster_server): don't use getccent() if the extern
97638494Sobrien	for it isn't there.  On hpux 10.20, the function is in libc, but
97738494Sobrien	<cluster.h> and struct cct_entry do not exist.
97838494Sobrien
97938494Sobrien	* aux/configure.in: check for an extern for getccent() b/c some
98038494Sobrien	hpux systems don't have it (hpux 10.20).
98138494Sobrien
98238494SobrienWed Jan  7 00:09:19 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
98338494Sobrien
98438494Sobrien	* doc/am-utils.texi (Amq -T option): manual documentation updates
98538494Sobrien	for new amq options -T/-U.
98638494Sobrien
98738494Sobrien	* amq/amq.8: updated man page for new amq options -T/-U.
98838494Sobrien
98938494Sobrien	* amq/amq.c: two new switches to amq. -U will contact amd using
99038494Sobrien	UDP only.  -T will use TCP only.  Normally amq will try TCP and
99138494Sobrien	if that failed, will try UDP.
99238494Sobrien
99338494Sobrien	* doc/am-utils.texi (pawd): manual documentation for pawd.
99438494Sobrien
99538494Sobrien	* amq/pawd.1: new man page for pawd.
99638494Sobrien
99738494SobrienTue Jan  6 04:21:59 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
99838494Sobrien
99938494Sobrien	* amq/pawd.c: a new program, Print Automounter Working Directory,
100038494Sobrien	to print the proper pathname of the cwd or any other pathname,
100138494Sobrien	adjusted for automounter paths, while avoiding mount points.
100238494Sobrien
100338494Sobrien	* aux/macros/localconfig.m4: trivial support for am-utils
100438494Sobrien	maintainers to adjust some of the configuration of am-utils after
100538494Sobrien	it has been auto-configured by putting whatever definitions you
100638494Sobrien	wish in a file called localconfig.h, located in the top build
100738494Sobrien	directory (the same one where config.h is created for you).
100838494Sobrien
100938494Sobrien	* doc/am-utils.texi (Caching Filesystem): updated documents for
101038494Sobrien	cachefs file system.
101138494Sobrien
101238494Sobrien	* amd/ops_cachefs.c: initial cachefs support, for solaris.
101338494Sobrien	type:=cachefs, requires cachedir:=/cache/dir/name to be defined
101438494Sobrien	and initialized with cfsadmin -c.  $rfs is backdir to be cached
101538494Sobrien	from, and $fs is the local mount point of the cachefs.
101638494Sobrien
101738494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): support mounting of
101838494Sobrien	cachefs file systems.
101938494Sobrien
102038494Sobrien	* amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the
102138494Sobrien	mnttab type is.
102238494Sobrien
102338494SobrienMon Jan  5 23:22:49 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
102438494Sobrien
102538494Sobrien	* amd/opts.c: added support for new variable $cachedir.
102638494Sobrien
102738494Sobrien	* include/am_utils.h: added opt_cachedir field to struct am_opts.
102838494Sobrien
102938494SobrienSat Jan  3 01:43:57 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
103038494Sobrien
103138494Sobrien	* amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
103238494Sobrien	local hostname does not match $rhost, and if so, also assume
103338494Sobrien	type:=nfs.
103438494Sobrien
103538494SobrienFri Jan  2 01:00:40 1998  Erez Zadok  <ezk@lorien.cs.columbia.edu>
103638494Sobrien
103738494Sobrien	* updated all source files to add 1998 as a copyright year.
103838494Sobrien
103938494Sobrien	* amd/ops_nfsl.c: new amd meta file system "type:=nfsl".  Behaves
104038494Sobrien	like type:=linkx if the pathname denoted by $fs exists, and like
104138494Sobrien	type:=nfs if it does not.  A convenient shortcut for the most
104238494Sobrien	popular amd map entry.
104338494Sobrien
104438494Sobrien	* amd/amd.c (main): amd should chdir to / before starting, to
104538494Sobrien	avoid hanging on other NFS server if started elsewhere.
104638494Sobrien
104738494Sobrien	* amd/ops_TEMPLATE.c: added an empty template file for developers
104838494Sobrien	who wish to write new amd pseudo file systems.
104938494Sobrien
105038494SobrienThu Jan  1 00:27:28 1998  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
105138494Sobrien
105238494Sobrien	* hlfsd/homedir.c (plt_init): make function exported, to save on
105338494Sobrien	the unnecessary init_homedir() function which was removed.
105438494Sobrien	(table_add): don't use xmalloc() when you can use strdup()
105538494Sobrien	instead.
105638494Sobrien
105738494SobrienThu Jan  1 00:15:58 1998  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
105838494Sobrien
105938494Sobrien	* hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this
106038494Sobrien	because we will be making more passwd calls afterwards.  On
106138494Sobrien	Solaris 2.5.1, making getpwent() calls after calling endpwent()
106238494Sobrien	results in a memory leak! (and no, even Purify didn't detect
106338494Sobrien	it...)
106438494Sobrien
106538494SobrienTue Dec 23 18:23:47 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
106638494Sobrien
106738494Sobrien	* hlfsd/hlfsd.c (main): Bug fix.  Don't try to free() an
106838494Sobrien	automatically allocated address.
106938494Sobrien
107038494Sobrien	* amd/ops_afs.c (mount_toplvl): Bug fix.  Don't try to free() an
107138494Sobrien	automatically allocated address.
107238494Sobrien
107338494Sobrien	* ALL SOURCES: change every direct call to free() to xfree(), so
107438494Sobrien	it can be mapped to the right debugging function as needed.
107538494Sobrien
107638494Sobrien	* include/am_utils.h: new free() policy.  If debugging memory,
107738494Sobrien	call dxfree(), which will print the file name and line number
107838494Sobrien	where the free occurred and the pointer address.  if only regular
107938494Sobrien	debugging, then free() and reset  the pointer to NULL so it cannot
108038494Sobrien	be used afterwards inadvertently.  If not DEBUG at all, then just
108138494Sobrien	run free().  Three different #define macros set the right mapping.
108238494Sobrien
108338494Sobrien	* libamu/xutil.c (dxfree): renamed function to dxfree(), so it can
108438494Sobrien	be called only when debugging the memory.
108538494Sobrien
108638494SobrienTue Dec 23 04:24:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
108738494Sobrien
108838494Sobrien	* wire-test/wire-test.c (main): use xmalloc() not malloc().
108938494Sobrien
109038494Sobrien	* conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not
109138494Sobrien	calloc().
109238494Sobrien
109338494Sobrien	* conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc().
109438494Sobrien
109538494Sobrien	* conf/mount/mount_linux.c (parse_opts): use xmalloc() not
109638494Sobrien	malloc().
109738494Sobrien
109838494Sobrien	* amd/info_ldap.c: use xmalloc() not malloc().
109938494Sobrien
110038494Sobrien	* libamu/xutil.c (xzalloc): new function to allocate memory and
110138494Sobrien	zero its bytes.
110238494Sobrien
110338494Sobrien	* amq/amq.c: amq does not need its own definition of xfree().
110438494Sobrien
110538494Sobrien	* aux/macros/opt_debug.m4: if used --enable-debug=mem, then also
110638494Sobrien	look for function malloc_verify() in libmapmalloc.a, and function
110738494Sobrien	mallinfo() in libmalloc.
110838494Sobrien
110938494Sobrien	* libamu/xutil.c (checkup_mem): do not use mallinfo field
111038494Sobrien	uordbytes, because it does not always exist.  Rather, compute it
111138494Sobrien	from other fields..
111238494Sobrien
111338494Sobrien	* include/am_utils.h: add external definition to xfree() function
111438494Sobrien	used when debugging memory references.
111538494Sobrien
111638494SobrienMon Dec 22 03:01:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
111738494Sobrien
111838494Sobrien	* amd/ops_afs.c (afs_readdir_browsable): reduce the number of
111938494Sobrien	bytes heuristically computed to be returned to the kernel.
112038494Sobrien	Otherwise browsable_dirs fails on OpenBSD 2.2.
112138494Sobrien
112238494Sobrien	* amd/mntfs.c (uninit_mntfs): bug fix.  Moved freeing of
112338494Sobrien	mf_private field to AFTER it gets used.
112438494Sobrien
112538494SobrienSat Dec 20 00:51:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
112638494Sobrien
112738494Sobrien	* amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
112838494Sobrien	on systems that don't support it.
112938494Sobrien
113038494Sobrien	* include/am_defs.h: add missing extern definition for free().
113138494Sobrien
113238494Sobrien	* aux/configure.in: check for external definition for free().
113338494Sobrien
113438494Sobrien	* libamu/Makefile.am: add to comment a mention of strstr as an
113538494Sobrien	optional function.
113638494Sobrien
113738494Sobrien	* libamu/xutil.c (switch_to_logfile): use openlog() options only
113838494Sobrien	if they exist.
113938494Sobrien
114038494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): don't use
114138494Sobrien	clnt_spcreateerror if it does not exist.
114238494Sobrien
114338494Sobrien	* aux/configure.in: check for missing functions clnt_create and
114438494Sobrien	clnt_spcreateerror.  Check for missing strstr, and complete
114538494Sobrien	its code.  Check for missing external definition for strstr.
114638494Sobrien
114738494Sobrien	* aux/macros/host_macros.m4: normalize sun3* names.
114838494Sobrien
114938494Sobrien	* Makefile.am: updates for new sunos3 files distributed.
115038494Sobrien
115138494Sobrien	* conf/nfs_prot/nfs_prot_sunos3.h: new file.
115238494Sobrien
115338494Sobrien	* conf/fh_dref/fh_dref_sunos3.h: new file.
115438494Sobrien
115538494Sobrien	* aux/macros/check_nfs_prot_headers.m4: added sunos3 case.
115638494Sobrien
115738494Sobrien	* aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
115838494Sobrien
115938494Sobrien	* doc/am-utils.texi (wire Selector Variable): updated manual for
116038494Sobrien	adjusted variables wire, network, and netnumber, all using the
116138494Sobrien	in_network() function.
116238494Sobrien
116338494SobrienFri Dec 19 04:37:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
116438494Sobrien
116538494Sobrien	* amd/opts.c: allow options to be processed by executing arbitrary
116638494Sobrien	functions.  Converted wire, network, and netnumber all to use the
116738494Sobrien	nomadic function in_network.  So from now on they perform a match
116838494Sobrien	against all networks, not just primary.
116938494Sobrien
117038494Sobrien	* initial port to alpha-unknown-linux-gnu, probably works, but
117138494Sobrien	untested yet.
117238494Sobrien
117338494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: add special definitions for
117438494Sobrien	__FD_* macros which for som strange reason do not get included
117538494Sobrien	from <selectbits.h> on redhat alpha linux.  Also turn off usage of
117638494Sobrien	<rpc/des_auth.h> because it is incomplete on the same systems.
117738494Sobrien
117838494Sobrien	* hlfsd/homedir.c (table_add): cast uid field to int, for
117938494Sobrien	comparison.
118038494Sobrien
118138494Sobrien	* include/am_defs.h: more coflicts with redhat alpha linux
118238494Sobrien	"resolved".
118338494Sobrien
118438494Sobrien	* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
118538494Sobrien	There's a conflict of definitions on redhat alpha linux between
118638494Sobrien	<netinet/in.h> and <linux/fs.h> which must be avoided.
118738494Sobrien
118838494Sobrien	* aux/configure.in: check for <socketbits.h>, which is in use on
118938494Sobrien	redhat alpha linux.
119038494Sobrien
119138494Sobrien	* doc/am-utils.texi (Selectors): added documentation to describe
119238494Sobrien	the new "!" (negated) nomadic functions.
119338494Sobrien
119438494Sobrien	* amd/opts.c (f_in_network): print debugging info that is correct,
119538494Sobrien	rather than saying that any ARG is on a local network.
119638494Sobrien	(eval_opts): added support for negating nomadic functions, by
119738494Sobrien	prepending "!" to their name.  Example, !exists(/foo/bar).
119838494Sobrien
119938494SobrienThu Dec 18 20:57:19 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
120038494Sobrien
120138494Sobrien	* include/am_compat.h: ensure that all NFS3 systems have the mount
120238494Sobrien	table entries (and amd opts switches) "proto" and "vers".
120338494Sobrien
120438494Sobrien	* hlfsd/homedir.c (table_add): added some debugging info to try
120538494Sobrien	and track down a serious memory leak in hlfsd.
120638494Sobrien
120738494Sobrien1997-12-18  Erez Zadok  <ezk@t-rex.mcl.cs.columbia.edu>
120838494Sobrien
120938494Sobrien	* libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that
121038494Sobrien	you do NOT set the noconn option, and use connected sockets
121138494Sobrien	always.  So I'm now forced not to set it at all, and have the user
121238494Sobrien	specify it as "conn" or "noconn" in their /default entry.  Argh...
121338494Sobrien	Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
121438494Sobrien	buggy (TCP hangs with "short receive" kernel errors).  I'd better
121538494Sobrien	wait until they get it working in their version of the automounter
121638494Sobrien	first.  So I'm putting the "noconn" option back.
121738494Sobrien
121838494SobrienThu Dec 18 02:39:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
121938494Sobrien
122038494Sobrien	* libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set
122138494Sobrien	nfs_args field maxgrouplist accordingly.
122238494Sobrien
122338494Sobrien	* include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition
122438494Sobrien	for mount table entry for maxgroups based on NFS mount option
122538494Sobrien	maxgrp.
122638494Sobrien
122738494Sobrien	* aux/configure.in: put back testing for NFS mount option
122838494Sobrien	"maxgrps".  Added test for mount table entry "maxgroups".
122938494Sobrien
123038494Sobrien	* libamu/mount_fs.c (compute_nfs_args): perform more careful tests
123138494Sobrien	on nfs_proto, because it could be NULL.
123238494Sobrien
123338494Sobrien	* doc/am-utils.texi (Selectors): added example of in_network()
123438494Sobrien	selector.
123538494Sobrien
123638494Sobrien	* aux/macros/check_hide_mount_type.m4: all hpux versions,
123738494Sobrien	including 9.x, should use "ignore" as the mount type to hide from
123838494Sobrien	amd.
123938494Sobrien
124038494SobrienWed Dec 17 13:09:21 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
124138494Sobrien
124238494Sobrien	* include/am_utils.h (NSTREQ): use new macro instead of strncmp()
124338494Sobrien	every where in the sources.
124438494Sobrien
124538494SobrienWed Dec 17 01:15:01 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
124638494Sobrien
124738494Sobrien	* libamu/mount_fs.c (print_nfs_args): if -D trace is on, will
124838494Sobrien	print as much info that is given in struct nfs_args as possible.
124938494Sobrien	useful for detecting internal flags and options, as well as the
125038494Sobrien	file handle used.
125138494Sobrien
125238494Sobrien	* scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc
125338494Sobrien	after /etc and before /etc/local.
125438494Sobrien
125538494SobrienTue Dec 16 18:51:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
125638494Sobrien
125738494Sobrien	* aux/configure.in, libamu/Makefile.am: added support for linking
125838494Sobrien	with specific versions of libamu.  Upped shared library version of
125938494Sobrien	libamu to 1 (libamu.so.1.0.0)
126038494Sobrien
126138494Sobrien	* include/am_defs.h: added external definition for mkstemp() as
126238494Sobrien	needed.
126338494Sobrien
126438494Sobrien	* minor new port to i386-unknown-netbsd1.3 (BETA version of
126538494Sobrien	netbsd).
126638494Sobrien
126738494Sobrien	* aux/config.guess: don't leave a trailing '.' on the system name
126838494Sobrien	for NetBSD-1.3_BETA and similarly for OpenBSD.
126938494Sobrien
127038494Sobrien	* conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
127138494Sobrien	differences in ypall calling conventions.
127238494Sobrien
127338494Sobrien	* mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible
127438494Sobrien	in preference over mktemp(), b/c it is more secure.
127538494Sobrien
127638494Sobrien	* aux/configure.in: check for mkstemp(), a more secure version of
127738494Sobrien	mktemp().
127838494Sobrien
127938494SobrienMon Dec 15 02:32:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
128038494Sobrien
128138494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
128238494Sobrien	table "vers" option generally do not set the mnttab entry to
128338494Sobrien	"nfs3", but to "nfs" and then they set "vers=3".  Setting it to
128438494Sobrien	"nfs3" works, but it may break some things like "df -t nfs" and
128538494Sobrien	the "quota" program (esp. on Solaris and Irix).  So on those
128638494Sobrien	systems, set it to "nfs".
128738494Sobrien
128838494SobrienSat Dec 13 01:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
128938494Sobrien
129038494Sobrien	* doc/am-utils.texi (Distrib): updates for new ports, location of
129138494Sobrien	am-utils' home page, and URL cross references (now supported by my
129238494Sobrien	version of texi2html).
129338494Sobrien
129438494Sobrien	* aux/macros/check_mtype_type.m4: also use string type for file
129538494Sobrien	system mount types under nextstep for mount(2).
129638494Sobrien
129738494Sobrien	* aux/macros/check_mtype_printf_type.m4}: nextstep can handle both
129838494Sobrien	integer and string types for file system mount types in mount(2),
129938494Sobrien	but it is better to use string types.
130038494Sobrien
130138494Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to
130238494Sobrien	0, not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
130338494Sobrien	(EPERM) instead of 0 (OK).  Fixes m68k-next-nextstep3 which now
130438494Sobrien	works.
130538494Sobrien
130638494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0,
130738494Sobrien	not 1!  Otherwise, all NFS calls (esp. mount) return errno 1
130838494Sobrien	(EPERM) instead of 0 (OK).
130938494Sobrien
131038494Sobrien	* libamu/xdr_func.c (xdr_*): add debugging calls that are optioned
131138494Sobrien	by -D trace (protocol trace).
131238494Sobrien
131338494Sobrien1997-12-11  Erez Zadok  <ezk@bach.cs.columbia.edu>
131438494Sobrien
131538494Sobrien	* A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR
131638494Sobrien	macro based on existence on others, and include <sys/stat.h>.
131738494Sobrien
131838494SobrienThu Dec 11 14:14:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
131938494Sobrien
132038494Sobrien	* aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off
132138494Sobrien	inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
132238494Sobrien	which this header is broken (it tries to include non-existing
132338494Sobrien	headers).
132438494Sobrien
132538494SobrienWed Dec 10 16:09:07 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
132638494Sobrien
132738494Sobrien	* libamu/mount_fs.c (mnt_flags): support either nfs or generic
132838494Sobrien	mount option for grpid.
132938494Sobrien
133038494Sobrien	* aux/configure.in: turn back on NFS mount option grpid.
133138494Sobrien
133238494SobrienSat Dec  6 04:36:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
133338494Sobrien
133438494Sobrien	* doc/Makefile.am (install-ps): added target to install postscript
133538494Sobrien	file in the am-utils' home page, as well as a few other useful
133638494Sobrien	files for the new am-utils Web page.
133738494Sobrien
133838494SobrienMon Nov 17 05:22:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
133938494Sobrien
134038494Sobrien	*******************************************************************
134138494Sobrien	*** Released am-utils-6.0a14					***
134238494Sobrien	*******************************************************************
134338494Sobrien
134438494SobrienSun Nov 16 21:56:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
134538494Sobrien
134638494Sobrien	* doc/am-utils.texi (Supported Platforms): updated table of new
134738494Sobrien	ports.
134838494Sobrien
134938494SobrienSat Nov 15 06:36:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
135038494Sobrien
135138494Sobrien	* libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab
135238494Sobrien	options so that they can be printed in logs as needed.
135338494Sobrien
135438494Sobrien	* doc/am-utils.texi (osver Parameter): updated for the correct
135538494Sobrien	usage of the -o/-O options.
135638494Sobrien
135738494Sobrien	* scripts/amd.conf.5: corrected info for -o/-O options.
135838494Sobrien
135938494Sobrien	* amd/amd.8: updated man page for new -O op_sys_name option, and
136038494Sobrien	corrected the usage of the -o op_sys_ver option
136138494Sobrien
136238494Sobrien	* amd/get_args.c (get_args): added new amd option -O to override
136338494Sobrien	OS name.
136438494Sobrien	(get_args): updated usage string.  Removed old -m option.  Added
136538494Sobrien	-o and -O options.
136638494Sobrien
136738494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case
136838494Sobrien	it is not there.  Reportedly, irix 5.2 does not define it.
136938494Sobrien
137038494Sobrien	* scripts/lostaltmail.in: removed references to unused $hack
137138494Sobrien	variable.
137238494Sobrien
137338494Sobrien	* aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf
137438494Sobrien	<metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
137538494Sobrien	for solaris2.5.
137638494Sobrien
137738494Sobrien	* doc/am-utils.texi (Distrib): typo in the subscription
137838494Sobrien	instructions to amd-dev.  Patch from Stefan Vogel
137938494Sobrien	<vogel@physik-rzu.unizh.ch>.
138038494Sobrien
138138494Sobrien1997-11-15  Erez Zadok  <ezk@amtrak.cs.columbia.edu>
138238494Sobrien
138338494Sobrien	* NFS3 works on powerpc-ibm-aix4.2.1.0.
138438494Sobrien
138538494Sobrien	* libamu/mount_fs.c (compute_nfs_args): set fh3 variable to
138638494Sobrien	static.  Some compilers (gcc from egcs  on aix 4.2.1) corrupt the
138738494Sobrien	stack of an automatic variable when pointer to it is passed around
138838494Sobrien	several times.
138938494Sobrien
139038494SobrienFri Nov 14 20:09:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
139138494Sobrien
139238494Sobrien	* libamu/xutil.c (real_plog): syslog like behavior for normal
139338494Sobrien	logging.  Will not print repeated strings, only a count "last
139438494Sobrien	message repeated N times", but will always print something if
139538494Sobrien	message is repeated more than 100 times.
139638494Sobrien
139738494Sobrien	* scripts/lostaltmail.in: look for lostaltmail.conf files also in
139838494Sobrien	/etc/global, /etc/os, and /etc/local (in that order).
139938494Sobrien
140038494SobrienMon Nov 10 03:03:17 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
140138494Sobrien
140238494Sobrien	* conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3
140338494Sobrien	mounts.
140438494Sobrien
140538494Sobrien	* aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for
140638494Sobrien	aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h
140738494Sobrien
140838494Sobrien	* conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the
140938494Sobrien	NFS_SA_DREF macro is a pointer to the structure that used to be
141038494Sobrien	passed to it before.  So now I have to dereference the pointer
141138494Sobrien	before accessing its values.
141238494Sobrien
141338494Sobrien	* hlfsd/hlfsd.c (main): use the new and cleaner
141438494Sobrien	compute_nfs_args() and compute_automounter_nfs_args() functions.
141538494Sobrien
141638494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner
141738494Sobrien	compute_nfs_args() and compute_automounter_nfs_args() functions.
141838494Sobrien
141938494Sobrien	* amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION.  Use the new
142038494Sobrien	and cleaner compute_nfs_args() and compute_automounter_nfs_args()
142138494Sobrien	functions.
142238494Sobrien
142338494Sobrien	* libamu/mount_fs.c (compute_nfs_args): major code cleanup that
142438494Sobrien	relates for struct nfs_args.  A new function sets the numerous
142538494Sobrien	possible flags and fields of nfs_args_t in an orderly fashion.
142638494Sobrien	Code cleaned up, organized, and moved from amd/hlfsd into
142738494Sobrien	libamu.  This saves on overall size of code.
142838494Sobrien	(compute_automounter_nfs_args): A variant of compute_nfs_args()
142938494Sobrien	which sets special options/flags that need to be used when NFS
143038494Sobrien	mounting an automounter's mount point.  Used by hlfsd and amd.
143138494Sobrien
143238494Sobrien	* amq/amq.c (get_secure_amd_client): don't print any more
143338494Sobrien	"get_secure_amd_client: using TCP, port 12345".  It's more
143438494Sobrien	annoying than useful a message, even when assumed to be compiled
143538494Sobrien	under DEBUG only.
143638494Sobrien
143738494SobrienThu Oct 30 14:33:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
143838494Sobrien
143938494Sobrien	* aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs
144038494Sobrien	mount table entries.  The code used to define the /etc/mnttab name
144138494Sobrien	for file systems based on physical media (disk, cdrom, floppy) to
144238494Sobrien	the generic name, rather than the OS specific name.  For example
144338494Sobrien	autoconf searches for all these types of mount table entries for a
144438494Sobrien	floppy based file system: vfat pcfs pc msdos msdosfs fat.  But if
144538494Sobrien	it found any, it hard-coded the mnttab name to "pcfs" rather than
144638494Sobrien	the actual name found!  Same for ufs, cdfs, pcfs, tmpfs, lofs,
144738494Sobrien	nullfs, unionfs, and umapfs.
144838494Sobrien
144938494Sobrien	* aux/configure.in: also test for xfs (for newer Irix) when
145038494Sobrien	looking for mount type names, numbers, etc of a disk-based ufs.
145138494Sobrien
145238494SobrienSun Oct 26 19:32:57 1997  Erez Zadok  <ezk@defiant.soscorp.com>
145338494Sobrien
145438494Sobrien	* amq/amq.c (main): use pmap_ping() to test if remote host is up.
145538494Sobrien	This works better on bsdi2 and bsdi3, because their portmapper
145638494Sobrien	does not appear to like forwarding operations (it is generaly
145738494Sobrien	insecure).
145838494Sobrien
145938494SobrienSat Oct 25 04:55:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
146038494Sobrien
146138494Sobrien	*******************************************************************
146238494Sobrien	*** Released am-utils-6.0a13					***
146338494Sobrien	*******************************************************************
146438494Sobrien
146538494SobrienFri Oct 24 05:04:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
146638494Sobrien
146738494Sobrien	* conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for
146838494Sobrien	struct datum typedef.
146938494Sobrien
147038494Sobrien	* conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for
147138494Sobrien	ypall_callback_fxn_t for netbsd.
147238494Sobrien
147338494Sobrien	* aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for
147438494Sobrien	the 5th arg to authunix_create(), while before and after they used
147538494Sobrien	gid_t.
147638494Sobrien
147738494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
147838494Sobrien	clnt_create_timed() on older Solaris 2.3 systems that did not have
147938494Sobrien	it.
148038494Sobrien
148138494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for
148238494Sobrien	kernel only on bsdi2, so do not include it.
148338494Sobrien
148438494SobrienFri Oct 24 00:29:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
148538494Sobrien
148638494Sobrien	* hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated
148738494Sobrien	messages about resolution of mailboxes based on uid/gid.
148838494Sobrien
148938494Sobrien	* scripts/ctl-hlfsd.in: check for alternate password file in
149038494Sobrien	${prefix}/etc/passwd and use it in hlfsd's startup.
149138494Sobrien
149238494SobrienThu Oct 23 22:48:50 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
149338494Sobrien
149438494Sobrien	* hlfsd/homedir.c (hlfsd_getpwent): added support for -P
149538494Sobrien	passwdfile option.  If hlfsd is started with -P passwdfile, then
149638494Sobrien	the passwdfile is read and parsed just as a standard unix
149738494Sobrien	passwd(4) file.  Only the username, uid, and homedir fields are
149838494Sobrien	read and checked.  All the rest are ignored.  No NIS/netgroup
149938494Sobrien	support!
150038494Sobrien
150138494Sobrien	* hlfsd/hlfsd.c (main): check if hlfsd is run as root after
150238494Sobrien	parsing command line options, so that usage() can be printed when
150338494Sobrien	-h is invoked.
150438494Sobrien
150538494SobrienWed Oct 22 00:16:39 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
150638494Sobrien
150738494Sobrien	* amd/nfs_start.c (mount_automounter): if autofs service listener
150838494Sobrien	fails to initialize it is OK if using a test amd.
150938494Sobrien
151038494Sobrien	* amd/opts.c (f_in_network): new nomadic function in_network(arg),
151138494Sobrien	which returns TRUE if 'arg' is any one of this host's networks.
151238494Sobrien
151338494Sobrien	* libamu/wire.c (getwire): rewritten parts of function, to store
151438494Sobrien	all networks names and numbers in the order of the interface (not
151538494Sobrien	in reverse).
151638494Sobrien
151738494SobrienMon Oct 20 01:59:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
151838494Sobrien
151938494Sobrien	* aux/configure.in: don't add ops_ufs.o on AIX twice.  My code
152038494Sobrien	would have worked had it not been due to AIX's buggy /bin/sh.
152138494Sobrien
152238494Sobrien	* doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
152338494Sobrien	am-utils.ps in the distribution sources.
152438494Sobrien	(html): generate html documentation for
152538494Sobrien	http://www.cs.columbia.edu/~ezk/am-utils/
152638494Sobrien
152738494SobrienSun Oct 19 12:35:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
152838494Sobrien
152938494Sobrien	* conf/nfs_prot/nfs_prot_netbsd.h: override the definition of
153038494Sobrien	ypall_callback_fxn_t.  The NetBSD team compiles all sources with
153138494Sobrien	gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
153238494Sobrien
153338494Sobrien	* amd/info_nis.c: allow for override of ypall_callback_fxn_t
153438494Sobrien	function typedef.
153538494Sobrien
153638494Sobrien	* libamu/xutil.c (amu_release_controlling_tty): new function to
153738494Sobrien	release the controlling tty in a clean and sane manner.  No longer
153838494Sobrien	using setpgid() b/c it may not work.  Uses setsid(),
153938494Sobrien	and ioctl() (in order).  This new function is used in amd/amd.c
154038494Sobrien	and hlfsd/hlfsd.c.  Also avoid setpgrp(), because it works on some
154138494Sobrien	systems, but on others it is the same as setpgid().
154238494Sobrien
154338494SobrienSat Oct 18 23:42:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
154438494Sobrien
154538494Sobrien	* aux/acconfig.h: check for nfs mount option 'fsname'.  Code for
154638494Sobrien	it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but
154738494Sobrien	never used, because the configure test for fsname flag wasn't
154838494Sobrien	used.  This fixed a bug in HPUX 10, where syncer and manual mounts
154938494Sobrien	left blank lines in /etc/mnttab.
155038494Sobrien
155138494Sobrien	* aux/configure.in: check for nfs mount option 'fsname'.
155238494Sobrien
155338494SobrienFri Oct 17 13:30:27 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
155438494Sobrien
155538494Sobrien	* amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
155638494Sobrien	mount flags of toplvl mounts.  Important esp. for HPUX 10.  Now
155738494Sobrien	hpux-10 will mount amd's mounts points as 'ignore' (by df).
155838494Sobrien
155938494Sobrien	* aux/configure.in: check for NFS mount option 'ignore', useful in
156038494Sobrien	HPUX 10.
156138494Sobrien
156238494SobrienThu Oct 16 03:28:33 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
156338494Sobrien
156438494Sobrien	* aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
156538494Sobrien	mount type and not NFS, for the amd mount points.
156638494Sobrien
156738494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
156838494Sobrien	an RPC timeout as an error, but just an info message.  From
156938494Sobrien	Andreas Stolcke <stolcke@speech.sri.com>
157038494Sobrien
157138494Sobrien	* If the NFS server is down or does not support the portmapper
157238494Sobrien	call (such as certain Novell NFS servers) we mark it as version 2
157338494Sobrien	and we let the nfs code deal with the case that is down.  If when
157438494Sobrien	the server comes back up, it can support NFS V.3 and/or TCP, it
157538494Sobrien	will use those.  From christos@deshaw.com (Christos Zoulas).
157638494Sobrien
157738494Sobrien	* hlfsd/homedir.c (plt_print): various compile time cleanups to
157838494Sobrien	printfs that take a long, but pass an int to print.  From
157938494Sobrien	christos@deshaw.com (Christos Zoulas).
158038494Sobrien
158138494Sobrien	* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
158238494Sobrien	macro to determine if the OS has a bad yp_all(), based on the host
158338494Sobrien	OS name.  So far only irix (all versions) have a bad yp_all, so
158438494Sobrien	they will use am_yp_all() instead (which is slower as it
158538494Sobrien	enumerates manually all of the map's entries).
158638494Sobrien
158738494SobrienThu Oct 16 03:14:37 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
158838494Sobrien
158938494Sobrien	* amd/info_nis.c (am_yp_all): code for a replacement yp_all that
159038494Sobrien	avoids using a file-descriptor leaking yp_all() on some systems
159138494Sobrien	like irix.
159238494Sobrien
159338494SobrienWed Oct 15 21:52:35 1997  Erez Zadok  <ezk>
159438494Sobrien
159538494Sobrien	* fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
159638494Sobrien	systems using /usr/bin/flex.
159738494Sobrien
159838494Sobrien	* amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
159938494Sobrien	that have a modified GNU flex which does define yywrap (DU-4.x).
160038494Sobrien
160138494SobrienFri Sep 26 14:25:29 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
160238494Sobrien
160338494Sobrien	* conf/checkmount/checkmount_bsd44.c: include prototype.
160438494Sobrien
160538494SobrienFri Sep 26 01:26:24 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
160638494Sobrien
160738494Sobrien	*******************************************************************
160838494Sobrien	*** Released am-utils-6.0a12					***
160938494Sobrien	*******************************************************************
161038494Sobrien
161138494SobrienFri Sep 26 00:13:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
161238494Sobrien
161338494Sobrien	* conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
161438494Sobrien	code in irix6 until it can be tested correctly
161538494Sobrien
161638494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
161738494Sobrien	on clnt_create for 3 seconds, rather than wait for the much longer
161838494Sobrien	default.
161938494Sobrien
162038494Sobrien	* conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
162138494Sobrien	Includes NFS3, untested.
162238494Sobrien
162338494SobrienThu Sep 25 11:03:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
162438494Sobrien
162538494Sobrien	* amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
162638494Sobrien	pcfs_args_t if they exist.
162738494Sobrien
162838494Sobrien	* amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
162938494Sobrien	cdfs_args_t if it exists.
163038494Sobrien
163138494Sobrien	* new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
163238494Sobrien	hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
163338494Sobrien
163438494SobrienWed Sep 24 00:48:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
163538494Sobrien
163638494Sobrien	* doc/am-utils.texi (wire-test): updated documentation for the new
163738494Sobrien	option.
163838494Sobrien
163938494Sobrien	* wire-test/wire-test.8: updated man page for new option.
164038494Sobrien
164138494Sobrien	* wire-test/wire-test.c (main): added a test for various
164238494Sobrien	combinations of NFS proto/vers to a remote/local host.
164338494Sobrien
164438494Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
164538494Sobrien	<isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
164638494Sobrien	freebsd will correctly set mount options for pcfs and cdfs.
164738494Sobrien
164838494Sobrien	* amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
164938494Sobrien	0777 (if field exists).
165038494Sobrien
165138494Sobrien	* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
165238494Sobrien	<msdosfs/msdosfsmount.h> if available.
165338494Sobrien
165438494Sobrien	* minor new port: rs6000-ibm-aix4.1.4.0.
165538494Sobrien
165638494Sobrien	* libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
165738494Sobrien	write the "time" field in /etc/mnttab.
165838494Sobrien
165938494Sobrien	* conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
166038494Sobrien	detecting mnt_time field of mntent_t.
166138494Sobrien
166238494Sobrien	* libamu/mtab.c (mnt_free): fixed typo in macro names for
166338494Sobrien	detecting mnt_time field of mntent_t.
166438494Sobrien
166538494SobrienTue Sep 23 15:30:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
166638494Sobrien
166738494Sobrien	* conf/mtab/mtab_file.c (lock): Use flock() in preference over
166838494Sobrien	fcntl() to lock the mtab file.
166938494Sobrien
167038494SobrienMon Sep 22 23:04:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
167138494Sobrien
167238494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): define
167338494Sobrien	the try_again goto label only for NFS3.
167438494Sobrien	(pmap_ping): assume timeout failure of clnt_stat.
167538494Sobrien
167638494Sobrien	* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
167738494Sobrien	"groups *".
167838494Sobrien
167938494SobrienMon Sep 22 20:34:33 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
168038494Sobrien
168138494Sobrien	* conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
168238494Sobrien	<dsr@mail.lns.cornell.edu> to make sure that amd works with more
168338494Sobrien	secure portmappers that do not allow forwarding of RPC messages to
168438494Sobrien	other services.
168538494Sobrien
168638494Sobrien	* */Makefile.am: all source files should also depend on the new
168738494Sobrien	include/am_xdr_func.h header.
168838494Sobrien
168938494Sobrien	* include/am_xdr_func.h: new file as part of the code cleanup from
169038494Sobrien	Christos Zoulas <christos@deshaw.com>.
169138494Sobrien
169238494Sobrien	* Lots of fixes from Christos Zoulas <christos@deshaw.com> that
169338494Sobrien	involved missing prototypes, cleaned up ones, and removal of
169438494Sobrien	unused variables.
169538494Sobrien
169638494Sobrien	* libamu/xdr_func.c (xdr_mountres3): some code cleanup.  A switch
169738494Sobrien	statement with only one case is unclean.
169838494Sobrien
169938494SobrienMon Sep 22 17:26:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
170038494Sobrien
170138494Sobrien	* amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
170238494Sobrien	0 so that all fields are initialized to zero at first.  This way
170338494Sobrien	SunOS 4.x and other systems don't get /etc/mtab entries with
170438494Sobrien	random integers for the fsck/freq fields. Patch from Andreas
170538494Sobrien	Stolcke <stolcke@speech.sri.com>.
170638494Sobrien
170738494SobrienMon Sep 22 00:34:19 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
170838494Sobrien
170938494Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
171038494Sobrien	that the important definition for HOSTNAMESZ will be found.
171138494Sobrien
171238494Sobrien	* amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
171338494Sobrien	(inside the nfs_args structure) if the system uses that macro.
171438494Sobrien	Otherwise systems like SunOS refuse to NFS mount long pathnames
171538494Sobrien	and result in ENAMETOOLONG errno's.
171638494Sobrien
171738494SobrienWed Sep 17 04:56:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
171838494Sobrien
171938494Sobrien	* doc/am-utils.texi (Supported Platforms): specify new support for
172038494Sobrien	solaris 2.6, and hlfsd running on 2.5.1 too.
172138494Sobrien
172238494SobrienWed Sep 17 03:55:02 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
172338494Sobrien
172438494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
172538494Sobrien	mount if it is not supported or was turned off.
172638494Sobrien
172738494SobrienWed Sep 17 03:19:36 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
172838494Sobrien
172938494Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
173038494Sobrien	again.  Apparently at some previous release SunOS 4 supported was
173138494Sobrien	broken and all nfs mounts resulted in ESTALE.
173238494Sobrien
173338494SobrienWed Sep 17 00:26:25 1997  Erez Zadok  <ezk@amsterdam.psl.cs.columbia.edu>
173438494Sobrien
173538494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
173638494Sobrien	solaris 2.6.
173738494Sobrien
173838494Sobrien	* aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
173938494Sobrien	protocol header selection.
174038494Sobrien
174138494SobrienSat Sep 13 14:31:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
174238494Sobrien
174338494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
174438494Sobrien	infinite loop.
174538494Sobrien
174638494SobrienSun Sep  7 18:23:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
174738494Sobrien
174838494Sobrien	*******************************************************************
174938494Sobrien	*** Released am-utils-6.0a11					***
175038494Sobrien	*******************************************************************
175138494Sobrien
175238494SobrienFri Sep  5 11:55:10 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
175338494Sobrien
175438494Sobrien	* amd/amd.c (main): if plock() succeeded, don't try to display
175538494Sobrien	errno message.   Patch from Chris Metcalf
175638494Sobrien	<metcalf@catfish.lcs.mit.edu.
175738494Sobrien
175838494SobrienThu Sep  4 19:17:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
175938494Sobrien
176038494Sobrien	* hlfsd/homedir.c (table_add): make sure duplicate passwd entries
176138494Sobrien	are ignored.   Only the first entry should ever be used, because
176238494Sobrien	that's how lookup in passwd database works.
176338494Sobrien
176438494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): when determining
176538494Sobrien	if a remote host is up or down, use NFS v.2.  Fix suggested by
176638494Sobrien	Enami Tsugutomo <enami@cv.sony.co.jp>.
176738494Sobrien
176838494Sobrien	* conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
176938494Sobrien	function to get the best possible NFS version, but also timeout
177038494Sobrien	faster than normal defaults, so remote hosts which are down can be
177138494Sobrien	detected in a reasonable time.
177238494Sobrien	(get_nfs_version): use the new "best" function.
177338494Sobrien
177438494SobrienTue Sep  2 00:41:00 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
177538494Sobrien
177638494Sobrien	*******************************************************************
177738494Sobrien	*** Released am-utils-6.0a10					***
177838494Sobrien	*******************************************************************
177938494Sobrien
178038494SobrienMon Sep  1 15:39:51 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
178138494Sobrien
178238494Sobrien	* conf/transp/transp_tli.c (get_nfs_version): don't use
178338494Sobrien	clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
178438494Sobrien	and earlier).
178538494Sobrien
178638494Sobrien	* aux/configure.in: test for existence of clnt_tp_create_timed(),
178738494Sobrien	since Solaris 2.4 (and possibly earlier) do not have it.
178838494Sobrien
178938494SobrienMon Sep  1 15:23:18 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
179038494Sobrien
179138494Sobrien	* amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
179238494Sobrien	field if it exists (solaris 2.4's autofs does not have it).
179338494Sobrien
179438494SobrienMon Sep  1 14:45:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
179538494Sobrien
179638494Sobrien	* aux/macros/type_auth_create_gidlist.m4: a new test to determine
179738494Sobrien	the correct type to the 5th argument of authunix_create().
179838494Sobrien
179938494SobrienMon Sep  1 03:44:32 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
180038494Sobrien
180138494Sobrien	* libamu/xdr_func.c (xdr_umntrequest): add test for autofs
180238494Sobrien	structure umntrequest, if it has the field rdevid.  Seems Solaris
180338494Sobrien	2.4 and earlier didn't have it.
180438494Sobrien
180538494SobrienMon Sep  1 01:10:53 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
180638494Sobrien
180738494Sobrien	* hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
180838494Sobrien	can be done before primary process forks.
180938494Sobrien	(main): bug fix: wait a bit to give child a chance to initialize.
181038494Sobrien	Without this, hlfsd got into a busy infinite loop while, never
181138494Sobrien	completing the mount.
181238494Sobrien
181338494Sobrien	* amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
181438494Sobrien	to make amd works when talking to NIS+ servers in NIS
181538494Sobrien	compatibility mode.
181638494Sobrien
181738494SobrienMon Sep  1 00:46:56 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
181838494Sobrien
181938494Sobrien	* amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
182038494Sobrien
182138494SobrienSun Aug 31 20:20:40 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
182238494Sobrien
182338494Sobrien	* amd/conf.c (gopt_fully_qualified_hosts): a new function to
182438494Sobrien	process another new global variable.
182538494Sobrien
182638494Sobrien	* amd/ops_nfs.c (make_nfs_auth): if a new global variable
182738494Sobrien	fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
182838494Sobrien	Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
182938494Sobrien
183038494Sobrien	* amd/conf.c (process_last_regular_map): If the amd.conf file only
183138494Sobrien	has a [global] section (pretty useless IMHO), do not try to
183238494Sobrien	process a map that does not exist.
183338494Sobrien
183438494Sobrien	* scripts/amd.conf.5: fixed typos (repeated 'as' word).
183538494Sobrien
183638494Sobrien	* doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
183738494Sobrien
183838494Sobrien	* amd/conf.c (reset_cf_map): Bug fix.  Reset 'tag' field of cfm
183938494Sobrien	structure, so it does not carry over from map entry to another.
184038494Sobrien
184138494SobrienSat Aug 30 18:39:21 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
184238494Sobrien
184338494Sobrien	* amd/amd.c (main): fixed the meaning of the plock option.  A bug
184438494Sobrien	caused it to be reversed.
184538494Sobrien
184638494SobrienSat Aug 30 15:13:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
184738494Sobrien
184838494Sobrien	* hlfsd/stubs.c: don't initialize some statics here.  They are
184938494Sobrien	better initialized in hlfsd_init_filehandles().
185038494Sobrien
185138494SobrienFri Aug 22 14:47:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
185238494Sobrien
185338494Sobrien	* amd/conf.c (gopt_show_statfs_entries): new function and a global
185438494Sobrien	amd.conf key show_statfs_entries.  Defaults to 'no'.  If 'yes',
185538494Sobrien	then all maps flagged as browsable will also show a count of the
185638494Sobrien	number of entries (keys) in that map.
185738494Sobrien
185838494Sobrien	* amd/nfs_subr.c (count_map_entries): new function to count number
185938494Sobrien	of entries in a map.  Now used if browsable is turned on in a map,
186038494Sobrien	to return a count of available keys in a given map.
186138494Sobrien
186238494Sobrien	* hlfsd/stubs.c (eq_fh): use correct memcmp().  BUG fixed! hlfsd
186338494Sobrien	confused the file handles for ".", "..", and the symlink, causing
186438494Sobrien	mess.
186538494Sobrien
186638494Sobrien	* aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
186738494Sobrien	but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
186838494Sobrien	with bad memcmp() in libc's (nextstep3).
186938494Sobrien
187038494SobrienThu Aug 21 17:38:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
187138494Sobrien
187238494Sobrien	* aux/configure.in: check if autofs_args_t has a field named
187338494Sobrien	addr.  Solaris has it for specifying the address of the daemon,
187438494Sobrien	but Irix does not.  So how does irix tell the kernel the daemon's
187538494Sobrien	address?  I suspect that it is hardcoded to "localhost" using a
187638494Sobrien	"private well-known port" (#define AUTOFS_PORT 2048).
187738494Sobrien
187838494Sobrien	* conf/nfs_prot/nfs_prot_linux.h: added missing autofs
187938494Sobrien	definitions.
188038494Sobrien
188138494Sobrien	* README.autofs: new file listing autofs support notes
188238494Sobrien
188338494Sobrien	* very preliminary autofs code working.  Call it pre-alpha
188438494Sobrien	quality.
188538494Sobrien
188638494SobrienSun Aug 17 02:25:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
188738494Sobrien
188838494Sobrien	* amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
188938494Sobrien	"autofs" if system does not support it.
189038494Sobrien
189138494Sobrien	* amd/amd.c (main): log am-utils version string (same as amd -v)
189238494Sobrien	at start of run.
189338494Sobrien
189438494Sobrien	* conf/transp/transp_sockets.c (get_nfs_version): in order to tell
189538494Sobrien	if a remote host is available, try to contact its portmapper and
189638494Sobrien	timeout if no answer is received in 3 seconds.
189738494Sobrien
189838494SobrienThu Aug 14 16:12:04 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
189938494Sobrien
190038494Sobrien	* aux/macros/check_extern.m4 (pattern): use a simpler pattern for
190138494Sobrien	match for external function definitions.  The function could span
190238494Sobrien	multiple lines, so only match the opening parenthesis, not the
190338494Sobrien	closing one too.
190438494Sobrien
190538494Sobrien	* aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
190638494Sobrien	posix mode for nextstep3.  It is broken.
190738494Sobrien
190838494Sobrien	* amd/amd.c (init_global_options): run uname() only if
190938494Sobrien	<sys/utsname.h> and uname(2) exist.
191038494Sobrien
191138494Sobrien	* amd/rpc_fwd.c (fwd_packet): if remote host is down, the
191238494Sobrien	forwarding socket is null, so declare this an error.
191338494Sobrien
191438494Sobrien	* include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
191538494Sobrien	for when a remote host is down.  Try, in order, "host down", "host
191638494Sobrien	unreachable", "invalid argument".
191738494Sobrien
191838494Sobrien	* amd/ops_nfs.c (discard_fh): don't dereference a null pointer
191938494Sobrien	(happens when remote host is down, and fp->fh_fs is NULL).
192038494Sobrien	(prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
192138494Sobrien	and FSF_DOWN.
192238494Sobrien
192338494Sobrien	* amd/sched.c: nobody uses "union wait" any more, or so it
192438494Sobrien	appears, so clean up that code.
192538494Sobrien
192638494Sobrien	* conf/transp/transp_tli.c (get_nfs_version): if remote host is
192738494Sobrien	down, time it out faster than default (3 seconds).
192838494Sobrien	(get_mount_client): free netconfig entry when done with it.
192938494Sobrien
193038494Sobrien	* conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
193138494Sobrien	port to nextstep3 (m68k-next-nextstep3).
193238494Sobrien
193338494Sobrien	* fsinfo/Makefile.am (LDADD): needs to link with libamu in case
193438494Sobrien	system does not have strdup().
193538494Sobrien
193638494Sobrien	* include/am_defs.h: complete external definition for getlogin()
193738494Sobrien	if needed.
193838494Sobrien
193938494Sobrien	* conf/transp/transp_tli.c (get_nfs_version): no need to keep
194038494Sobrien	static versout variable.
194138494Sobrien
194238494Sobrien	* amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
194338494Sobrien	server is probably down.  Don't use sendto() in that case.
194438494Sobrien
194538494Sobrien	* buildall (default): run gmake if found, before trying plain
194638494Sobrien	make.  GNU make is always preferable.
194738494Sobrien
194838494SobrienTue Aug 12 21:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
194938494Sobrien
195038494Sobrien	* aux/macros/host_macros.m4: cleanup of os_version and os
195138494Sobrien	overrides.  Solaris 2.5.1 for example will come up as solaris2 and
195238494Sobrien	2.5.1, rather than sunos5 and 5.5.1.  Both can be overridden in
195338494Sobrien	the amd.conf file.
195438494Sobrien
195538494SobrienFri Aug  8 14:37:30 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
195638494Sobrien
195738494Sobrien	*******************************************************************
195838494Sobrien	*** Released am-utils-6.0a9					***
195938494Sobrien	*******************************************************************
196038494Sobrien
196138494SobrienThu Aug  7 00:52:14 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
196238494Sobrien
196338494Sobrien	* conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
196438494Sobrien	(i486-ncr-sysv4.3.03) headers.  Needed to complete missing stuff
196538494Sobrien	from <ndbm.h> and <sys/resource.h>.
196638494Sobrien
196738494Sobrien	* scripts/amd.conf.5: new map page.
196838494Sobrien
196938494Sobrien	* amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
197038494Sobrien	does not.
197138494Sobrien
197238494Sobrien	* amd/amd.8: updated man page.
197338494Sobrien
197438494Sobrien	* amd/get_args.c (get_args): removed defunct -h option to amd.
197538494Sobrien
197638494Sobrien	* amq/amq.8: updated man page.
197738494Sobrien
197838494Sobrien	* amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
197938494Sobrien	SparcCompiler CC won't complain.
198038494Sobrien
198138494Sobrien	* amd/info_hesiod.c (hesiod_search): small fixes to compile with
198238494Sobrien	hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
198338494Sobrien
198438494Sobrien	* aux/macros/opt_ldflags.m4: new option added to configure
198538494Sobrien	--enable-ldflags, to specify -L option for configuring/compiling.
198638494Sobrien	The older one --enable-libs is now to be used only for -l options.
198738494Sobrien
198838494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): bug fixed.  Should initialize
198938494Sobrien	nc_protoname from nfs_proto if available for all TLI systems, not
199038494Sobrien	just those that have NFS V3.
199138494Sobrien
199238494Sobrien	* amd/info_ldap.c: ldap patches from Leif Johansson
199338494Sobrien	<leifj@matematik.su.se>, adding two new amd.conf ldap variables:
199438494Sobrien	ldap_cache_seconds and ldap_cache_maxmem.
199538494Sobrien
199638494Sobrien	* hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
199738494Sobrien	htons().
199838494Sobrien
199938494SobrienSun Aug  3 17:20:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
200038494Sobrien
200138494Sobrien	* amd/nfs_start.c (mount_automounter): register amd with the rpc
200238494Sobrien	program number that may have been overridden by amd.conf.
200338494Sobrien
200438494Sobrien	* libamu/xutil.c (set_amd_program_number, get_amd_program_number):
200538494Sobrien	allow storing and retrieving alternate amd program numbers.
200638494Sobrien
200738494Sobrien	* amd/conf.c (gopt_portmap_program): new function to parse
200838494Sobrien	amd.conf entry portmap_program=1234.
200938494Sobrien
201038494Sobrien	* amq/amq.c (main): allow specifying an alternate rpc program
201138494Sobrien	number for amd via -P prognum.
201238494Sobrien
201338494Sobrien	* new amq RPC to get the process id of the running amd.  This is
201438494Sobrien	used in ctl-amd to quickly find the pid of the amd that is to be
201538494Sobrien	killed.
201638494Sobrien
201738494Sobrien	* expanded shared libraries support.  Using GNU libtool-1.0,
201838494Sobrien	am-utils now builds shared libraries on many platforms that have
201938494Sobrien	support for it and proper compilers/linkers.  See "INSTALL" file
202038494Sobrien	for compatibility chart.
202138494Sobrien
202238494SobrienThu Jul 31 13:07:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
202338494Sobrien
202438494Sobrien	* fsinfo/fsi_lex.l: removed code that was in support of very old
202538494Sobrien	versions of flex.  No longer needed.
202638494Sobrien
202738494SobrienTue Jul 29 12:00:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
202838494Sobrien
202938494Sobrien	* amd/amd.c (init_global_options): find the kernel architecture
203038494Sobrien	from uname() if possible.
203138494Sobrien
203238494SobrienMon Jul 28 03:53:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
203338494Sobrien
203438494Sobrien	* new working port: i386-unknown-openbsd2.1
203538494Sobrien
203638494SobrienFri Jul 25 03:16:31 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
203738494Sobrien
203838494Sobrien	* working port: sparc-sun-solaris2.4.  Had to fix fhandle_t from
203938494Sobrien	structure to actual char[], because the structure was passed to
204038494Sobrien	xdr_fhandle as data and not a pointer.  Surprisingly, gcc
204138494Sobrien	-fpcc-struct-return did not help.
204238494Sobrien	
204338494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
204438494Sobrien	definitions for solaris 2.4 have to be different from 2.3, and
204538494Sobrien	different from 2.5.
204638494Sobrien
204738494Sobrien	* libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
204838494Sobrien
204938494SobrienThu Jul 24 16:22:39 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
205038494Sobrien
205138494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
205238494Sobrien	types, not ==.  Fix from Christos Zoulas <christos@deshaw.com>.
205338494Sobrien
205438494Sobrien	* mk-amd-map/mk-amd-map.8: man page taken from bsd44.
205538494Sobrien
205638494SobrienThu Jul 24 00:01:55 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
205738494Sobrien
205838494Sobrien	* conf/mount/mount_linux.c: made the nfs error mapping code into a
205938494Sobrien	small function.
206038494Sobrien
206138494SobrienWed Jul 23 16:11:49 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
206238494Sobrien
206338494Sobrien	* conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
206438494Sobrien	error mappings from errno numbers to NFS errors.  From Debian
206538494Sobrien	Linux.
206638494Sobrien
206738494Sobrien	* scripts/am-eject.in (fs): new script (taken from Debian Linux
206838494Sobrien	folks) to auto-unmount floppy/cd devices before ejecting them.
206938494Sobrien
207038494Sobrien	* fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
207138494Sobrien	'5' as second arg to show_area_being_processed.  I'm not sure why.
207238494Sobrien
207338494Sobrien	* fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
207438494Sobrien	second arg to show_area_being_processed.  I'm not sure why.
207538494Sobrien
207638494Sobrien	* conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
207738494Sobrien	ensure that you have a buffer in *xopts to strcat onto.
207838494Sobrien	(mount_linux): fixed from Debian folks to ensure that NFS mount
207938494Sobrien	sockets are connected only for kernels prior to 1.3.10 (avoids
208038494Sobrien	hangs for multi-homed hosts).
208138494Sobrien
208238494Sobrien	* amd/mapc.c (make_entry_chain): from Debian folks: don't skip
208338494Sobrien	over amd map keys that have a prefix, and include the prefix in
208438494Sobrien	the returned readdir().
208538494Sobrien
208638494Sobrien	* amd/info_passwd.c (passwd_init, passwd_search): format
208738494Sobrien	enhancements from the Debian Linux folks.  They added
208838494Sobrien	- var0:=pw-prefix:=anydir
208938494Sobrien	- var1:=pw-rhost:=dom3.dom2.dom1
209038494Sobrien	- var2:=pw-user:=user
209138494Sobrien	- var3:=pw-home:=/anydir/dom1/dom2/dom3/user
209238494Sobrien
209338494Sobrien	* new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
209438494Sobrien
209538494Sobrien	* amd/ops_afs.c (afs_retry): patches from Debian Linux.  If
209638494Sobrien	afs_mount timed out, then explicitly forbid further retries after
209738494Sobrien	the timeout.  (afs_bgmount): buf fix from Debian Linux.  Timeout
209838494Sobrien	values (17 and 5) were mistakenly swapped.
209938494Sobrien
210038494SobrienWed Jul 23 15:53:25 1997  Erez Zadok  <ezk@felix.psl.cs.columbia.edu>
210138494Sobrien
210238494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
210338494Sobrien	support for Solaris 2.4 (the header files incorrectly define parts
210438494Sobrien	of the NFS V.3 protocol, but the kernel does not support it).
210538494Sobrien
210638494SobrienWed Jul 23 00:07:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
210738494Sobrien
210838494Sobrien	* amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
210938494Sobrien	for determining if using old or new hesiod libraries,
211038494Sobrien	respectively.
211138494Sobrien
211238494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
211338494Sobrien	V.3 then use non-connected sockets (both TCP and UDP).  Otherwise
211438494Sobrien	they cause hangs of mounts from multi-homed hosts when the return
211538494Sobrien	route is not the same as the outgoing route (esp. on NetBSD
211638494Sobrien	1.2.1).  If "conn" option was supplied, then don't turn on the
211738494Sobrien	"noconn" mount option.  Otherwise default to "noconn" mount
211838494Sobrien	option.
211938494Sobrien
212038494Sobrien	* aux/configure.in: better check for systems that need libgdbm and
212138494Sobrien	<ndbm.h>
212238494Sobrien
212338494SobrienTue Jul 22 04:02:05 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
212438494Sobrien
212538494Sobrien	* hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
212638494Sobrien	mounts are hidden from df(1) on systems that keep mount tables in
212738494Sobrien	kernel, such as osf1.
212838494Sobrien
212938494SobrienTue Jul 22 02:26:55 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
213038494Sobrien
213138494Sobrien	*******************************************************************
213238494Sobrien	*** Released am-utils-6.0a8					***
213338494Sobrien	*******************************************************************
213438494Sobrien
213538494SobrienMon Jul 21 21:33:19 1997  Erez Zadok  <ezk@stone.mcl.cs.columbia.edu>
213638494Sobrien
213738494Sobrien	* hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
213838494Sobrien	AF_INET when hlfsd mounts itself, thus getting an errno "protocol
213938494Sobrien	family not supported".
214038494Sobrien
214138494SobrienMon Jul 21 20:46:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
214238494Sobrien
214338494Sobrien	* verified that amd on NetBSD 1.2.1 (i386) works, but the OS
214438494Sobrien	itself is flaky.
214538494Sobrien
214638494Sobrien	* verified that amd AIX 3 works w/ the new readdir() code.
214738494Sobrien
214838494SobrienMon Jul 21 18:59:30 1997  Erez Zadok  <ezk@chestnut.mcl.cs.columbia.edu>
214938494Sobrien
215038494Sobrien	* amd/mapc.c (maptypes): changed the default map caching type for
215138494Sobrien	nis and ndbm maps to "MAPC_ALL", so that all possible entries will
215238494Sobrien	be available to amd for browsable_dirs=yes.
215338494Sobrien
215438494SobrienMon Jul 21 18:04:16 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
215538494Sobrien
215638494Sobrien	* amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
215738494Sobrien	afs_readdir into a browsable version and a non-browsable one.
215838494Sobrien	Fixed bugs that resulted in an infinite nfs_readdir loop on the
215938494Sobrien	localhost for some operating systems.
216038494Sobrien
216138494SobrienSat Jul 19 19:38:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
216238494Sobrien
216338494Sobrien	* amd/ops_afs.c (afs_readdir): fixed up the browsable code to
216438494Sobrien	comply with nfs_readdir specs.  It was returning all entries at
216538494Sobrien	once, even if there was not enough space in the RPC packet.  Now,
216638494Sobrien	it sends a reasonably sized chunk, and sets static state to resume
216738494Sobrien	it for the next continuation RPC of readdir.
216838494Sobrien
216938494Sobrien	* amd/conf.c (set_conf_kv): fixed bug that resulted in the first
217038494Sobrien	regular map not getting all of the [global] options defaulted from.
217138494Sobrien
217238494SobrienFri Jul 18 00:45:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
217338494Sobrien
217438494Sobrien	* amq/amq.c (main): fixed so that portmapper "ping" will only fail
217538494Sobrien	upon an RPC timeout
217638494Sobrien
217738494Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
217838494Sobrien	amd/hlfsd process to kill.
217938494Sobrien
218038494Sobrien	* amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
218138494Sobrien	determine how to avoid df from seeing amd's toplvl mounts.  Moved
218238494Sobrien	from libamu/mount_fs.c and include/am_utils.h.  Ensure that hlfsd
218338494Sobrien	is hidden from df.
218438494Sobrien	(mount_toplvl): fixed df types for irix.
218538494Sobrien
218638494SobrienThu Jul 17 21:59:45 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
218738494Sobrien
218838494Sobrien	* amq/amq.c (main): fixed bug that caused the 5 second timeout for
218938494Sobrien	TLI amq using udp to be ignored.
219038494Sobrien	(main): if amq cannot contact remote host's portmapper within 5
219138494Sobrien	seconds, timeout and fail faster than the default longer timeout
219238494Sobrien	(this is for non-TLI systems).
219338494Sobrien
219438494SobrienThu Jul 17 17:08:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
219538494Sobrien
219638494Sobrien	* amq/amq.c (get_secure_amd_client): if amq cannot contact
219738494Sobrien	remote host's portmapper within 5 seconds, timeout and fail faster
219838494Sobrien	than the default TLI timeout of over 4 minutes.
219938494Sobrien
220038494Sobrien	* amd/am_ops.c (ops_showfstypes): added styles for new bsd44
220138494Sobrien	file systems nullfs, unionfs, and umapfs.
220238494Sobrien	(ops_show1): cleanup code and and reuse this function.
220338494Sobrien	(vops): empty placeholders for nullfs, unionfs, and umapfs.
220438494Sobrien
220538494Sobrien	* amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
220638494Sobrien	bsd44 style file systems.
220738494Sobrien
220838494Sobrien	* fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
220938494Sobrien	sources.
221038494Sobrien
221138494Sobrien	* amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
221238494Sobrien	conflict with systems that define it in <sys/ioctl.h> and also
221338494Sobrien	define a conflicting one via lex.  Newer versions of f/lex are ok.
221438494Sobrien
221538494SobrienWed Jul 16 00:17:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
221638494Sobrien
221738494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
221838494Sobrien	acdirmin/max and acregmin/max only if they exist.
221938494Sobrien
222038494Sobrien	* aux/configure.in: test for nfs_args fields acdirmin and
222138494Sobrien	acregmin.
222238494Sobrien
222338494SobrienTue Jul 15 17:24:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
222438494Sobrien
222538494Sobrien	* aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
222638494Sobrien	"nondev" and commented back in checking for "nodev".  This was a
222738494Sobrien	typo.
222838494Sobrien
222938494Sobrien	* include/am_compat.h: more compatibility options: define "ro"
223038494Sobrien	mnttab option all the time.  Define "overlay" as needed.  Added
223138494Sobrien	more fillers of mnttab options (as per Daniel S. Riley
223238494Sobrien	<dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
223338494Sobrien	acregmin, noac, grpid, nosuid, and actimo.
223438494Sobrien
223538494Sobrien	* libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
223638494Sobrien	per dsr@mail.lns.cornell.edu (Daniel S. Riley).  Then cleaned up
223738494Sobrien	the same code for other options in struct opt_tab.
223838494Sobrien
223938494SobrienMon Jul 14 22:36:37 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
224038494Sobrien
224138494Sobrien	* amd/get_args.c (get_args): moved amd.conf file parsing to before
224238494Sobrien	the switching the default log/debug options.  Suggested by
224338494Sobrien	dsr@mail.lns.cornell.edu (Daniel S. Riley).
224438494Sobrien
224538494Sobrien	* aux/update_build_version: new script to record the build version
224638494Sobrien	of amd, along with the rest of the info thet comes up with amd -v.
224738494Sobrien
224838494SobrienSun Jul 13 00:30:24 1997  Erez Zadok  <ezk@decca.damtp.cam.ac.uk>
224938494Sobrien
225038494Sobrien	* aux/macros/os_cflags.m4: new macro, to add additional
225138494Sobrien	compilation options (also used during configuration), based on the
225238494Sobrien	OS and the compiler.  Used for solaris-2.6, osf, and irix6.
225338494Sobrien
225438494SobrienFri Jul 11 10:15:11 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
225538494Sobrien
225638494Sobrien	* amd/conf_tok.l, conf_parse.y: allow values of keys to include
225738494Sobrien	white spaces, if they are double-quoted (key="some value")
225838494Sobrien
225938494Sobrien	* amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
226038494Sobrien	of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
226138494Sobrien
226238494SobrienFri Jul 11 02:16:06 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
226338494Sobrien
226438494Sobrien	*******************************************************************
226538494Sobrien	*** Released am-utils-6.0a7					***
226638494Sobrien	*******************************************************************
226738494Sobrien
226838494SobrienThu Jul 10 12:19:25 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
226938494Sobrien
227038494Sobrien	* include/am_defs.h: fill in extern definition of innetgr() in
227138494Sobrien	case system headers don't.
227238494Sobrien
227338494Sobrien	* aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
227438494Sobrien	will show the full pathname to yacc/bison and f/lex.  Some systems
227538494Sobrien	have older or bad versions of those and this way the user will
227638494Sobrien	know for sure what is being invoked.
227738494Sobrien
227838494Sobrien	* tasks: file populated with todo items.
227938494Sobrien
228038494Sobrien	* scripts/amd2ldif.in: Script to convert amd maps to plain text
228138494Sobrien	LDAP object files.  Contributed by Leif Johansson
228238494Sobrien	<leifj@matematik.su.se>.
228338494Sobrien
228438494Sobrien	* aux/config.guess: added recognition for sun3's running 4.2bsd,
228538494Sobrien	from Tom Schmidt <tschmidt@micron.com>.  Fixed one small typo.
228638494Sobrien
228738494Sobrien	* amd/conf.c: several variables that were local to a map, were
228838494Sobrien	also added to [global], where they apply to all maps.  Each map
228938494Sobrien	can then individually override those defaults.  Flags
229038494Sobrien	affected: browsable_dirs and mount_type.  Options affected:
229138494Sobrien	map_type, map_options, and search_path.
229238494Sobrien
229338494Sobrien	* amd/amd.h: eliminated several global flags each of which took an
229438494Sobrien	int, in favor of one global flags variable used as a bit field.
229538494Sobrien
229638494Sobrien	* amd/amd.c (init_global_options): moved all global variables into
229738494Sobrien	a single struct amu_global_options, so it is easier to add new
229838494Sobrien	ones and/or identify existing ones.
229938494Sobrien
230038494Sobrien	* amd/get_args.c (get_args): removed unused amd -m option.
230138494Sobrien
230238494Sobrien	* amd/conf.c (gopt_cluster): added new amd.conf option for cluster
230338494Sobrien	name, same as amd -C.
230438494Sobrien
230538494Sobrien	* amd/info_ldap.c: LDAP info map functions from Leif Johansson
230638494Sobrien	<leifj@matematik.su.se>.
230738494Sobrien
230838494Sobrien	* amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
230938494Sobrien	amd.conf options for ldap_base and ldap_hostports.
231038494Sobrien
231138494Sobrien	* amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
231238494Sobrien	if the current host is in the ARG host netgroup.
231338494Sobrien
231438494Sobrien	* aux/configure.in: some systems replaced dbm in libc with GNU's
231538494Sobrien	libgdbm, so check for libgdbm, but only if dbm_open is not in
231638494Sobrien	libc already.  This was a recommendation from Tom Schmidt
231738494Sobrien	<tschmidt@micron.com>.
231838494Sobrien
231938494Sobrien	* conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
232038494Sobrien	completed.
232138494Sobrien
232238494SobrienWed Jul  9 18:14:59 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
232338494Sobrien
232438494Sobrien	* port to sparc-unknown-netbsd1.2E done, not tested.  Includes NFS
232538494Sobrien	V.3.
232638494Sobrien
232738494SobrienTue Jul  8 17:35:07 1997  Erez Zadok  <ezk@elk.mcl.cs.columbia.edu>
232838494Sobrien
232938494Sobrien	* port to i386-unknown-freebsd3.0 done and working.  Includes NFS
233038494Sobrien	V.3.
233138494Sobrien
233238494Sobrien	* aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
233338494Sobrien	file handle dereferencing style similar to freebsd22.
233438494Sobrien
233538494Sobrien	* include/am_defs.h: need to include <net/if_var.h> before
233638494Sobrien	<netinet/if_ether.h> on freebsd3.
233738494Sobrien
233838494Sobrien	* conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
233938494Sobrien	for freeBSD 3.0.
234038494Sobrien
234138494SobrienTue Jul  8 16:53:41 1997  Erez Zadok  <ezk@moisil.cs.columbia.edu>
234238494Sobrien
234338494Sobrien	* amd/info_nis.c (nis_reload): cast nis' callback function so
234438494Sobrien	picky compilers won't complain.
234538494Sobrien
234638494Sobrien	* libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
234738494Sobrien	gets compiled only if the system has NFS V3 and does not have
234838494Sobrien	xdr_mountres3.
234938494Sobrien
235038494SobrienTue Jul  8 12:42:03 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
235138494Sobrien
235238494Sobrien	* COPYING: put in some legal stuff in this file.
235338494Sobrien
235438494SobrienMon Jul  7 19:10:44 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
235538494Sobrien
235638494Sobrien	* NFS V3 now works under Irix5, thanks to patches from 
235738494Sobrien	Andreas Stolcke <stolcke@speech.sri.com>.
235838494Sobrien
235938494Sobrien	* conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
236038494Sobrien	version and an irix6 version, since irix5's NFS V3 code is broken
236138494Sobrien	and hacky.
236238494Sobrien
236338494Sobrien	* amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
236438494Sobrien	sizes for some hesiod queries.  Patch from Danny Braniss
236538494Sobrien	<danny@cs.huji.ac.il>.
236638494Sobrien
236738494SobrienMon Jul  7 19:04:14 1997  Erez Zadok  <ezk@glory.soscorp.com>
236838494Sobrien
236938494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
237038494Sobrien
237138494SobrienSun Jul  6 14:22:24 1997  Erez Zadok  <ezk@glory.soscorp.com>
237238494Sobrien
237338494Sobrien	* aux/{configure.in,acconfig.h}: added checks for struct
237438494Sobrien	nfs_args's fields proto and sotype (bsdi3).
237538494Sobrien	
237638494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
237738494Sobrien	nfs_args.flags for bsdi3.  Set field proto to 0.  Set sotype field
237838494Sobrien	to SOCK_STREAM or SOCK_DGRAM.
237938494Sobrien
238038494Sobrien	* aux/macros/check_mount_style.m4: add case for bsdi3.
238138494Sobrien
238238494Sobrien	* amd/info_hesiod.c: got hesiod support for bsdi3.
238338494Sobrien
238438494SobrienSun Jul  6 11:14:47 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
238538494Sobrien
238638494Sobrien	* aux/configure.in: look for hesiod on libc (bsdi3)
238738494Sobrien
238838494Sobrien	* amd/get_args.c (get_args): reformat usage so it fits in 80
238938494Sobrien	columns.
239038494Sobrien
239138494Sobrien	* scripts/ctl-amd.in: changed directory name for optional tftpboot
239238494Sobrien	map to /tftpboot/.amd.
239338494Sobrien
239438494SobrienSat Jul  5 17:46:45 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
239538494Sobrien
239638494Sobrien	*******************************************************************
239738494Sobrien	*** Released am-utils-6.0a6					***
239838494Sobrien	*******************************************************************
239938494Sobrien
240038494SobrienSat Jul  5 03:17:09 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
240138494Sobrien
240238494Sobrien	* scripts/ctl-amd.in: include -T tag for tftpboot.
240338494Sobrien
240438494Sobrien	* new port: mips-sgi-irix5.3.  Compiled with gcc, but NFS V3 code
240538494Sobrien	is broken and needs work on the specific nfs_args that irix5 uses
240638494Sobrien	for V3 mounts.
240738494Sobrien
240838494SobrienSat Jul  5 01:44:25 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
240938494Sobrien
241038494Sobrien	* amd/get_args.c (get_args): new options amd -T tag.  A map with
241138494Sobrien	tag=foo matching the -T tag will be processed.  All untagged maps
241238494Sobrien	get processed all the time.
241338494Sobrien
241438494SobrienFri Jul  4 16:19:26 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
241538494Sobrien
241638494Sobrien	* aux/configure.in: need to check for strcasecmp in libucb (ncr2)
241738494Sobrien
241838494Sobrien	* aux/macros/check_os_libs.m4: a new macro to set the usage of
241938494Sobrien	libnsl and libsocket based on the OS.
242038494Sobrien
242138494Sobrien	* libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
242238494Sobrien	defined (problem on osf4).
242338494Sobrien
242438494Sobrien	* conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
242538494Sobrien
242638494Sobrien	* include/am_defs.h, aux/macros/try_compile_nfs.m4,
242738494Sobrien	aux/macros/mount_headers.m4: do include <sys/proc.h> because it
242838494Sobrien	failes on irix5.  Rather, put in the individual
242938494Sobrien	conf/nfs_prot/nfs_prot_*.h headers.
243038494Sobrien
243138494Sobrien	* amd/conf.c: AIX3 doesn't like strdup() being passed a constant
243238494Sobrien	char*, so cast all strdup()'s args to a non-const char*.
243338494Sobrien
243438494Sobrien	* amd/mapc.c (root_newmap): don't try to strdup only a "const
243538494Sobrien	char *".
243638494Sobrien
243738494SobrienFri Jul  4 15:47:10 1997  Erez Zadok  <ezk@americas.psl.cs.columbia.edu>
243838494Sobrien
243938494Sobrien	* conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
244038494Sobrien	sys/errno.h.
244138494Sobrien
244238494SobrienThu Jul  3 17:49:00 1997  Erez Zadok  <ezk@prometheus.soscorp.com>
244338494Sobrien
244438494Sobrien	* made sure am-utils compiles, links, and runs properly on Irix
244538494Sobrien	6.2 using "cc -32 -Wl,-woff,"
244638494Sobrien
244738494Sobrien	* aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
244838494Sobrien	AC_CHECK_LIB.  If OTHER-LIBRARIES are defined and used, then add
244938494Sobrien	them to $LIBS.
245038494Sobrien
245138494Sobrien	* aux/configure.in: some cleanup of which libraries are needed.
245238494Sobrien	Espectially ensure that libnsl is included only on Solaris, where
245338494Sobrien	so far it is the only system on which it is absolutely necessary.
245438494Sobrien	Also no longer need to include libc explicitly. 
245538494Sobrien
245638494Sobrien	* amd/amd.c,wire-test/wire-test.c (main): convert IP address to
245738494Sobrien	network-long order before printing it.
245838494Sobrien
245938494Sobrien	* wire-test/wire-test.c (main): also check and report on the IP
246038494Sobrien	address of the local host, since some systems have bad versions of
246138494Sobrien	get_myaddress, or ones that conflict with other versions in
246238494Sobrien	multiple libraries (SunOS 4 and Irix especially).
246338494Sobrien
246438494SobrienWed Jul  2 18:19:02 1997  Erez Zadok  <ezk@starblazers.soscorp.com>
246538494Sobrien
246638494Sobrien	* scripts/ctl-amd.in: don't use full pathname so killproc() works
246738494Sobrien	better.  Also run bsd44 and irix style ps programs. 
246838494Sobrien
246938494Sobrien	* aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
247038494Sobrien	of library no matter if it was found or not.
247138494Sobrien
247238494SobrienWed Jul  2 02:11:48 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
247338494Sobrien
247438494Sobrien	* aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
247538494Sobrien	for M_* macros, but ensure that <sys/stream.h> is not included at
247638494Sobrien	all so it won't conflict with other M_* macros.
247738494Sobrien
247838494SobrienTue Jul  1 21:16:51 1997  Erez Zadok  <ezk@mako.cs.columbia.edu>
247938494Sobrien
248038494Sobrien	* conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
248138494Sobrien	irix should be "spec" (host:/path), not the dir of the mnt point.
248238494Sobrien
248338494Sobrien	* amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
248438494Sobrien	fixed.  If on, it essentially ignored the setting in a
248538494Sobrien	selector-controlled /defaults if there were 2 or more entries in it.
248638494Sobrien
248738494SobrienTue Jul  1 12:23:38 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
248838494Sobrien
248938494Sobrien	* scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
249038494Sobrien	using BSD style ps, then try SVR4 style ps.
249138494Sobrien
249238494Sobrien	* include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
249338494Sobrien	etc., to avoid conflicts with similar named macros in <ldap.h>.
249438494Sobrien
249538494Sobrien	* aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
249638494Sobrien	support needed for LDAP.  Now the code has to be written mostly in
249738494Sobrien	amd/info_ldap.c.
249838494Sobrien
249938494Sobrien	* Included additional patches from Andreas Stolcke
250038494Sobrien	<stolcke@speech.sri.com> to support using the best possible
250138494Sobrien	combination of NFS version (2,3) and protocol (udp,tcp) for any
250238494Sobrien	given host, since it appears that some Irix versions have NFS V3,
250338494Sobrien	but do not support TCP.
250438494Sobrien
250538494Sobrien	* scripts/ctl-amd.in: updated amd control script to look for and
250638494Sobrien	use amd.conf file.
250738494Sobrien
250838494SobrienTue Jul  1 00:28:23 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
250938494Sobrien
251038494Sobrien	* amd/mapc.c (mapc_create): now, each map in the amd.conf can be
251138494Sobrien	initialized off of a different type, or default to cycling through
251238494Sobrien	all maps until one of them matches.
251338494Sobrien
251438494SobrienMon Jun 30 20:49:13 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
251538494Sobrien
251638494Sobrien	* amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
251738494Sobrien	if browsable_dirs=yes is set in the map section in amd.conf, that
251838494Sobrien	map will return all entries back to a readdir(2).
251938494Sobrien
252038494SobrienSun Jun 29 16:22:11 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
252138494Sobrien
252238494Sobrien	* rudimentary amd.conf file support included.  You may even
252338494Sobrien	override things like os=sos5, to get "backwards" compatibilty with
252438494Sobrien	upl102.
252538494Sobrien
252638494SobrienSat Jun 28 13:35:02 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
252738494Sobrien
252838494Sobrien	* amd/conf.c: new file to process amd.conf file.
252938494Sobrien
253038494Sobrien	* amd/get_args.c (get_args): new options -H to print help.
253138494Sobrien
253238494Sobrien	* moved enable_default_selectors to be amd.conf controlled, and
253338494Sobrien	not compiler controlled.
253438494Sobrien
253538494Sobrien	* amd/get_args.c (get_args): new options -F <conf-file> to parse an
253638494Sobrien	amd configuration file.
253738494Sobrien
253838494SobrienWed Jun 25 23:15:42 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
253938494Sobrien
254038494Sobrien	* converted all files that used strcmp() == 0 or != 0  to using
254138494Sobrien	the STREQ() macro.
254238494Sobrien
254338494SobrienMon Jun 23 22:31:14 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
254438494Sobrien
254538494Sobrien	* aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
254638494Sobrien	search for any number of functions in any given library.
254738494Sobrien
254838494SobrienMon Jun 23 01:04:23 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
254938494Sobrien
255038494Sobrien	* amd/mapc.c: Included patch from Leif Johansson
255138494Sobrien	<leifj@matematik.su.se> to ensure that systems without an RE
255238494Sobrien	library can compile.
255338494Sobrien
255438494Sobrien	* libamu/mount_fs.c (mount_fs): Included patch from Andreas
255538494Sobrien	Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
255638494Sobrien	table are properly delimited by a comma.
255738494Sobrien
255838494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
255938494Sobrien	Stolcke <stolcke@speech.sri.com>, to allow users to override the
256038494Sobrien	proto= and vers= mount options.
256138494Sobrien
256238494SobrienSun Jun 22 01:00:11 1997  Eric Dana  (edana@ncr2.bgs.com)
256338494Sobrien
256438494Sobrien	* conf/nfs_prot/nfs_prot_svr4.h: port completed to
256538494Sobrien	i486-ncr-sysv4.3.03.  Assorted source cleanups done.
256638494Sobrien
256738494Sobrien	* include/am_defs.h, aux/macros/mount_headers.m4: don't include
256838494Sobrien	mnttab.h if sys/mnttab.h was already included, because on ncr2,
256938494Sobrien	they contain conflicting entries for struct mnttab.
257038494Sobrien
257138494SobrienSat Jun 21 23:52:15 1997  Eric Dana  (edana@ncr2.bgs.com)
257238494Sobrien
257338494Sobrien	* aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
257438494Sobrien
257538494SobrienFri Jun 20 06:14:17 1997  Erez Zadok  <ezk>
257638494Sobrien
257738494Sobrien	* amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
257838494Sobrien
257938494Sobrien	* aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
258038494Sobrien	on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
258138494Sobrien
258238494SobrienWed Jun 18 18:59:49 1997  Erez Zadok  <ezk@defiant.soscorp.com>
258338494Sobrien
258438494Sobrien	* aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
258538494Sobrien	nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
258638494Sobrien	better.
258738494Sobrien
258838494SobrienTue Jun 10 17:06:58 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
258938494Sobrien
259038494Sobrien	* amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
259138494Sobrien	NULL, set the maxlen and len fields in netbuf to zero.
259238494Sobrien
259338494SobrienWed May 28 22:52:28 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
259438494Sobrien
259538494Sobrien	* scripts/fix-amd-map.in (name): replace all matching patterns on
259638494Sobrien	line.
259738494Sobrien
259838494SobrienSun May 25 19:33:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
259938494Sobrien
260038494Sobrien	*******************************************************************
260138494Sobrien	*** Released am-utils-6.0a5					***
260238494Sobrien	*******************************************************************
260338494Sobrien
260438494SobrienSun May 25 13:37:24 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
260538494Sobrien
260638494Sobrien	* amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
260738494Sobrien	procedure now returns the full string that amd -v returns.
260838494Sobrien
260938494Sobrien	* amd/get_args.c (get_version_string): new function to return
261038494Sobrien	complete version/info string so it could be used more flexibly.
261138494Sobrien
261238494Sobrien	* amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
261338494Sobrien	of Fs types into a string buffer, rather than a FILE*.
261438494Sobrien
261538494Sobrien	* amd/mapc.c (mapc_showtypes): put the list of map types into a
261638494Sobrien	string buffer, rather than a FILE*.
261738494Sobrien
261838494SobrienSun May 25 01:25:36 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
261938494Sobrien
262038494Sobrien	* amd/get_args.c (get_args): amd -v also prints user who built
262138494Sobrien	amd, hostname built on, and date of configuration.
262238494Sobrien
262338494SobrienSat May 24 13:40:50 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
262438494Sobrien
262538494Sobrien	* scripts/lostaltmail.conf-sample: sample lostaltmail
262638494Sobrien	configuration file.
262738494Sobrien
262838494Sobrien	* scripts/lostaltmail.in: new script lostaltmail used to redeliver
262938494Sobrien	"lost" mail that hlfsd redirected to a temp location because the
263038494Sobrien	primary home file system of the user was full.
263138494Sobrien
263238494Sobrien	* scripts/amd2sun.in: new script amd2sun. Used to convert Sub
263338494Sobrien	automount maps to amd maps.
263438494Sobrien
263538494Sobrien	* scripts/ctl-hlfsd.in: new script ctl-hlfsd.  Used to start,
263638494Sobrien	stop, or restart hlfsd.
263738494Sobrien	
263838494Sobrien	* scripts/expn.1: man page for expn command.
263938494Sobrien
264038494Sobrien	* scripts/ctl-amd.in: new script ctl-amd.  Used to start, stop, or
264138494Sobrien	restart amd.
264238494Sobrien
264338494Sobrien	* scripts/expn.in: new script expn.  Actually taken from David
264438494Sobrien	Muir Sharnoff <muir@idiom.com>.  Used by hlfsd's mail re-delivery
264538494Sobrien	script.
264638494Sobrien
264738494Sobrien	* scripts/wait4amd.in: new script wait4amd added.  Waits for amd
264838494Sobrien	to come up on a host, and then runs a command (rsh $hostname by
264938494Sobrien	default).
265038494Sobrien
265138494Sobrien	* scripts/Makefile.am: new directory now holds all shell/perl
265238494Sobrien	scripts that belong to am-utils.
265338494Sobrien
265438494Sobrien	* conf/mount/mount_linux.c (parse_opts): new parser for
265538494Sobrien	linux-specific mounts.  Handles fs-type specific mount-options
265638494Sobrien	correctly.  Currently implemented: msdos, iso9660.
265738494Sobrien
265838494Sobrien	* amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
265938494Sobrien	(fix for linux).
266038494Sobrien
266138494Sobrien	* amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
266238494Sobrien	(fix for linux).
266338494Sobrien
266438494Sobrien	* amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
266538494Sobrien	core dumps upon "ls" of a mount point; an invalid pointer was
266638494Sobrien	being returned and dereferenced.
266738494Sobrien
266838494Sobrien	* port to Linux sparc working!
266938494Sobrien
267038494Sobrien	* hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
267138494Sobrien	failed to write test file, or else the fd will leak.
267238494Sobrien
267338494SobrienSun May 18 00:42:41 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
267438494Sobrien
267538494Sobrien	* amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
267638494Sobrien	instead of strcmp().
267738494Sobrien
267838494Sobrien	* Port to Digital Unix 4.0 (OSF) done.
267938494Sobrien
268038494Sobrien	* hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
268138494Sobrien	with dirname() function in <string.h> on OSF systems.
268238494Sobrien
268338494Sobrien	* fsinfo/fsi_util.c (set_ether_if): take out extern defintion of
268438494Sobrien	inet_addr().  It should come from <arpa/inet.h> instead.
268538494Sobrien
268638494Sobrien	* conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
268738494Sobrien
268838494Sobrien	* include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
268938494Sobrien	avoid conflicts with DU 4.0 system header.
269038494Sobrien
269138494SobrienThu May 15 22:49:12 1997  Erez Zadok  <ezk@subzero.cs.columbia.edu>
269238494Sobrien
269338494Sobrien	* libamu/mount_fs.c (mount_fs): pass along NFS version so I can
269438494Sobrien	determine if to include additional options in the mount table file
269538494Sobrien	entry (such as proto=tcp, and vers=3).
269638494Sobrien
269738494SobrienThu May 15 00:42:12 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
269838494Sobrien
269938494Sobrien	* libamu/mount_fs.c (mount_fs): include NFS version number in the
270038494Sobrien	mount table options, as well as proto={tcp,udp}.
270138494Sobrien
270238494SobrienWed May 14 14:30:19 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
270338494Sobrien
270438494Sobrien	* NFS V3 code ported to most other systems, so it compiles for V2
270538494Sobrien	and V3 NFS systems.
270638494Sobrien
270738494Sobrien	* NFS VERSION 3 support, first pass.  Working for Solaris and
270838494Sobrien	using TCP.
270938494Sobrien
271038494SobrienSun May 11 01:14:29 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
271138494Sobrien
271238494Sobrien	* amq/amq.c: many newline characters were missing from various
271338494Sobrien	stderr printfs.
271438494Sobrien
271538494SobrienSat May 10 13:09:06 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
271638494Sobrien
271738494Sobrien	* conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
271838494Sobrien	Solaris, which include NFS V3 support.
271938494Sobrien
272038494Sobrien	* conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
272138494Sobrien
272238494Sobrien	* conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
272338494Sobrien	protocol version while getting a mount client.
272438494Sobrien
272538494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
272638494Sobrien	file handle size, and proper file handle based on the correct NFS
272738494Sobrien	version number.
272838494Sobrien
272938494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
273038494Sobrien	Solaris and other SVR4 systems.
273138494Sobrien
273238494Sobrien	* amd/ops_nfs.c: store NFS file handle version and version
273338494Sobrien	specific handle in struct fh_cache.
273438494Sobrien	(got_nfs_fh): pick the correct RPC reply based on the NFS version
273538494Sobrien	of the server.
273638494Sobrien	(prime_nfs_fhandle_cache): figure out the right NFS file handle
273738494Sobrien	for a node, but now include NFS protocol version information.
273838494Sobrien	(call_mountd): set the correct version for the mount protocol,
273938494Sobrien	based on the NFS protocol version.
274038494Sobrien	(nfs_init): use the NFS protocol generic structure
274138494Sobrien	am_nfs_handle_t.
274238494Sobrien
274338494Sobrien	* include/am_utils.h: new structure am_nfs_handle_t to contain all
274438494Sobrien	possible versions of NFS file handles.
274538494Sobrien
274638494Sobrien	* amd/srvr_nfs.c (start_ping): ping program performs NFS version
274738494Sobrien	specific pings.
274838494Sobrien	(recompute_portmap): figure out the correct portmap version mount.
274938494Sobrien	(nfs_keepalive): call start_ping() with the correct NFS version.
275038494Sobrien	(find_nfs_srvr): if mount option "vers=" is given, use it.  Get
275138494Sobrien	the NFS server version and verify that it is up.
275238494Sobrien
275338494Sobrien	* conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
275438494Sobrien	function to find the best NFS version for a particular host.
275538494Sobrien
275638494Sobrien	* libamu/amu.h: determine what is the highest version of NFS we
275738494Sobrien	should try.
275838494Sobrien
275938494Sobrien	* include/am_utils.h (NFS_VERSION3): added definition for NFS V3
276038494Sobrien	protocol number.
276138494Sobrien	Added field fs_version to struct fserver, so we can now store the
276238494Sobrien	server protocol version.
276338494Sobrien
276438494SobrienFri May  9 01:09:45 1997  Erez Zadok  <ezk@lorien.cs.columbia.edu>
276538494Sobrien
276638494Sobrien	* aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
276738494Sobrien	underscores too, so I can test for sub-fields.
276838494Sobrien
276938494Sobrien	* libamu/wire.c: use test that checks for sub-fields of struct
277038494Sobrien	ifreq.
277138494Sobrien
277238494SobrienSat May  6 10:20:17 2000  Erez Zadok  <ezk@glory.soscorp.com>
277338494Sobrien
277438494Sobrien	* port to BSD/OS 3.0 completed!  Many xdr_ functions were broken
277538494Sobrien	into smaller files.  M4 macros fixed to test for existence of
277638494Sobrien	file systems using getvfsbyname().
277738494Sobrien
277838494Sobrien	* amd/sched.c (sigchld): signal handler must waitpid() for all
277938494Sobrien	possible children.
278038494Sobrien
278138494Sobrien	* hlfsd/homedir.c: signal handler must waitpid() for all possible
278238494Sobrien	children. 
278338494Sobrien
278438494Sobrien	* aux/macros/check_restartable_signals.m4: new macro to determine
278538494Sobrien	if need to reinstall signal handlers per OS is better than trying
278638494Sobrien	to figure these out based on system macros.
278738494Sobrien
278838494SobrienFri May  5 19:23:28 2000  Erez Zadok  <ezk@glory.soscorp.com>
278938494Sobrien
279038494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
279138494Sobrien
279238494Sobrien	* amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
279338494Sobrien
279438494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
279538494Sobrien	(must be supplied for bsdi 3.0)
279638494Sobrien
279738494Sobrien	* libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
279838494Sobrien	associated new macro) for determining the right way to compute the
279938494Sobrien	size of the interface structure.
280038494Sobrien
280138494SobrienFri Apr 11 15:56:13 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
280238494Sobrien
280338494Sobrien	* aux/configure.in: need to include libc before libnsl if
280438494Sobrien	get_myaddress() is available because on irix libnsl has a buggy
280538494Sobrien	get_myaddress().
280638494Sobrien
280738494Sobrien	* include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
280838494Sobrien	on Irix 6 (an SVR4 variant)
280938494Sobrien
281038494SobrienThu Mar 27 02:28:40 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
281138494Sobrien
281238494Sobrien	*******************************************************************
281338494Sobrien	*** Released am-utils-6.0a4					***
281438494Sobrien	*******************************************************************
281538494Sobrien
281638494SobrienWed Mar 26 21:15:36 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
281738494Sobrien
281838494Sobrien	* amd/amq_subr.c (ok_security): turned off insecure code unless
281938494Sobrien	user explicitly runs configure --enable-amq-mount.
282038494Sobrien
282138494Sobrien	* hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
282238494Sobrien
282338494Sobrien	* amd/nfs_start.c (mount_automounter): use code that separately
282438494Sobrien	creates the NFS and the amq service.  Register tcp and udp
282538494Sobrien	services for amd.
282638494Sobrien
282738494Sobrien	* conf/transp/transp_*.c (create_amq_service): new function to
282838494Sobrien	separately create the amq service for amd.  Simplified prototypes
282938494Sobrien	for create_nfs_service().
283038494Sobrien
283138494SobrienWed Mar 19 20:40:56 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
283238494Sobrien
283338494Sobrien	*******************************************************************
283438494Sobrien	*** Released am-utils-6.0a3					***
283538494Sobrien	*******************************************************************
283638494Sobrien
283738494SobrienWed Mar 19 17:49:18 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
283838494Sobrien
283938494Sobrien	* new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0.  Lots
284038494Sobrien	of small changes to support these two.
284138494Sobrien
284238494SobrienWed Mar 19 14:33:30 1997  Erez Zadok  <ezk@grande.cs.columbia.edu>
284338494Sobrien
284438494Sobrien	* conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
284538494Sobrien	should run if MOUNT_TABLE_ON_FILE, not otherwise.
284638494Sobrien
284738494SobrienMon Mar 17 22:02:43 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
284838494Sobrien
284938494Sobrien	* hlfsd/hlfsd.c (main): fill in fhsize field if exists
285038494Sobrien	(freebsd-2.2).
285138494Sobrien
285238494Sobrien	* amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
285338494Sobrien	exists (freebsd-2.2).
285438494Sobrien
285538494SobrienSat Mar 15 19:37:48 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
285638494Sobrien
285738494Sobrien	* new port: i386-unknown-freebsd2.2.  FreeBSD 2.2 and higher
285838494Sobrien	changed the filehandle type in struct nfs_args from nfsv2fh_t to
285938494Sobrien	u_char.
286038494Sobrien
286138494SobrienSat Mar 14 10:11:03 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
286238494Sobrien
286338494Sobrien	* SHARED LIBRARIES: too many change to list individually.  Now,
286438494Sobrien	libamu can be built as a shared library, and other programs link
286538494Sobrien	with it.
286638494Sobrien
286738494SobrienTue Mar 11 22:24:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
286838494Sobrien
286938494Sobrien	* aux/macros/opt_shared.m4: new macro for setting options for
287038494Sobrien	building shared am-utils libraries.
287138494Sobrien
287238494SobrienSun Mar  9 19:17:46 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
287338494Sobrien
287438494Sobrien	* fixmount/fixrmtab: cleaned up the script.
287538494Sobrien
287638494Sobrien	* fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
287738494Sobrien	fixrmtab gets distributed too.
287838494Sobrien
287938494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
288038494Sobrien	Added extern for xdr_mountlist().
288138494Sobrien
288238494Sobrien	* aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
288338494Sobrien	MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
288438494Sobrien	the sources.
288538494Sobrien
288638494SobrienSat Mar  8 00:23:58 1997  Erez Zadok  <ezk@shekel.mcl.cs.columbia.edu>
288738494Sobrien
288838494Sobrien	* fixmount/hlfsd ported to bsd44, hpux, and linux systems.
288938494Sobrien
289038494Sobrien	* aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
289138494Sobrien
289238494Sobrien	* conf/fixmount/fixmount_default.c: use lockf() if flock() is
289338494Sobrien	unavailable.
289438494Sobrien
289538494Sobrien	* include/am_defs.h: include <string.h> even if don't have
289638494Sobrien	STDC_HEADERS defined (sunos4).
289738494Sobrien	(seteuid): define seteuid() to be setresuid() for systems that
289838494Sobrien	have but not the other (hpux).
289938494Sobrien
290038494Sobrien	* aux/macros/check_extern.m4: test should include <strings.h>.
290138494Sobrien
290238494SobrienTue Mar  4 17:16:52 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
290338494Sobrien
290438494Sobrien	* lib/xutil.c (debug_option): moved from amd/getargs.c to this
290538494Sobrien	more proper file.
290638494Sobrien
290738494Sobrien	* include/am_utils.h: put in structure for debug options, for all
290838494Sobrien	progams to use.
290938494Sobrien
291038494Sobrien	* amd/get_args.c: moved structure for debug options out.
291138494Sobrien
291238494SobrienSun Mar  2 00:13:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
291338494Sobrien
291438494Sobrien	* ported fixmount.
291538494Sobrien
291638494Sobrien	* lib/ualarm.c: replacement function for systems that don't have a
291738494Sobrien	ualarm().
291838494Sobrien
291938494Sobrien	* ported fsinfo.
292038494Sobrien
292138494SobrienSun Mar  1 10:23:34 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
292238494Sobrien
292338494Sobrien	* ported mk-amd-map.
292438494Sobrien
292538494Sobrien	* buildall: added -K option to buildall, to run mkconf.
292638494Sobrien
292738494SobrienFri Feb 28 01:10:25 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
292838494Sobrien
292938494Sobrien	*******************************************************************
293038494Sobrien	*** Released am-utils-6.0a2					***
293138494Sobrien	*******************************************************************
293238494Sobrien
293338494SobrienThu Feb 27 13:58:59 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
293438494Sobrien
293538494Sobrien	* all *.[hcyl] files: add copyright line.
293638494Sobrien
293738494Sobrien	* aux/macros/check_mount_type.m4: test for mount type for
293838494Sobrien	linux-like systems, by checking for loadable or statically linked
293938494Sobrien	kernel filesystem modules.
294038494Sobrien
294138494Sobrien	* aux/macros/check_mnttab_type.m4: test for mount table entry
294238494Sobrien	for linux-like systems, by checking for loadable or statically
294338494Sobrien	linked kernel filesystem modules.
294438494Sobrien
294538494Sobrien	* aux/configure.in: pcfs filesystems can use vfat type (linux)
294638494Sobrien
294738494Sobrien	* aux/macros/check_fs_mntent.m4: test for filesystem existence for
294838494Sobrien	linux-like systems, by checking for loadable or statically linked
294938494Sobrien	kernel filesystem modules.
295038494Sobrien
295138494Sobrien	* conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
295238494Sobrien	9.0 header files.  This should be removed when HPUX 9.0 is deemed
295338494Sobrien	defunct.
295438494Sobrien
295538494Sobrien	* aux/acconfig.h: set an undefined variable for having an extern
295638494Sobrien	to clnt_sperrno().
295738494Sobrien
295838494Sobrien	* include/am_defs.h: define extern for clnt_sperrno() if needed.
295938494Sobrien
296038494Sobrien	* aux/configure.in: test for extern clnt_sperrno().
296138494Sobrien
296238494Sobrien	* aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
296338494Sobrien	similar to irix.
296438494Sobrien
296538494Sobrien	* aux/macros/check_mount_style.m4: use mount helper on HPUX.
296638494Sobrien
296738494Sobrien	* aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
296838494Sobrien	not integer (but may be mapped to one later).
296938494Sobrien
297038494Sobrien	* conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
297138494Sobrien	files.  They have mount(2) and vfsmount(2) which don't take same
297238494Sobrien	arguments, and they have string mount types MNTTYPE_* as well as
297338494Sobrien	integer types MOUNT_*.  So I need this new mount function to map
297438494Sobrien	from string types to integer types for the vfsmount() function.
297538494Sobrien
297638494Sobrien	* conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
297738494Sobrien	vfsmount(), call mount_hpux().
297838494Sobrien
297938494SobrienThu Feb 27 03:34:14 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
298038494Sobrien
298138494Sobrien	* lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
298238494Sobrien	both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
298338494Sobrien
298438494SobrienThu Feb 27 00:26:00 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
298538494Sobrien
298638494Sobrien	* conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
298738494Sobrien	hpux.
298838494Sobrien
298938494Sobrien	* include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
299038494Sobrien
299138494Sobrien	* aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
299238494Sobrien
299338494Sobrien	* buildall: added ability to configure using other shells than
299438494Sobrien	/bin/sh, on those systems where /bin/sh is buggy or limited
299538494Sobrien	(HPUX).
299638494Sobrien
299738494Sobrien	* aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
299838494Sobrien	defined am_nfs_fh, and also test for plain typedef "nfs_fh".
299938494Sobrien
300038494Sobrien	* aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
300138494Sobrien	reinstated macro.
300238494Sobrien
300338494Sobrien	* aux/configure.in: check for <nfs/export.h>
300438494Sobrien
300538494Sobrien	* include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
300638494Sobrien
300738494Sobrien	* aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
300838494Sobrien	exists.
300938494Sobrien
301038494Sobrien	* aux/macros/mount_headers.m4 (define): removed some non-working
301138494Sobrien	(on HPUX) code that attempts to recreate the fhandle_t rather than
301238494Sobrien	load it up from system headers.  Also added some NFS protocol
301338494Sobrien	header inclusion.  include <nfs/export.h> (HPUX) if exists.
301438494Sobrien
301538494SobrienWed Feb 26 00:32:35 1997  Erez "HWank1" Zadok  <ezk@okeeffe.cs.columbia.edu>
301638494Sobrien
301738494Sobrien	* aux/macros/mount_headers.m4 (define): Use M4 changequote to
301838494Sobrien	ensure [] brackets are correctly used.
301938494Sobrien
302038494Sobrien	* aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
302138494Sobrien	multi-line M4 inclusions in [].
302238494Sobrien
302338494SobrienTue Feb 25 22:19:44 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
302438494Sobrien
302538494Sobrien	* conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
302638494Sobrien	it exists.
302738494Sobrien
302838494Sobrien	* aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
302938494Sobrien	config.h macro for field f_fstypename of struct statfs.
303038494Sobrien
303138494Sobrien	* aux/configure.in: testing for field f_fstypename field of struct
303238494Sobrien	statfs (NetBSD).
303338494Sobrien
303438494Sobrien	* aux/acconfig.h: moved all of the "static" definitions out to a
303538494Sobrien	fixed file called include/am_defs.h.  Added to all */Makefile.am
303638494Sobrien	files a dependency on am_defs.h.  Created am_defs.h of course, and
303738494Sobrien	then added #include <amd_defs.h> to all of the source and header
303838494Sobrien	files that required it.
303938494Sobrien
304038494SobrienMon Feb 24 01:27:02 1997  Erez Zadok  <ezk@defiant.soscorp.com>
304138494Sobrien
304238494Sobrien	* aux/acconfig.h: two more externals for xdr functions that may be
304338494Sobrien	implemented by libamu.
304438494Sobrien
304538494Sobrien	* conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
304638494Sobrien	definitions.
304738494Sobrien
304838494SobrienSun Feb 23 15:25:26 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
304938494Sobrien
305038494Sobrien	* buildall (default): added -D option for turning on even stricker
305138494Sobrien	developer options.
305238494Sobrien
305338494Sobrien	* */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
305438494Sobrien	determine dependencies on optional NFS protocol headers.
305538494Sobrien
305638494Sobrien	* aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
305738494Sobrien
305838494Sobrien	* aux/macros/check_nfs_prot_header.m4: new test to determine what
305938494Sobrien	NFS protocol headers to use. 
306038494Sobrien
306138494Sobrien	* conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
306238494Sobrien	complete missing system headers for NFS protocol definitions.
306338494Sobrien
306438494SobrienSun Feb 16 15:58:42 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
306538494Sobrien
306638494Sobrien	* amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
306738494Sobrien	#ifdef's as needed.
306838494Sobrien
306938494Sobrien	* amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
307038494Sobrien	suitable #ifdef'ed.
307138494Sobrien
307238494Sobrien	* include/am_compat.h: a couple more mnttab options
307338494Sobrien	(timeo/retrans) setting just in case.
307438494Sobrien
307538494Sobrien	* amd/autil.c (host_normalize): make sure hostent->h_name is
307638494Sobrien	passed a non-const char *.
307738494Sobrien
307838494Sobrien	* conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
307938494Sobrien
308038494Sobrien	* {lib,amq,amd}/*.c (many functions): cast xdr_entry to
308138494Sobrien	XDRPROC_T_TYPE.
308238494Sobrien
308338494Sobrien	* lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
308438494Sobrien	XDRPROC_T_TYPE.
308538494Sobrien
308638494Sobrien	* lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
308738494Sobrien	XDRPROC_T_TYPE.
308838494Sobrien
308938494Sobrien	* lib/wire.c (getwire): Make sure safe assignment from const to
309038494Sobrien	none is done.
309138494Sobrien
309238494SobrienSat Feb 15 19:38:51 1997  Erez "HWank1" Zadok  <ezk@vir.cs.columbia.edu>
309338494Sobrien
309438494Sobrien	* aux/macros/expand_cpp_int.m4: new macro for expanding integers.
309538494Sobrien
309638494Sobrien	* aux/configure.in: added linux/fs.h support in configure and
309738494Sobrien	several M4 macros.
309838494Sobrien
309938494Sobrien	* conf/mount/mount_linux.c (mount_linux): use macro instead of
310038494Sobrien	"ugly" fixed hex number for mount() arguments.
310138494Sobrien
310238494SobrienSat Feb 15 02:09:47 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
310338494Sobrien
310438494Sobrien	* amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
310538494Sobrien	turned all of its code always on.  That code always seems to
310638494Sobrien	compile, as long as you have hesiod and libresolv.
310738494Sobrien
310838494Sobrien	* amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
310938494Sobrien	of its code always on.
311038494Sobrien
311138494Sobrien	* aux/configure.in: removed superfluous test for hs_zone_transfer
311238494Sobrien	function (will never find it because it is an amd-internal
311338494Sobrien	function).
311438494Sobrien
311538494Sobrien	* amd/mapc.c (maptypes): must used correct new name for am-utils'
311638494Sobrien	hesiod initialization function: hesiod_am_init.
311738494Sobrien
311838494Sobrien	* amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
311938494Sobrien	hesiod_am_init so as not to conflict with libhesiod's
312038494Sobrien	hesiod_init() function.
312138494Sobrien
312238494Sobrien	* aux/configure.in: added test and explicit inclusion of
312338494Sobrien	libresolv.a for later resolution of library references with
312438494Sobrien	libhesiod.
312538494Sobrien
312638494Sobrien	* aux/macros/opt_cppflags.m4: new file.  configure/compile C
312738494Sobrien	preprocessor flags.
312838494Sobrien
312938494Sobrien	* aux/macros/opt_libs.m4: new file.  configure/compile library
313038494Sobrien	flags.
313138494Sobrien
313238494Sobrien	* Makefile.am (EXTRA_DIST_AUX): include two new macros
313338494Sobrien	opt_cppflags.m4 and opt_libs.m4.
313438494Sobrien
313538494Sobrien	* aux/configure.in: test for libhesiod needs to additional
313638494Sobrien	libresolv to link completely.  Additional configuration time
313738494Sobrien	options added for setting initial CPPFLAGS and LIBS.
313838494Sobrien
313938494SobrienTue Feb 10 02:15:40 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
314038494Sobrien
314138494Sobrien	*******************************************************************
314238494Sobrien	*** Released am-utils-6.0a1					***
314338494Sobrien	*******************************************************************
314438494Sobrien
314538494SobrienThu Feb  6 02:55:19 1997  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
314638494Sobrien
314738494Sobrien	* amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
314838494Sobrien	it works on freebsd, where they map dbm_pagfno a non-existing
314938494Sobrien	macro on purpose, to force you to port the code to Berkeley DB.
315038494Sobrien
315138494SobrienFri Jan 31 01:35:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
315238494Sobrien
315338494Sobrien	* amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
315438494Sobrien	actual mount_toplvl, to avoid some possible race conditions.
315538494Sobrien
315638494SobrienThu Jan 30 02:31:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
315738494Sobrien
315838494Sobrien	* amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
315938494Sobrien
316038494SobrienWed Jan 29 18:25:07 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
316138494Sobrien
316238494Sobrien	* lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
316338494Sobrien
316438494Sobrien	* amd/amd.c (main): fix local address using htonl(). Free up
316538494Sobrien	buffers allocated by netdir_*() functions.
316638494Sobrien
316738494SobrienWed Jan 22 23:53:24 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
316838494Sobrien
316938494Sobrien	* amd/fix-amd-map.in: new script that will convert old-style amd
317038494Sobrien	maps to new one.
317138494Sobrien
317238494SobrienTue Jan 21 01:18:16 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
317338494Sobrien
317438494Sobrien	* FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
317538494Sobrien	and replies back to simple nfs/link type mount queries).
317638494Sobrien
317738494Sobrien	* conf/mtab/mtab_svr4.c: reorganized the code in this file to be
317838494Sobrien	easier to read, and fixed a few bugs with un/setting the lock file
317938494Sobrien	descriptor.
318038494Sobrien
318138494SobrienWed Jan  8 15:27:49 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
318238494Sobrien
318338494Sobrien	* amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
318438494Sobrien	signals in Svr3 systems.  Only stellix ever used this.
318538494Sobrien
318638494Sobrien	* amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
318738494Sobrien	by DYNAMIC_BUFFERS, since it was not in use.
318838494Sobrien
318938494SobrienTue Jan  7 00:45:59 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
319038494Sobrien
319138494Sobrien	* amd/opts.c (eval_opts): removed AMD_COMPAT code.  Amd no longer
319238494Sobrien	takes '=' sign as old selector.  Fix your maps.
319338494Sobrien	(deslashify): removed APOLLO code that treated two '//' as one.
319438494Sobrien
319538494SobrienSun Jan  5 01:25:09 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
319638494Sobrien
319738494Sobrien	* amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
319838494Sobrien	was not used.  It made any submount error fail the whole group.
319938494Sobrien
320038494Sobrien	* amd/ops_nfs.c (make_nfs_auth): removed code dependent on
320138494Sobrien	HAS_NFS_QUALIFIED_NAMES.
320238494Sobrien	(mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
320338494Sobrien	is never on.  So code that was triggered by #ifndef
320438494Sobrien	NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
320538494Sobrien	be fixed later.
320638494Sobrien	Removed all ULTRIX_HACK code.  Ultrix is DEAD!
320738494Sobrien	removed all PRESET_AC code, which was only on for Linux to preset
320838494Sobrien	the attribute cache values (otherwise they default to zero).
320938494Sobrien	(nfs_umounted): revobed KICK_KERNEL code (IRIX systems).  Will
321038494Sobrien	have to fixed up later.
321138494Sobrien	(mount_nfs_fh): removed code that was never included, which
321238494Sobrien	attempted to set the port on which amd's nfs mounts on.  This
321338494Sobrien	isn't supported by the ping algorithm yet.  In any case, it is all
321438494Sobrien	done in nfs_init().
321538494Sobrien
321638494Sobrien	* amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
321738494Sobrien	removed HAS_TCP_NFS code.  The whole use of NFS V.3 with TCP or
321838494Sobrien	specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
321938494Sobrien	have to be addressed later.
322038494Sobrien
322138494Sobrien	* amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
322238494Sobrien	on PRECISE_SYMLINKS.
322338494Sobrien
322438494Sobrien	* amd/mapc.c (mapc_meta_search): removed code that depended on
322538494Sobrien	HAS_DEPOT.  It is known buggy code.  The whole DEPOT support needs
322638494Sobrien	to be rethought.
322738494Sobrien	(mapc_add_kv): ported code to use standard regular expression
322838494Sobrien	(regexp) library.
322938494Sobrien
323038494Sobrien	* amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
323138494Sobrien	FLUSH_KERNEL_NAME_CACHE and the macro itself.
323238494Sobrien
323338494SobrienSat Jan  4 15:46:58 1997  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
323438494Sobrien
323538494Sobrien	* amd/map.c (exported_ap_alloc): removed all code triggered by
323638494Sobrien	SHRINK_EXPORTED_AP and the macro itself.
323738494Sobrien
323838494Sobrien	* amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
323938494Sobrien	in all the time.  Assuming that there is always NIS realod
324038494Sobrien	available.
324138494Sobrien	(yp_all_fixed): removed code for BROKEN_YP_ALL.  If your yp_all()
324238494Sobrien	function is broken such that it does not release filedescriptors
324338494Sobrien	it created, then you are hosed.  Get a fix for yp_all from your
324438494Sobrien	vendor or switch operating systems.
324538494Sobrien
324638494SobrienTue Dec 31 15:34:36 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
324738494Sobrien
324838494Sobrien	* amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
324938494Sobrien	HAVE_HS_ZONE_TRANSFER.
325038494Sobrien
325138494SobrienMon Dec 30 17:33:23 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
325238494Sobrien
325338494Sobrien	* amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
325438494Sobrien	always included.  We should always try to inform the remove mount
325538494Sobrien	daemon of mounts we performed.  If we want an option for this, it
325638494Sobrien	should be a run-time option.
325738494Sobrien
325838494Sobrien	* amd/host_ops.c: removed all that optionally did not make the
325938494Sobrien	directory mount points for amd.
326038494Sobrien
326138494Sobrien	* HOST_EXEC code removed from everywhere.  There is no indication
326238494Sobrien	that it was used anywhere.  If it needs to be used, then a
326338494Sobrien	run-time switch should control it.
326438494Sobrien
326538494SobrienThu Dec 26 00:06:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
326638494Sobrien
326738494Sobrien	* amd/*_ops.c: removed all references to mntent_t's fields
326838494Sobrien	mnt_freq and mnt_passno, since they are no longe rused (and never
326938494Sobrien	have been).
327038494Sobrien
327138494Sobrien	* amd/am_ops.c: removed function sunos4_match, which was off
327238494Sobrien	anyway.  This was one of the places where an '=' sign was allowed
327338494Sobrien	as an assignment operator (which is now ':=').
327438494Sobrien
327538494Sobrien	* amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
327638494Sobrien	was off anyway.  This was one of the places where an '=' sign was
327738494Sobrien	allowed as an assignment operator (which is now ':=').
327838494Sobrien
327938494SobrienTue Dec 24 01:53:52 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
328038494Sobrien
328138494Sobrien	* amq/amq.c: ported to am-utils.  Working.
328238494Sobrien
328338494Sobrien	* conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
328438494Sobrien	to be string, as it should be (rather than a string mapped to int
328538494Sobrien	and back mapped to string).
328638494Sobrien
328738494SobrienSun Dec 22 13:26:05 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
328838494Sobrien
328938494Sobrien	* lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
329038494Sobrien
329138494Sobrien	* lib/umount_fs.c: split this into three files: default, osf, and
329238494Sobrien	bsd44, that are in conf/umount/umount_*.c.
329338494Sobrien
329438494SobrienThu Dec 19 17:33:46 1996  Erez "HWank1" Zadok  <ezk@lorien.cs.columbia.edu>
329538494Sobrien
329638494Sobrien	* aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
329738494Sobrien	macro to automatically figure out if an external definition for
329838494Sobrien	sys_errlist[] exists.
329938494Sobrien
330038494Sobrien	* lib/xutil.c (xfree): removed "#undef free" because it's not
330138494Sobrien	needed there.  Any system that redefines free() needs help.
330238494Sobrien
330338494Sobrien	* conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
330438494Sobrien	was dependent on REWRITE_MTAB_IN_PLACE.  It does not appear to be
330538494Sobrien	in active use anywhere.  If added later, it should be a run-time
330638494Sobrien	configuration option.
330738494Sobrien
330838494Sobrien	* conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
330938494Sobrien	be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
331038494Sobrien	in a file in /etc.
331138494Sobrien
331238494Sobrien	* lib/util.c (str3cat): removed _AIX code.  AIX should have a
331338494Sobrien	working realloc, or else find a cleaner solution to this.
331438494Sobrien	(mkdirs): removed SUNOS4_WORKAROUND code.  This was to do a sync()
331538494Sobrien	after immediately making directories so that fsck will be able to
331638494Sobrien	fix the filesystem in the event of an immediate crash.  This was
331738494Sobrien	because a bug in UFS which is fixed by now.
331838494Sobrien
331938494Sobrien	* lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
332038494Sobrien	code.  Does not appear to be on and used anywhere.
332138494Sobrien	(dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
332238494Sobrien
332338494Sobrien	* lib/resvport.c: split the binding of reserved ports code to a
332438494Sobrien	separate file.  A #define (HAVE_T_OPEN) separates the TLI (SVR4)
332538494Sobrien	from the BSD code.
332638494Sobrien
332738494SobrienThu Dec 19 02:08:35 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
332838494Sobrien
332938494Sobrien	* lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
333038494Sobrien	in by automake and configure, for optional sources that need to be
333138494Sobrien	built as part of libamu.a.
333238494Sobrien
333338494Sobrien	* aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
333438494Sobrien	to LIBOBJS.
333538494Sobrien
333638494Sobrien	* lib/memcmp.c (memcmp): new file added to replace a possible bad
333738494Sobrien	implementation of memcmp.
333838494Sobrien
333938494SobrienWed Dec 18 22:20:23 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
334038494Sobrien
334138494Sobrien	* converted the sources to use memset/memmove/memcmp instead of
334238494Sobrien	bzero/becopy/bcmp.
334338494Sobrien
334438494Sobrien	* ran all sources through gnu Indent w/ options specified in
334538494Sobrien	aux/amindent.
334638494Sobrien
334738494SobrienWed Dec 11 22:19:29 1996  Erez "HWank1" Zadok  <ezk@shekel.mcl.cs.columbia.edu>
334838494Sobrien
334938494Sobrien	* At this point the initial genration of config.h via autoconf and
335038494Sobrien	some preliminary makefiles via automake is done.  I will not begin
335138494Sobrien	modifying sources, so it's a good time to document from here.
3352