am-utils-6.0.git
21 years ago* updated copyright year to 2004 on all files.
Erez Zadok [Tue, 6 Jan 2004 03:15:16 +0000 (03:15 +0000)]
* updated copyright year to 2004 on all files.

21 years ago* Makefile.am (install-snapshot): new directory to install
Erez Zadok [Tue, 6 Jan 2004 03:01:37 +0000 (03:01 +0000)]
* Makefile.am (install-snapshot): new directory to install
snapshots (now that am-utils home page is moved).

* INSTALL, README.autofs: remove forced text-mode.

* doc/am-utils.texi: fix Amd book URL.

* Makefile.am (EXTRA_DIST): include new mirror files in tarball.

* AUTHORS, BUGS, README, README.y2k, configure.in,
doc/am-utils.texi: revisions to use newer URLs for Web site, FTP,
and mailing lists.

* MIRRORS.{html,txt}: copied from 6.1 branch.

* doc/Makefile.am: install mirror lists officially.

22 years ago * buildall: added support for -i (make install), other fixes from
Ion Badulescu [Tue, 21 Oct 2003 23:32:03 +0000 (23:32 +0000)]
* buildall: added support for -i (make install), other fixes from
the trunk

22 years agodon't try to move configure to configure.old if it doesn't exist
Ion Badulescu [Sat, 11 Oct 2003 06:03:26 +0000 (06:03 +0000)]
don't try to move configure to configure.old if it doesn't exist

22 years ago * conf/nfs_prot/nfs_prot_freebsd3.h (na_uid): freebsd4.5 uses nfs
Ion Badulescu [Wed, 27 Aug 2003 19:35:14 +0000 (19:35 +0000)]
* conf/nfs_prot/nfs_prot_freebsd3.h (na_uid): freebsd4.5 uses nfs
atttributes field named "uid".  So #define na_uid to it. [backport
of Erez's 6.1 change from 2002-02-26]

22 years agopatch from Nick:
Ion Badulescu [Fri, 22 Aug 2003 04:47:19 +0000 (04:47 +0000)]
patch from Nick:

* amd/info_ldap.c (amu_ldap_init): don't try to pass a null
pointer as a string to plog, Solaris (and other OS's) don't like
it and will dump core.

22 years ago* fsinfo/*.[hc]: rename fsinfo function log() to fsi_log(), to
Erez Zadok [Fri, 18 Jul 2003 04:50:16 +0000 (04:50 +0000)]
* fsinfo/*.[hc]: rename fsinfo function log() to fsi_log(), to
avoid conflict with builtin function in gcc-3.3.

* amd/amfs_auto.c (amfs_auto_mount): When pref:=NULL set am_pref
to strdup("") instead of NULL since this value will be
freed. Contributed by Matt Chapman <matthewc@cse.unsw.edu.au>.

22 years agofinish a sentence. :-)
Ion Badulescu [Sun, 13 Jul 2003 19:04:12 +0000 (19:04 +0000)]
finish a sentence. :-)

22 years ago* mk-amd-map/mk-amd-map.c (main): open temp db file using O_EXCL,
Erez Zadok [Mon, 9 Jun 2003 16:57:44 +0000 (16:57 +0000)]
* mk-amd-map/mk-amd-map.c (main): open temp db file using O_EXCL,
next best thing to using mkstemp().  Patch from Hendrik Scholz
<hscholz@raisdorf.net>.

* applied fixes from Rainer Orth for Solaris 8.

22 years agoadded Sean Fagan
Ion Badulescu [Thu, 8 May 2003 18:00:20 +0000 (18:00 +0000)]
added Sean Fagan

22 years ago * libamu/mount_fs.c (compute_automounter_mount_flags): use
Ion Badulescu [Thu, 8 May 2003 17:57:51 +0000 (17:57 +0000)]
* libamu/mount_fs.c (compute_automounter_mount_flags): use
MNT2_GEN_OPT_AUTOMNTFS if available; minor cleanup, removed
redundant code for MNT2_GEN_OPT_OVERLAY

* m4/macros/header_templates.m4: added template for
MNT2_GEN_OPT_AUTOMOUNTED

22 years ago* conf/transp/transp_sockets.c (create_amq_service): minor cpp
Erez Zadok [Wed, 23 Apr 2003 14:27:32 +0000 (14:27 +0000)]
* conf/transp/transp_sockets.c (create_amq_service): minor cpp
directive indentation and commenting.

22 years ago * conf/transp/transp_sockets.c (create_amq_service): Ugly *BSD fix for
Ion Badulescu [Wed, 23 Apr 2003 03:24:07 +0000 (03:24 +0000)]
* conf/transp/transp_sockets.c (create_amq_service): Ugly *BSD fix for
an RPC library DoS issue (original patch from Martin Blapp,
massaged into something more digestable by me)

22 years ago* doc/Makefile.am (DVIPS): use proper options for dvips.
Erez Zadok [Mon, 14 Apr 2003 01:23:07 +0000 (01:23 +0000)]
* doc/Makefile.am (DVIPS): use proper options for dvips.

* doc/am-utils.texi (opts Option): document new 'unmount' option,
and better explain the 'nounmount' option.  Also some misc options
for better generation of html manual.

* doc/Makefile.am (install-html): support newer text2html 4.0
options, as older options were renamed or changed behavior.

* amd/autil.c (am_mounted): support new 'unmount' option, to allow
all file system mounts to timeout and thus expire.  This option is
useful for removable local media such as CD-ROMs, USB drives,
etc. so they can expire when not in use, and get unmounted (such
drives can get work out when they keep spinning).  Patch from
Christos Zoulas <christos@zoulas.com> (originally from Koji
Imada).

22 years ago* configure.in: use AM_MAINTAINER_MODE, so maintainer-only rules
Erez Zadok [Thu, 10 Apr 2003 15:55:02 +0000 (15:55 +0000)]
* configure.in: use AM_MAINTAINER_MODE, so maintainer-only rules
do not get added to Makefiles by default (they are confusing to
users who don't have autotools installed).

22 years ago* libamu/xutil.c (switch_to_logfile): don't try to print logfile
Erez Zadok [Fri, 4 Apr 2003 15:53:33 +0000 (15:53 +0000)]
* libamu/xutil.c (switch_to_logfile): don't try to print logfile
if it is null (strlen core dump on solaris).  Bug report from John
P. Rouillard <rouilj@ieee.org>.

22 years agochangelog typo fixed
Erez Zadok [Mon, 31 Mar 2003 20:50:17 +0000 (20:50 +0000)]
changelog typo fixed

22 years ago* fsinfo/fsinfo.8: typo co-ordinate -> coodinate. Typo report
Erez Zadok [Mon, 31 Mar 2003 20:09:00 +0000 (20:09 +0000)]
* fsinfo/fsinfo.8: typo co-ordinate -> coodinate.  Typo report
from Perry E. Metzger" <perry@piermont.com>.

22 years ago* minor new port: sparc64-unknown-linux-suse7.3.
Erez Zadok [Thu, 20 Mar 2003 23:12:27 +0000 (23:12 +0000)]
* minor new port: sparc64-unknown-linux-suse7.3.

* minor new port: i386-unknown-freebsd5.0.

* configure.in: detect nfsclient/nfsargs.h.

* conf/nfs_prot/nfs_prot_freebsd3.h: include
<nfsclient/nfsargs.h>, needed in FreeBSD 5.0.

22 years ago* amd/amd.8, amd/amd.8, fixmount/fixmount.8, hlfsd/hlfsd.8,
Erez Zadok [Sun, 16 Mar 2003 01:46:57 +0000 (01:46 +0000)]
* amd/amd.8, amd/amd.8, fixmount/fixmount.8, hlfsd/hlfsd.8,
scripts/amd.conf.5, scripts/expn.1: minor spell checking and
extraneous space elimination.

22 years ago* BUGS (Note): document AIX-5.1 NFS-client side bug (hangs in
Erez Zadok [Sat, 25 Jan 2003 17:22:03 +0000 (17:22 +0000)]
* BUGS (Note): document AIX-5.1 NFS-client side bug (hangs in
vmount).

22 years ago******************************************************************* am-utils-6_0_9
Ion Badulescu [Sat, 25 Jan 2003 15:00:46 +0000 (15:00 +0000)]
*******************************************************************
*** Released am-utils-6.0.9 ***
*******************************************************************

22 years ago-linux and darwin tcp reconnect bug
Ion Badulescu [Sat, 25 Jan 2003 01:35:09 +0000 (01:35 +0000)]
-linux and darwin tcp reconnect bug
-resync with trunk

22 years agoadded A.sparc-sun-solaris2.9
Ion Badulescu [Thu, 23 Jan 2003 22:15:02 +0000 (22:15 +0000)]
added A.sparc-sun-solaris2.9

22 years ago * NEWS: updated for Darwin changes
Ion Badulescu [Thu, 23 Jan 2003 22:12:16 +0000 (22:12 +0000)]
* NEWS: updated for Darwin changes

* .cvsignore: added A.i386-apple-darwin6.0

* m4/macros/check_nfs_fh_dref.m4: darwin/rhapsody is another
freebsd22 derivative

22 years ago * amd/srvr_nfs.c (start_nfs_pings): don't set FSF_PINGING if
Ion Badulescu [Sun, 29 Dec 2002 01:55:42 +0000 (01:55 +0000)]
* amd/srvr_nfs.c (start_nfs_pings): don't set FSF_PINGING if
pings are disabled

22 years agoadded explanation for latest bugfix
Ion Badulescu [Sun, 29 Dec 2002 00:46:43 +0000 (00:46 +0000)]
added explanation for latest bugfix

22 years ago * libamu/misc_rpc.c (make_rpc_packet): fix make_rpc_packet() on
Ion Badulescu [Sat, 28 Dec 2002 23:28:38 +0000 (23:28 +0000)]
* libamu/misc_rpc.c (make_rpc_packet): fix make_rpc_packet() on
64-bit big-endian platforms, bug report from Bill Fenner
<fenner@research.att.com>

22 years ago * configure.in: increase library patchlevel
Ion Badulescu [Sat, 28 Dec 2002 22:28:27 +0000 (22:28 +0000)]
* configure.in: increase library patchlevel

* libamu/xutil.c (amu_release_controlling_tty): close and reopen
file descriptors 0,1,2 before calling setsid()

22 years ago2003 copyright update
Erez Zadok [Fri, 27 Dec 2002 22:44:26 +0000 (22:44 +0000)]
2003 copyright update

22 years ago Solaris9 build fixes:
Ion Badulescu [Wed, 11 Dec 2002 06:11:08 +0000 (06:11 +0000)]
Solaris9 build fixes:

* amd/info_ldap.c (amu_ldap_rebind): call ldap_enable_cache() only
if configure detected it

* configure.in: check for ldap_enable_cache()

22 years ago* rename "aux/" subdir into "m4/" so as to avoid problems with
Erez Zadok [Tue, 10 Dec 2002 22:31:03 +0000 (22:31 +0000)]
* rename "aux/" subdir into "m4/" so as to avoid problems with
MS-DOS systems (where "AUX" is a reserved name).  This required
fixing numerous files.

23 years ago* config.guess.long: updated script so it will properly find the
Erez Zadok [Thu, 21 Nov 2002 15:48:39 +0000 (15:48 +0000)]
* config.guess.long: updated script so it will properly find the
version number of the new Itanium 2 machines running "Red Hat
Linux Advanced Workstation release 2.1AW (Derry)".  The script now
will report ia64-unknown-linux-rh2.1AW.

23 years ago * doc/am-utils.texi (Keep-alives): removed outdated info about not
Ion Badulescu [Mon, 11 Nov 2002 20:20:27 +0000 (20:20 +0000)]
* doc/am-utils.texi (Keep-alives): removed outdated info about not
maintaining the state of TCP NFS servers

23 years ago * hlfsd/hlfsd.h: removed sys_nerr declaration
Ion Badulescu [Wed, 2 Oct 2002 03:36:20 +0000 (03:36 +0000)]
    * hlfsd/hlfsd.h: removed sys_nerr declaration

        * amq/amq.c, hlfsd/hlfsd.c, libamu/xutil.c: always use strerror()

        * libamu/strerror.c: new file, strerror() implementation for
        systems that don't have it

        * libamu/Makefile.am: added strerror.c

        * include/am_utils.h: debug code improvements ported from 6.1

        * conf/mount/mount_aix.c: compile fix for --disable-debug

23 years agobumped version up to 6.0.9-pre
Ion Badulescu [Mon, 9 Sep 2002 18:47:15 +0000 (18:47 +0000)]
bumped version up to 6.0.9-pre

23 years agoreleased 6.0.8 am-utils-6_0_8
Ion Badulescu [Mon, 9 Sep 2002 18:45:13 +0000 (18:45 +0000)]
released 6.0.8

23 years ago * amd/srvr_nfs.c (nfs_timed_out): add #ifdef DEBUG around dlog
Ion Badulescu [Mon, 9 Sep 2002 14:59:50 +0000 (14:59 +0000)]
* amd/srvr_nfs.c (nfs_timed_out): add #ifdef DEBUG around dlog

23 years ago * amd/mntfs.c (free_mntfs): sanity check for mf_refc [patch from
Ion Badulescu [Wed, 4 Sep 2002 20:18:34 +0000 (20:18 +0000)]
* amd/mntfs.c (free_mntfs): sanity check for mf_refc [patch from
George Ross ported from 6.1]

23 years ago * amd/srvr_nfs.c (nfs_timed_out): allocate a new XID on server
Ion Badulescu [Wed, 4 Sep 2002 20:13:27 +0000 (20:13 +0000)]
* amd/srvr_nfs.c (nfs_timed_out): allocate a new XID on server
timeout to avoid problems with late ping replies [patch from
George Ross ported from 6.1]

23 years ago* scripts/expn.{1,in}: fixed typos as reported by Thomas Klausner
Erez Zadok [Thu, 11 Jul 2002 14:27:00 +0000 (14:27 +0000)]
* scripts/expn.{1,in}: fixed typos as reported by Thomas Klausner
<wiz@danbala.ifoer.tuwien.ac.at>.

23 years ago* doc/Makefile.am (install-html): don't use locally hacked
Erez Zadok [Thu, 27 Jun 2002 02:15:18 +0000 (02:15 +0000)]
* doc/Makefile.am (install-html): don't use locally hacked
texi2html features.

* doc/am-utils.texi: don't use ':' in @cindex entries.

23 years agoINSTALL: reformatted, updated
Ion Badulescu [Tue, 25 Jun 2002 02:50:45 +0000 (02:50 +0000)]
INSTALL: reformatted, updated

23 years ago * doc/am-utils.texi (automount2amd): minor rewording
Ion Badulescu [Tue, 25 Jun 2002 02:33:48 +0000 (02:33 +0000)]
* doc/am-utils.texi (automount2amd): minor rewording

* aux/macros/struct_nfs_args.m4: added test for aix51_nfs_args

* conf/nfs_prot/nfs_prot_aix5_1.h: rename aix42_nfs_args to
aix51_nfs_args, rename unknown fields to u<number>

23 years ago * buildall: use ksh for configure on aix5.1; pass the extra
Ion Badulescu [Mon, 24 Jun 2002 17:25:24 +0000 (17:25 +0000)]
* buildall: use ksh for configure on aix5.1; pass the extra
arguments after "--" to configure, not to make; fix 'buildall -b'
on hpux9 and aix5.1

23 years agoprep for 6.0.8 release
Erez Zadok [Sun, 23 Jun 2002 05:07:08 +0000 (05:07 +0000)]
prep for 6.0.8 release

23 years agodist new files
Erez Zadok [Sun, 23 Jun 2002 04:30:11 +0000 (04:30 +0000)]
dist new files

23 years agoupdate help message
Ion Badulescu [Sun, 23 Jun 2002 01:47:02 +0000 (01:47 +0000)]
update help message

23 years ago * hlfsd/homedir.c (homedir): use setgid() instead of setegid()
Ion Badulescu [Sun, 23 Jun 2002 01:39:02 +0000 (01:39 +0000)]
* hlfsd/homedir.c (homedir): use setgid() instead of setegid()

23 years ago- compile fix for mount_aix3.c
Ion Badulescu [Sat, 22 Jun 2002 19:56:15 +0000 (19:56 +0000)]
- compile fix for mount_aix3.c
- buildall: pass the extra arguments after -- to configure, not to make
- BUGS: document the broken /bin/sh on AIX 5.1 and HP-UX 9

23 years ago * buildall: use ksh for configure on aix5.1
Ion Badulescu [Sat, 22 Jun 2002 16:54:24 +0000 (16:54 +0000)]
* buildall: use ksh for configure on aix5.1

23 years ago * Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF
Ion Badulescu [Sat, 22 Jun 2002 15:31:42 +0000 (15:31 +0000)]
    * Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF

23 years agodocument the AIX changes
Ion Badulescu [Fri, 21 Jun 2002 22:42:41 +0000 (22:42 +0000)]
document the AIX changes

23 years ago * conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails
Ion Badulescu [Fri, 21 Jun 2002 22:40:43 +0000 (22:40 +0000)]
* conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails
with EINVAL and we have MOUNT_TYPE_NFS3_BIS defined, retry the
mount with the alternative nfs3_args structure

* conf/nfs_prot/nfs_prot_aix4_3.h: added alternative nfs3_args
structure, similar to that in aix5.1, for a hack that tries to
compensate for IBM's brain fart

* conf/nfs_prot/nfs_prot_aix5_1.h: new nfs_prot header for aix5.1+

* aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+

23 years ago * BUGS: update for direct mounts on Linux; document the brokenness
Ion Badulescu [Fri, 21 Jun 2002 21:51:00 +0000 (21:51 +0000)]
* BUGS: update for direct mounts on Linux; document the brokenness
of /bin/sh on AIX

23 years ago* ALL source/header files: change use of HAVE_FIELD_* macros to
Erez Zadok [Fri, 21 Jun 2002 18:31:45 +0000 (18:31 +0000)]
* ALL source/header files: change use of HAVE_FIELD_* macros to
HAVE_*, since aux/macros/check_field.m4 changed as well.

* configure.in, Makefile.am, bootstrap, aux/amdgrep,
aux/macros/*.m4: MAJOR port of autotool files from 6.1 branch, to
work with newer autotools.

* aux/macros/with_addon.m4: correct M4 quoting.

* aux/macros/cache_check_dynamic.m4: correct M4 quoting.

* bootstrap: show version of autotools being used.  Helps
maintainer debugging.

* configure.in: new proper syntax for libtool and
ansi2knr-filtering rules, required by autoconf 1.53 and higher.

23 years ago* aux/GNUmakefile: new search paths for "update" target.
Erez Zadok [Fri, 21 Jun 2002 14:07:43 +0000 (14:07 +0000)]
* aux/GNUmakefile: new search paths for "update" target.

* config.guess, config.sub, doc/texinfo.tex, ltmain: updates from
the latest GNU distributions.

* mdate-sh: new script for autotools.

23 years agolooks like I forgot to commit Changelog when I committed this:
Ion Badulescu [Fri, 31 May 2002 19:04:22 +0000 (19:04 +0000)]
looks like I forgot to commit Changelog when I committed this:

        * hlfsd/homedir.c (homedir): last chance checking for zombies;
        (interlock): anal-retentive checking for all sorts of error
        conditions during child recovery

        * hlfsd/hlfsd.c (main): use SA_RESTART in sigaction
        (cleanup): indentation

23 years ago* config.guess.long: support SuSE version names in long
Erez Zadok [Fri, 31 May 2002 01:28:31 +0000 (01:28 +0000)]
* config.guess.long: support SuSE version names in long
config.guess format.

23 years ago * hlfsd/homedir.c (homedir): last chance checking for zombies;
Ion Badulescu [Fri, 3 May 2002 21:23:39 +0000 (21:23 +0000)]
* hlfsd/homedir.c (homedir): last chance checking for zombies;
(interlock): anal-retentive checking for all sorts of error
conditions during child recovery

* hlfsd/hlfsd.c (main): use SA_RESTART in sigaction
(cleanup): indentation

23 years ago* scripts/lostaltmail.in (vrfy_user): unlink temp files if too
Erez Zadok [Wed, 1 May 2002 23:19:34 +0000 (23:19 +0000)]
* scripts/lostaltmail.in (vrfy_user): unlink temp files if too
small.

23 years agodocument removal of autofs code/detection
Ion Badulescu [Fri, 29 Mar 2002 19:03:39 +0000 (19:03 +0000)]
document removal of autofs code/detection

23 years ago * amd/nfs_start.c: use plog() instead of perror()
Ion Badulescu [Fri, 29 Mar 2002 18:59:49 +0000 (18:59 +0000)]
* amd/nfs_start.c: use plog() instead of perror()

23 years ago* amd/info_ldap.c: patch from "Sebastien Bahloul"
Erez Zadok [Thu, 28 Mar 2002 21:23:11 +0000 (21:23 +0000)]
* amd/info_ldap.c: patch from "Sebastien Bahloul"
<sebastien.bahloul@medasys.org> to fix a simple initialization bug
and change "HE" to HE_ENT so as to compile on HPUX.

23 years ago* scripts/lostaltmail.in: don't verify user if -noverify option
Erez Zadok [Wed, 13 Feb 2002 02:21:32 +0000 (02:21 +0000)]
* scripts/lostaltmail.in: don't verify user if -noverify option
was turned on.  fix comment typo.

23 years ago * Ripped out all traces of autofs support
Ion Badulescu [Tue, 12 Feb 2002 02:44:14 +0000 (02:44 +0000)]
    * Ripped out all traces of autofs support

23 years ago * README: require newer auto-tools, update mailing list address
Ion Badulescu [Tue, 12 Feb 2002 00:16:11 +0000 (00:16 +0000)]
* README: require newer auto-tools, update mailing list address

* README.autofs: point to the 6.1 branch for autofs support

23 years ago* updated copyright year to 2002 on all files
Erez Zadok [Mon, 21 Jan 2002 00:49:33 +0000 (00:49 +0000)]
* updated copyright year to 2002 on all files

* hlfsd/hlfsd.h (HLFSD_VERSION): up version of hlfsd to 1.2,
because we made some important changes.

23 years ago * NEWS: document latest changes
Ion Badulescu [Sun, 20 Jan 2002 23:23:51 +0000 (23:23 +0000)]
* NEWS: document latest changes

* amd/map.c (unmount_mp): same fix as for hlfsd, update the
seconds field in mtime because Linux ignores the useconds field

23 years ago use root's home, not the username (silly bugfix)
Ion Badulescu [Sun, 20 Jan 2002 23:00:58 +0000 (23:00 +0000)]
use root's home, not the username (silly bugfix)

23 years ago * hlfsd/homedir.c: made some global vars static
Ion Badulescu [Sun, 20 Jan 2002 22:30:46 +0000 (22:30 +0000)]
* hlfsd/homedir.c: made some global vars static
(plt_init): remove all trailing '/' chars from root's home

23 years ago * hlfsd/homedir.c (homedir): don't special case uid 0 as having /
Ion Badulescu [Sun, 20 Jan 2002 22:15:01 +0000 (22:15 +0000)]
* hlfsd/homedir.c (homedir): don't special case uid 0 as having /
as home; instead use the root accounts home
(plt_init): properly initialize root_home from the root account's
home directory, or as "" if root doesn't exist
(plt_reset): free root_home

23 years ago * hlfsd/stubs.c (nfsproc_lookup_2_svc): get the credentials at the
Ion Badulescu [Sun, 20 Jan 2002 22:01:58 +0000 (22:01 +0000)]
* hlfsd/stubs.c (nfsproc_lookup_2_svc): get the credentials at the
begining of the function and assign the uid to the symlink
attributes; increment the mtime's seconds field each time the uid
changes
(nfsproc_lookup_2_svc): ditto

23 years ago * hlfsd/hlfsd.h: update prototype for homedir()
Ion Badulescu [Sun, 20 Jan 2002 21:55:28 +0000 (21:55 +0000)]
* hlfsd/hlfsd.h: update prototype for homedir()

* hlfsd/stubs.c (nfsproc_readlink_2_svc): pass the groupid to
homedir()

* hlfsd/homedir.c (homedir): take a second argument, the user's
primary gid, and switch to it when doing filesystem operations;
save the old uid and gid and revert to them instead of the
hardcoded uid 0

23 years ago * conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo
Ion Badulescu [Thu, 10 Jan 2002 15:27:10 +0000 (15:27 +0000)]
* conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo
parameter 2 orders of magnitude larger than udp (patch from Trond
Myklebust)

23 years ago* scripts/amd.conf.5: correct title to section 5, not 8. Correct
Erez Zadok [Thu, 13 Dec 2001 21:01:58 +0000 (21:01 +0000)]
* scripts/amd.conf.5: correct title to section 5, not 8.  Correct
reversed meaning of nfs_proto and nfs_vers parameters.  Typos
reported by Peter Breitenlohner <peb@mppmu.mpg.de>.

24 years ago* scripts/ctl-amd.in: run "test" or "[" in front of -x/-f
Erez Zadok [Mon, 3 Dec 2001 04:29:44 +0000 (04:29 +0000)]
* scripts/ctl-amd.in: run "test" or "[" in front of -x/-f

* scripts/ctl-hlfsd.in: run "test" or "[" in front of -x/-f

24 years ago * hlfsd/homedir.c (plt_print): fix typo (s/plot/plog/) in
Ion Badulescu [Sun, 2 Dec 2001 22:28:34 +0000 (22:28 +0000)]
* hlfsd/homedir.c (plt_print): fix typo (s/plot/plog/) in
non-mkstemp code

* scripts/ctl-amd.in: touch/remove /var/lock/subsys/amd to make RH
happy

* scripts/ctl-hlfsd.in: ditto (for hlfsd)

* conf/mtab/mtab_file.c (rewrite_mtab): fchmod(644) the file we
get from mkstemp(), otherwise samba becomes very unhappy (sigsegv)

* conf/mtab/mtab_mach3.c (rewrite_mtab): ditto

24 years ago * tasks: updated
Ion Badulescu [Thu, 29 Nov 2001 22:07:16 +0000 (22:07 +0000)]
* tasks: updated

* amq/amq.8: better document the -f option

24 years agosilly typo
Erez Zadok [Thu, 29 Nov 2001 21:33:50 +0000 (21:33 +0000)]
silly typo

24 years ago* libamu/mount_fs.c (mnt_flags): same this as for nolock option
Erez Zadok [Thu, 29 Nov 2001 20:57:48 +0000 (20:57 +0000)]
* libamu/mount_fs.c (mnt_flags): same this as for nolock option
handling, do for maxgrps.

* libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount
opts.
(compute_nfs_args): Added nolock handling.
Adapted from an original patch from Avery Pennarun <apenwarr@nit.ca>.

24 years ago* ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler.
Erez Zadok [Tue, 27 Nov 2001 21:39:21 +0000 (21:39 +0000)]
* ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler.
Couldn't use bison/flex because of 32-bit vs. 64-bit binaries
issues.  Had to use HP's own yacc/lex.  This was discovered by
using HP's non-GNU make program.

24 years ago* */Makefile.am: don't use $(OBJECTS) directly because it is no
Erez Zadok [Tue, 27 Nov 2001 03:25:21 +0000 (03:25 +0000)]
* */Makefile.am: don't use $(OBJECTS) directly because it is no
longer automatically defined now that Automake has automatic
dependency tracking (which I turn off).  Instead, hard-code
minimal dependencies on am-utils' header files to depend on
PROG_OBJECTS (where PROG is the program name being built)

24 years ago* amd/nfs_start.c (checkup): cast getpagesize() return val to
Erez Zadok [Tue, 27 Nov 2001 03:12:24 +0000 (03:12 +0000)]
* amd/nfs_start.c (checkup): cast getpagesize() return val to
long, to avoid conflicts in division of a long by an int (on
hpux11i, with their ANSI/C compiler).

* minor new ports: ia64-hp-hpux11.20, i386-unknown-freebsd5.0,
i386-unknown-freebsd4.4, i386-pc-linux-rh7.2,
ia64-unknown-linux-rh7.1.

* include/am_defs.h: actually declare extern definition for
xdr_callmsg() if it doesn't already exist.

* aux/macros/header_templates.m4: declare template for
HAVE_EXTERN_XDR_CALLMSG.

* configure.in: check for extern definition for xdr_callmsg()
because hpux11 has that function but a bad <rpc/xdr.h> header file
that doesn't define it in the right place.

* libamu/mount_fs.c (print_nfs_args): cast ->rdev to u_long b/c
on hpux11 its type is dev_t.

* conf/nfs_prot/nfs_prot_hpux11.h: don't support autofs on hpux11
yet.

24 years ago* bootstrap (cmd): turn back on --ignore-deps (this Automake may
Erez Zadok [Sat, 17 Nov 2001 04:52:33 +0000 (04:52 +0000)]
* bootstrap (cmd): turn back on --ignore-deps (this Automake may
have problems)

* libamu/xutil.c: remove __attribute__ format_arg statement for
expand_error() because this function, although taking a
printf-like string, does not use it in a printf function; it only
expands a non-printf amd-special syntax %m.

* conf/nfs_prot/nfs_prot_linux.h: define KERNEL_VERSION macro
before using it because older Linux systems don't define this
(e.g., Red Hat 4.2)

24 years ago* configure.in: convert to using autoconfig 2.52. Use new macros.
Erez Zadok [Wed, 14 Nov 2001 03:38:28 +0000 (03:38 +0000)]
* configure.in: convert to using autoconfig 2.52.  Use new macros.
AC_MSG_NOTICE for messages; AH_TOP and AH_BOTTOM to top and bottom
parts of autogenerated config.h.in; increase autoconf
pre-requisite to version 2.50; use AC_DISABLE_SHARED not
AM_DISABLE_SHARED.

* aux/macros/cache_check_dynamic.m4: finally I can use the new
$ECHO_N syntax in macros instead of $ac_n, since I'm using a new
autoconf.  Isn't it nice to be such forward looking and having
placed a comment "XXX: use the next line for autoconf-2.14 and
newer"... :-)

* aux/macros/save_state.m4: highlight message with ***'s

* aux/macros/host_macros.m4: use proper M4 quoting ([], not "")

* config.{guess,sub}: upated from latest prep ftp distributions

* depcomp, missing, mkinstalldirs: upated from latest Automake 1.5

* ltmain.sh: updated from latest Libtool 1.4.2

* bootstrap: finally, new autoconf doesn't print silly "AC_TRY_RUN
called without default to allow cross compiling" warnings.  And,
it only took like 3+ years to fix this.  But, now it has anoter,
albeit less annoying warning (which the manual says to ignore):
"AC_PROG_LEX invoked multiple times".
When autoheader is run, don't treat the "all clear" message
"config.h.in is update" as an error.

* ltconfig: removed. not needed with latest version of libtool

* aux/macros/header_templates.m4: replaces acconfig.h and defines
all CPP macros we use in this package, including their
accompanying C /* comments */.

* acconfig.h: removed. replaced by new autoconf system to generate
header templates using AH_TEMPLATE macros and such.

* aux/macros/msg.m4: removed.  Replaced with new macro
AC_MSG_NOTICE

* Makefile.am (EXTRA_DIST_AUX): remove aux/macros/msg.m4.  Add
aux/macros/header_templates.m4

* configure.in: early, in host_macros.m4, I'm renaming silly linux
$host_os names such as linux-gnu and lignux to plain "linux".
Alas, RMS finally had his way and libtool will NOT recognize
"linux" as a valid system, only "linux-gnu".  Sigh.  Rich, I know
you're responsible to Linux's fame.  Kudos to you and your
cohorts.  But please don't force the rest of us to use those ugly
or long names.  Solution: temporarily name $host_os to "linux-gnu"
before calling the AC_PROG_LIBTOOL macro, then name it back to
"linux".  (That way I don't have to maintain my own version of
ltmain.sh.

* buildall: force running configure -C (to create and use a local
config.cache file).  New default behavior for autoconf is NOT to
use cache files.  Yeah, that's gonna fly real well with am-utils,
with its 700+ automatic tests.

* conf/mtab/mtab_mach3.c (rewrite_mtab): use mkstemp instead of
mktemp, if the former is available.

* conf/mtab/mtab_file.c (rewrite_mtab): use mkstemp instead of
mktemp, if the former is available.

* mk-amd-map/mk-amd-map.c (main): use mkstemp instead of mktemp,
if the former is available.

* aux/macros/check_nfs_socket_connection.m4: AC_DEFINE calls must
be on a separate line, as per new Autoconf manual, to avoid some
Bourne Shell syntactical bizarreness.

24 years agoMinor update to mirrors list
Erez Zadok [Tue, 13 Nov 2001 05:49:59 +0000 (05:49 +0000)]
Minor update to mirrors list

24 years ago * libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer
Ion Badulescu [Tue, 13 Nov 2001 01:35:07 +0000 (01:35 +0000)]
    * libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer
        pointing to '\0' on success, so we need to allow for it. This
        fixes the problem with rejecting numerical mount options if they
        are the last option in the string.

        * configure.in: increased library patchlevel

        * NEWS: document the parsing bug; document other previous changes

24 years agotwo more todo items
Erez Zadok [Mon, 22 Oct 2001 03:45:27 +0000 (03:45 +0000)]
two more todo items

24 years ago * aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc.
Rainer Orth [Thu, 18 Oct 2001 17:56:41 +0000 (17:56 +0000)]
* aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc.
* BUGS: Explain this.

24 years ago* doc/am-utils.texi (redhat-ctl-amd): document new script.
Erez Zadok [Tue, 2 Oct 2001 20:46:43 +0000 (20:46 +0000)]
* doc/am-utils.texi (redhat-ctl-amd): document new script.

* scripts/Makefile.am: build redhat-ctl-amd but do not install it.

* scripts/redhat-ctl-amd.in: new script, useful to correctly
control Amd on Red Hat Linux systems.  Script adapted from ctl-amd
and Red Hat's own rc.d script.

24 years ago * conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h.
Rainer Orth [Tue, 2 Oct 2001 16:28:25 +0000 (16:28 +0000)]
* conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h.
(MNT2_NFS_OPT_AUTO): Disable.
* Makefile.am (EXTRA_DIST_CONF): Reflect new name.
* aux/macros/check_nfs_prot_headers.m4: Use this file for all
Tru64 UNIX V5 and up releases.

24 years ago * include/mount_headers1.h (MFS): define as 1 instead of nothing,
Ion Badulescu [Tue, 25 Sep 2001 01:20:42 +0000 (01:20 +0000)]
* include/mount_headers1.h (MFS): define as 1 instead of nothing,
to fix compile problems on OS X (patch from Ahmon Dancy)

* aux/macros/try_compile_anyfs.m4 (MFS): ditto

24 years ago* doc/am-utils.texi (in_network Selector Variable): document
Erez Zadok [Tue, 14 Aug 2001 00:36:25 +0000 (00:36 +0000)]
* doc/am-utils.texi (in_network Selector Variable): document
expanded syntax

* libamu/wire.c (is_network_member): support for network/netmask
as well as network/bits syntax in in_network()

24 years agosolaris8 bugs
Erez Zadok [Sat, 11 Aug 2001 20:43:47 +0000 (20:43 +0000)]
solaris8 bugs

24 years ago* amd/get_args.c (get_args): a better way to handle GNU and
Erez Zadok [Fri, 20 Jul 2001 03:45:12 +0000 (03:45 +0000)]
* amd/get_args.c (get_args): a better way to handle GNU and
non-GNU getopts without strdup-ing the getopt string.

* amd/info_ldap.c (amu_ldap_rebind): The first time you called
amu_ldap_init, aldh->ldap is not set.  So when amu_ldap_rebind is
called, this function is absolutely sure to return 0.  Then
amu_ldap_init return 0 without having opened any LDAP connection.
This is not the correct behaviour.
(get_ldap_timestamp, amu_ldap_search): error to free an object
("entry") that is automatically freed by the library.  Patch from
Sebastien Bahloul <sebastien.bahloul@mangoosta.fr>.

24 years ago * AUTHORS (variables): added Philippe Troin
Ion Badulescu [Fri, 20 Jul 2001 03:00:59 +0000 (03:00 +0000)]
* AUTHORS (variables): added Philippe Troin

24 years ago two files from Phil's patches I forgot to cvs add
Ion Badulescu [Fri, 20 Jul 2001 02:11:45 +0000 (02:11 +0000)]
two files from Phil's patches I forgot to cvs add

24 years ago several changes from Philippe Troin:
Ion Badulescu [Fri, 20 Jul 2001 02:11:06 +0000 (02:11 +0000)]
several changes from Philippe Troin:
- fix the dev/nodev mtab option on Linux
- autodetect GNU getopt and add a '+' to list of options for it
- support --without-hesiod and --without-ldap

24 years ago * Makefile.am (EXTRA_DIST): added bootstrap
Ion Badulescu [Fri, 20 Jul 2001 02:07:08 +0000 (02:07 +0000)]
* Makefile.am (EXTRA_DIST): added bootstrap