Difference between pages "Experimental branch" and "Package:Rutorrent"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
{{Fancynote| Funtoo Experimental is where we test bleeding-edge stuff. Don't use experimental unless you are helping us test new features.}}
{{Ebuild
{{Fancywarning| experimental tree perodically stopped and not getting updates. Current status is stopped}}== Status ==
|Summary=ruTorrent is a front-end for the popular Bittorrent client rTorrent
Future plans:
|CatPkg=www-apps/rutorrent
* funtoo profile integration
|Homepage=http://code.google.com/p/rutorrent/
* udev and friends bump
}}


== Introduction ==
rutorrent is a front end to {{package|net-p2p/rtorrent}} and is designed to look like utorrent =D


The Funtoo experimental branch is used by Funtoo Core Developers to try and test new features to be included in Funtoo stable and current branches when ready. Users that want to help the developers test those new features are welcome to switch to the experimental branch and report problems on IRC or the forum. However, problems may arise from using it and there is no guarantee that your system will stay usable.
{{console|body=###i## emerge www-apps/rutorrent}}


== Upgrading an existing Funtoo installation to experimental ==
===prereqs===
<console>
*Install your web server {{package|www-servers/nginx}}, and get {{package|dev-lang/php}} with the fpm use flag running first.
###i## rm -rf /usr/portage
*you must turn on scgi_pass in the {{package|net-p2p/rtorrent}} config.
</console>
Add the following line (or modify it if it's already there):
<console>
###i## nano -w /etc/make.conf
SYNC="git://github.com/funtoo/experimental-mini-2011.git"
</console>


=== First method ===
===configuration===
<console>
==== optional security lock down stuff ====
###i## emerge --sync     
{{warning|possibly broken, untested}}
</console>


Verify that the experimental tree has been properly installed:
first figure out what php you're using
<console>
###i## cat /usr/portage/.git/config
...
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://github.com/funtoo/experimental-mini-2011.git
...
</console>


You should see that the git repository is pointing to experimental-mini-2011.git.
{{console|body=###i##eselect php list fpm
[1]  php5.5 *
###i## eselect php list cgi
[1]  php5.5 *
###i## eselect php list apache2
[1]  php5.5 *
###i## eselect php list cli
[1]  php5.5 *
}}


If for any reason this method did not work, use the second method to manually clone the experimental branch.
edit the respective php.ini


=== Second method ===
Edit the open_basedir in
<console>
/etc/php/fpm-php5.5/php.ini
###i## rm -rf /usr/portage
{{file|name=/etc/php/fpm-php5.5/php.ini|lang=|desc=php basedir|body=
###i## cd /usr
open_basedir = /var/www/localhost/htdocs/rutorrent/conf:/var/www/localhost/htdocs/rutorrent/php:/var/www/localhost/htdocs/rutorrent/
###i## git clone git://github.com/funtoo/experimental-mini-2011.git portage
}}
###i## emerge --sync
</console>


== Installation from an experimental branch stage3 ==
=== nginx config===
You can find some stage3s on the Funtoo mirror: [http://ftp.osuosl.org/pub/funtoo/funtoo-experimental/]. These stages are updated weekly, possibly more often during active experimental development.
{{file|name=/etc/nginx/sites-available/localhost|lang=|desc=nginx configuration|body=
server {
listen 127.0.0.1:80;
server_name localhost;
access_log /var/log/nginx/localhost.access_log main;
error_log /var/log/nginx/localhost.error_log info;
root /var/www/localhost/htdocs;
index index.php index.cgi index.htm index.html;
autoindex on;


== Building stage3s using Metro ==
        location ~ \.php$ {
You may build your own stages of the experimental branch using [[Metro]]. The stages from the Funtoo mirror ([http://ftp.osuosl.org/pub/funtoo/funtoo-experimental/]) can be used as a seed. A funtoo-experimental target is available.
                fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
                #fastcgi_pass unix:/var/run/php5-fpm.sock;
        }


== History ==
          location /rutorrent {
              include scgi_params;
              scgi_pass localhost:5000;
          }
}
}}


=== Iteration 1 (Completed Dec 16, 2011) ===
restart nginx
{{console|body=###i## /etc/init.d/nginx restart}}


Implementation and stabilization of a new set of toolchain packages:
point your browser to


* gcc-4.6.2
http://127.0.0.1/rutorrent
* binutils-2.21-r1
* linux-headers-2.6.39
* glibc-2.13-r4
* udev-171-r1
* patched lvm2-2.02.85
* Several patches to solve problems building with this toolchain


And some other features:
or
* [[Portage Dynamic Slot]]
* Modifications of Mesa, libdrm and radeon drivers to support each type of Radeon video card individually, as well as masked -9999 versions of those packages.


[[Category:Portage]]
http://localhost/rutorrent
[[Category:HOWTO]]
 
[[Category:Featured]]
{{PageNeedsUpdates}}
{{EbuildFooter}}

Revision as of 06:51, March 8, 2015

Rutorrent

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


rutorrent is a front end to net-p2p/rtorrent and is designed to look like utorrent =D

root # emerge www-apps/rutorrent

prereqs

configuration

optional security lock down stuff

   Warning

possibly broken, untested

first figure out what php you're using

root #eselect php list fpm
[1]   php5.5 *
root # eselect php list cgi
[1]   php5.5 *
root # eselect php list apache2
[1]   php5.5 *
root # eselect php list cli
[1]   php5.5 *

edit the respective php.ini

Edit the open_basedir in /etc/php/fpm-php5.5/php.ini

   /etc/php/fpm-php5.5/php.ini - php basedir
open_basedir = /var/www/localhost/htdocs/rutorrent/conf:/var/www/localhost/htdocs/rutorrent/php:/var/www/localhost/htdocs/rutorrent/

nginx config

   /etc/nginx/sites-available/localhost - nginx configuration
server {
	listen 127.0.0.1:80;
	server_name localhost;
	access_log /var/log/nginx/localhost.access_log main;
	error_log /var/log/nginx/localhost.error_log info;
	root /var/www/localhost/htdocs;
	index index.php index.cgi index.htm index.html;
	autoindex on;

        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
		include fastcgi.conf;
                #fastcgi_pass unix:/var/run/php5-fpm.sock;
        }

           location /rutorrent {
               include scgi_params;
               scgi_pass localhost:5000;
           }
}

restart nginx

root # /etc/init.d/nginx restart

point your browser to

http://127.0.0.1/rutorrent

or

http://localhost/rutorrent