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

(Difference between pages)
(Upgrading an existing Funtoo installation to experimental)
 
m
 
Line 1: Line 1:
{{Note}}Funtoo Experimental is where we test bleeding-edge stuff. Don't use experimental unless you are helping us test new features.
+
{{Ebuild
== 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>
+
# 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 ===
+
<console>
+
###i## rm -rf /usr/portage
+
###i## cd /usr
+
###i## git clone git://github.com/funtoo/experimental-mini-2011.git portage
+
###i## emerge --sync
+
</console>
+
  
== Installation from an experimental branch stage3 ==
+
Edit the open_basedir in
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.
+
/etc/php/fpm-php5.5/php.ini
 +
{{file|name=/etc/php/fpm-php5.5/php.ini|lang=|desc=php basedir|body=
 +
open_basedir = /var/www/localhost/htdocs/rutorrent/conf:/var/www/localhost/htdocs/rutorrent/php:/var/www/localhost/htdocs/rutorrent/
 +
}}
  
== Building stage3s using Metro ==
+
=== nginx config===
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.
+
{{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;
  
== History ==
+
        location ~ \.php$ {
 +
                fastcgi_pass 127.0.0.1:9000;
 +
include fastcgi.conf;
 +
                #fastcgi_pass unix:/var/run/php5-fpm.sock;
 +
        }
  
=== Iteration 1 (Completed Dec 16, 2011) ===
+
          location /rutorrent {
 +
              include scgi_params;
 +
              scgi_pass localhost:5000;
 +
          }
 +
}
 +
}}
  
Implementation and stabilization of a new set of toolchain packages:
+
restart nginx
 +
{{console|body=###i## /etc/init.d/nginx restart}}
  
* gcc-4.6.2
+
point your browser to
* 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:
+
http://127.0.0.1/rutorrent
* [[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]]
+
or
[[Category:HOWTO]]
+
 
[[Category:Featured]]
+
http://localhost/rutorrent
 +
 
 +
{{PageNeedsUpdates}}
 +
{{EbuildFooter}}

Revision as of 06:51, March 8, 2015

www-apps/rutorrent


Source Repository:Repository:Gentoo Portage Tree

http://code.google.com/p/rutorrent/

Summary: ruTorrent is a front-end for the popular Bittorrent client rTorrent


News

Drobbins

Perl Updates

Gentoo has bumped perl from 5.20 to 5.22. Be sure to run perl-cleaner --all after the upgrade.
2015-07-25 by Drobbins
Drobbins

ARM Rebuild

ARM systems will use new stage3's that are not compatible with earlier versions.
2015-06-27 by Drobbins
Drobbins

ABI X86 64 and 32

Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
2015-06-18 by Drobbins
More...

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 Package:Rtorrent and is designed to look like utorrent =D

# emerge www-apps/rutorrent


prereqs

configuration

optional security lock down stuff

Warning

possibly broken, untested

first figure out what php you're using

#eselect php list fpm
[1]   php5.5 *
# eselect php list cgi
[1]   php5.5 *
# eselect php list apache2
[1]   php5.5 *
# 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

# /etc/init.d/nginx restart


point your browser to

http://127.0.0.1/rutorrent

or

http://localhost/rutorrent