Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/am-utils from ftp.am-utils.org



details:   https://anonhg.NetBSD.org/src/rev/2a6a0823c4c0
branches:  trunk
changeset: 580416:2a6a0823c4c0
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 23 18:07:47 2005 +0000

description:
from ftp.am-utils.org

diffstat:

 dist/am-utils/AUTHORS                                       |     37 +-
 dist/am-utils/COPYING                                       |      2 +-
 dist/am-utils/ChangeLog                                     |    879 +-
 dist/am-utils/FAQ                                           |     69 +
 dist/am-utils/INSTALL                                       |     39 +-
 dist/am-utils/Makefile.am                                   |      5 +
 dist/am-utils/Makefile.in                                   |    453 +-
 dist/am-utils/NEWS                                          |    121 +-
 dist/am-utils/README.ldap                                   |      9 +-
 dist/am-utils/README.osx                                    |     74 +
 dist/am-utils/acinclude.m4                                  |    325 +-
 dist/am-utils/aclocal.m4                                    |  14788 +-
 dist/am-utils/amd/Makefile.am                               |      4 +-
 dist/am-utils/amd/amfs_direct.c                             |      6 +-
 dist/am-utils/amd/amfs_error.c                              |      6 +-
 dist/am-utils/amd/amfs_generic.c                            |     37 +-
 dist/am-utils/amd/amfs_link.c                               |      6 +-
 dist/am-utils/amd/amfs_linkx.c                              |      6 +-
 dist/am-utils/amd/amfs_nfsl.c                               |      6 +-
 dist/am-utils/amd/amfs_nfsx.c                               |     10 +-
 dist/am-utils/amd/amfs_program.c                            |     35 +-
 dist/am-utils/amd/amfs_root.c                               |      6 +-
 dist/am-utils/amd/amfs_union.c                              |      6 +-
 dist/am-utils/amd/amq_svc.c                                 |      6 +-
 dist/am-utils/amd/clock.c                                   |      6 +-
 dist/am-utils/amd/conf.c                                    |    143 +-
 dist/am-utils/amd/conf_parse.y                              |      6 +-
 dist/am-utils/amd/conf_tok.l                                |      6 +-
 dist/am-utils/amd/info_exec.c                               |    425 +
 dist/am-utils/amd/info_file.c                               |     35 +-
 dist/am-utils/amd/info_nis.c                                |      6 +-
 dist/am-utils/amd/info_nisplus.c                            |      6 +-
 dist/am-utils/amd/nfs_prot_svc.c                            |     38 +-
 dist/am-utils/amd/ops_TEMPLATE.c                            |      6 +-
 dist/am-utils/amd/ops_cdfs.c                                |      6 +-
 dist/am-utils/amd/ops_efs.c                                 |      6 +-
 dist/am-utils/amd/ops_lofs.c                                |      6 +-
 dist/am-utils/amd/ops_mfs.c                                 |      6 +-
 dist/am-utils/amd/ops_nfs3.c                                |      6 +-
 dist/am-utils/amd/ops_nullfs.c                              |      6 +-
 dist/am-utils/amd/ops_pcfs.c                                |      6 +-
 dist/am-utils/amd/ops_tfs.c                                 |      6 +-
 dist/am-utils/amd/ops_tmpfs.c                               |      6 +-
 dist/am-utils/amd/ops_umapfs.c                              |      6 +-
 dist/am-utils/amd/ops_unionfs.c                             |      6 +-
 dist/am-utils/amd/ops_xfs.c                                 |      6 +-
 dist/am-utils/amd/readdir.c                                 |     12 +-
 dist/am-utils/amd/restart.c                                 |    135 +-
 dist/am-utils/amd/rpc_fwd.c                                 |      6 +-
 dist/am-utils/amd/srvr_amfs_auto.c                          |     10 +-
 dist/am-utils/amq/Makefile.am                               |      2 +-
 dist/am-utils/amq/amq.h                                     |      6 +-
 dist/am-utils/amq/amq_clnt.c                                |      6 +-
 dist/am-utils/amq/amq_xdr.c                                 |      6 +-
 dist/am-utils/autom4te.cache/output.0                       |  29008 +++-
 dist/am-utils/autom4te.cache/output.1                       |  67412 ++++++++++
 dist/am-utils/autom4te.cache/requests                       |    364 +-
 dist/am-utils/autom4te.cache/traces.0                       |  20987 ++-
 dist/am-utils/autom4te.cache/traces.1                       |   3896 +
 dist/am-utils/aux_conf.h.in                                 |      2 +
 dist/am-utils/conf/autofs/autofs_linux.c                    |      6 +-
 dist/am-utils/conf/autofs/autofs_linux.h                    |      3 +-
 dist/am-utils/conf/autofs/autofs_solaris_v1.c               |      6 +-
 dist/am-utils/conf/autofs/autofs_solaris_v1.h               |      3 +-
 dist/am-utils/conf/autofs/autofs_solaris_v2_v3.c            |      6 +-
 dist/am-utils/conf/autofs/autofs_solaris_v2_v3.h            |      3 +-
 dist/am-utils/conf/checkmount/checkmount_aix.c              |      9 +-
 dist/am-utils/conf/checkmount/checkmount_default.c          |     10 +-
 dist/am-utils/conf/checkmount/checkmount_osf.c              |      6 +-
 dist/am-utils/conf/checkmount/checkmount_svr4.c             |     10 +-
 dist/am-utils/conf/checkmount/checkmount_ultrix.c           |      6 +-
 dist/am-utils/conf/hn_dref/hn_dref_isc3.h                   |      7 +-
 dist/am-utils/conf/hn_dref/hn_dref_linux.h                  |      4 +-
 dist/am-utils/conf/mount/mount_aix.c                        |      6 +-
 dist/am-utils/conf/mount/mount_bsdi3.c                      |      6 +-
 dist/am-utils/conf/mount/mount_default.c                    |      6 +-
 dist/am-utils/conf/mount/mount_hpux.c                       |      6 +-
 dist/am-utils/conf/mount/mount_irix5.c                      |      6 +-
 dist/am-utils/conf/mount/mount_irix6.c                      |      6 +-
 dist/am-utils/conf/mount/mount_isc3.c                       |      6 +-
 dist/am-utils/conf/mount/mount_linux.c                      |     21 +-
 dist/am-utils/conf/mount/mount_mach3.c                      |      6 +-
 dist/am-utils/conf/mount/mount_stellix.c                    |      6 +-
 dist/am-utils/conf/mount/mount_svr4.c                       |      9 +-
 dist/am-utils/conf/mtab/mtab_aix.c                          |     14 +-
 dist/am-utils/conf/mtab/mtab_file.c                         |     15 +-
 dist/am-utils/conf/mtab/mtab_isc3.c                         |     30 +-
 dist/am-utils/conf/mtab/mtab_mach3.c                        |     15 +-
 dist/am-utils/conf/mtab/mtab_osf.c                          |      6 +-
 dist/am-utils/conf/mtab/mtab_svr4.c                         |      6 +-
 dist/am-utils/conf/mtab/mtab_ultrix.c                       |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_aix3.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_aix4.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_aix4_2.h               |      8 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_aix4_3.h               |     10 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_aix5_1.h               |     10 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_aix5_2.h               |     10 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_bsdi2.h                |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_bsdi3.h                |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_darwin.h               |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_default.h              |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_freebsd2.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_freebsd3.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_hpux.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_hpux11.h               |     21 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_irix5.h                |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_irix6.h                |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_linux.h                |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_ncr2.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_netbsd.h               |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_netbsd1_3.h            |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_netbsd1_4.h            |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_nextstep.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_openbsd.h              |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_osf2.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_osf4.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_osf5.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos3.h               |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos4.h               |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_3.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_4.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_5.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_6.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_7.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_8.h             |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_svr4.h                 |      6 +-
 dist/am-utils/conf/nfs_prot/nfs_prot_ultrix.h               |      6 +-
 dist/am-utils/conf/transp/transp_tli.c                      |    391 +-
 dist/am-utils/conf/umount/umount_bsd44.c                    |      6 +-
 dist/am-utils/conf/umount/umount_default.c                  |     22 +-
 dist/am-utils/conf/umount/umount_linux.c                    |    184 +
 dist/am-utils/conf/umount/umount_osf.c                      |      6 +-
 dist/am-utils/config.guess                                  |     72 +-
 dist/am-utils/config.guess.long                             |     14 +-
 dist/am-utils/config.h.in                                   |    137 +-
 dist/am-utils/config.sub                                    |     71 +-
 dist/am-utils/configure                                     |  29010 +++-
 dist/am-utils/configure.in                                  |     52 +-
 dist/am-utils/depcomp                                       |    353 +-
 dist/am-utils/doc/Makefile.am                               |     14 +-
 dist/am-utils/fixmount/Makefile.am                          |      2 +-
 dist/am-utils/fsinfo/Makefile.am                            |      2 +-
 dist/am-utils/fsinfo/fsi_data.h                             |      6 +-
 dist/am-utils/fsinfo/fsi_dict.c                             |      6 +-
 dist/am-utils/fsinfo/fsi_gram.y                             |      6 +-
 dist/am-utils/fsinfo/wr_bparam.c                            |      6 +-
 dist/am-utils/fsinfo/wr_dumpset.c                           |      6 +-
 dist/am-utils/fsinfo/wr_exportfs.c                          |      6 +-
 dist/am-utils/hlfsd/Makefile.am                             |      2 +-
 dist/am-utils/hlfsd/nfs_prot_svc.c                          |      6 +-
 dist/am-utils/hlfsd/stubs.c                                 |     12 +-
 dist/am-utils/include/am_xdr_func.h                         |      6 +-
 dist/am-utils/install-sh                                    |    445 +-
 dist/am-utils/ldap.schema                                   |     64 +-
 dist/am-utils/libamu/Makefile.am                            |      5 +-
 dist/am-utils/libamu/amu.h                                  |      6 +-
 dist/am-utils/libamu/clnt_sperrno.c                         |      6 +-
 dist/am-utils/libamu/memcmp.c                               |      6 +-
 dist/am-utils/libamu/mtab.c                                 |      6 +-
 dist/am-utils/libamu/nfs_prot_xdr.c                         |      6 +-
 dist/am-utils/libamu/strdup.c                               |      6 +-
 dist/am-utils/libamu/strlcpy.c                              |     86 +
 dist/am-utils/libamu/strstr.c                               |      6 +-
 dist/am-utils/libamu/ualarm.c                               |      6 +-
 dist/am-utils/libamu/util.c                                 |     35 +-
 dist/am-utils/libamu/xdr_func.c                             |      6 +-
 dist/am-utils/ltmain.sh                                     |   3143 +-
 dist/am-utils/m4/GNUmakefile                                |      6 +-
 dist/am-utils/m4/macros/c_void_p.m4                         |      2 +-
 dist/am-utils/m4/macros/check_amu_fs.m4                     |      2 +-
 dist/am-utils/m4/macros/check_autofs_style.m4               |      2 +-
 dist/am-utils/m4/macros/check_checkmount_style.m4           |      2 +-
 dist/am-utils/m4/macros/check_extern.m4                     |      4 +-
 dist/am-utils/m4/macros/check_extern_ldap.m4                |      2 +-
 dist/am-utils/m4/macros/check_fhandle.m4                    |      2 +-
 dist/am-utils/m4/macros/check_field.m4                      |     42 +-
 dist/am-utils/m4/macros/check_fs_headers.m4                 |      2 +-
 dist/am-utils/m4/macros/check_fs_mntent.m4                  |     17 +-
 dist/am-utils/m4/macros/check_gnu_getopt.m4                 |      2 +-
 dist/am-utils/m4/macros/check_hide_mount_type.m4            |      2 +-
 dist/am-utils/m4/macros/check_lib2.m4                       |      2 +-
 dist/am-utils/m4/macros/check_libwrap_severity.m4           |      2 +-
 dist/am-utils/m4/macros/check_map_funcs.m4                  |      2 +-
 dist/am-utils/m4/macros/check_mnt2_cdfs_opt.m4              |      4 +-
 dist/am-utils/m4/macros/check_mnt2_gen_opt.m4               |      4 +-
 dist/am-utils/m4/macros/check_mnt2_nfs_opt.m4               |      4 +-
 dist/am-utils/m4/macros/check_mnttab_file_name.m4           |      2 +-
 dist/am-utils/m4/macros/check_mnttab_location.m4            |      2 +-
 dist/am-utils/m4/macros/check_mnttab_opt.m4                 |      4 +-
 dist/am-utils/m4/macros/check_mnttab_style.m4               |      2 +-
 dist/am-utils/m4/macros/check_mnttab_type.m4                |     17 +-
 dist/am-utils/m4/macros/check_mount_style.m4                |      2 +-
 dist/am-utils/m4/macros/check_mount_trap.m4                 |      2 +-
 dist/am-utils/m4/macros/check_mount_type.m4                 |     17 +-
 dist/am-utils/m4/macros/check_mtype_printf_type.m4          |      2 +-
 dist/am-utils/m4/macros/check_mtype_type.m4                 |      2 +-
 dist/am-utils/m4/macros/check_network_transport_type.m4     |      2 +-
 dist/am-utils/m4/macros/check_nfs_fh_dref.m4                |      2 +-
 dist/am-utils/m4/macros/check_nfs_hn_dref.m4                |      2 +-
 dist/am-utils/m4/macros/check_nfs_prot_headers.m4           |      2 +-
 dist/am-utils/m4/macros/check_nfs_sa_dref.m4                |      2 +-
 dist/am-utils/m4/macros/check_nfs_socket_connection.m4      |      2 +-
 dist/am-utils/m4/macros/check_os_libs.m4                    |      2 +-
 dist/am-utils/m4/macros/check_restartable_signal_handler.m4 |      2 +-
 dist/am-utils/m4/macros/check_umount_style.m4               |      4 +-
 dist/am-utils/m4/macros/check_unmount_args.m4               |      2 +-
 dist/am-utils/m4/macros/check_unmount_call.m4               |      2 +-
 dist/am-utils/m4/macros/expand_cpp_hex.m4                   |      2 +-
 dist/am-utils/m4/macros/expand_cpp_int.m4                   |      2 +-
 dist/am-utils/m4/macros/expand_cpp_string.m4                |      2 +-
 dist/am-utils/m4/macros/expand_run_string.m4                |      2 +-
 dist/am-utils/m4/macros/extern_optarg.m4                    |      2 +-
 dist/am-utils/m4/macros/extern_sys_errlist.m4               |      2 +-
 dist/am-utils/m4/macros/field_mntent_t_mnt_time_string.m4   |      2 +-
 dist/am-utils/m4/macros/func_bad_memcmp.m4                  |      2 +-
 dist/am-utils/m4/macros/func_bad_yp_all.m4                  |      2 +-
 dist/am-utils/m4/macros/header_templates.m4                 |     12 +-
 dist/am-utils/m4/macros/host_macros.m4                      |     12 +-
 dist/am-utils/m4/macros/linux_headers.m4                    |      2 +-
 dist/am-utils/m4/macros/localconfig.m4                      |      2 +-
 dist/am-utils/m4/macros/opt_amu_cflags.m4                   |      2 +-
 dist/am-utils/m4/macros/opt_cppflags.m4                     |      2 +-
 dist/am-utils/m4/macros/opt_debug.m4                        |      2 +-
 dist/am-utils/m4/macros/opt_ldflags.m4                      |      2 +-
 dist/am-utils/m4/macros/opt_libs.m4                         |      2 +-
 dist/am-utils/m4/macros/os_cflags.m4                        |     10 +-
 dist/am-utils/m4/macros/os_cppflags.m4                      |      2 +-
 dist/am-utils/m4/macros/os_ldflags.m4                       |      2 +-
 dist/am-utils/m4/macros/package_bugreport.m4                |      2 +-
 dist/am-utils/m4/macros/package_name.m4                     |      2 +-
 dist/am-utils/m4/macros/package_version.m4                  |      2 +-
 dist/am-utils/m4/macros/struct_field_nfs_fh.m4              |      2 +-
 dist/am-utils/m4/macros/struct_mntent.m4                    |      2 +-
 dist/am-utils/m4/macros/struct_mnttab.m4                    |      2 +-
 dist/am-utils/m4/macros/struct_nfs_args.m4                  |     22 +-
 dist/am-utils/m4/macros/struct_nfs_fh.m4                    |      2 +-
 dist/am-utils/m4/macros/struct_nfs_gfs_mount.m4             |      2 +-
 dist/am-utils/m4/macros/try_compile_anyfs.m4                |      2 +-
 dist/am-utils/m4/macros/try_compile_nfs.m4                  |      2 +-
 dist/am-utils/m4/macros/try_compile_rpc.m4                  |      2 +-
 dist/am-utils/m4/macros/type_auth_create_gidlist.m4         |      2 +-
 dist/am-utils/m4/macros/type_autofs_args.m4                 |      2 +-
 dist/am-utils/m4/macros/type_cachefs_args.m4                |      2 +-
 dist/am-utils/m4/macros/type_cdfs_args.m4                   |      2 +-
 dist/am-utils/m4/macros/type_efs_args.m4                    |      2 +-
 dist/am-utils/m4/macros/type_lofs_args.m4                   |      2 +-
 dist/am-utils/m4/macros/type_mfs_args.m4                    |      2 +-
 dist/am-utils/m4/macros/type_pcfs_args.m4                   |      2 +-
 dist/am-utils/m4/macros/type_recvfrom_fromlen.m4            |      2 +-
 dist/am-utils/m4/macros/type_rfs_args.m4                    |      2 +-
 dist/am-utils/m4/macros/type_svc_in_arg.m4                  |      2 +-
 dist/am-utils/m4/macros/type_time_t.m4                      |      2 +-
 dist/am-utils/m4/macros/type_tmpfs_args.m4                  |      2 +-
 dist/am-utils/m4/macros/type_ufs_args.m4                    |      2 +-
 dist/am-utils/m4/macros/type_xdrproc_t.m4                   |      2 +-
 dist/am-utils/m4/macros/type_xfs_args.m4                    |      2 +-
 dist/am-utils/m4/macros/type_yp_order_outorder.m4           |      2 +-
 dist/am-utils/m4/macros/with_addon.m4                       |      2 +-
 dist/am-utils/missing                                       |    138 +-
 dist/am-utils/mk-amd-map/Makefile.am                        |      2 +-
 dist/am-utils/mkinstalldirs                                 |    158 +-
 dist/am-utils/o                                             |    519 +
 dist/am-utils/scripts/amd.conf-sample                       |     28 +-
 dist/am-utils/scripts/amd2ldif.in                           |      6 +-
 dist/am-utils/scripts/ctl-amd.in                            |      6 +-
 dist/am-utils/scripts/ctl-hlfsd.in                          |      4 +
 dist/am-utils/scripts/wait4amd2die.in                       |      4 +-
 dist/am-utils/tasks                                         |      9 +-
 dist/am-utils/wire-test/Makefile.am                         |      2 +-
 dist/am-utils/wire-test/wire-test.c                         |      6 +-
 270 files changed, 153147 insertions(+), 22332 deletions(-)

diffs (truncated from 205722 to 300 lines):

diff -r aa3e4a82e7d3 -r 2a6a0823c4c0 dist/am-utils/AUTHORS
--- a/dist/am-utils/AUTHORS     Sat Apr 23 17:35:53 2005 +0000
+++ b/dist/am-utils/AUTHORS     Sat Apr 23 18:07:47 2005 +0000
@@ -174,6 +174,13 @@
 April 12, 2003: support new "unmount" option, useful to timeout removable
 local media mounts.
 
+October 12, 2004: patch to support two new amd.conf options, domain_strip
+and auto_attrcache.  Patch to cleanup NFS attribute-cache flag computation.
+Patch to fix an inconsistency in timeouts in the RPC code between socket and
+TLI implementations.  Patch to print version string (amd -v) after all
+options had been initialized, so we can print domain, host, and hostd.
+Linux patch to use umount2(2) if umount(2) fails.
+
 * Bill Paul <wpaul%ctr.columbia.edu@localhost>
 
 November 5, 1997: NFS v.3 support for AIX 4.2.1, which does *not* include
@@ -310,11 +317,13 @@
 * Wolfram Klaus        <klaus%physik.fu-berlin.de@localhost>.
 November 21, 2000: recognize proplist mnttab flag.
 
-* Thomas Klausner <wiz%danbala.ifoer.tuwien.ac.at@localhost>
+* Thomas Klausner <tk%giga.or.at@localhost>
 November 21, 2000: lots of NetBSD fixes (many of which are generic).
 
 April 18, 2003: patch to reference am-utils info pages in man page.
 
+November 28, 2004: small fixes to typos in amd.conf(5) man page.
+
 * Olaf Kirch <okir%caldera.de@localhost>
 February 1, 2001: important Linux NFS error number mapping fixed
 
@@ -381,3 +390,29 @@
 September 1, 2004: bug fix to avoid race condition in calls to mntctl on
 AIX.
 
+* Jonathan Chen <jon+amd%spock.org@localhost>
+October 22, 2004: patch/fix to move mlock/mlockall/plock code after the
+fork().
+
+* David Rage <rage%ucl.ac.uk@localhost>
+January 17, 2005: prevent Amd from logging 'Read-only filesystem' errors
+when the mount point has an ancestor (i.e. '/') that is mounted read-only.
+
+* Kevin Layer <layer%franz.com@localhost>
+January 28, 2005: basic instructions how to setup Amd on Mac OS-X.
+
+* Dan Ottavio <dottavio%ic.sunysb.edu@localhost>
+March 2, 2005: new global amd.conf option debug_mtab_file, to set the debug
+mtab file when using debug_options=mtab.  Default has changed from "./mtab"
+to "/tmp/mtab" to avoid security problem.  Bug fixed to ensure that Amd
+terminates properly even mtab file doesn't exist.
+
+* Erik Kline <ekline at ekline dot com>
+January 3, 2005: implementation of executable maps for Amd.
+
+* Jim Zajkowski <jim.zajkowski%gmail.com@localhost>
+March 14, 2005: small patch to amd2ldif.
+
+* Adam Morley <adam at gmi dot com>
+January 27, 2005: synchronize what amd2ldif does vs. what the ldap.schema
+expects.
diff -r aa3e4a82e7d3 -r 2a6a0823c4c0 dist/am-utils/COPYING
--- a/dist/am-utils/COPYING     Sat Apr 23 17:35:53 2005 +0000
+++ b/dist/am-utils/COPYING     Sat Apr 23 18:07:47 2005 +0000
@@ -1,4 +1,4 @@
-Copyright (c) 1997-2004 Erez Zadok
+Copyright (c) 1997-2005 Erez Zadok
 Copyright (c) 1989 Jan-Simon Pendry
 Copyright (c) 1989 Imperial College of Science, Technology & Medicine
 Copyright (c) 1989 The Regents of the University of California.
diff -r aa3e4a82e7d3 -r 2a6a0823c4c0 dist/am-utils/ChangeLog
--- a/dist/am-utils/ChangeLog   Sat Apr 23 17:35:53 2005 +0000
+++ b/dist/am-utils/ChangeLog   Sat Apr 23 18:07:47 2005 +0000
@@ -1,3 +1,880 @@
+2005-04-16  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * scripts/amd.conf.5, doc/am-utils.texi (normalize_slashes
+       Parameter), scripts/amd.conf-sample: document new
+       normalize_slashes global configuration parameter.
+
+       * amd/opts.c (deslashify, normalize_slash): don't touch trailing
+       slashes, even if multiples of them, if user said
+       normalize_slashes=no in amd.conf.
+
+       * amd/conf.c (gopt_normalize_slashes): new function to record if
+       to normalize slashes or not.
+
+       * amd/amd.h (CFM_NORMALIZE_SLASHES): new flag to decide if to
+       normalize double-slashes or not ("yes" by default).
+
+       * amd/autil.c (am_mounted): pass TRUE when calling mf_mounted.
+       This is the parent mntfs which does the mf->mf_fo
+       (am_opts type), and we're passing TRUE here to tell mf_mounted to
+       actually free the am_opts.
+
+       * amd/autil.c (mf_mounted): Be careful when calling free_ops and
+       XFREE here.  Some pseudo file systems like nfsx call this
+       function, even though it would be called by the lower-level amd
+       file system functions.  nfsx needs to call this function because
+       of the other actions it takes.  So we pass a boolean from the
+       caller (yes, not so clean workaround) to determine if we should
+       free or not.  If we're not freeing (often because we're called
+       from a callback function), then just to be sure, we'll zero out
+       the am_opts structure and set the pointer to NULL.  The parent
+       mntfs node owns this memory and is going to free it with a call to
+       mf_mounted(mntfs,TRUE).
+
+       * amd/amd.h: pass flag to mf_mounted, to free or not to free the
+       am_opts.
+
+       * amd/amfs_nfsx.c (amfs_nfsx_cont): call mf_mounted with FALSE to
+       tell it not to free the am_opts, to avoid double free.
+
+       * include/am_defs.h: include limits.h if found.
+
+       * configure.in: check for limits.h.  Check for certain Linux
+       headers such as auto_fs.h after checking for limits.h, and include
+       the latter if it exists, because some Linux headers depend on
+       limits.h.  This prevents warnings during configure time.
+
+2005-04-12  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * amd/amfs_toplvl.c (amfs_toplvl_mount): do NOT set retrans/timeo
+       values from default global UDP settings, because it can cause
+       unexpected timeouts in Amd on slow systems.  The default that each
+       OS provides for these toplvl NFS mounts should be OK, or else you
+       can use the map_options entry.
+
+2005-04-09  Daniel P. Ottavio  <dottavio%ic.sunysb.edu@localhost>
+
+       * amd/nfs_subr.c (mp_to_fh): Replace xstrlcpy with memcpy because the
+       source buffer is treated more as a filehandle than a string.
+
+       * amd/nfs_subr.c (fh_to_mp3): Replace xstrlcpy with memcpy because the
+       source buffer is treated more as a filehandle than a string.
+
+       * amd/opts.c (free_op): No longer need to assign pointer to NULL
+       after XFREE.
+
+       * amd/opts.c (expand_op): Revert back to using strncpy() instead
+       of xstrlcpy.  The code is correct and relies on the semantics of
+       strncpy.
+
+       * libamu/mount_fs.c (compute_nfs_args): Leave XXX warning that use
+       of xstrlcpy in NFS_HN_DREF may corrupt a struct nfs_args, or
+       truncate our concocted "hostname:/path" string prematurely if the
+       nap->hostname field is ever less than 64 bytes long
+       (MAXHOSTNAMELEN).
+
+       * libamu/util.c (xstrlcpy): Return immediately if len is 0 to
+       avoid unnecessary work.  Log an error and return if len is less
+       than 0.
+
+2005-04-07  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * include/am_utils.h (XFREE): XFREE() should nullify the pointer
+       even when compiling without debugging.  It's safer this way.
+
+       * libamu/xutil.c (am_set_hostname),
+       hlfsd/stubs.c (nfsproc_lookup_2_svc),
+       fsinfo/fsinfo.c (fsi_get_args),
+       fixmount/fixmount.c (is_same_host, remove_mount, main),
+       conf/mtab/mtab_isc3.c (mnt_dup, mtab_of),
+       conf/mount/mount_svr4.c (mount_svr4),
+       conf/mount/mount_linux.c (setup_loop_device),
+       conf/hn_dref/hn_dref_linux.h (NFS_HN_DREF),
+       conf/hn_dref/hn_dref_isc3.h (NFS_HN_DREF),
+       amd/opts.c (expand_op),
+       amd/ops_nfs.c (mount_nfs_fh),
+       amd/nfs_subr.c (fh_to_mp3, mp_to_fh),
+       amd/amfs_host.c (amfs_host_mount),
+       amd/am_ops.c (merge_opts):
+       use the new xstrlcpy instead of strncpy.
+
+       * conf/checkmount/checkmount_{default,svr4}.c
+       (fixmount_check_mount): document why NOT to use xstrlcpy.
+
+       * libamu/xutil.c: am_hostname need not be MAXHOSTNAMELEN+1 any
+       more, just MAXHOSTNAMELEN.
+
+       * libamu/xutil.c (real_plog): use strlcpy (not xstrlcpy to avoid
+       recursion, since xstrlcpy may use plog).
+
+       * libamu/util.c (xstrlcpy): truncating a string is serious.  Use
+       XLOG_ERROR not XLOG_WARNING.
+
+2005-04-06  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * include/am_utils.h: external definition for new xstrlcpy
+       function.
+
+       * libamu/util.c (xstrlcpy): new function.  Similar to strncpy, but
+       uses strlcpy to guarantee that the resulting string is null
+       terminated, and also warn if the resulting string was truncated.
+
+       * libamu/xutil.c (get_server_pid): move this function from util.c
+       which is for general-purpose utilities.
+
+       * m4/macros/header_templates.m4: template for HAVE_EXTERN_STRLCPY.
+
+       * include/am_defs.h: provide extern definition for strlcpy, if
+       needed.
+
+       * libamu/Makefile.am (EXTRA_DIST): include strlcpy.c in distro.
+
+       * configure.in: search for strlcpy and its extern.
+
+       * amq/pawd.c (find_mt): It only handles *some* filesystem types,
+       so it breaks on direct xfs mounts for example.  The fix (from
+       Christos Zoulas) is simple: We need to exclude toplvl to avoid
+       infinite recursion, but all other fs's are game.
+
+2005-03-31  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * amd/nfs_subr.c (fh_to_mp3): strncpy may not null terminate if
+       copying exactly len bytes, so add null just to be safe.
+
+2005-03-30  Daniel P. Ottavio  <dottavio%ic.sunysb.edu@localhost>
+
+       * amd/nfs_subr.c (fh_to_mp3): Increased the n of strncpy()
+       to make sure it null terminates.
+
+2005-03-29  Daniel P. Ottavio  <dottavio%ic.sunysb.edu@localhost>
+
+       * amd/nfs_subr.c (fh_to_mp3): Fix memset bug. In this case
+       the memset can be removed because strncpy() should padd the
+       buffer with NULLs anyway.
+
+2005-03-21  Rainer Orth  <ro%TechFak.Uni-Bielefeld.DE@localhost>
+
+       * include/am_defs.h: Clarify comment.
+
+2005-03-21  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * include/am_defs.h: undefine "GROUP" so Solaris 10 with gcc-2.96
+       won't complain about a conflict for this definition between
+       <rpcsvc/nis.h> and <sys/acl.h>.
+
+2005-03-20  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * amd/readdir.c (amfs_readdir_browsable): use %p, not %lx.
+
+       * libamu/mount_fs.c (print_nfs_args): print pointer with %p, not
+       %lx.
+
+2005-03-18  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       *******************************************************************
+       *** Released am-utils-6.1-rc1                                   ***
+       *******************************************************************
+
+2005-03-18  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * conf/transp/transp_tli.c (get_nfs_version): use proper type for
+       versout on Solaris (rpcvcers_t).
+
+       * amd/mapc.c (mapc_showtypes): if last map type to print, don't
+       append newline or comma to it.
+
+       * libamu/mount_fs.c (print_nfs_args): cast struct netbuf pointer
+       to %lx because on Solaris 10 sparc gcc-3.4.3 complains about
+       casting it to an int (size is different).
+
+       * configure.in, NEWS: prepare for 6.1-rc1 release.
+
+2005-03-17  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * scripts/amd2ldif.in, ldap.schema: fixes by Adam Morley
+       <adam-at-gmi-dot-com> to synchronize what amd2ldif does vs. what
+       the ldap.schema expects.
+
+       * amd/map.c (exported_ap_free): We're using a free-list data
+       structure and re-using malloc'ed objects.  So, to be safe, memset
+       entire structure when it's freed, not just the pointer.
+       (umount_exported): bug fix to on-exit code.  Don't run
+       am_unmounted() unless unmount_mp() didn't run, since the latter
+       already calls am_unmounted().  This way we avoid a double-free
+       bug.
+
+2005-03-15  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * tasks: updates.  Executable maps is supported.  NFSv4 and
+       FreeBSD autofs isn't.
+
+       * Makefile.am (EXTRA_DIST): include FAQ in distro.
+
+       * doc/Makefile.am (alldocs): install README.lda and README.osx.
+
+       * FAQ: new file, better late than never.
+
+2005-03-14  Erez Zadok  <ezk%cs.sunysb.edu@localhost>
+
+       * scripts/amd2ldif.in: patch to add the amdMapName attribute to
+       the amdMapTimestamp object when amd2ldif converts it.  This is
+       necessary if you are using type:=auto mounts and want those
+       mountmaps looked up through LDAP.  Patch from Jim Zajkowski
+       <jim.zajkowski%gmail.com@localhost>.
+
+2005-03-12  Erez Zadok  <ezk%cs.sunysb.edu@localhost>



Home | Main Index | Thread Index | Old Index