From 03a22e8664869bb82a3c2d322e73110bdd5537fe Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 13 May 2003 00:04:22 +0000 Subject: * patch to btcompletedir.py to make this work at all, by Marc Recht * rename pkg to bittorrent, to make it consistent with the directory name * bump pkg revision to 1 --- net/bittorrent/Makefile | 4 +++- net/bittorrent/distinfo | 3 ++- net/bittorrent/patches/patch-aa | 11 +++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 net/bittorrent/patches/patch-aa (limited to 'net') diff --git a/net/bittorrent/Makefile b/net/bittorrent/Makefile index 2381807be8d..14573875e89 100644 --- a/net/bittorrent/Makefile +++ b/net/bittorrent/Makefile @@ -1,7 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/05/09 18:07:01 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2003/05/13 00:04:22 hubertf Exp $ # DISTNAME= BitTorrent-3.2.1b +PKGNAME= bittorrent-3.2.1b +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://bitconjurer.org/BitTorrent/ diff --git a/net/bittorrent/distinfo b/net/bittorrent/distinfo index 973371e13ff..513646bd4be 100644 --- a/net/bittorrent/distinfo +++ b/net/bittorrent/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/05/09 18:07:01 drochner Exp $ +$NetBSD: distinfo,v 1.2 2003/05/13 00:04:22 hubertf Exp $ SHA1 (BitTorrent-3.2.1b.tar.gz) = 124049e721a8b722af9d3c489b44a8a81789ce68 Size (BitTorrent-3.2.1b.tar.gz) = 144420 bytes +SHA1 (patch-aa) = 7f8cc29a28b8c529fe88d80e7a22d3dc9e93e968 diff --git a/net/bittorrent/patches/patch-aa b/net/bittorrent/patches/patch-aa new file mode 100644 index 00000000000..f52e36d8f91 --- /dev/null +++ b/net/bittorrent/patches/patch-aa @@ -0,0 +1,11 @@ +--- btcompletedir.py.orig 2003-05-11 21:41:50.000000000 +0200 ++++ btcompletedir.py 2003-05-11 21:42:14.000000000 +0200 +@@ -37,7 +37,7 @@ + try: + t = split(i)[-1] + if t not in ignore and t[0] != '.': +- make_meta_file(i, url, flag = flag, progress = callback, progress_percent=0, piece_length = piece_length) ++ make_meta_file(i, url, flag = flag, progress = callback, progress_percent=0, piece_len_exp = piece_length) + except ValueError: + print_exc() + -- cgit v1.2.3