diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-02-04 14:23:39 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-02-04 14:23:39 +0000 |
commit | 2bfe380d5c1a830e6f312195fc77364de9aea111 (patch) | |
tree | 1fd666a26600939cc0b0948c4f6e4fc53a0c608e /net-p2p/bittorrent | |
parent | Version bump, closes bug #257464 by Gilles Dartiguelongue <eva@gentoo.org>. (diff) | |
download | historical-2bfe380d5c1a830e6f312195fc77364de9aea111.tar.gz historical-2bfe380d5c1a830e6f312195fc77364de9aea111.tar.bz2 historical-2bfe380d5c1a830e6f312195fc77364de9aea111.zip |
Bump to 5.2.2. SRC_URI fix. Closes #257216
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/bittorrent')
-rw-r--r-- | net-p2p/bittorrent/ChangeLog | 9 | ||||
-rw-r--r-- | net-p2p/bittorrent/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/bittorrent/bittorrent-5.2.2.ebuild | 84 |
3 files changed, 94 insertions, 3 deletions
diff --git a/net-p2p/bittorrent/ChangeLog b/net-p2p/bittorrent/ChangeLog index d71ddd577f14..7809c89c77ae 100644 --- a/net-p2p/bittorrent/ChangeLog +++ b/net-p2p/bittorrent/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/bittorrent -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.131 2008/07/10 14:09:55 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.132 2009/02/04 14:23:39 patrick Exp $ + +*bittorrent-5.2.2 (04 Feb 2009) + + 04 Feb 2009; Patrick Lauer <patrick@gentoo.org> +bittorrent-5.2.2.ebuild: + Bump to 5.2.2. SRC_URI fix. Closes #257216 10 Jul 2008; Raúl Porcel <armin76@gentoo.org> bittorrent-5.0.9-r1.ebuild, bittorrent-5.2.0.ebuild: diff --git a/net-p2p/bittorrent/Manifest b/net-p2p/bittorrent/Manifest index 6b0ab23fd46d..e04f277615ee 100644 --- a/net-p2p/bittorrent/Manifest +++ b/net-p2p/bittorrent/Manifest @@ -3,8 +3,10 @@ AUX bittorrent-tracker.initd 653 RMD160 4546d4d647969f91f623d98bc80ef53dc86a2117 DIST BitTorrent-4.4.0.tar.gz 1255281 RMD160 9e743b3178142855d289743d4430598353fb4d3f SHA1 8ca3e52c8049ff29a6785da410d6aa80c6726882 SHA256 1c9338ed384240258b5733a814670e2dee8ca2fb65babf3f0ca07978707301e0 DIST BitTorrent-5.0.9.tar.gz 2497550 RMD160 631d88c31ebd2f656477791db18e6a868349a2d5 SHA1 b610c811590aad6ec25fc7b30acb9e0264443121 SHA256 4459f694609328e55f829fe2e1143518e35f471aed7814da7689fee5d422f705 DIST BitTorrent-5.2.0.tar.gz 2497866 RMD160 27b2280dda620214d166e9858dfce72d099027d0 SHA1 ff89b8e585b48dda4a87f5379636c0458a876277 SHA256 02f8d990255332af9d79006322f69842e1bf2db50a1e79f7592c4ce14b27e551 +DIST BitTorrent-5.2.2.tar.gz 2499810 RMD160 9cda47bb81ab1b8ef254855bf3bd84877bac102f SHA1 ba407346d6cce9d59aef0464d8ee931a953f3a48 SHA256 a9cfe1377b284a0e98d8c0e49d099f44fc8ead6e7f45456428d66bbee0006816 EBUILD bittorrent-4.4.0-r1.ebuild 1794 RMD160 a008195d8d01d73c775f218a6d4ed15cc421a488 SHA1 27888e2e414748ae4db2e3d417ac5dec10ee4552 SHA256 0b914405288e2b4815ac0ff68ccf5edd4fd96184a03d8e0bb870fadc23aa9d0d EBUILD bittorrent-5.0.9-r1.ebuild 2497 RMD160 0ad3528693371e42cec84d71bb56e8409f4a1142 SHA1 d4b0b936166d98a6b8777e6836ddd52cf3bdd6cb SHA256 7682e36b9dcda9ae27ce616d4c462fc41e8dadf0410b1f3d7b94ff4312f3a881 EBUILD bittorrent-5.2.0.ebuild 2486 RMD160 856aa7ea47f812d630badd551cd24319a148a159 SHA1 2c10793c511efe6d5a7196c03206c73f40cad64f SHA256 55b902c615f54dc43bf2bf2d1a83e4ef1530eaeab81d420f9ac60240b2f0dc83 -MISC ChangeLog 18992 RMD160 ba520fb54d920b9e387736d76a33c6a866b0b6ee SHA1 7fdd4ac3ce7e2ff5930a5c15b1e0e98e4c1f0bcc SHA256 b9bb7be16ae53506482b9448592a6000d7f7aefd9cbd44723ffe852c8a8465a6 +EBUILD bittorrent-5.2.2.ebuild 2492 RMD160 7874c882143a30dea9706d1774ea81820e643cd8 SHA1 06a698667c4a2b3b8f3b9e60e9264a4e894178dd SHA256 843ac262ec80ef463c1333e5c64fc924bbbe03f8ea2cd45e023a8d728f1574a2 +MISC ChangeLog 19147 RMD160 496203502e8fe171af7a3586335da031ccb8d27c SHA1 cb1b223c6ac37a1a534de246f9aee98247ed336b SHA256 dfe255bf3696f64098da3f5cc6f307c366086ecedacfb888012b2ae6ad1815f3 MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f diff --git a/net-p2p/bittorrent/bittorrent-5.2.2.ebuild b/net-p2p/bittorrent/bittorrent-5.2.2.ebuild new file mode 100644 index 000000000000..7304d5fba338 --- /dev/null +++ b/net-p2p/bittorrent/bittorrent-5.2.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-5.2.2.ebuild,v 1.1 2009/02/04 14:23:39 patrick Exp $ + +WX_GTK_VER="2.6" +inherit distutils fdo-mime eutils wxwidgets + +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/archive/${MY_P}.tar.gz" + +LICENSE="BitTorrent" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="gtk" + +RDEPEND=">=dev-lang/python-2.3 + gtk? ( =dev-python/wxpython-2.6* ) + >=dev-python/pycrypto-2.0 + >=dev-python/twisted-2 + dev-python/twisted-web + net-zope/zopeinterface" +DEPEND="${RDEPEND} + app-arch/gzip + >=sys-apps/sed-4.0.5 + dev-python/dnspython" + +DOCS="README.txt TRACKERLESS.txt public.key" +PYTHON_MODNAME="BitTorrent" + +pkg_setup() { + if use gtk ; then + need-wxwidgets unicode || + die "You must build wxGTK and wxpython with unicode support" + + if ! built_with_use =dev-python/wxpython-2.6* unicode ; then + die "You must build wxGTK and wxpython with unicode support" + fi + fi + + if ! built_with_use dev-lang/python threads; then + die "${PN} needs dev-lang/python with USE=\"threads\"" + 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 + + if use gtk ; then + doicon images/logo/bittorrent.ico + newicon images/logo/bittorrent_icon_32.png bittorrent.png + make_desktop_entry "bittorrent" "BitTorrent" bittorrent "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" + elog + elog "If you are upgrading from bittorrent-4.4.0 you must remove " + elog "the ~/.bittorrent dir to make this version work. Remember to " + elog "do a backup first!" + elog + distutils_pkg_postinst + fdo-mime_desktop_database_update +} |