Koozali.org: home of the SME Server

[Announce] torrentflux-b4rt

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
[Announce] torrentflux-b4rt
« on: September 17, 2007, 03:38:59 PM »
http://tf-b4rt.berlios.de/

This is a maintained fork of torrentflux, possibly with more features
if we can get them to work
ie. compile and find more support programs

as it is it is equivalent to torrentflux

smeserver-tf-b4rt & tf-b4rt rpms in dungog repo

install then go to yourserver/torrent
first user to login becomes a super admin
the manual is available at /torrent/manual.txt

you can change the url /torrent according to
http://wiki.contribs.org/Generic_WebApp_rpm#New_DB_settings

problems
*wget seems to need php-cli, the centosplus rpm is ver.5
*if searched links fail, hack and follow the generated url, find the .torrent at the page indicated
then copy and paste into :URL for the Torrent File


feedback welcome
« Last Edit: September 17, 2007, 04:45:02 PM by snoble »

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Re: [Announce] torrentflux-b4rt
« Reply #1 on: October 02, 2007, 12:33:31 PM »
Stephen,

not sure what you are telling /me up there ;-)

With your torrentflux contrib installed would one just
Code: [Select]
yum --enablerepo=dungog install smeserver-tf-b4rt...without loosing any/all setup data
???

What about the (new? b4art)
"Safe-mode must be turned off."
php.ini :
Code: [Select]
safe_mode = Offrequirement in -b4rt
Does this have any (security) impact in SME ?

Always grateful for your your work ...

Regards
Reinhold
............

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: [Announce] torrentflux-b4rt
« Reply #2 on: October 02, 2007, 01:24:35 PM »

Quote
With your torrentflux contrib installed would one just
Code: [Select]
yum --enablerepo=dungog install smeserver-tf-b4rt...without loosing any/all setup data
???

you won't loose any data and you could run both
provided you add a 'URL' property for torrentflux as both use /torrent
they use  different mysql tables and paths

Quote
What about the (new? b4art)
"Safe-mode must be turned off."
php.ini :
Code: [Select]
safe_mode = Offrequirement in -b4rt
Does this have any (security) impact in SME ?

It may, if it did it would only affect br4t, it is a fragment specific change
I'd use a 'PublicAccess' mode that is local or uses a password

http://wiki.contribs.org/Generic_WebApp_rpm#New_DB_settings <- property descriptions

a lot of the b4rt functions need a lot of work to get them to operate
the torrentflux site is gone and b4rt guy said the was taking a rest,
whatever, it mostly works as it is

regards

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Re: [Announce] torrentflux-b4rt
« Reply #3 on: October 02, 2007, 03:59:05 PM »
Quote
the torrentflux site is gone and b4rt guy said the was taking a rest,
whatever, it mostly works as it is

Actually b4rt seems to have 'recovered'
(from frustrating 'users' as well as illness)
...a look into websvn shows he is again fixing things...
...even programming a script to check for "torrentflux compatibility"


Will grab your 'new' work and install b4art on the weekend then  :grin:
 
Regards
Reinhold
............

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: [Announce] torrentflux-b4rt
« Reply #4 on: October 03, 2007, 12:28:41 AM »
>(from frustrating 'users' as well as illness)
.
lol

the problem isn't with b4rt, it presumably works ok
the sme intergration needs the work
compiling and sourcing other programs
and resolving some of the error messages

Offline groutley

  • ****
  • 213
  • +0/-0
    • http://www.routley.homeip.net
Re: [Announce] torrentflux-b4rt
« Reply #5 on: January 11, 2008, 12:03:00 AM »
problems
*wget seems to need php-cli, the centosplus rpm is ver.5

feedback welcome

I have installed this contrib, and all the interface stuff looks great, It just doesn't work !
i.e.  my download sits there 'starting' and has for days now..

When I run the admin "Check PHP-CLI"  I get ..
Code: [Select]
----- Summary -----
State : Failed
torrentflux-b4rt 1.0 cannot run on this system.
Errors :
 - PHP-SAPI : CLI version of PHP required.
Warnings :
 - PHP-Configuration : allow_url_fopen must be turned on. some features wont work if it is turned off.
So I assume my problem is relating to this php-cli !
but I really have no clue what snobles comment "*wget seems to need php-cli, the centosplus rpm is ver.5"
or how I go about getting and installing the centosplus ver.5 rpm .

Appreciate any pointers..
looks like a great contrib that will suit my needs well ! (if I can get it to work ;-) )

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: [Announce] torrentflux-b4rt
« Reply #6 on: January 11, 2008, 01:24:37 AM »
Quote
*wget seems to need php-cli, the centosplus rpm is ver.5

sme7.x uses php4

the centosplus repo had php-cli but it is for php5




Offline groutley

  • ****
  • 213
  • +0/-0
    • http://www.routley.homeip.net
Re: [Announce] torrentflux-b4rt
« Reply #7 on: January 11, 2008, 01:51:00 AM »
sme7.x uses php4

the centosplus repo had php-cli but it is for php5

So I assume this means we cannot install php-cli ?
And that the lack of php-cli is not causing my issue?

Any ideas on why the  download just sits at 'starting' ?

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: [Announce] torrentflux-b4rt
« Reply #8 on: January 11, 2008, 02:01:46 AM »

we need php-cli, it is telling us that

Errors :
 - PHP-SAPI : CLI version of PHP required.

php-cli is what starts the wget command

Offline groutley

  • ****
  • 213
  • +0/-0
    • http://www.routley.homeip.net
Re: [Announce] torrentflux-b4rt
« Reply #9 on: January 11, 2008, 02:07:14 AM »
OK thanks..
  well I guess that explains it !
So is PHP 5 due in sme 8 ?

What you are saying is this contrib is useless untill we get php 5 ?

Sorry if these are stupid questions,  just trying to learn and understand.
thanks

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: [Announce] torrentflux-b4rt
« Reply #10 on: January 11, 2008, 02:11:33 AM »
no, but
while downloading torrents with b4rt, internet browsing slows down noticeably
it may only be good for off peak usage

this contrib is a start
someone else will have find or build the extra components

Offline groutley

  • ****
  • 213
  • +0/-0
    • http://www.routley.homeip.net
Re: [Announce] torrentflux-b4rt
« Reply #11 on: January 11, 2008, 09:56:19 AM »
OK, thanks.
 I've removed b4rt and installed torrentflux as per your Dungog contrib.
That seems to work a treat !

I'll wait until someone can perhaps resolve the issues on the b4rt interface,
as like you say it certainly has more functionality !

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: [Announce] torrentflux-b4rt
« Reply #12 on: January 11, 2008, 01:01:22 PM »
For this and other reasons, I wanted to know how to make a cli version of php.
I have created a bug http://bugs.contribs.org/show_bug.cgi?id=3616 without success.
Thanks to Ergin Ozdemir, to recompile the last 4.4.7 php version with cli and cgi.
These rpms are under test, but in my production server run very well.
Download from http://ergin.dyndns.org/download/index.php?dir=/sme7_contribs/php/RPMS with wget with the option --tries=0
For anyone want recompile, in http://ergin.dyndns.org/download/index.php?dir=/sme7_contribs/php/SRPMS the source.
Download all rpms in one folder. If you have eaccelerator in your server, uninstall before install the new rpms.
1-
yum localinstall *.rpm
expand-template /etc/php.ini
2-
-Download and untar php-cli-4.4.7.tar.gz
- rename your /usr/bin/php --> /usr/bin/php-cgi
- copy untarred file to /usr/bin
- restart your httpd-e-smith

In my case, I have updated pear modules because new php version.
Code: [Select]
pear install --force XML_RPC
pear upgrade --force PEAR-1.3.6 Archive_Tar-1.3.1 Console_Getopt-1.2
pear upgrade --force PEAR-1.4.11
pear upgrade PEAR
pear ua

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: [Announce] torrentflux-b4rt
« Reply #13 on: January 11, 2008, 02:59:17 PM »
- rename your /usr/bin/php --> /usr/bin/php-cgi

thanks normando
I'm sure it works, you say so

but how does the cli version perform the job of the cgi version
do apps look for php-cgi automagically
or is all the cgi functionality built into the cli version

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: [Announce] torrentflux-b4rt
« Reply #14 on: January 11, 2008, 03:31:21 PM »
I don't know exactly, but all my sites run under php cgi and run ok. Remember SME6.0 has php cli version.
I presume cli version has all the cgi functionality.
The only purpose to rename php to php-cgi is for backup the cgi version.
One thing: php-devel rpm has a bug because pakaged all the shared objects .so in it. Ergin continue to fix this issue. But I have say before, run very well in my production server.
« Last Edit: January 11, 2008, 03:34:37 PM by Normando »