Edward J. Sheldrake | 4 Nov 2006 12:27
Picon
Favicon

Fixing the wrong hub counts

I've had another look at the code I wrote to enable the extended hub
count (H:3/2/1 like DC++), and I think I have fixed instances where it
may have returned the wrong counts.

In particluar, the error occurs when you lose a connection to a hub
that you are a registered user in.

The patch, to be applied to dclib-0.3.7-20061104ejs, is available here:
http://www.dcs.warwick.ac.uk/~csucda/patches/dclib-0.3.7-20061104ejs-fix-wrong-hub-count.patch

Please could people who have previously reported problems with the hub
count test this patch.

Send instant messages to your online friends http://uk.messenger.yahoo.com 
Turbo Fredriksson | 4 Nov 2006 20:34

Debian GNU/Linux and Ubuntu Packages - some assembly might be required

I've made some Debian GNU/Linux sarge (PowerPC, i386 and SPARC) as
well as Ubuntu dapper (PowerPC) packages of dclib (v20061104ejs + 
fix-wrong-hub-count.patch) and Valknut (v20061104) availible
at my FTP site:

Just add (for Debian GNU/Linux) to /etc/apt/sources.list:
deb ftp://ftp.bayour.com/pub/debian/ sarge .
deb-src ftp://ftp.bayour.com/pub/debian/ sarge .

For Ubuntu dapper (also in /etc/apt/sources.list):
deb ftp://ftp.bayour.com/pub/debian/ dapper .
deb-src ftp://ftp.bayour.com/pub/debian/ dapper .

Unfortunatly i haven't had time to setup SPARC/i386 build
environments for Ubuntu dapper, so I only have PPC packages.
But the source 'package' is in ftp://ftp.bayour.com/pub/debian/dists/sarge/source/Valknut/
if you don't have the distribution/arch already made.

Just download the following four files which 'unpacks'
with 'dpkg-source -x <file>.dsc'. Then to build the
package (remember to build libdc0 first, it's required
by the valknut package), run 'debuild -uc -us -B -b'.

   libdc0_0.3.7-3.TF.3.dsc
   libdc0_0.3.7.orig.tar.gz
   valknut_0.3.7-2ubuntu1.TF.5.dsc
   valknut_0.3.7.orig.tar.gz

I have yet to evaluate the fix-wrong-hub-count patch,
but Valknut starts and seems to work just fine...
(Continue reading)


Gmane