diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/rtorrent/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/rtorrent/Manifest | 15 | ||||
-rw-r--r-- | net-p2p/rtorrent/files/rtorrent.1 | 560 | ||||
-rw-r--r-- | net-p2p/rtorrent/rtorrent-0.9.3.ebuild | 56 |
4 files changed, 627 insertions, 12 deletions
diff --git a/net-p2p/rtorrent/ChangeLog b/net-p2p/rtorrent/ChangeLog index a96808e76813..27179c8308c4 100644 --- a/net-p2p/rtorrent/ChangeLog +++ b/net-p2p/rtorrent/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/rtorrent # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.180 2013/02/22 17:36:19 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.181 2013/03/22 08:29:46 patrick Exp $ + +*rtorrent-0.9.3 (22 Mar 2013) + + 22 Mar 2013; Patrick Lauer <patrick@gentoo.org> +files/rtorrent.1, + +rtorrent-0.9.3.ebuild: + Bump 22 Feb 2013; Zac Medico <zmedico@gentoo.org> rtorrent-0.9.2.ebuild: Add ~arm-linux keyword. diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest index fc5a02ca647e..ebbafeed1e04 100644 --- a/net-p2p/rtorrent/Manifest +++ b/net-p2p/rtorrent/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX rtorrent-0.8.2-gcc34.patch 659 SHA256 a89b48546be2c0728129feff223ed4e03a7c40bbc37e9bead9c13cf20c5cd00d SHA512 7d16623aef8dd006b8ec722eb4fa0488994942f10b5cb29c808c6a36877b5ffa5ce710d8d34ccf8ea4fc6ca3ac22ab1e789b0cd12fddfb66fa68a68caf2c4f3c WHIRLPOOL 3072395d6abb375ad2c3f245c69a7aa63858b447798ae9808c5ffd230a48a8e0fe7793a3e38904acf8be127d828cae07ebbb694078711efda0ade4f07d62096b AUX rtorrent-0.8.6-canvas-fix.patch 11607 SHA256 a843dcd8c3b7fe0179c24d53cb485d2f11156a189e58911bbd14e5e30db71925 SHA512 10980273c5272ce3dd2888734bb27f9871d1266923c8a59a06442db5f2cb76ecc938227637834bb3ee7b937847b06a938887bd371bb2d1267bfbe0344fdc5e7c WHIRLPOOL 250dd2cadf7e6ec741a9ad56532065f04714c45949fa8536a6e47cdae4247df4c9844839a9fceaf1dc5e43fddc095b43de4120236b4442a0307d2600a2f7776a AUX rtorrent-0.8.6-ncurses.patch 572 SHA256 4bcc6f33fad67d14f44cfdc63409fc94ef917dc120c46e60ce175d36af3fcb02 SHA512 1c153f591383489c3c703bc44323d6f1f3e3b0fe5e822289227f88e9c4e9f4c3d18dde4026e81cacb3d1bc52dd8ae9dc356fb9aa91050a69568eab32d2341ce4 WHIRLPOOL 211bbaee44904e72fe23030694d8dffb4cbef0feb42c28371c367929e4422f5a295f6a341c81888a6f0e9675b2f2eb5b430bbad2f8e2e7aa5fa8103ba25b3d49 @@ -9,6 +6,7 @@ AUX rtorrent-0.8.9-canvas-fix.patch 9995 SHA256 f53eca85da4800f123f1f482dd49e07d AUX rtorrent-0.8.9-ncurses.patch 618 SHA256 67002221b79bb5e43e8ed05ae0ebb22130c10eaf5739acbb1fb424050f2e2a05 SHA512 cc71e44cf748d6548cffc66b7a6d9f0873ef009fd028fe1f885933100eb01da80232443ba01f8968402c63c17b224f8ce8dc3cb6ad749bb4f0f7f932b8539c5c WHIRLPOOL 3ffee3947bd3c81b35b96a4063bbbab79138da1752943e7a26d3bb4d53d8cc16c332c7df33ed1714700a45c51a01474df090c2dedbf64a559c22fc2be99bb301 AUX rtorrent-0.9.0-ncurses.patch 416 SHA256 043f85f5e77de132f5a8aeccc894f11fad961f237a5c092dd38e163620f6e40e SHA512 bc36d56880fbfb99d6e5cb19688d733d79a89c8aec88913f5962ea72503e4103b34eb2a67be76bbe80c35beda972f6fc5dbf1947f89624bf5e117774688e7cf8 WHIRLPOOL 211bff140ee9094fde6b9f21a0a853c26d79f79a9727203ee7d96b010795620d5d7eb01d683cfceee0a31c5d0c0701a85054b259f7c21c35ebac0ccd9de4fe53 AUX rtorrent-0.9.1-ncurses.patch 416 SHA256 043f85f5e77de132f5a8aeccc894f11fad961f237a5c092dd38e163620f6e40e SHA512 bc36d56880fbfb99d6e5cb19688d733d79a89c8aec88913f5962ea72503e4103b34eb2a67be76bbe80c35beda972f6fc5dbf1947f89624bf5e117774688e7cf8 WHIRLPOOL 211bff140ee9094fde6b9f21a0a853c26d79f79a9727203ee7d96b010795620d5d7eb01d683cfceee0a31c5d0c0701a85054b259f7c21c35ebac0ccd9de4fe53 +AUX rtorrent.1 18205 SHA256 8ce2d488d91f4d739183258a76d6a0cfb8ee2149639c71b21929ee76701f132a SHA512 0901cac11a69812049412467bead4ee9f9d3d665d97c875d2456c0a567abfb18d436194f3d391eb2d8a5ad7476e8897c219c78cef9deb6c66f0e1d90789d3c75 WHIRLPOOL b506201d3b9db5e12064b88f0d83a57408294c73c19d1351cd253bf794325f7c83b91ca05060bf3945bf2b7919281fac471fcac6f50b3786831424204b3d7826 AUX rtorrentd.conf 13 SHA256 6725e7a3ed74f1432bd6b317f2aec7f9609bc20dd81dbbfcc632342c9f99177b SHA512 f241452b812a1837660f9ad52881feacc02825e82ea7ac19acc662b4219dd58997ea908275b8c9ee78ed791babf79c1a91069dc6d5b5fb3c461e3026cdeab73f WHIRLPOOL 11f799ee54cc3f4ae535fca30d4f41748149c6869a2217f7c67e03ffab87792e5d5679d6fcc69697b8ffab60690e7187262e57bc68afea0a3244a24095db2235 AUX rtorrentd.init 815 SHA256 f05e05330276de79ddb8e37effd3acd6060c10a30d8fb3e6bb1e6768ed942d56 SHA512 71a49feaf80348d27f4854976f1cceab07081c11a332c636399dc42a0d7665b26f3a2d6f5799f09b25b151ec44b8f01dbbae4c9d1a8335496de68047ce16f77c WHIRLPOOL 4cc76dbb45691b7282908cdf445701b62f8f082279981d312b6f47c474d3c2c7122ac19bee05e7d12a5775521e833d137bd0ade5967442810daafa97f37a3175 DIST rtorrent-0.8.6.tar.gz 521045 SHA256 8c96c68e1524162abd1fc4b612d0c3d924fccc25159c0b3f208e69281f0b32db @@ -16,18 +14,13 @@ DIST rtorrent-0.8.7.tar.gz 547435 SHA256 1fd0c9b2b3fe81b035209417c4dd4514473411f DIST rtorrent-0.8.9.tar.gz 570904 SHA256 cca70eb36a0c176bbd6fdb3afe2bc9f163fa4c9377fc33bc29689dec60cf6d84 DIST rtorrent-0.9.1.tar.gz 591114 SHA256 466c529a5d69e4cf8267029821dc5811fffa5fad354d80ec64c88b12c1a4c5f1 DIST rtorrent-0.9.2.tar.gz 591837 SHA256 5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d SHA512 8b170021ca28ebe6c9bfd1405fe38962828a21eb0020460786115ff360ef62d325b745976fb29996a80387e763465f7b3ef0c47ca30b185a5c98a060cc151c38 WHIRLPOOL 757e6752da6b68e8b753d1a2599172fd3d8e14116c18c9906a8eb458799e856d510a578499ef7ed0ad98573825048a3e6ba37f37570b2b5556054fdc02003f55 +DIST rtorrent-0.9.3.tar.gz 583311 SHA256 9e93ca41beb1afe74ad7ad8013e0d53ae3586c9b0e97263d722f721535cc7310 SHA512 a6cc390795c0cf36bf70f4f141db3e176c81df0d6754fe2e6a95ef59385a70e7ce006fe81b83deff5b32e06cc771d03c5c7ba1140be64b2d252719e8aa2058f3 WHIRLPOOL 7cb2e51718596145ef8a07b1de0bb9ccd4dc923a4ec8091a3f775dffaafe5111873d43047e6e32720a202774454e53443e402010d956954f19cdfdb08983ec52 EBUILD rtorrent-0.8.6-r1.ebuild 1598 SHA256 5dbedcdad09c936b4fd38f6a54773c2154896714da22166a94f9a77ffc4cf2de SHA512 7e635d26cd4b85d0b830405a11656f100053387409840efdeeff5e45a65b30393448f166fbc43b1d5569a47cf0d68a5daa198413fe0aa9e15a92ae26eb7df89b WHIRLPOOL a494feaa317dff04dc589ff6a037f29b10b35b3cacaaac03305c5ffb8f870dc9f41c8332bb3fbcfe71c6a89cd2aef597b4007fa9bac3a5396bedb909700984bd EBUILD rtorrent-0.8.6-r4.ebuild 1660 SHA256 390c90065a7181efc5e924e0831b8e400fde6cf01e31959f77b4416c13facbb3 SHA512 c4ea8791ab575d877b44c12f94928ddd0d89f06430aa3c40f6d5fa1abe9d64878baae1fff48b98387a8ed38a5c448413943030949f97e97368038932e121ab3f WHIRLPOOL 2b350a4d8994bf84b8a5b96897eedd99d1a9f1cb5250fd2b30277fb4463f592016f94f93810a0d650efc89fcf448d09892f91528364bf5faeba24ce7b805abdb EBUILD rtorrent-0.8.7-r4.ebuild 1788 SHA256 23390c6f1c02bd7bf46bb2cbadb33ea49db42735665b89335f958b910cddc59e SHA512 fef860b5e5e49611cf43fa77987ba3f02a0a7750fbb4dd5f1e4c05e81a696fca8b58b0821c6ba6630e35ae08113e9c09d6123136bd0ddac235326951e7aa377e WHIRLPOOL ffc5a7e7f915973f419305623f97ea9d98bb691dc95dcc578866607392d58175732c53d8b20e2ed9c7b94bf12b49dd7ffebaa6d1167f760af6bffebd2132752a EBUILD rtorrent-0.8.9.ebuild 1826 SHA256 27febd2f7f88df037957e3002bb0584a78f14f1f29e6410664619b7f25703782 SHA512 758bfa9838aabc85b8eec0442a528f201b7d446e5940d9287f7749ce459657198244fbdb70e0da614b18512a9fa29d27fd1986633b547cc55e44d7ee8c90c432 WHIRLPOOL 521892188071bbec678c0c5d29f13eb93976fb05e9c36dbb8d38f622252c1d7e504ae55a6d66dad2cd096810adb3622c2ae3be0ccf4cd1255084f609c897e673 EBUILD rtorrent-0.9.1.ebuild 1301 SHA256 4910693dfd495ae8dec9d9c3fa91ba90fe9454c6c72db033ee56164400a399bd SHA512 154fc179afa696beddbda1efcd812eb461d734c5d57cda7f314f7199be7c3557983f6a559696d0c3174312d755f9434a2ec28676c97957410c351634b5e739d4 WHIRLPOOL 8d09a9ea58b27f4ce3e0f8e8c19afae841541b40962391a831a12af873fde71978a46354b37bfecc47f4f096555a7e463c8112bf579dd0fbd7193f60b3192a72 EBUILD rtorrent-0.9.2.ebuild 1434 SHA256 9f93b4b85b63f91015023592cee2053a6b7c54d101802c28a6e1e79f8bfdbc8b SHA512 b03a305350977d47621d043c4cc9d2e5e1a304c524742641cdf79122d7b843408354ee03c462c9dd9bdf59bce1746e28244df75d8f8f0ce4796d4a4e51d305ab WHIRLPOOL 8b54fc97ffaacd23b49499dc017849192589cb284e60777b8a3c1bdb0fa506fecbe70d779940683feaa576c5fc5140581a7597f418ec4959588eddf482b89757 -MISC ChangeLog 27237 SHA256 e62623c7626f478016b56e2990d86fa1706ac8a1e02c2f330122b3997b89d8e8 SHA512 2a02e3930de22d0bc8e84381de27378ba2b6c4a7f56ab1e59e83873443d32878be4db77f53ec5f3969e0d4fb188f000347ae6bb0092379fea2fc85344da66c57 WHIRLPOOL 06a0d700512f540d30e1c78a303bdae5ca42e82a05ee39f449b55067db9c052aa1c7ad2b3d6235246b14180be4955413f456c435d015f93813d93a8553080b8a +EBUILD rtorrent-0.9.3.ebuild 1509 SHA256 4cccdae38b7b35bad27d35e57b2fe44f0e171b27a648e9a5da084ee07d93ce4b SHA512 f3a5d3ae1b93486fe052d15c8dcdf24fc5b81482a6b6e57ef41529564a89405dc76f14faab8b21f7ddf83bbeb75b2ee076d03a36aca3cc2015c2d16fc79e6d87 WHIRLPOOL 78ffcb6485f759420cf99bf4309463e70ba5d2fd4120e21fb4ba0e4ef1835161e154bd7430ffb18f1ecb3886a5b5b07f235a4dc8ecd9c2fef57b9e94ab2f4ee3 +MISC ChangeLog 27371 SHA256 5b0c7eaff58aad508c8cf00d8bcb700ab6ae572a43afdbd10516d59cc89609dc SHA512 fc98d8808bb968119a580876b336fb39284cc09c0e14f2d05343a1c86ef974bd6a5c187f73e9b8d2a534e3de12c4adb809c68ca59bd84cbff194a4c2b518ec6f WHIRLPOOL ef1cbadc5b4ed10e01861a0f62b382200efdcff78288083489664e0850305d52806d3da782187f5fc87df8720f75bf9be0e70cac701fab5c2785131454c4ae19 MISC metadata.xml 461 SHA256 db7942b39f614d72ff07b2ca64acbddd975cc016761d0037eb9edf786a4b295d SHA512 3d458e127eec25eeeb9798411adb32add57a13b908d66ecf6b2c414df3cef9d65322c46a103616ed423554b052e52701af7a34a5157438661d88f85fce52f6f0 WHIRLPOOL 395cc9fe276a67aa7d0d7e0a04f27c85d9e16c17d872e85bd240fd149c8f36497eb14958a810c461f8e94056e44817c1d169f37c1964fa91bb0000ac54038139 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlEnrJUACgkQ/ejvha5XGaNMQgCfcpaI7+hrMLz0014MwRcC9lP5 -8Y8AoNk1ekxCgKCCBXrs0qr6DZ/F+WoH -=gLjs ------END PGP SIGNATURE----- diff --git a/net-p2p/rtorrent/files/rtorrent.1 b/net-p2p/rtorrent/files/rtorrent.1 new file mode 100644 index 000000000000..fa5477f2e106 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent.1 @@ -0,0 +1,560 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "RTORRENT" "1" "14 May 2009" "BitTorrent client for ncurses" "" + +.SH NAME +rtorrent \- a BitTorrent client for ncurses +.SH SYNOPSIS + +\fBrtorrent\fR [ \fB-h\fR ] [ \fB-n\fR ] [ \fB-o key1=opt1,...\fR ] [ \fB-O key=opt\fR ] [ \fBURL | FILE\fR\fI ...\fR ] + +.SH "DESCRIPTION" +.PP +\fBrtorrent\fR is a BitTorrent client for ncurses, using +the \fBlibtorrent\fR library. The client and library is +written in C++ with emphasis on speed and efficiency, while delivering +equivalent features to those found in GUI based clients in an ncurses +client. +.PP +Most of the options below have their own default unit in addition to +supporting B, K, M and G suffixes. +.SH "KEYBOARD CONTROL" +.PP +.SS "GLOBAL KEYS" +.TP +\fB^q\fR +Initiate shutdown, press again to force the shutdown and +skip sending the stop signal to trackers. +.TP +\fBup | down | left | right arrow keys\fR +.TP +\fB^P | ^N | ^B | ^F\fR +Select entries or change windows. The right arrow key or ^F is often +used for viewing details about the selected entry, while the left +arrow key or ^B often returns to the previous screen. +.TP +\fBa | s | d\fR +Increase the upload throttle by 1/5/50 KB. +.TP +\fBA | S | D\fR +Increase the download throttle by 1/5/50 KB. +.TP +\fBz | x | c\fR +Decrease the upload throttle by 1/5/50 KB. +.TP +\fBZ | X | C\fR +Decrease the download throttle by 1/5/50 KB. +.SS "MAIN VIEW KEYS" +.TP +\fB->\fR +View download. +.TP +\fB1 - 7\fR +Change view. +.TP +\fB^S\fR +Start download. +.TP +\fB^D\fR +Stop an active download, or remove a stopped download. +.TP +\fB^K\fR +Close a torrent and its files. +.TP +\fB^E\fR +Set the 'create/resize queued' flags on all files in a torrent. This +is necessary if the underlying files in a torrent have been deleted or +truncated, and thus rtorrent must recreate them. +.TP +\fB^R\fR +Initiate hash check of torrent. +.TP +\fB^O\fR +Change the destination directory of the download. The torrent must be +closed. +.TP +\fB^X\fR +Call commands or change settings. +.TP +\fB^B\fR +Set download to perform initial seeding. Only use when +you are the first and only seeder so far for the download. +.TP +\fB+ | -\fR +Change the priority of the download. +.TP +\fBbackspace\fR +Add torrent using an URL or file path. Use +\fBtab\fR to view directory content and do +auto-complete. +.TP +\fBl\fR +View log. Exit by pressing the space-bar. +.TP +\fBU\fR +Delete the file the torrent is tied to, and clear the association. +.TP +\fBI\fR +Toggle whether torrent ignores ratio settings. +.SS "DOWNLOAD VIEW KEYS" +.TP +\fB->\fR +View torrent file list. Use the space-bar to change the file priority +and \fB*\fR to change the priority of all +files. Use \fB/\fR to collapse the directories. OUTDATED +.TP +\fB1 | 2\fR +Adjust max uploads. +.TP +\fB3 | 4\fR +Adjust min peers. +.TP +\fB5 | 6\fR +Adjust max peers. +.TP +\fBu\fR +Display transfering blocks. +.TP +\fBi\fR +Display chunk rarity. +.TP +\fBo\fR +Display the tracker list. Cycle the trackers in a group with the +space-bar. +.TP +\fBp\fR +View peer and torrent information. +.TP +\fBt | T\fR +Initiate tracker request. Use capital T to force the request, ignoring +the "min interval" set by the tracker. +.TP +\fBk\fR +Disconnect peer. +.TP +\fB*\fR +Choke/Snub peer. +.SH "OPTIONS" +.TP +\fB-b \fIa.b.c.d\fB\fR +Bind listening socket and outgoing connections to this network +interface address. +.TP +\fB-d \fIdirectory\fB\fR +Set the default download directory. Defaults to "./". +.TP +\fB-h\fR +Display help and exit. +.TP +\fB-i \fIa.b.c.d\fB\fR +Set the address reported to the tracker. +.TP +\fB-n\fR +Don't load ~/.rtorrent.rc on startup. +.TP +\fB-o key1=opt1,...\fR +.TP +\fB-O key=opt\fR +Set any number of options, see the SETTINGS section. The options given +here override the resource files. Use capital \fB-O\fR +to allow comma in the option. +.TP +\fB-p \fIa-b\fB\fR +Try to open a listening port in the range \fBa\fR up to +and including \fBb\fR\&. +.TP +\fB-s \fIdirectory\fB\fR +Session management will be enabled and the torrent files for all open +downloads will be stored in this directory. Only one instance of +rtorrent should be used with each session directory, though at the +moment no locking is done. An empty string will disable the session +directory. +.SH "GENERAL SETTINGS" +.PP +.TP +\fBbind = \fIa.b.c.d\fB\fR +Bind listening socket and outgoing connections to this network +interface address. +.TP +\fBip = \fIa.b.c.d\fB\fR +.TP +\fBip = \fIhostname\fB\fR +Set the address reported to the tracker. +.TP +\fBport_range = \fIa-b\fB\fR +Try to open a listening port in the range \fBa\fR up to +and including \fBb\fR\&. +.TP +\fBport_random = \fIyes | no\fB\fR +Open the listening port at a random position in the port range. +.TP +\fBcheck_hash = \fIyes | no\fB\fR +Perform hash check on torrents that have finished downloading. +.TP +\fBdirectory = \fIdirectory\fB\fR +Set the default download directory. Defaults to "./". +.TP +\fBsession = \fIdirectory\fB\fR +Session management will be enabled and the torrent files for all open +downloads will be stored in this directory. Only one instance of +rtorrent can be used per session directory. An empty string will +disable the session directory. +.TP +\fBhttp_proxy = \fIurl\fB\fR +Use a http proxy. Use an empty string to disable. +.TP +\fBencoding_list = \fIencoding\fB\fR +Add a preferred filename encoding to the list. The encodings are +attempted in the order they are inserted, if none match the torrent +default is used. +.TP +\fBencryption = \fIoption\fB,\fI\&...\fB\fR +Set how rtorrent should deal with encrypted Bittorrent connections. By +default, encryption is disabled, equivalent to specifying the option +\fBnone\fR\&. Alternatively, any number of the following +options may be specified: + +\fBallow_incoming\fR (allow incoming encrypted connections), +\fBtry_outgoing\fR (use encryption for outgoing connections), +\fBrequire\fR (disable unencrypted handshakes), +\fBrequire_RC4\fR (also disable plaintext transmission after the +initial encrypted handshake), +\fBenable_retry\fR (if the initial outgoing connection fails, retry +with encryption turned on if it was off or off if it was on), +\fBprefer_plaintext\fR (choose plaintext when peer offers a choice +between plaintext transmission and RC4 encryption, otherwise RC4 will be used). +.TP +\fBpeer_exchange = \fIyes | no\fB\fR +Enable/disable peer exchange for torrents that aren't marked private. Disabled by default. +.TP +\fBschedule = \fIid\fB,\fIstart\fB,\fIinterval\fB,\fIcommand\fB\fR +Call \fBcommand\fR every \fBinterval\fR +seconds, starting from \fBstart\fR\&. An +\fBinterval\fR of zero calls the task once, while a +\fBstart\fR of zero calls it immediately. Currently +\fBcommand\fR is forwarded to the option handler. +\fBstart\fR and \fBinterval\fR may +optionally use a time format, \fBdd:hh:mm:ss\fR\&. F.ex to +start a task every day at \fB18:00\fR, use +\fB18:00:00,24:00:00\fR\&. +.TP +\fBschedule_remove = \fIid\fB\fR +Delete \fBid\fR from the scheduler. +.TP +\fBstart_tied =\fR +Start torrents that are tied to filenames that have been re-added. +.TP +\fBstop_untied =\fR +.TP +\fBclose_untied =\fR +.TP +\fBremove_untied =\fR +Stop, close or remove the torrents that are tied to filenames that +have been deleted. Clear the association with the 'U' key. +.TP +\fBclose_low_diskspace = \fIspace\fB\fR +Close any active torrents on filesystems with less than +\fBspace\fR diskspace left. Use with +the \fBschedule\fR option. A default scheduled event +with id \fBlow_diskspace\fR is set to 500Mb. +.TP +\fBload = \fIfile\fB\fR +.TP +\fBload_verbose = \fIfile\fB\fR +.TP +\fBload_start = \fIfile\fB\fR +.TP +\fBload_start_verbose = \fIfile\fB\fR +Load and possibly start a file, or possibly multiple files by using the +wild-card "*". This is meant for use with +\fBschedule\fR, though ensure that the +\fBstart\fR is non-zero. The loaded file will be tied +to the filename provided. +.TP +\fBimport = \fIfile\fB\fR +.TP +\fBtry_import = \fIfile\fB\fR +Load a resource file. \fBtry_import\fR does not throw +torrent::input_error exception on bad input. +.TP +\fBstop_on_ratio = \fImin_ratio\fB\fR +.TP +\fBstop_on_ratio = \fImin_ratio\fB,\fImin_upload\fB\fR +.TP +\fBstop_on_ratio = \fImin_ratio\fB,\fImin_upload\fB,\fImax_ratio\fB\fR +Stop torrents when they reach the given upload ratio +\fBmin_ratio\fR in percent. If the optional +\fBmin_upload\fR is given, require a total +upload amount of this many bytes as well. If the optional +\fBmax_ratio\fR is given, stop the torrent +when reaching this ratio regardless of the total upload +amount. Exclude certain torrent by pressing +\fBShift+I\fR in the downlist list. +Use with the \fBschedule\fR option. +.TP +\fBon_insert = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_erase = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_open = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_close = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_start = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_stop = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_hash_queued = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_hash_removed = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_hash_done = \fIid\fB,\fIcommand\fB\fR +.TP +\fBon_finished = \fIid\fB,\fIcommand\fB\fR +Call a command on a download when its state changes. Only a subset of +commands are available. +.SH "THROTTLE SETTINGS" +.TP +\fBupload_rate = \fIKB\fB\fR +.TP +\fBdownload_rate = \fIKB\fB\fR +Set the maximum global uploand and download rates. +.TP +\fBmin_peers = \fIvalue\fB\fR +.TP +\fBmax_peers = \fIvalue\fB\fR +Set the minimum and maximum number of peers to allow in each download. +.TP +\fBmin_peers_seed = \fIvalue\fB\fR +.TP +\fBmax_peers_seed = \fIvalue\fB\fR +Set the minimum nad maximum number of peers to allow while seeding, or +-1 (default) to use max_peers. +.TP +\fBmax_uploads = \fIvalue\fB\fR +Set the maximum number of simultaneous uploads per download. +.TP +\fBmax_uploads_div = \fIvalue\fB\fR +.TP +\fBmax_downloads_div = \fIvalue\fB\fR +Change the divider used to calculate the max upload and download slots +to use when the throttle is changed. Disable by +setting \fB0\fR\&. +.TP +\fBmax_uploads_global = \fIvalue\fB\fR +.TP +\fBmax_downloads_global = \fIvalue\fB\fR +Max upload and download slots allowed. Disable by +setting \fB0\fR\&. +.TP +\fBthrottle_up = \fIname\fB, \fIupload_rate\fB\fR +.TP +\fBthrottle_down = \fIname\fB, \fIdownload_rate\fB\fR +Define secondary throttle and/or set the given upload or download rate. Attach to a download with the d.set_throttle_name=name command +or switch throttles with Ctrl-T. Download must be stopped when changing throttles. Note that secondary throttles only work if the +global upload/download is throttled. Setting a download to use the \fBNULL\fR throttle makes the download unthrottled +even when there is a global throttle. Note that this special case bypasses the global throttle entirely, and as such its rate and +transfer amounts are not included in the global statistics. +.TP +\fBthrottle_ip = \fIname\fB, \fIhost\fB\fR +.TP +\fBthrottle_ip = \fIname\fB, \fInetwork/prefix\fB\fR +.TP +\fBthrottle_ip = \fIname\fB, \fIstart\fB, \fIend\fB\fR +Use the given secondary throttle for a host, CIDR network or IP range. All peers with a matching IP will use this throttle instead +of the global throttle or a custom download throttle. The name may be \fBNULL\fR to make these peers unthrottled, with +the same caveats as explained above. +.SH "TRACKER RELATED SETTINGS" +.PP +Tracker related settings. +.TP +\fBenable_trackers = \fIyes\fB\fR +Set to \fBno\fR to disable all tracker requests. Useful +for disabling rtorrent with the \fBschedule\fR command. +.TP +\fBtracker_dump = \fIfilename\fB\fR +Dump tracker requests to \fBfilename\fR, disable by +supplying an empty string. Only torrents loaded while +\fBtracker_dump\fR contains a non-empty string will be +logged at the moment, although disabling it will work as expected. +.TP +\fBtracker_numwant = \fInumber\fB\fR +Set the numwant field sent to the tracker, which indicates how many +peers we want. A negative value disables this feature. +.TP +\fBuse_udp_trackers = \fIyes\fB\fR +Use UDP trackers. Disable if you are behind a firewall, etc, that does +not allow connections to UDP trackers. +.TP +\fBdht = \fIdisabled|off|auto|on\fB\fR +Support for querying the distributed hash table (DHT) to find peers for trackerless +torrents or when all trackers are down. Set to \fBdisable\fR to completely +disable DHT, \fBoff\fR (default) to enable DHT but to not start the +DHT server, \fBauto\fR to automatically start and stop the DHT server +as needed or \fBon\fR for permanently keeping the DHT server running. +When set to automatic, the DHT server will start up when the first non-private torrent +is started, and will stop 15-30 minutes after the last non-private torrent is +stopped (or when rTorrent quits). For DHT to work, a session directory must be set (for +saving the DHT cache). +.TP +\fBdht_port = \fInumber\fB\fR +Set the UDP listen port for DHT. Defaults to 6881. +.TP +\fBdht_add_node = \fIhost[:port]\fB\fR +Not intended for use in the configuration file but as one-time option in the +client or on the command line to bootstrap an empty DHT node table. Contacts +the given node and attempts to bootstrap from it if it replies. +The port is optional, with port 6881 being used by default. +.TP +\fBhttp_capath = \fIpath\fB\fR +.TP +\fBhttp_cacert = \fIfilename\fB\fR +Set the certificates to use in http requests. See Curl's +CURLOPT_CAPATH and CURLOPT_CAINFO options for further information. +.SH "USER-INTERFACE SETTINGS" +.PP +Display related settings. +.TP +\fBview_add = \fIname\fB\fR +Create a new view. +.TP +\fBview_sort = \fIname\fB\fR +.TP +\fBview_sort = \fIname\fB,\fIseconds\fB\fR +Sort a view according the the criteria set by +\fBview_sort_current\fR\&. If the optional argument is +supplied, the view is not sorted if a change happened during the last +\fBseconds\fR\&. This command is meant to be used with +\fBschedule\fR\&. +.TP +\fBview_sort_new = \fIname\fB,\fI\&...\fB\fR +.TP +\fBview_sort_current = \fIname\fB,\fI\&...\fB\fR +Set the sorting criteria for when new elements inserted or +\fBview_sort\fR is called. The list can contain any +number of criteria, including zero, from the following: + +\fBname\fR, \fBname_reverse\fR, +\fBstopped\fR, \fBstarted\fR, +\fBcomplete\fR, \fBincomplete\fR, +\fBstate_changed\fR, +\fBstate_changed_reverse\fR +.TP +\fBkey_layout = \fIqwerty|azerty|qwertz|dvorak\fB\fR +Change the key-bindings. +.SH "FILE-SYSTEM SETTINGS" +.PP +File-system related settings. +.TP +\fBmax_file_size = \fIsize\fB\fR +Set the maximum size a file can have. Disable by +passing \fB-1\fR\&. +.TP +\fBsplit_file_size = \fIsize\fB\fR +Split files in a torrent larger than \fBsize\fR into +seperate files. Disable by passing \fB-1\fR\&. +.TP +\fBsplit_suffix = \fIstring\fB\fR +Set the suffix used on split files. Defaults +to \fB\&.part\fR\&. +.SH "DOWNLOAD SETTINGS" +.PP +Settings that require a download as a target, the options need to be +called through f.ex \fBon_finished\fR\&. +.TP +\fBcreate_link = \fItype\fB,\fIpath\fB,\fIsuffix\fB\fR +.TP +\fBdelete_link = \fItype\fB,\fIpath\fB,\fIsuffix\fB\fR +Create or delete a symbolic link. The link path is the concatenation +of \fBpath\fR, the result of +the \fBtype\fR on the download, +and \fBsuffix\fR\&. + +Available types are; \fBbase_path\fR uses the base path +of the download, \fBbase_filename\fR uses the base +filename of the download, \fBtied\fR uses the path of +the file the download is tied to, see \fBstart_tied\fR\&. +.SH "ADVANCED SETTINGS" +.PP +This list contains settings users shouldn't need to touch, some may +even cause crashes or similar if incorrectly set. +.TP +\fBhash_read_ahead = \fIMB\fB\fR +Configure how far ahead we ask the kernel to read when doing hash +checking. The hash checker uses madvise(..., MADV_WILLNEED) for the +requests. +.TP +\fBhash_interval = \fIms\fB\fR +Interval between attempts to check the hash when the chunk is not in +memory, in milliseconds. +.TP +\fBhash_max_tries = \fItries\fB\fR +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. +.TP +\fBsafe_sync = \fIyes|no\fB\fR +Always use MS_SYNC rather than MS_ASYNC when syncing chunks. This may +be nessesary in case of filesystem bugs like NFS in linux ~2.6.13. +.TP +\fBmax_open_files = \fIvalue\fB\fR +Number of files to simultaneously keep open. LibTorrent dynamically +opens and closes files as necessary when mapping files to +memory. Default is based on sysconf(_SC_OPEN_MAX). +You probably only think you know what this option does, so don't touch +it. +.TP +\fBmax_open_sockets = \fIvalue\fB\fR +Number of network sockets to simultaneously keep open. This value is +set to a reasonable value based on \fBsysconf(_SC_OPEN_MAX)\fR\&. +.TP +\fBmax_open_http = \fIvalue\fB\fR +Number of sockets to simultaneously keep open. This value is set +to \fB32\fR by default. +.TP +\fBmax_memory_usage = \fIbytes\fB\fR +Set the max amount of memory space used to mapping file chunks. This +may also be set using \fBulimit -m\fR where 3/4 will be +allocated to file chunks. +.TP +\fBsend_buffer_size = \fIvalue\fB\fR +.TP +\fBreceive_buffer_size = \fIvalue\fB\fR +Adjust the send and receive buffer size for socket. +.TP +\fBumask = \fI0022\fB\fR +Set the umask for this process, which is applied to all files created +by the program. +.TP +\fBcwd = \fIdirectory\fB\fR +Changes the working directory of the process using +\fBchdir\fR\&. +.TP +\fBsession_on_completion = \fIyes\fB\fR +Controls if the session torrent is saved when a torrent finishes. By +default on. +.TP +\fBsession_lock = \fIyes\fB\fR +Controls if a lock file is created in the session directory on startup. +.TP +\fBsession_save = \fR +Save the session files for all downloads. +.TP +\fBtos = \fIdefault|lowdelay|throughput|reliability|mincost\fB\fR +.TP +\fBtos = \fIhex\fB\fR +Change the TOS of peer connections, by default set to +\fBthroughput\fR\&. If the option is set to +\fBdefault\fR then the system default TOS is used. A +hex value may be used for non-standard settings. +.TP +\fBhandshake_log = \fIyes\fB\fR +Enable logging of the peer handshake. This generates a large number of +log messages, but may be useful to debug connection problems. +.SH "AUTHORS" +.PP + +Jari "Rakshasa" Sundell <jaris@ifi.uio.no> diff --git a/net-p2p/rtorrent/rtorrent-0.9.3.ebuild b/net-p2p/rtorrent/rtorrent-0.9.3.ebuild new file mode 100644 index 000000000000..8176f7233657 --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/rtorrent-0.9.3.ebuild,v 1.1 2013/03/22 08:29:46 patrick Exp $ + +EAPI=4 + +inherit eutils + +DESCRIPTION="BitTorrent Client using libtorrent" +HOMEPAGE="http://libtorrent.rakshasa.no/" +SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="daemon debug ipv6 test xmlrpc" + +COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} + >=dev-libs/libsigc++-2.2.2:2 + >=net-misc/curl-7.19.1 + sys-libs/ncurses + xmlrpc? ( dev-libs/xmlrpc-c )" +RDEPEND="${COMMON_DEPEND} + daemon? ( app-misc/screen )" +DEPEND="${COMMON_DEPEND} + test? ( dev-util/cppunit ) + virtual/pkgconfig" + +DOCS=( doc/rtorrent.rc ) + +src_prepare() { + # bug #358271 + epatch "${FILESDIR}"/${PN}-0.9.1-ncurses.patch + + # upstream forgot to include + cp ${FILESDIR}/rtorrent.1 ${S}/doc/ || die +} + +src_configure() { + # configure needs bash or script bombs out on some null shift, bug #291229 + CONFIG_SHELL=${BASH} econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_enable ipv6) \ + $(use_with xmlrpc xmlrpc-c) +} + +src_install() { + default + doman doc/rtorrent.1 + + if use daemon; then + newinitd "${FILESDIR}/rtorrentd.init" rtorrentd + newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd + fi +} |