File: INSTALL

package info (click to toggle)
flashproxy 1.7-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 936 kB
  • ctags: 876
  • sloc: python: 3,708; sh: 823; makefile: 246; lisp: 15
file content (40 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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