aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/torrentflux/files/install.txt.in
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-09-30 09:12:36 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-09-30 09:12:36 +0000
commit9766a65fd0afeee48b78ea6bda3a90fa11014f9e (patch)
tree9f0601049fddfc73cec41ed94307f3abadf1b46b /net-p2p/torrentflux/files/install.txt.in
parentc070b8a3ad8ef9ad893441f62d1bb2865dddaa1f (diff)
downloadports-9766a65fd0afeee48b78ea6bda3a90fa11014f9e.tar.gz
ports-9766a65fd0afeee48b78ea6bda3a90fa11014f9e.zip
Notes
Diffstat (limited to 'net-p2p/torrentflux/files/install.txt.in')
-rw-r--r--net-p2p/torrentflux/files/install.txt.in57
1 files changed, 0 insertions, 57 deletions
diff --git a/net-p2p/torrentflux/files/install.txt.in b/net-p2p/torrentflux/files/install.txt.in
deleted file mode 100644
index 9d23cd120d7c..000000000000
--- a/net-p2p/torrentflux/files/install.txt.in
+++ /dev/null
@@ -1,57 +0,0 @@
-FreeBSD TorrentFlux installation
-
- $FreeBSD$
-
-These are the steps to install TorrentFlux with LightTPD, SQLite and eAccelerator.
-Some manual configuration is necessary, but it should be fairly easy to get the
-port up and running.
-
-1. install port www/php5-cgi
- - Check "Enable fastcgi support"
-
-2. copy %%LOCALBASE%%/etc/php.ini-recommended to %%LOCALBASE%%/etc/php.ini
- - Comment the line
- error_reporting = E_ALL
- and uncomment
- error_reporting = E_ALL & ~E_NOTICE
-
-3. (optional) install databases/sqlite2 with NOPORTDOCS=yes
- - this port is pulled in either ways, but you may want to avoid installing
- TCL as a build dependency
-
-4. install port net-p2p/torrentflux with WITH_TF_DATADIR=/your/download/directory
- - The directory must be writable by the 'www' user and reside on a
- partition with enough free space to accommodate all files you plan
- to download. It will be created if it doesn't exist.
-
- (hint) you can put it on an encrypted partition:
- http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
-
- - (optional) edit %%PREFIX%%/etc/tfconfig.php:
- depredating on your network configuration, you might want to change
- "minport", "maxport" and "cmd_options"
-
- (note) when you want to utilize port net/trickle to throttle the total bandwidth,
- do something like
- $cfg["btphpbin"] = "%%LOCALBASE%%/bin/trickle -parameters %%PREFIX%%/libexec/btphptornado.py";
-
-5. install port www/lighttpd
- - copy %%LOCALBASE%%/etc/lighttpd.conf.sample to %%LOCALBASE%%/etc/lighttpd.conf
- - edit %%LOCALBASE%%/etc/lighttpd.conf:
- enable "mod_fastcgi"
- uncomment the "fastcgi.server" section
- - add lighttpd_enable="YES" to /etc/rc.conf
-
-7. install port www/eaccelerator
- - add the line
- extension=eaccelerator.so
- to %%LOCALBASE%%/etc/php/extensions.ini
-
-8. create an administrator account:
- - run lighttpd:
- %%LOCALBASE%%/etc/rc.d/lighttpd.sh start
- - Open http://127.0.0.1/tf/login.php in a browser
- The first user to log in is automatically declared administrator
-
-To Do:
- - add instructions how to run the port with mod_php5 and apache