Version bump #154103 by Loïc Ludwig and Robert Smith. Also fixes #153482 and #152944.
authorMike Frysinger <vapier@gentoo.org>
Thu, 28 Dec 2006 18:44:46 +0000 (18:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 28 Dec 2006 18:44:46 +0000 (18:44 +0000)
Package-Manager: portage-2.1.2_rc4-r1

net-p2p/bittorrent/ChangeLog
net-p2p/bittorrent/Manifest
net-p2p/bittorrent/bittorrent-5.0.3.ebuild [new file with mode: 0644]
net-p2p/bittorrent/files/digest-bittorrent-5.0.3 [new file with mode: 0644]

index 42d23c6d04dfc93ad3cb68e89b73cda3078d7043..dbb82abefe1c0c65450a37d86562700fcb4d9c08 100644 (file)
@@ -1,6 +1,12 @@
 # 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.92 2006/12/28 18:14:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.93 2006/12/28 18:44:46 vapier Exp $
+
+*bittorrent-5.0.3 (28 Dec 2006)
+
+  28 Dec 2006; Mike Frysinger <vapier@gentoo.org> +bittorrent-5.0.3.ebuild:
+  Version bump #154103 by Loïc Ludwig and Robert Smith. Also fixes #153482
+  and #152944.
 
   28 Dec 2006; Mike Frysinger <vapier@gentoo.org> bittorrent-4.26.0.ebuild:
   Die, dont warn, if dependency checks fail #153875 by Jory A. Pratt.
index e7aa1755013fc494b991dc3015b4fdef42b9b88f..00fba566997292556df31e9d5bdec7b17f3966eb 100644 (file)
@@ -29,6 +29,7 @@ DIST BitTorrent-3.4.2.zip 244989 RMD160 ef296e28559570463e46bee299b46ebce473f87a
 DIST BitTorrent-4.2.2.tar.gz 2238224 RMD160 dd8a504490380b728d29b1d700abd8275c629a11 SHA1 c34c5ffe1b80b4d9ee5e7420da661d21017ddc74 SHA256 cd14416698064015292ad128ddf349747f2cbb6e06d3c0ffa49b7ddfeda254ff
 DIST BitTorrent-4.26.0.tar.gz 2475616 RMD160 f32850486b717e035b86f30c629f9d707ffc50af SHA1 a70a39d5791f66d88af7a538bbbd2bfe1e8cbb8a SHA256 5877bbe4193b56ea2cea68cdee913edd88b4d1ed6e54abcdbf1bd1d3c7e3e567
 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
 EBUILD bittorrent-3.4.2-r2.ebuild 1930 RMD160 f3e450a46dd03440a29bbcf21a5b762574631cdf SHA1 6b9749c01416b0c80f23f57e65868010165fbae5 SHA256 399f5974f0845c50960262725eada69fec9b95e55043cea299af73b74e5941bf
 MD5 55de4abd16a9d1691977235bb18b8e7d bittorrent-3.4.2-r2.ebuild 1930
 RMD160 f3e450a46dd03440a29bbcf21a5b762574631cdf bittorrent-3.4.2-r2.ebuild 1930
@@ -45,10 +46,14 @@ EBUILD bittorrent-4.4.0.ebuild 1906 RMD160 a0d41d46c081d3e89486a31e2fe925f24b4e1
 MD5 59496439d90f5d71cb7bc871c1dedcc4 bittorrent-4.4.0.ebuild 1906
 RMD160 a0d41d46c081d3e89486a31e2fe925f24b4e178c bittorrent-4.4.0.ebuild 1906
 SHA256 2ecbed1fdaaafb3161165eaaa9200dc783b86d32030f105c1c4ce3ee69903204 bittorrent-4.4.0.ebuild 1906
-MISC ChangeLog 14081 RMD160 625e4b9e165c73773fbfe7c4683f471b81c3b093 SHA1 9244245f083edaf542154e3ab85606e4709ad5f5 SHA256 7c8d36c47ed9f9fe6877bf4edcfcfd1dd74f72ed92fbfad5361f9de48dbd8bdd
-MD5 8a49019260e400af923f8792bb25386a ChangeLog 14081
-RMD160 625e4b9e165c73773fbfe7c4683f471b81c3b093 ChangeLog 14081
-SHA256 7c8d36c47ed9f9fe6877bf4edcfcfd1dd74f72ed92fbfad5361f9de48dbd8bdd ChangeLog 14081
+EBUILD bittorrent-5.0.3.ebuild 2131 RMD160 09f8a85482b5daca4879477ef0f595189d8bd40b SHA1 5b821876d43f47f1ba32b7ab4da4e6dd918b1ea5 SHA256 c2a709d99b9675442ba89b991c64cb2b10a85aabed0c668296de08519694f391
+MD5 ab95bb6e5d027390ce008a0e743d98bd bittorrent-5.0.3.ebuild 2131
+RMD160 09f8a85482b5daca4879477ef0f595189d8bd40b bittorrent-5.0.3.ebuild 2131
+SHA256 c2a709d99b9675442ba89b991c64cb2b10a85aabed0c668296de08519694f391 bittorrent-5.0.3.ebuild 2131
+MISC ChangeLog 14282 RMD160 a5a7a36828172243d23f1e7becd194c9de1f38c7 SHA1 19a9cac342ff0f496a622478a12f958838065035 SHA256 b966eb06270de14c658bbc668fc6406d2afc0e4316b2a6bc4d05c9d6f1ee7cdd
+MD5 33192b40134c32c5659d427068448e5e ChangeLog 14282
+RMD160 a5a7a36828172243d23f1e7becd194c9de1f38c7 ChangeLog 14282
+SHA256 b966eb06270de14c658bbc668fc6406d2afc0e4316b2a6bc4d05c9d6f1ee7cdd ChangeLog 14282
 MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
@@ -65,10 +70,13 @@ SHA256 1c5699c5511aabf14c6a9088551948f7557145ae09eebdd9ea876f4110935d8d files/di
 MD5 a83d419e4505d00169381a9eaf023d59 files/digest-bittorrent-4.4.0 253
 RMD160 363ff7e44a1e324a4d2b30e0b455276fdb297357 files/digest-bittorrent-4.4.0 253
 SHA256 472a02e8501bc049b86ad1ec025bc15c08d19555ac6f0edd0bbddc62e29b7735 files/digest-bittorrent-4.4.0 253
+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)
 
-iD8DBQFFlAnc8bi6rjpTunYRAkZFAKDj6dY7ZetWTbLVmUBlBWc6FteQdwCg2xVQ
-JcSiHQ/KImak5TdqYPsGa1Y=
-=Be7I
+iD8DBQFFlBDX8bi6rjpTunYRAqseAKDjs0U6EjndKtM71m0xTjwU9QP+uQCgkON+
+4+tT9mZbDAz4CkbAwYQRQho=
+=FhzH
 -----END PGP SIGNATURE-----
diff --git a/net-p2p/bittorrent/bittorrent-5.0.3.ebuild b/net-p2p/bittorrent/bittorrent-5.0.3.ebuild
new file mode 100644 (file)
index 0000000..a3a5fe2
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-5.0.3.ebuild,v 1.1 2006/12/28 18:44:46 vapier 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
+               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}"/bttrack.rc bttrack
+       newconfd "${FILESDIR}"/bttrack.conf bttrack
+}
+
+pkg_postinst() {
+       einfo "Remember that BitTorrent has changed file naming scheme"
+       einfo "To run BitTorrent just execute /usr/bin/bittorrent"
+       distutils_pkg_postinst
+       fdo-mime_desktop_database_update
+}
diff --git a/net-p2p/bittorrent/files/digest-bittorrent-5.0.3 b/net-p2p/bittorrent/files/digest-bittorrent-5.0.3
new file mode 100644 (file)
index 0000000..302fb71
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 592363a33c35e9f66759a736dbf7e038 BitTorrent-5.0.3.tar.gz 2483161
+RMD160 792b0a00cb20cfe64c0bd402a7442464578fc335 BitTorrent-5.0.3.tar.gz 2483161
+SHA256 38a59459ee5bf323c0f3a0e6d2f358f6de00a0036c5593372558315f9c2f7f3f BitTorrent-5.0.3.tar.gz 2483161