diff options
author | Marcin Kryczek <mkay@gentoo.org> | 2005-10-19 15:57:06 +0000 |
---|---|---|
committer | Marcin Kryczek <mkay@gentoo.org> | 2005-10-19 15:57:06 +0000 |
commit | fb5abc31bee887d00243333c361419473196ff3c (patch) | |
tree | d327e3b582acaf0d120b10ffc4d495eed28deadd /net-p2p | |
parent | stable on alpha as per bug #109157 (diff) | |
download | gentoo-2-fb5abc31bee887d00243333c361419473196ff3c.tar.gz gentoo-2-fb5abc31bee887d00243333c361419473196ff3c.tar.bz2 gentoo-2-fb5abc31bee887d00243333c361419473196ff3c.zip |
bittorrent now looks for it's docs in /usr/share/doc/bittorrent[...], not in /usr/share/doc/BitTorrent[...]. This fixes bug #109743
(Portage version: 2.0.52-r1)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/bittorrent/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/bittorrent/Manifest | 38 | ||||
-rw-r--r-- | net-p2p/bittorrent/bittorrent-4.1.6-r1.ebuild | 92 | ||||
-rw-r--r-- | net-p2p/bittorrent/files/digest-bittorrent-4.1.6-r1 | 1 |
4 files changed, 115 insertions, 24 deletions
diff --git a/net-p2p/bittorrent/ChangeLog b/net-p2p/bittorrent/ChangeLog index f04afa462422..9732e3a3d9cc 100644 --- a/net-p2p/bittorrent/ChangeLog +++ b/net-p2p/bittorrent/ChangeLog @@ -1,6 +1,12 @@ # 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.63 2005/10/18 04:10:52 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/ChangeLog,v 1.64 2005/10/19 15:57:06 mkay Exp $ + +*bittorrent-4.1.6-r1 (19 Oct 2005) + + 19 Oct 2005; <mkay@gentoo.org> +bittorrent-4.1.6-r1.ebuild: + bittorrent now looks for it's docs in /usr/share/doc/bittorrent[...], not in + /usr/share/doc/BitTorrent[...]. This fixes bug #109743 18 Oct 2005; Aron Griffis <agriffis@gentoo.org> bittorrent-4.0.2.ebuild: Mark 4.0.2 stable on alpha diff --git a/net-p2p/bittorrent/Manifest b/net-p2p/bittorrent/Manifest index 46bd495e7362..53c3e46d83a9 100644 --- a/net-p2p/bittorrent/Manifest +++ b/net-p2p/bittorrent/Manifest @@ -1,30 +1,22 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 6c942f2d89711fe775a838da6ce4b457 bittorrent-4.1.4.ebuild 2305 -MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 MD5 1c25fbcd2278284f5701985577b7c8f8 ChangeLog 9851 +MD5 4cd212682be24bfbff707f07b8549f83 bittorrent-3.4.2-r2.ebuild 1930 MD5 d6f1c6f8065a984e5ebefed06d3fabfd bittorrent-4.0.2.ebuild 1973 -MD5 326a6256ced48cc425034755fd3d5c4a bittorrent-4.1.3.ebuild 2168 MD5 462e522f275310b5d305c18a6ef57829 bittorrent-4.0.4.ebuild 2045 -MD5 4cd212682be24bfbff707f07b8549f83 bittorrent-3.4.2-r2.ebuild 1930 +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 1f68732157a0742ec30e29327ad0baf1 files/digest-bittorrent-4.1.4 69 -MD5 b493f99b647c326f2b2d24bdba684ad0 files/digest-bittorrent-4.0.4 68 -MD5 13f6b888eed806a8d4ce9cea22a7bacc files/digest-bittorrent-3.4.2-r2 65 +MD5 57d1f9e2969c992c3a891ce39eb9bf4c bittorrent-4.1.6-r1.ebuild 2530 +MD5 21ec89d06de83ddcc4cf6d6616355190 files/bittorrent-4.1.0-fix-all.patch 2483 +MD5 139c4a4367e37fcf7dc6bd18515456c2 files/btdownloadgui.desktop 166 +MD5 a94d4e97cceef0143a1a5c8784b6f70c files/bttrack.conf 728 +MD5 8254615ee527cd608123c83de2616ede files/bttrack.rc 631 MD5 be8d0eaa6a5cc7180f1f621fd685bd11 files/bttrack.rc-4.1 643 -MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406 -MD5 1d84ff717c038f607e2c54df5f946aef files/digest-bittorrent-4.1.3 68 +MD5 13f6b888eed806a8d4ce9cea22a7bacc files/digest-bittorrent-3.4.2-r2 65 MD5 4b713b7a06f5263bd26757a2ddddfe4b files/digest-bittorrent-4.0.2 68 +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 -MD5 a94d4e97cceef0143a1a5c8784b6f70c files/bttrack.conf 728 -MD5 139c4a4367e37fcf7dc6bd18515456c2 files/btdownloadgui.desktop 166 -MD5 8254615ee527cd608123c83de2616ede files/bttrack.rc 631 -MD5 21ec89d06de83ddcc4cf6d6616355190 files/bittorrent-4.1.0-fix-all.patch 2483 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDVHXaJrHF4yAQTrARAiv/AKCQnKPxoy0ITpDewUGYPD3ttQE0swCghy4V -9plYiynxSuJeGNZuF/AEIdQ= -=GW85 ------END PGP SIGNATURE----- +MD5 70e745b9990496effb12387c283f76d1 files/digest-bittorrent-4.1.6-r1 69 diff --git a/net-p2p/bittorrent/bittorrent-4.1.6-r1.ebuild b/net-p2p/bittorrent/bittorrent-4.1.6-r1.ebuild new file mode 100644 index 000000000000..7d5db7af0101 --- /dev/null +++ b/net-p2p/bittorrent/bittorrent-4.1.6-r1.ebuild @@ -0,0 +1,92 @@ +# 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-r1.ebuild,v 1.1 2005/10/19 15:57:06 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="TRACKERLESS.txt LICENSE.txt" +PYTHON_MODNAME="BitTorrent" + +src_unpack() { + unpack ${A} + cd ${S} + + # path for documentation is in lowercase (see bug #109743) + sed -i -r "s:(dp.*appdir):\1.lower():" BitTorrent/platform.py +} + +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/ + + rm ${D}/usr/share/doc/${P}/redirdonate.html + 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-r1 b/net-p2p/bittorrent/files/digest-bittorrent-4.1.6-r1 new file mode 100644 index 000000000000..80c74146097d --- /dev/null +++ b/net-p2p/bittorrent/files/digest-bittorrent-4.1.6-r1 @@ -0,0 +1 @@ +MD5 ba371b39ee6bce98775e6c346d5e8b58 BitTorrent-4.1.6.tar.gz 2313097 |