Set some defaults that are more BSD friendly
Seems reasonable to sthen@
This commit is contained in:
parent
beee12db9f
commit
4bcbb9ef21
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.43 2014/04/21 21:46:23 tobiasu Exp $
|
||||
# $OpenBSD: Makefile,v 1.44 2014/05/22 20:42:14 dcoppa Exp $
|
||||
|
||||
BROKEN-hppa = undefined references to __sync atomic ops
|
||||
BROKEN-mips64 = undefined references to __sync atomic ops
|
||||
@ -7,7 +7,7 @@ BROKEN-sh = undefined references to __sync atomic ops
|
||||
COMMENT= ncurses BitTorrent client based on libTorrent
|
||||
|
||||
DISTNAME= rtorrent-0.8.9
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
EPOCH= 0
|
||||
CATEGORIES= net
|
||||
|
||||
|
22
net/rtorrent/patches/patch-doc_rtorrent_rc
Normal file
22
net/rtorrent/patches/patch-doc_rtorrent_rc
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-doc_rtorrent_rc,v 1.1 2014/05/22 20:42:14 dcoppa Exp $
|
||||
|
||||
Set some defaults that are more BSD friendly
|
||||
|
||||
--- doc/rtorrent.rc.orig Thu May 22 09:11:32 2014
|
||||
+++ doc/rtorrent.rc Thu May 22 09:13:48 2014
|
||||
@@ -97,12 +97,12 @@
|
||||
# ahead. If the value is too low the disk may not be fully utilized,
|
||||
# while if too high the kernel might not be able to keep the read
|
||||
# pages in memory thus end up trashing.
|
||||
-#hash_read_ahead = 10
|
||||
+hash_read_ahead = 8
|
||||
|
||||
# Interval between attempts to check the hash, in milliseconds.
|
||||
-#hash_interval = 100
|
||||
+hash_interval = 10
|
||||
|
||||
# Number of attempts to check the hash while using the mincore status,
|
||||
# before forcing. Overworked systems might need lower values to get a
|
||||
# decent hash checking rate.
|
||||
-#hash_max_tries = 10
|
||||
+hash_max_tries = 5
|
Loading…
Reference in New Issue
Block a user