Requirements:

 - Linux or POSIX.1-2001 compliant environment
 - GNU make or compatible
 - GCC 4.x and its libstdc++ or any modern C++ compiler with either STL
   including TR1 parts or having Boost headers (http://boost.org)
 - zlib, libbz2 und their development components
 - (optional) recent FUSE library and its development files for the 
   "virtual mirror" filesystem

Build instructions:

 - run "make" to see most interesting build options
 - run "make acng" to build apt-cacher-ng binary
 - run "make in.acng acngfs" to build the inetd bridge and the 
   "virtual mirror" filesystem daemon (optional) 

Installation:

 - edit conf/*.conf files, copy the directory to your system and follow the
   hints there
 - make apt-cacher-ng be executed as system startup
 - visit the report and control page with the browser from time to time

Configuration:

 - create a directory for cached files and for log files
 - set ownership and directory permissions in a way which allows 
   read/write/mkdir actions to the user account used to run apt-cacher-ng later
 - copy conf directory to /etc/apt-cacher-ng or similar location. 
 - adapt acng.conf and other *.conf files in that configuration directory. 
   See user manual (doc/apt-cacher-ng.pdf) for instructions.
 - run apt-cacher-ng -c yourConfigurationDirectory
 - visit Command-and-Control web interface of apt-cacher-ng, link can be found
   among other instructions at http://yourHostName:portNumber/ , which might be
   http://localhost:3142/ with the default configuration

Advanced options:

A small size build can be done with: "CXXFLAGS=-Os make acng". Various other
g++ options can be set there. The default flags are merged with this list when
used this way. To override CXXFLAGS completely, set them as Makefile variable
instead of environment variable, i.e.  doing "make ... CXXFLAGS=..." instead of
prending it.

 -- Eduard Bloch <blade@debian.org>  Mon, 26 Jul 2010 21:35:40 +0200
