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