pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bittorrent Patch btdownloadheadless.py to flush st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0df8348ab6e
branches:  trunk
changeset: 497383:a0df8348ab6e
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Tue Jul 26 13:43:13 2005 +0000

description:
Patch btdownloadheadless.py to flush stdout so that status appears
promptly when redirecting onto a file.  This has been reported to the
upstream maintainers.

PKGREVISION++ in Makefile.common.  This affects bittorrent-gui because
it uses the same PATCHDIR, even though the new patch doesn't change
that package.  It seems awkward to try to manage PKGREVISION
separately for packages built from the same tarball, and of little
benefit.

diffstat:

 net/bittorrent/Makefile.common  |   3 ++-
 net/bittorrent/distinfo         |   3 ++-
 net/bittorrent/patches/patch-ab |  12 ++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 6f79687ff344 -r a0df8348ab6e net/bittorrent/Makefile.common
--- a/net/bittorrent/Makefile.common    Tue Jul 26 13:25:43 2005 +0000
+++ b/net/bittorrent/Makefile.common    Tue Jul 26 13:43:13 2005 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile.common,v 1.12 2005/07/10 19:11:02 recht Exp $
+# $NetBSD: Makefile.common,v 1.13 2005/07/26 13:43:13 gdt Exp $
 #
 
 DISTNAME=      BitTorrent-4.0.2
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=bittorrent/}
+PKGREVISION=   1
 
 MAINTAINER=    recht%NetBSD.org@localhost
 HOMEPAGE=      http://www.bittorrent.com/
diff -r 6f79687ff344 -r a0df8348ab6e net/bittorrent/distinfo
--- a/net/bittorrent/distinfo   Tue Jul 26 13:25:43 2005 +0000
+++ b/net/bittorrent/distinfo   Tue Jul 26 13:43:13 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2005/07/10 19:11:02 recht Exp $
+$NetBSD: distinfo,v 1.17 2005/07/26 13:43:13 gdt Exp $
 
 SHA1 (BitTorrent-4.0.2.tar.gz) = c45507be7f47fa90925ba57a1a5975c61380dc04
 RMD160 (BitTorrent-4.0.2.tar.gz) = feae7a846eb5f6b3c89d65f5f52fb34adc8f3086
 Size (BitTorrent-4.0.2.tar.gz) = 155062 bytes
 SHA1 (patch-aa) = fad5fb4d6b6c4aed9988cd4484aad042a3de5cef
+SHA1 (patch-ab) = 615583322ff5c11a641305e2909eeac91b9db8b7
diff -r 6f79687ff344 -r a0df8348ab6e net/bittorrent/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bittorrent/patches/patch-ab   Tue Jul 26 13:43:13 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.4 2005/07/26 13:43:13 gdt Exp $
+
+--- btdownloadheadless.py.orig 2005-05-24 02:06:11.000000000 -0400
++++ btdownloadheadless.py
+@@ -151,6 +151,7 @@ class HeadlessDisplayer(object):
+         print 'share rating:  ', self.shareRating
+         print 'seed status:   ', self.seedStatus
+         print 'peer status:   ', self.peerStatus
++      sys.stdout.flush()
+ 
+     def print_spew(self, spew):
+         s = StringIO()



Home | Main Index | Thread Index | Old Index