Installation:
	1) to build and install the commandline tools (nfs4_getfacl and nfs4_setfacl):
		   $ ./configure
		   $ make
		   $ make install


	2) to build and install the GUI editor (nfs4-acl-editor), first do the above
	   steps.  then:
		   $ cd GUI/nfs4-acl-editor
		   $ qmake
		   $ make
		   $ # cp nfs4-acl-editor <whatever-bin-path>
	
	   the `qmake` step should generate a Qt-friendly Makefile.  
	
	
	3) we're adding a `visudo`-like functionality to nfs4_setfacl, wherein 
	   something like `nfs4_setfacl --edit foo` would get the ACL for "foo", 
	   load it into your $EDITOR, and set the ACL upon saving.  a stopgap 
	   approximation of that might be to add the following to your ~/.bashrc
	   file:

	   nfs4_editfacl() {
  		   fso="$1"
		   [ ! -f "$fso" -a ! -d "$fso" ] && eval 'echo "ERROR: where is $fso?" ; return 1'
		   tmp=`mktemp -t nfs4acl.XXXXXX` || eval 'echo "ERROR: no tempfile." ; return 2'

		   /usr/bin/env nfs4_getfacl "$fso" >$tmp
		   ${EDITOR:-vi} $tmp
		   /usr/bin/env nfs4_setfacl -S $tmp "$fso"
		   rm $tmp
	   }

	   .. then run `source ~/.bashrc` and, thereafter, use `nfs4_editfacl` like a 
	   normal command.
	
	
	4) in case of trouble, please see "Caveats" and "Notes" below.


Caveats:
	the build scripts used for the base part of the nfs4-acl-tool package are
	coming along but aren't yet perfect.  we've adapted several of the build
	scripts from the 'acl' package; if things go wrong, a bit of Makefile
	tweaking may be needed:

		nfs4-acl-tool/Makefile
		nfs4-acl-tool/libnfs4acl/Makefile
		nfs4-acl-tool/nfs4_getfacl/Makefile
		nfs4-acl-tool/nfs4_setfacl/Makefile

	the default "include/builddefs" compiles the library statically; the only
	reason to install the library itself is so that the GUI tool can find it;
	we should fix that so no library gets installed ..

	once the tools `nfs4_getfacl` and `nfs4_setfacl` have built, they can be
	installed wherever; if you need the library and headers in order to build 
	the GUI tool, run `sudo ./fake-install` in the top-level directory.  it's
	also brittle and will eventually be replaced.


Notes (about some distros..):
	looks for /usr/include/attr/attr.h, but 'attr' dir doesn't exist.
	 sudo ln -s /usr/include/linux /usr/include/attr

	'attr' package builds wrong.  1) doesn't install xattr.h, 2) doesn't know to install 
	 libattr.la, libattr.a, or libattr.so.1.1.0.

	'attr' trouble again -- after manually copying it in, had to edit /usr/lib/libattr.la
	 and change "installed=no" to "installed=yes".  don't know why the make flakes on me.

	if the build fails because gmake doesn't exist,
	 sudo ln -s /usr/bin/{,g}make


please send any email to both richterd@citi.umich.edu and allamack@citi.umich.edu.
