Version bump
authorMarcin Kryczek <mkay@gentoo.org>
Thu, 13 Oct 2005 17:20:34 +0000 (17:20 +0000)
committerMarcin Kryczek <mkay@gentoo.org>
Thu, 13 Oct 2005 17:20:34 +0000 (17:20 +0000)
Package-Manager: portage-2.0.52-r1

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

index f15d44f845979a05ded76a454bdd2a0f80f1c375..ebc8d150e9728bde8fc07a3abe88d0a99adaffb2 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-p2p/bittorrent
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.61 2005/09/25 22:30:09 mkay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.62 2005/10/13 17:20:34 mkay Exp $
+
+*bittorrent-4.1.6 (13 Oct 2005)
+
+  13 Oct 2005; <mkay@gentoo.org> +bittorrent-4.1.6.ebuild:
+  Version bump. Thanks tester
 
   25 Sep 2005; <mkay@gentoo.org> bittorrent-3.4.2-r2.ebuild,
   bittorrent-4.0.2.ebuild, bittorrent-4.0.4.ebuild, bittorrent-4.1.3.ebuild,
index bfa11a45901893cca661a3b0fa6ae4e2b967a641..c49d96abb08c0c1392efe25170d4fcedad495320 100644 (file)
@@ -1,10 +1,11 @@
-MD5 1e94322ee06d7e2412da4cf50e2261b8 ChangeLog 9619
+MD5 9c478b80e37d9f5e5e740c49e8b4f054 ChangeLog 9742
 MD5 4cd212682be24bfbff707f07b8549f83 bittorrent-3.4.2-r2.ebuild 1930
 MD5 4f45f41d8bef922de24422456404e53c bittorrent-4.0.2.ebuild 1970
 MD5 462e522f275310b5d305c18a6ef57829 bittorrent-4.0.4.ebuild 2045
 MD5 326a6256ced48cc425034755fd3d5c4a bittorrent-4.1.3.ebuild 2168
 MD5 6c942f2d89711fe775a838da6ce4b457 bittorrent-4.1.4.ebuild 2305
 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 4cc659a077dc3dbf02ad922c9175cb81 bittorrent-4.1.6.ebuild 2305
 MD5 21ec89d06de83ddcc4cf6d6616355190 files/bittorrent-4.1.0-fix-all.patch 2483
 MD5 139c4a4367e37fcf7dc6bd18515456c2 files/btdownloadgui.desktop 166
 MD5 a94d4e97cceef0143a1a5c8784b6f70c files/bttrack.conf 728
@@ -16,3 +17,4 @@ MD5 b493f99b647c326f2b2d24bdba684ad0 files/digest-bittorrent-4.0.4 68
 MD5 1d84ff717c038f607e2c54df5f946aef files/digest-bittorrent-4.1.3 68
 MD5 1f68732157a0742ec30e29327ad0baf1 files/digest-bittorrent-4.1.4 69
 MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406
+MD5 70e745b9990496effb12387c283f76d1 files/digest-bittorrent-4.1.6 69
diff --git a/net-p2p/bittorrent/bittorrent-4.1.6.ebuild b/net-p2p/bittorrent/bittorrent-4.1.6.ebuild
new file mode 100644 (file)
index 0000000..44b19fa
--- /dev/null
@@ -0,0 +1,83 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-4.1.6.ebuild,v 1.1 2005/10/13 17:20:34 mkay 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://www.bittorrent.com/dl/${MY_P}.tar.gz"
+
+LICENSE="BitTorrent"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+IUSE="gtk"
+
+RDEPEND="gtk? (
+               >=x11-libs/gtk+-2.4
+               >=dev-python/pygtk-2.4
+       )
+       >=dev-lang/python-2.3
+       >=dev-python/pycrypto-2.0
+       !virtual/bittorrent"
+DEPEND="${RDEPEND}
+       app-arch/gzip
+       >=sys-apps/sed-4.0.5
+       dev-python/dnspython"
+PROVIDE="virtual/bittorrent"
+
+DOCS="credits.txt"
+PYTHON_MODNAME="BitTorrent"
+
+src_install() {
+       distutils_src_install
+       if ! use gtk; then
+               rm ${D}/usr/bin/bittorrent
+       fi
+       dohtml redirdonate.html
+       dodir etc
+       cp -pPR /etc/mailcap ${D}/etc/
+
+       mv ${D}/usr/share/doc/${MY_P}/* ${D}/usr/share/doc/${P}/
+       rm -fr ${D}/usr/share/doc/${MY_P}
+
+       MAILCAP_STRING="application/x-bittorrent; /usr/bin/bittorrent '%s'; test=test -n \"\$DISPLAY\""
+
+       if use gtk; then
+               if [ -n "`grep 'application/x-bittorrent' ${D}/etc/mailcap`" ]; then
+                       # replace bittorrent entry if it already exists
+                       einfo "updating bittorrent mime info"
+                       sed -i "s,application/x-bittorrent;.*,${MAILCAP_STRING}," ${D}/etc/mailcap
+               else
+                       # add bittorrent entry if it doesn't exist
+                       einfo "adding bittorrent mime info"
+                       echo "${MAILCAP_STRING}" >> ${D}/etc/mailcap
+               fi
+       else
+               # get rid of any reference to the not-installed gui version
+               sed -i '/btdownloadgui/d' ${D}/etc/mailcap
+       fi
+
+       if use gtk ; then
+               cp ${D}/usr/share/pixmaps/${MY_P}/bittorrent.ico ${D}/usr/share/pixmaps/
+               make_desktop_entry "bittorrent" "BitTorrent" \
+                       /usr/share/pixmaps/bittorrent.ico "Network" "/usr/bin/"
+       fi
+
+       insinto /etc/conf.d
+       newins ${FILESDIR}/bttrack.conf bttrack
+
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/bttrack.rc-4.1 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-4.1.6 b/net-p2p/bittorrent/files/digest-bittorrent-4.1.6
new file mode 100644 (file)
index 0000000..80c7414
--- /dev/null
@@ -0,0 +1 @@
+MD5 ba371b39ee6bce98775e6c346d5e8b58 BitTorrent-4.1.6.tar.gz 2313097