diff --git a/net/BitTorrent/Makefile b/net/BitTorrent/Makefile index 46b82a4dbe3..561fb08b0e6 100644 --- a/net/BitTorrent/Makefile +++ b/net/BitTorrent/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.6 2005/04/16 21:13:02 sturm Exp $ +# $OpenBSD: Makefile,v 1.7 2005/04/21 22:17:02 naddy Exp $ COMMENT= "cooperative file distribution system implemented in Python" DISTNAME= BitTorrent-4.0.1 +PKGNAME= BitTorrent-4.0.1p1 CATEGORIES= net MASTER_SITES= ${HOMEPAGE}dl/ diff --git a/net/BitTorrent/patches/patch-BitTorrent_defaultargs_py b/net/BitTorrent/patches/patch-BitTorrent_defaultargs_py new file mode 100644 index 00000000000..06e9ed21a79 --- /dev/null +++ b/net/BitTorrent/patches/patch-BitTorrent_defaultargs_py @@ -0,0 +1,12 @@ +$OpenBSD: patch-BitTorrent_defaultargs_py,v 1.1 2005/04/21 22:17:03 naddy Exp $ +--- BitTorrent/defaultargs.py.orig Wed Apr 20 22:50:18 2005 ++++ BitTorrent/defaultargs.py Wed Apr 20 22:50:26 2005 +@@ -77,7 +77,7 @@ rare_options = [ + 'if nonzero, set the TOS option for peer connections to this value'), + ('filesystem_encoding', '', + "character encoding used on the local filesystem. If left empty, autodetected. Autodetection doesn't work under python versions older than 2.3"), +- ('enable_bad_libc_workaround', 0, ++ ('enable_bad_libc_workaround', 1, + 'enable workaround for a bug in BSD libc that makes file reads very slow.'), + ('tracker_proxy', '', + 'address of HTTP proxy to use for tracker connections'),