You are not logged in.

#1 2004-05-18 23:52:19

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

ctorrent (console) and qtorrent (qt gui) bittorent clients

Two more :-) PKGBUILDs for bittorrent clients:
ctorrent written in C for pure console
qtorrent using qt lib and python

pkgname=ctorrent
pkgver=1.3.2
pkgrel=1
pkgdesc="BitTorrent console client written in C."
url="http://ctorrent.sourceforge.net"
depends=('openssl')
source=(http://unc.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('1bc787df91285a9cec8509617c3152d6')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}
pkgname=qtorrent
pkgver=0.9.5
pkgrel=1
pkgdesc="BitTorrent client with qt widget-set written in python"
url="http://thegraveyard.org/qtorrent.php"
depends=('python' 'pyqt')
source=(http://thegraveyard.org/files/$pkgname-$pkgver.tar.bz2)
md5sums=('5249c19a5d1bfec48bfb3f983a73818a')

build() {
  cd $startdir/src/$pkgname-$pkgver
  /usr/bin/yes | /usr/bin/python setup.py install --prefix=$startdir/pkg/usr
}

Offline

#2 2004-06-28 17:11:41

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

pyqt is from here?

is there no need for a dependence for bittorrent or some other library for the torrent thingies? - i'm newbie for bittorent, but got requests to make it a pkg in extra - and if 3 people email me, i'm thinking it's worth having a look ;-)


The impossible missions are the only ones which succeed.

Offline

#3 2004-06-28 20:09:37

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

No need for dependence on other bittorrent packages. ctorrent IS a bittorrent client itself (no gui, just console) and qtorrent is only a gui but:

You do not need to have BitTorrent installed, QTorrent bundles its own version of TheSHAD0W's Experimental BitTorrent client.

which is installed under some qtorrent subdirectory so there is also no need for conflicts in the pkgbuild. Both clients can co-exist safe together with some standard or not-so-standard bittorrent package from arch/tur repos.
About pyqt: you will also need a new sip (4something) package which is a dependency of pyqt (the older version will not work). Here is what I have installed

pacman -Q pyqt sip
pyqt 3.11-s1
sip 4.0rc3-1

So pyqt is  from staging and sip is from incoming (there is error in tur about sip - 2 sip versions on the web in staging but only the older one really exists). I didn't try to rebuild sip but the one from incoming worked fine.

Offline

#4 2004-06-28 21:12:59

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

i put ctorrent in extra (hey, cool tool - and also very logical and "command-line-easy" to use :-) ) and will have a look at the other between the exams, if no other maintainer steps in

thanx for the infos


The impossible missions are the only ones which succeed.

Offline

#5 2006-01-11 05:39:47

lydgate
Member
From: London, UK
Registered: 2006-01-10
Posts: 60

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

hi, I'm new here but I wanted to use the enhanced ctorrent client so I made a few modifications to the PKGBUILD.

See http://www.rahul.net/dholmes/ctorrent/
there are some changes, it basically behaves better and allows you to download a specific file first if you so desire.

I also corrected some things I didn't understand (like the lack of $startdir).  Also, I changed the name to enhanced-ctorrent mainly because someone else maintains the program now, and also the version is technically dnh1.2, which doesn't make sense as an upgrade of ctorrent-1.3.4

please let me know if I did anything wrong:

# Original CTorrent
# Maintainer: damir <damir@archlinux.org>
# Contributor: lanrat <see@forum>
#
# Enhanced CTorrent
# Modified by: lydgate <see@forum>

pkgname=enhanced-ctorrent
pkgver=dnh1.2
pkgrel=1
pkgdesc="BitTorrent console client written in C, with bugfixes and performance enhancements"
url="http://www.rahul.net/dholmes/ctorrent/"
depends=('gcc' 'openssl')
source=(http://dl.sourceforge.net/sourceforge/ctorrent/ctorrent-1.3.4.tar.bz2 
        http://www.rahul.net/dholmes/ctorrent/patchset-ctorrent-1.3.4-dnh1.2.diff)
md5sums=('823010ec78215d476537c9eba9381cdd' 
        'ff0837849384ef2bf5816a2131a06862')

build() {
   cd $startdir/src/ctorrent-1.3.4
   cat $startdir/src/patchset-ctorrent-1.3.4-dnh1.2.diff | patch
   ./configure --prefix=/usr
   make || return 1
   make prefix=$startdir/pkg/usr install
}

Compiled package here:
http://www.princeton.edu/~bkam/arch/enhanced-ctorrent/

Offline

#6 2006-01-11 14:48:18

gunnix
Member
Registered: 2005-11-11
Posts: 102
Website

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

nothing about the packages, but did you have succes downloading stuff with ctorrent? To me it seems ctorrent is mostly rejected (I read ctorrent is kind of banned by many torrent clients) and downloads will go really slow.


As is true for most people I know, I've always loved learning. As is also true for most people I know, I always hated school. Why is that?

Offline

#7 2006-01-12 00:57:35

lydgate
Member
From: London, UK
Registered: 2006-01-10
Posts: 60

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

gunnix wrote:

nothing about the packages, but did you have succes downloading stuff with ctorrent? To me it seems ctorrent is mostly rejected (I read ctorrent is kind of banned by many torrent clients) and downloads will go really slow.

Yes, this is true.  The old ctorrent (as posted above) is banned by many trackers for certain bugs.  However, the new enhanced ctorrent that I have posted claims to have corrected these bugs, and since it has a different maintainer, also has a different peer ID, meaning that it is not blocked by most trackers that block ctorrent.

There is also now a -P option that lets you manually specify your peer id if you so desire.

Offline

#8 2006-01-13 17:29:44

gunnix
Member
Registered: 2005-11-11
Posts: 102
Website

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

Well I did try that new patched version as well. It just didn't seem to work as well as something like bittornado. Any ideas why it wouldn't work as well or is it just my imagination going crazy ? wink


As is true for most people I know, I've always loved learning. As is also true for most people I know, I always hated school. Why is that?

Offline

#9 2006-01-13 22:41:35

lydgate
Member
From: London, UK
Registered: 2006-01-10
Posts: 60

Re: ctorrent (console) and qtorrent (qt gui) bittorent clients

hmm, not sure, maybe I will have to try bittornado and see what I am missing.  It does seem to take a while to get going, but I have noticed no real problems with it other than that.

Offline

Board footer

Powered by FluxBB