# ChangeLog for net-p2p/bittorrent
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.94 2006/12/28 19:00:17 vapier Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.95 2007/01/16 15:53:09 armin76 Exp $
+
+*bittorrent-5.0.4 (16 Jan 2007)
+
+ 16 Jan 2007; Raúl Porcel <armin76@gentoo.org> +bittorrent-5.0.4.ebuild:
+ Version bump
28 Dec 2006; Mike Frysinger <vapier@gentoo.org>
files/bittorrent-tracker.confd, files/bittorrent-tracker.initd,
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX bittorrent-tracker.confd 565 RMD160 9a21fec4c8b654ed71ac0a1425943622cd1b525f SHA1 031d21178924dee7370fa9e5965d1d017001626d SHA256 c994ddd1670a274289043380db70f2f08829cf7c7747be9805ba31dce0e2bc86
MD5 81c2d75d74ef8b0914346e4483164d68 files/bittorrent-tracker.confd 565
RMD160 9a21fec4c8b654ed71ac0a1425943622cd1b525f files/bittorrent-tracker.confd 565
SHA256 5f70c794dcc5d821df1224168ac449fd94983a7f9eeb3e498d31fc369b3b2ff3 files/bittorrent-tracker.initd 653
DIST BitTorrent-4.4.0.tar.gz 1255281 RMD160 9e743b3178142855d289743d4430598353fb4d3f SHA1 8ca3e52c8049ff29a6785da410d6aa80c6726882 SHA256 1c9338ed384240258b5733a814670e2dee8ca2fb65babf3f0ca07978707301e0
DIST BitTorrent-5.0.3.tar.gz 2483161 RMD160 792b0a00cb20cfe64c0bd402a7442464578fc335 SHA1 f1321425052313e2963c4655f24d45aaef0aa2a4 SHA256 38a59459ee5bf323c0f3a0e6d2f358f6de00a0036c5593372558315f9c2f7f3f
+DIST BitTorrent-5.0.4.tar.gz 2483141 RMD160 7c0ca2c1a301461bb2b6f5ed2ea7decefb409602 SHA1 45c1d9c7a276671d8cb145b3b4d422e011d57b6d SHA256 0f703639103f89b2b0184cef12e80aa1ee1565068c94280e3e93064b845408f2
EBUILD bittorrent-4.4.0.ebuild 1841 RMD160 776ff49e0ab4a05a6b1b02e230a602df5815d21c SHA1 e1e6a2f64fe718ded431e3a8a7e8436e4ee2f44c SHA256 954e1a46799401c62f354c1d179c28d7bbc94c8fd1f4eb1435bd333f4b1d525f
MD5 966c49439f38bddfc4e2d7e74b165443 bittorrent-4.4.0.ebuild 1841
RMD160 776ff49e0ab4a05a6b1b02e230a602df5815d21c bittorrent-4.4.0.ebuild 1841
MD5 198cd6f9943d44a1d74bdd27d2cfe562 bittorrent-5.0.3.ebuild 2285
RMD160 8b5fe93e0c16f21b39cd001e9f40c1bca82d80af bittorrent-5.0.3.ebuild 2285
SHA256 90b6e4035fe1b23a3e272e739edd4a7f38351109c07868ce33719318341ab769 bittorrent-5.0.3.ebuild 2285
-MISC ChangeLog 14532 RMD160 06ed0316f49a725be9b883b103ebd182c323fe9a SHA1 5f1c2b711a6c693c1199d8b3a5635b94e69c7e36 SHA256 21063d2553053d254e0b417c5c7e3cd0f184f1bb0a762c93375ac3ebab9bbe0b
-MD5 ba01857a4d5efcc41c52322544ab5810 ChangeLog 14532
-RMD160 06ed0316f49a725be9b883b103ebd182c323fe9a ChangeLog 14532
-SHA256 21063d2553053d254e0b417c5c7e3cd0f184f1bb0a762c93375ac3ebab9bbe0b ChangeLog 14532
+EBUILD bittorrent-5.0.4.ebuild 2286 RMD160 1b3a45d7fb21fe0aa33616cd3f5b194b9f3ef162 SHA1 dae7f409efece2823022af7aa79e63fec4b2c529 SHA256 a84179710e7ecb29ba3efd83c1cbf8f45ec849d690c7ea62fba6e92f7e95a07a
+MD5 357b7bc03e14829ee2a5beb229e5be67 bittorrent-5.0.4.ebuild 2286
+RMD160 1b3a45d7fb21fe0aa33616cd3f5b194b9f3ef162 bittorrent-5.0.4.ebuild 2286
+SHA256 a84179710e7ecb29ba3efd83c1cbf8f45ec849d690c7ea62fba6e92f7e95a07a bittorrent-5.0.4.ebuild 2286
+MISC ChangeLog 14657 RMD160 d99e7dbb466a6cb809dcd72503c6ebcd37d39638 SHA1 3e15c4409166b4ed1c2cc8d1d007c75361ee8d35 SHA256 ff2e7fd7272a1df979dfb4db684e632bce9d0cb0519a1ef7f3e52d9dba40ba19
+MD5 1a06145aa38fc5db0d4222e077bb1fa5 ChangeLog 14657
+RMD160 d99e7dbb466a6cb809dcd72503c6ebcd37d39638 ChangeLog 14657
+SHA256 ff2e7fd7272a1df979dfb4db684e632bce9d0cb0519a1ef7f3e52d9dba40ba19 ChangeLog 14657
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
MD5 b6f1597977a65aa1d6e3627e03da279d files/digest-bittorrent-5.0.3 253
RMD160 d264f09b943dba39696b57d3b2850ab06e82b98a files/digest-bittorrent-5.0.3 253
SHA256 205d76990893ff6a8804b0ec6d6832214438ba56443812e650de01f8af145abe files/digest-bittorrent-5.0.3 253
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFFlBR88bi6rjpTunYRAlSHAJ4iZIfAc5mCcV1zvEFhh/gtBy2CawCgr4SK
-bOvva3yC4SnfxnmALFPR25s=
-=/2f2
------END PGP SIGNATURE-----
+MD5 9c0f8ed1ecc80bb1e19cd671a2daa87f files/digest-bittorrent-5.0.4 253
+RMD160 13681829167b74d9d6a8521f25e6f1e362649096 files/digest-bittorrent-5.0.4 253
+SHA256 d19f8dd26a14759a35f4227f1d3e8e821a37e075fe44cc821b2964a40944516c files/digest-bittorrent-5.0.4 253
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-5.0.4.ebuild,v 1.1 2007/01/16 15:53:09 armin76 Exp $
+
+inherit distutils fdo-mime eutils
+
+MY_P="${P/bittorrent/BitTorrent}"
+#MY_P="${MY_P/}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="tool for distributing files via a distributed network of nodes"
+HOMEPAGE="http://www.bittorrent.com/"
+SRC_URI="http://download.bittorrent.com/dl/${MY_P}.tar.gz"
+
+LICENSE="BitTorrent"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="gtk"
+
+RDEPEND=">=dev-lang/python-2.3
+ gtk? (
+ >=x11-libs/wxGTK-2.6
+ >=dev-python/wxpython-2.6
+ )
+ >=dev-python/pycrypto-2.0
+ >=dev-python/twisted-2
+ dev-python/twisted-web
+ net-zope/zopeinterface
+ !virtual/bittorrent"
+DEPEND="${RDEPEND}
+ app-arch/gzip
+ >=sys-apps/sed-4.0.5
+ dev-python/dnspython"
+PROVIDE="virtual/bittorrent"
+
+DOCS="README.txt TRACKERLESS.txt public.key credits.txt"
+PYTHON_MODNAME="BitTorrent"
+
+pkg_setup() {
+ if use gtk ; then
+ if ! built_with_use x11-libs/wxGTK unicode ; then
+ die "You must build wxGTK and wxpython with unicode support"
+ fi
+ if ! built_with_use dev-python/wxpython unicode ; then
+ die "You must build wxGTK and wxpython with unicode support"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # path for documentation is in lowercase #109743
+ sed -i -r "s:(dp.*appdir):\1.lower():" BitTorrent/platform.py
+}
+
+src_install() {
+ distutils_src_install
+ use gtk || rm -f "${D}"/usr/bin/bittorrent
+ dohtml redirdonate.html
+
+ if use gtk ; then
+ doicon images/logo/bittorrent.ico
+ newicon images/logo/bittorrent_icon_32.png bittorrent.png
+ make_desktop_entry "bittorrent" "BitTorrent" bittorrent.png "Network"
+ echo "MimeType=application/x-bittorrent" \
+ >> "${D}"/usr/share/applications/bittorrent-${PN}.desktop
+ fi
+
+ newinitd "${FILESDIR}"/bittorrent-tracker.initd bittorrent-tracker
+ newconfd "${FILESDIR}"/bittorrent-tracker.confd bittorrent-tracker
+}
+
+pkg_postinst() {
+ einfo "Remember that BitTorrent has changed file naming scheme"
+ einfo "To run BitTorrent just execute /usr/bin/bittorrent"
+ einfo "To run the init.d, please use /etc/init.d/bittorrent-tracker"
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+}
--- /dev/null
+MD5 3f6a1093102541e88a16d6c1c62e8bcc BitTorrent-5.0.4.tar.gz 2483141
+RMD160 7c0ca2c1a301461bb2b6f5ed2ea7decefb409602 BitTorrent-5.0.4.tar.gz 2483141
+SHA256 0f703639103f89b2b0184cef12e80aa1ee1565068c94280e3e93064b845408f2 BitTorrent-5.0.4.tar.gz 2483141