summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-07-10 19:13:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-07-10 19:13:55 +0000
commit4abbd0a9f08ef1eb6d06ca53ea271e2c8d260ba5 (patch)
treebb7b762bdfdccad04e16b7ac8e3b1d696efc4717 /net-p2p/transmission
parentMarking latex-beamer-3.20 ppc64 for bug 425194 (diff)
downloadhistorical-4abbd0a9f08ef1eb6d06ca53ea271e2c8d260ba5.tar.gz
historical-4abbd0a9f08ef1eb6d06ca53ea271e2c8d260ba5.tar.bz2
historical-4abbd0a9f08ef1eb6d06ca53ea271e2c8d260ba5.zip
Version bump.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/ChangeLog8
-rw-r--r--net-p2p/transmission/Manifest36
-rw-r--r--net-p2p/transmission/transmission-2.60.ebuild198
3 files changed, 231 insertions, 11 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog
index 7b3a4a749011..afa5851f00eb 100644
--- a/net-p2p/transmission/ChangeLog
+++ b/net-p2p/transmission/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/transmission
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.198 2012/06/22 16:02:40 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.199 2012/07/10 19:13:55 ssuominen Exp $
+
+*transmission-2.60 (10 Jul 2012)
+
+ 10 Jul 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +transmission-2.60.ebuild:
+ Version bump.
22 Jun 2012; Brent Baude <ranger@gentoo.org> transmission-2.52.ebuild:
Marking transmission-2.52 ppc64 for bug 421537
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 38dad55c8801..0f6022f0855d 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,10 +1,26 @@
-AUX transmission-2.51-fbsd.patch 321 RMD160 486fe5c5ea0542018c2dfc34efe7925ea8f8eec0 SHA1 463551d10002c778d2c32ff38ebd4786d3e8054a SHA256 0eebd135c43b647c65f9f3ddc2eda6668e30d80398eb3ca398f802b4e837e726
-AUX transmission-daemon.confd.3 703 RMD160 482953d2bd8e9c69300af3389615764649954a63 SHA1 a4d16dde4e2408b48620cc89c4a8759b042797f2 SHA256 4b47acf195a14a322550cfcaa735a59aac38410d1c2c63ffa824ff131c55ca70
-AUX transmission-daemon.initd.8 2247 RMD160 aed10ce23fa58a624d15abbff56c8db37a9e6117 SHA1 d92068b481f40ee520b5f76263ed80c5bc8fe9f5 SHA256 c4383a3380c7dac82941d073a3d52451ed6e1d6bf0969ea0fe3e86aa4b8cbe2e
-DIST transmission-2.51.tar.xz 2784036 RMD160 f6e89c5d158733f24804a31c8e2f9367bcc0d823 SHA1 3d8396365bb6c325c1140567f9a7d38a5898bb54 SHA256 1c9a54864acf8fd0c7aa4132e9e69b454a7c72c305c96016a38551157af8858b
-DIST transmission-2.52.tar.xz 2784408 RMD160 ad54164864b88476d412573e89a0540524022c26 SHA1 71c42738aa86b360cb527ec796d562f12f86a84c SHA256 bcddfb7be014bc2765775a25217203d327bd1ec121971954623d8c3360c14e17
-EBUILD transmission-2.51.ebuild 4138 RMD160 9a0878163f88ad701676de4d1edc9ec8ca1cac30 SHA1 ec9108625c7a2a4ac3deb1db4c001ec396fcb2cd SHA256 91b9d36a0a7f5eed1f9072583afaed33cd377e55154f14403633318a82d38aad
-EBUILD transmission-2.52.ebuild 4314 RMD160 fa14c8cc950e10e56e62bad5dd39468984c652b0 SHA1 728f2968c241066e4aab6425d00b1cbed7103892 SHA256 d0c993e24685e5f20542742c714d06827c7a4cae1a9b3163a4297bef23054a98
-EBUILD transmission-9999.ebuild 4318 RMD160 d1f17665648d937ab416b67229647c277f298c3c SHA1 066216831d0b2f69457ccda2ffff7cae30c7e5e7 SHA256 0f0cfdcc57cf40207c421577daba6df9eb9809952b5ac702ce28a4945644703e
-MISC ChangeLog 35189 RMD160 426534d965be8b199d32a039a35d8a29abe2a663 SHA1 486b85af5209a8b64ae0c94ad1c83fa104c2a32e SHA256 e74b021908d39ae0b31f421fdbf4361b10f18da0db33684bf6bd8182d209cd20
-MISC metadata.xml 661 RMD160 8414fd564a443a98be5ae6c3bcb032c26f1ac4a7 SHA1 f216cbcb15dc9c211a946dfab3597851fd1995a8 SHA256 5dadc7aff55c289bc229fdaeb2bf63475ad8c7ff8a523d7fdc4096e0755f2cff
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX transmission-2.51-fbsd.patch 321 SHA256 0eebd135c43b647c65f9f3ddc2eda6668e30d80398eb3ca398f802b4e837e726 SHA512 11cb691c236aa630c06458d837bd8cdf1e22e686afa4366081c1146c99821ed70e1f24c8ddbe6b7a8c299095b5cb9d7193f108293d6951559a4bb2f5246068a8 WHIRLPOOL ed62c08b3aeddad5894b6a8307750378d858935f4adbb0cc30545d36549bd2639af718b46e21ee0d4f56bd117adcba0784b3b2bb8eef9fe815517160b751cbfd
+AUX transmission-daemon.confd.3 703 SHA256 4b47acf195a14a322550cfcaa735a59aac38410d1c2c63ffa824ff131c55ca70 SHA512 a3b9ac2b7bbe30e33060c8b6a693dc7072d3c6ac44f92ddd567969d8f57a0bfc1a561e781ae167703ccb4b2fd5b0e6d8f8a66c5ba14fe01d8d89a501d4501474 WHIRLPOOL 41e2937a7bd03b6e667c991d122b8370d650dc8c26ed9e5825fe0e76aa68bb356171411e6057c44c1a51780f2f2d5eb23b8f3e1ad22a89836587944a8ef9e7c5
+AUX transmission-daemon.initd.8 2247 SHA256 c4383a3380c7dac82941d073a3d52451ed6e1d6bf0969ea0fe3e86aa4b8cbe2e SHA512 bc27b582c02220fe1b771581a4ff7df4d8cbe39b778e1e30f9dd7f3ee6abd5114626cbdb3ede85a41ff80dce06c0f1d99ae45b00fafd16285301e70a25908547 WHIRLPOOL 69007d64bdc660e8cded35c229e1e20dd8cc68ae9d3d2b9a3980282e4ea180b16a223aafd75c0a177046dcbb5a25e9dd67cf69f604091b11f74e265b9e40df6d
+DIST transmission-2.51.tar.xz 2784036 SHA256 1c9a54864acf8fd0c7aa4132e9e69b454a7c72c305c96016a38551157af8858b SHA512 effa41be9e14bdecfb397d3803e415b1a6c572c0a3266a3400ca76d66da5d75c93f42cf381b1efce02cebb81e4296e527f8d9c8eb049feba0c94d5514a41ea12 WHIRLPOOL ebd9d3702074c3e5eb8ffb68278b4fca29c051154087932294af469fc92c8ba076933c5e3f431273ac04d9586cd4305a7c1d22ae0b7d5de676b6889a82ba5fd8
+DIST transmission-2.52.tar.xz 2784408 SHA256 bcddfb7be014bc2765775a25217203d327bd1ec121971954623d8c3360c14e17 SHA512 87dc16c3ec1f2ca991657881f2f69f952d65f6636be74bfd78aa01fd331aaab67f8d0518f157514a31019908b157f89d5ec2a60a72baa85e57f7734a9eb50668 WHIRLPOOL 2a6246de2c7b85c7c636e3564a3df9a2d21483d6d00b294337556bf368cb448453db36bf101bee617bb8f81de7d6b8cd6aaa2502e4f50a27c527aaa7efb46bac
+DIST transmission-2.60.tar.xz 2905156 SHA256 e46540c5e9098eecc2d00c1b0c1defd687a01a1dc4bc3e2fc64722ef236d55e5 SHA512 0aea93263ce0bfb11629486a6f9d0ed9a5b0ec85cc15933271c073f73bb55f31ae6a32804b528093b2e435143ce3d6a25625bfb0411c75aaaf3832a7ffa26f34 WHIRLPOOL 72152f966b5f1971bfd2f2aaf9a1395718033a7e83c932d86c49a998f03e537070988580fa930f9525af7c4aac4d0ba7f55ee1fdfc0af59c7587590258e07cd8
+EBUILD transmission-2.51.ebuild 4138 SHA256 91b9d36a0a7f5eed1f9072583afaed33cd377e55154f14403633318a82d38aad SHA512 72952cce38eaa13c587dddd96abfef0e4fe67beea1596df1b02f0b8479f054d2bf86a8ec1f7269e43307b0d8e9eaac71e96362ee18aa4a39815b38a4104a6417 WHIRLPOOL 5776c762526fc4ac61f810dacfe8d7c21fbc7c02748df8b34605f03288b2d9412f68645709acaf0165d09f50becc441db2df8402d6d9427188deb79175421423
+EBUILD transmission-2.52.ebuild 4314 SHA256 d0c993e24685e5f20542742c714d06827c7a4cae1a9b3163a4297bef23054a98 SHA512 914850eafa4df1f2c8c95a9684c1055562b91a10bbdaa20a20d7caf4dd85975fc7e6ab4c22db2cb3edc5a7499245d883d999122afdf56e25b2b7c083997d33eb WHIRLPOOL 4df6ee137118949865f2e5456741fe65cc0293fd5c4350f0e3336131322942b2fe87b8bc412e2d02850038bbcd38db57322866a60698266ff23fb9a5f0fd841d
+EBUILD transmission-2.60.ebuild 4323 SHA256 1676e09e7f8b6c098ee23ae8d1fc16a8249f60e92b577922c3a7c3bad721fbb3 SHA512 66c370083153c11de650f8fe572468a0db4e828c16d5da231031c256216ebd429fc405ea28508a86053f1788c95685b39f6763141b657913c9483d1624eb8f72 WHIRLPOOL 6514232f0a24f58cbb4f23a4a351e8758090fc3c1f428f53f02febba16c1660bfb22a58d0b3d0f371c02a5e70b0845d725f9786342efb937bd7a138543056fdd
+EBUILD transmission-9999.ebuild 4318 SHA256 0f0cfdcc57cf40207c421577daba6df9eb9809952b5ac702ce28a4945644703e SHA512 b9636720837cf0f0ed17244c6f289a0b88d7552633bd52861607998eac4ff7f3f9f89efa3d5db8bbcc8806105e8147f1cecf522e285e354792058aa242284837 WHIRLPOOL c2c90007d63972314d37bd311069460ac556c19dad996c9d3e11e89ddb127085b4f0e59b23457af8267824b07908bc3c916ff309c9dc92294ee8b223fe323a6b
+MISC ChangeLog 35326 SHA256 4fd7eb412e90ab72eae3dcd352e83dfce90d1916d6d873c1d9ad70cced3c222b SHA512 fbf44896a597b35b855d8811f553cd30f7a898b2070d6fd2e9b31ca4ecb972328ae3d366664515b7ae15e7d19ed994d5a8a1946477229a38014368ae3d7f8a0c WHIRLPOOL 631b7cbce6b641a087560128f5ea3767277db60ff68611387eeeb65adadde9717410c80e1b9d4a1315e215e3c28255138167150087668a23e899a9e8fa7daf45
+MISC metadata.xml 661 SHA256 5dadc7aff55c289bc229fdaeb2bf63475ad8c7ff8a523d7fdc4096e0755f2cff SHA512 239d8bfc15bc6d52c079f437f01cfec4ea23022e92a333f2758249644ed5327ec941a27110ce43b1fb2f80208a473c396f24215f1c8b18716dc4fd64427472f8 WHIRLPOOL 5099446a448ad86d10d456f23e08b0a09e8c76670641565f718b8f18cf0cf8eb1b916f71e52dbc58f36b4d4522c891009e37e0eef080817db5761c6d0ecf2816
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBAgAGBQJP/H2NAAoJEEdUh39IaPFNq8oH/0cocyzEkQjd4lJLKJ17/uws
+cPlqPkist3jruu6gKjx1z7wCNLMQEjbYbkQ0eh/LybWh8QSnI5A3WRtuhXK4aAUk
+sq5bmHDu9m+lzEOwLKlQZOEyFspvLpkKADvSzMdf15i3GxHIBhw8rVT584ODYtke
+aTG++4tFRLaynzAXvmx9HHi8N6SLg3CdP4rNJE2WlpZuJWAuQDHFcy2y8Rj3Og4D
+vCl9RwS3mBYL+ltNfvS3VVsvRkuRyMXQ99jRgUmqJCUv62jhiSflSCeGfYW1Jy3m
+r9dhDwKFzvTgD+3SfMiqo1Y3cPGrqb0Q/qaZVX597BUYlxvi+8XcQ+50xua0YUI=
+=MSbD
+-----END PGP SIGNATURE-----
diff --git a/net-p2p/transmission/transmission-2.60.ebuild b/net-p2p/transmission/transmission-2.60.ebuild
new file mode 100644
index 000000000000..2089b40ff758
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.60.ebuild
@@ -0,0 +1,198 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.60.ebuild,v 1.1 2012/07/10 19:13:55 ssuominen Exp $
+
+EAPI=4
+LANGS="en es eu kk lt pt_BR ru"
+
+inherit autotools eutils fdo-mime gnome2-utils qt4-r2 user
+
+if [[ ${PV} == *9999* ]]; then
+ ESVN_REPO_URI="svn://svn.transmissionbt.com/Transmission/trunk"
+ inherit subversion
+else
+ SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+fi
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/"
+
+LICENSE="GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk lightweight qt4 xfs"
+
+RDEPEND="
+ >=dev-libs/libevent-2.0.10
+ dev-libs/openssl:0
+ net-libs/libnatpmp
+ >=net-libs/miniupnpc-1.6.20120509
+ >=net-misc/curl-7.16.3[ssl]
+ sys-libs/zlib
+ gtk? (
+ >=dev-libs/dbus-glib-0.98
+ >=dev-libs/glib-2.28
+ >=x11-libs/gtk+-3.2:3
+ ayatana? ( >=dev-libs/libappindicator-0.4.90:3 )
+ )
+ qt4? (
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4[dbus]
+ )"
+
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext
+ virtual/os-headers
+ xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk )"
+
+DOCS="AUTHORS NEWS qt/README.txt"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ subversion_src_unpack
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} == *9999* ]]; then
+ subversion_src_prepare
+ ./update-version-h.sh
+ fi
+
+ sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac
+ use ayatana || sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac
+
+ # http://trac.transmissionbt.com/ticket/4324
+ sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die
+
+ # http://bugs.gentoo.org/400929 ->
+ # http://trac.transmissionbt.com/ticket/4915 ->
+ # http://github.com/bittorrent/libutp/issues/35
+ if ! grep -qs include.*netinet.*in.h third-party/libutp/utp.h; then
+ epatch "${FILESDIR}"/${PN}-2.51-fbsd.patch
+ fi
+
+ eautoreconf
+
+ if use qt4; then
+ cat <<-EOF > "${T}"/${PN}-magnet.protocol
+ [Protocol]
+ exec=${PN}-qt '%u'
+ protocol=magnet
+ Icon=${PN}
+ input=none
+ output=none
+ helper=true
+ listing=
+ reading=false
+ writing=false
+ makedir=false
+ deleting=false
+ EOF
+ fi
+}
+
+src_configure() {
+ export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+ econf \
+ --enable-external-natpmp \
+ $(use_enable lightweight) \
+ $(use_with gtk)
+
+ if use qt4; then
+ pushd qt >/dev/null
+ eqmake4 qtr.pro
+ popd >/dev/null
+ fi
+}
+
+src_compile() {
+ emake
+
+ if use qt4; then
+ pushd qt >/dev/null
+ emake
+
+ local l
+ for l in ${LANGS}; do
+ if use linguas_${l}; then
+ lrelease translations/${PN}_${l}.ts
+ fi
+ done
+ popd >/dev/null
+ fi
+}
+
+src_install() {
+ default
+
+ rm -f "${ED}"/usr/share/${PN}/web/LICENSE
+
+ newinitd "${FILESDIR}"/${PN}-daemon.initd.8 ${PN}-daemon
+ newconfd "${FILESDIR}"/${PN}-daemon.confd.3 ${PN}-daemon
+
+ keepdir /var/{${PN}/{config,downloads},log/${PN}}
+ fowners -R ${PN}:${PN} /var/{${PN}/{,config,downloads},log/${PN}}
+
+ if use qt4; then
+ pushd qt >/dev/null
+ emake INSTALL_ROOT="${D}"/usr install
+
+ domenu ${PN}-qt.desktop
+
+ local res
+ for res in 16 22 24 32 48; do
+ insinto /usr/share/icons/hicolor/${res}x${res}/apps
+ newins icons/hicolor_apps_${res}x${res}_${PN}.png ${PN}-qt.png
+ done
+
+ insinto /usr/share/kde4/services
+ doins "${T}"/${PN}-magnet.protocol
+
+ insinto /usr/share/qt4/translations
+ local l
+ for l in ${LANGS}; do
+ if use linguas_${l}; then
+ doins translations/${PN}_${l}.qm
+ fi
+ done
+ popd >/dev/null
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ elog "If you use ${PN}-daemon, please, set 'rpc-username' and"
+ elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on"
+ elog "start) in settings.json file located at /var/${PN}/config or"
+ elog "any other appropriate config directory."
+ elog
+ elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for"
+ elog "the UDP socket. You can append following lines into /etc/sysctl.conf:"
+ elog " net.core.rmem_max = 4194304"
+ elog " net.core.wmem_max = 1048576"
+ elog "and run sysctl -p"
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}