Install the dependencies.

	# apt-get install help2man make openssl python-m2crypto
	# apt-get install automake autoconf # if running from git

	# apt-get install apache2

You may use a different webserver, but currently we only provide an apache2 site
config example, so you will need to adapt this to the correct syntax.

	# apt-get install flashproxy-common

If your distro does not have flashproxy-common, you can install it
directly from the top-level source directory:

	flashproxy# python setup-common.py install --record install.log \
	  --single-version-externally-managed

Configure and install.

	$ ./autogen.sh # if running from git or ./configure doesn't otherwise exist
	$ ./configure --localstatedir=/var/local --enable-initscripts && make
	# make pre-install install post-install

This installs fp-registrar.cgi, fp-facilitator, fp-registrar-email,
fp-reg-decryptd, and fp-reg-decrypt to /usr/local/bin.
It also installs System V init files to /etc/init.d/.

The pre/post-install scripts create a user for the daemon to as, and
sets up the initscripts in the default system runlevels. They also
generate a RSA key in /usr/local/etc/flashproxy/reg-daemon.{key,pub}.

Uninstall.

	# make pre-remove uninstall post-remove

This will leave behind some config files (e.g. secret keys and passwords). To
get rid of those too, run this instead:

	# make pre-purge uninstall post-purge
