NetBSD/dist/am-utils
wiz 728ab102b9 Make it compile with WAUDIT=2 and FORMAT_AUDIT set. Based on tips
by Bill Sommerfeld.
Also, don't change code that's not in our path (replacing vnprintf
with vsnprintf in !HAVE_VSNPRINTF case).
2000-11-21 01:35:36 +00:00
..
amd Remove unneeded code (confirmed by christos). 2000-11-20 17:45:10 +00:00
amq Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
conf Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
doc Re-integrate most changes done to amd in its old location (mostly 2000-11-20 03:19:33 +00:00
fixmount Re-integrate most changes done to amd in its old location (mostly 2000-11-20 03:19:33 +00:00
fsinfo Make it compile with WAUDIT=2 and FORMAT_AUDIT set. Based on tips 2000-11-21 01:35:36 +00:00
hlfsd Re-integrate most changes done to amd in its old location (mostly 2000-11-20 03:19:33 +00:00
include Re-integrate most changes done to amd in its old location (mostly 2000-11-20 03:19:33 +00:00
libamu Make it compile with WAUDIT=2 and FORMAT_AUDIT set. Based on tips 2000-11-21 01:35:36 +00:00
mk-amd-map Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
scripts Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
wire-test Re-integrate most changes done to amd in its old location (mostly 2000-11-20 03:19:33 +00:00
acconfig.h Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
acinclude.m4 Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
aclocal.m4 Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
amd2netbsd am-utils import script, based on bind2netbsd and consorts. 2000-11-20 00:52:32 +00:00
AUTHORS Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
aux_conf.h.in Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
BUGS Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
buildall Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
ChangeLog Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
config.guess Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
config.guess.long Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
config.h.in Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
config.sub Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
configure Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
configure.in Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
COPYING Import of am-utils-6.0.3 virgin source, with the following changes: 2000-06-07 00:52:18 +00:00
depcomp Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
INSTALL Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
install-sh Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
LSM.am-utils Import of am-utils-6.0.3 virgin source, with the following changes: 2000-06-07 00:52:18 +00:00
ltconfig Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
ltmain.sh Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
Makefile.am Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
Makefile.in Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
MIRRORS Import of am-utils-6.0.3 virgin source, with the following changes: 2000-06-07 00:52:18 +00:00
missing Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
mkinstalldirs Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
NEWS Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
README Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
README.autofs Import of am-utils-6.0.3 virgin source, with the following changes: 2000-06-07 00:52:18 +00:00
README.y2k Import of am-utils-6.0.3 virgin source, with the following changes: 2000-06-07 00:52:18 +00:00
stamp-h.in Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00
tasks Import of am-utils-6.0.4 source for reachover build. 2000-11-19 23:42:08 +00:00

# -*- text -*-

This is the official version of am-utils.

See the file NEWS for news on this and previous releases.

*** General Notes to alpha/beta testers:

[A] as alpha/beta testers, I expect you to be able to find certain things on
your own (especially look at the sources to figure out how things work).

[B] if you intend to modify any files, first find out if the file you want
to modify gets autogenerated from some other place.  If so, modify it at the
source.

You can adjust some of the configuration of am-utils after it has been
auto-configured by putting whatever definitions you wish in a file called
localconfig.h, located in the top build directory (the same one where
config.h is created for you).

[C] there are several ways you can build am-utils:

(1) run the buildall script as follows:

	./buildall

This would build all the applications inside a special directory relative to
the root of the source tree, called A.<cpu-company-system>, where the <>
part is filled in by GNU's config.guess script.  This is the preferred
method, for it will separate the build from the sources, and allow you to
run buildall for multiple architectures concurrently.

You can run "buildall -h" to see what options it takes.

(2) run the configure script such as:

	./configure

and then run

	make

This would configure amd in the directory you've run the configure script
in, and the built it there.  Run "make install" to install all the necessary
files.

Note that this is good for building only one version of amd on one
architecture!  Don't try this for multiple architectures.  If you must, then
after doing one such build, run "make distclean" and then reconfigure for
another architecture.

(3) run the configure script for build in a different location.  Let's say
that /src/am-utils-6.0 is where you unpacked the sources.  So you could

	mkdir /src/build/sunos5
	cd /src/build/sunos5
	/src/am-utils-6.0/configure --srcdir=/src/am-utils-6.0
	make

This is a manual method that will let you build in any directory outside the
am-utils source tree.  It requires that your "make" program understand
VPATH.  This can be used multiple times to build am-utils concurrently in
multiple (but different) directories.  In fact, the buildall script
described above.

(4) If you need to configure am-utils with extra libraries and/or headers,
for example to add hesiod support, do so as follows:

	configure --enable-libs="-lhesiod -lresolv" \
		--enable-ldflags="-L/usr/local/hesiod/lib" \
		--enable-cppflags="-I/usr/local/hesiod/include"

[D] If you modify any of the *.[chyl] sources in the directories amd, amq,
hlfsd, lib, etc, all you need to do to get a new version of am-utils is run
make.

If you modify any of the files in the aux/ or conf/ directories, or any *.in
or *.am file, then you must rebuild the configure script, Makefile.in files,
aclocal.m4, etc.  The best way to do so is to run

	./bootstrap
or
	./buildall -K

To be a developer and be able to run "bootstrap", you must have
autoconf-2.13, automake-1.4, and libtool 1.3.5 installed on your system (or
later versions thereof).  You no longer need to get my special version of
automake.  Note also the the bootstrap script and several other tools are
not available in the regular distribution of am-utils, only though the CVS
server for am-utils.  Contact me if you'd like to be a maintainer and get
access to the CVS server.

After you've remade the basic configuration files you must rerun the
buildall script to rerun configure and then remake the binaries.

Modifying M4 macros may not be very intuitive to anyone that has not done so
before.  Let me know if you are having any problems with them.  I fully
expect, at least initially, to have to be the sole developers of the M4
macros and let others concentrate on C sources.

[E] Report all bugs to amd-dev@majordomo.cs.columbia.edu.  Avoid reporting
to my personal email address.  It is important to involve the whole list in
bug fixes etc.

Good luck.

Erez Zadok,
Maintainer, am-utils.