1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

o Add dependency on dns/py-dnspython which enable a notification

when there is a newer version of BitTorrent available
o Style fix: Remove a extraneous trailing space in Makefile
o Change default from disabled to enabled for BitTorrent option
  --enable_bad_libc_workaround: 'enable workaround for a bug in BSD
  libc that makes file reads very slow.' This has been verified to
  be true; the behavior, not the reason
o Bump PORTREVISION
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2004-12-26 10:48:12 +00:00
parent f2f38e6e7c
commit 693fac0b2c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125211
4 changed files with 30 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= BitTorrent
PORTVERSION= 3.9.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= net python
MASTER_SITES= http://www.bittorrent.com/
@ -19,6 +20,8 @@ PKGNAMESUFFIX?= -devel
MAINTAINER= lioux@FreeBSD.org
COMMENT?= A peer-to-peer tool for distributing files written in Python
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dns/__init__.py:${PORTSDIR}/dns/py-dnspython
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
@ -58,7 +61,7 @@ post-patch:
-e 's|/usr/bin/env python|${LOCALBASE}/bin/python|'
post-install:
.ifndef(NOPORTDOCS)
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}

View File

@ -0,0 +1,11 @@
--- BitTorrent/defaultargs.py.orig Sun Dec 26 08:41:09 2004
+++ BitTorrent/defaultargs.py Sun Dec 26 08:41:16 2004
@@ -83,7 +83,7 @@
'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.'),
]

View File

@ -7,6 +7,7 @@
PORTNAME= BitTorrent
PORTVERSION= 3.9.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= net python
MASTER_SITES= http://www.bittorrent.com/
@ -19,6 +20,8 @@ PKGNAMESUFFIX?= -devel
MAINTAINER= lioux@FreeBSD.org
COMMENT?= A peer-to-peer tool for distributing files written in Python
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dns/__init__.py:${PORTSDIR}/dns/py-dnspython
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
@ -58,7 +61,7 @@ post-patch:
-e 's|/usr/bin/env python|${LOCALBASE}/bin/python|'
post-install:
.ifndef(NOPORTDOCS)
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}

View File

@ -0,0 +1,11 @@
--- BitTorrent/defaultargs.py.orig Sun Dec 26 08:41:09 2004
+++ BitTorrent/defaultargs.py Sun Dec 26 08:41:16 2004
@@ -83,7 +83,7 @@
'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.'),
]