summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/transmission/ChangeLog8
-rw-r--r--net-p2p/transmission/Manifest21
-rw-r--r--net-p2p/transmission/files/transmission-2.77-translations-path-fix.patch15
-rw-r--r--net-p2p/transmission/files/transmission-daemon.confd.314
-rw-r--r--net-p2p/transmission/files/transmission-daemon.initd.873
-rw-r--r--net-p2p/transmission/transmission-2.77-r1.ebuild143
6 files changed, 15 insertions, 259 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog
index 5bfca6fa0fbe..99a44ff44c54 100644
--- a/net-p2p/transmission/ChangeLog
+++ b/net-p2p/transmission/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/transmission
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.248 2013/09/26 05:41:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.249 2013/09/26 05:42:46 ssuominen Exp $
+
+ 26 Sep 2013; Samuli Suominen <ssuominen@gentoo.org>
+ -files/transmission-2.77-translations-path-fix.patch,
+ -files/transmission-daemon.confd.3, -files/transmission-daemon.initd.8,
+ -transmission-2.77-r1.ebuild:
+ old
26 Sep 2013; Samuli Suominen <ssuominen@gentoo.org>
transmission-2.82-r3.ebuild:
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index ef4447f8193e..48153298de81 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,27 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX transmission-2.77-translations-path-fix.patch 731 SHA256 b90c26906c9ef3ddb0c81d02b54afaf515b3dfc236b5856fad9c3ab20383b346 SHA512 e8f1c9eea0ac5491bce901bd629e0b92821933989d009c78afca1a65e97b273f39c05bce4358b377be6cd30b87d6a36d1be9021e7d646719a64e82600887898e WHIRLPOOL cd5d688194babf090be381c0e1a0062d3ff1769324da4b343d7a848dc57ea347241eddbf042a9f4fad44061e7c074a0a8bfda5b492877b154046dc8e410878ec
AUX transmission-2.80-translations-path-fix.patch 718 SHA256 94951127429649d18af5d9f04f9a4c1f2c698266fc6ee17b43d83015e2218548 SHA512 e317b23918fd47d27af3bca4694f8a71d6adb5f65ac5f3b30faa2d636d4420e6a691eca912c7be70103364f7c279f1b4ec851a5d8c5a1ca3dee880b465327fda WHIRLPOOL fbbabafb81d7e72fbf01a1b64d1c4a6e5473c254b14ed94e71e77ea8447982af3200ce76466df99d6cf9648c35f4e58dff83fe2cfd1b67b678c4b69a42982541
AUX transmission-2.82-qt4.patch 1758 SHA256 15dda6a1125130a3aa6cd5b111985564d04c2c95216cc87806542daa00928d8d SHA512 68138593f97b07faae8422bbbab41b47ce4fba2137128ecd74c17754f3d9d9d1bf564de49c23e01450aaa821628704a252d7beb2ae56c6637626e6d3af0a63f9 WHIRLPOOL e7c3cde7cf196f863ecd3782a5ffeb8745326cb79976a3ee4f6690fad751f8241343341cd9f8fc188e87ac4dca38e57b6babb784735a51dc693e68d7b46fef70
-AUX transmission-daemon.confd.3 703 SHA256 4b47acf195a14a322550cfcaa735a59aac38410d1c2c63ffa824ff131c55ca70 SHA512 a3b9ac2b7bbe30e33060c8b6a693dc7072d3c6ac44f92ddd567969d8f57a0bfc1a561e781ae167703ccb4b2fd5b0e6d8f8a66c5ba14fe01d8d89a501d4501474 WHIRLPOOL 41e2937a7bd03b6e667c991d122b8370d650dc8c26ed9e5825fe0e76aa68bb356171411e6057c44c1a51780f2f2d5eb23b8f3e1ad22a89836587944a8ef9e7c5
AUX transmission-daemon.confd.4 711 SHA256 249689688aad23d0d27ccdd08a0907fd85058d6a52ccd3467f756b07f5d059ee SHA512 dbc093fe00335bb207c28a4e810becc15e74b6f75e7579d561b160755d6b54bb23a45db39ee3480195a94a5e9bffdad692559d1b9662bba28119d18b713747a1 WHIRLPOOL c19f3a6d46ff5cf824e9f3d9df2ec4364c17d424a406b3922921e3385801b543f736ed7dd8e1b7f24cd81262e2ac162edd92d7b6b832909012ae4cd677d94c1d
-AUX transmission-daemon.initd.8 2247 SHA256 c4383a3380c7dac82941d073a3d52451ed6e1d6bf0969ea0fe3e86aa4b8cbe2e SHA512 bc27b582c02220fe1b771581a4ff7df4d8cbe39b778e1e30f9dd7f3ee6abd5114626cbdb3ede85a41ff80dce06c0f1d99ae45b00fafd16285301e70a25908547 WHIRLPOOL 69007d64bdc660e8cded35c229e1e20dd8cc68ae9d3d2b9a3980282e4ea180b16a223aafd75c0a177046dcbb5a25e9dd67cf69f604091b11f74e265b9e40df6d
AUX transmission-daemon.initd.9 2256 SHA256 06d047b47befe6aaf1b1542fdd50e84ea38e0fef004b5095f6096f33fa1901a3 SHA512 37205d2375b9baa631bb5b4cdc4d95b3bd63780aae118bce89286b1ea2f00859e276316519b7f0279ae8ce23423da79a60ae339d63ca0e131130912341d1a133 WHIRLPOOL a067c9c48014b330624ff2db153991a866b381ebbe213194a7af1150cb4766a62a67323ce3346622912e2acba135a28a05f83db8824e568968a0e6f898da586b
-DIST transmission-2.77.tar.xz 2953840 SHA256 55b1653fc18a10153ba9439f284bd7b2276a6859416dcae217d9e8c689841fde SHA512 2c7457ab2bd25300ef5cb2ba9218df70b33451c5ac46e0f12738fe562cd4885d62bce5361f8d0fb10e823674c833ee4d0cb785724519d6352f2701879154dfff WHIRLPOOL c003d31d3c54ddd522717bc976c9d97224cc16c754e4d3067c609be32b5711678e7f0711418b06a601e0aa8f60469afc4ed915484fe80ceae6e6e386b92a0895
DIST transmission-2.82.tar.xz 3172024 SHA256 3996651087df67a85f1e1b4a92b1b518ddefdd84c654b8df6fbccb0b91f03522 SHA512 05fbeda97e873b63f9d1fb15699f027112611346540da699e433e08763209b19278f5d5a513a0d4a24a9c4d0ff50115bb6a49b06d01fec8221ed91d60716d791 WHIRLPOOL bb50c1286d15ea0aa8b4bf00d4e4022bc0636c4c01091ed458bf3fd5ee7d80ed8cccec390dbf4686bbe6727c10e686233b081e17725da8001925ae4d95e91dca
-EBUILD transmission-2.77-r1.ebuild 3333 SHA256 44fbeb1e2d1a26cb18569f0252dd367c4feb8fe5e056081ce8ffd6666e05dbfc SHA512 bc23405a1afea3b592a429ad80b4baa9095ae8271d0f015d90055a412c37b5e72570c602089905bcab056a428574e597f2817275501f3ca2bba80073586cd3b8 WHIRLPOOL e930f3c1a8df7de482ef8a4b51fa5fc29a726a426ff614f0578ef871c7dcbfa5dceca3fa1b8a15bc55ba79f4c26d3cb3c859aaa2d46b8d19e875636bcd812749
EBUILD transmission-2.82-r3.ebuild 3833 SHA256 6190b8db2e755aa0a18d19f5bbbb9eb262f810fdfde15d52dbc90f1efac05a35 SHA512 ca4ba2382b0d4f8a54425f5e0385cced3e0414f9a7179bba29e4e554269463c63ec82a2e74fd04b13f0b3b2b55e1e701bf15234947a91f8cde04c237482ae796 WHIRLPOOL 1037939c511ef8ff9c9ed4de7b29cd09e4e1d2281773fb08478e11b623cb0c5d0bbe0d187676557fed561889bc9cb885b3025792a4efd6b1fee1c34eb33e809a
-MISC ChangeLog 42543 SHA256 30117f56208e9985f94f52b098fba7d27f8e3f6eacb5997748ae51c0c48334cd SHA512 3c8ada48c4cea23a25dc5f0ab4077e7376fe874baee5b37541a2ec051ecf5a9bc0d0f32bfa7f8515e353bdd425f1e6898636ae94a1a5b3359ac4eb293a3e73d7 WHIRLPOOL 44f9a216760ff911bfa8e69fb2d27fe0183b4233529cf331716dc7b61e0a7f3b2bf8c9cac2fddb1163e39142e0fc888ebe5aabf4e19103c593a75e67ff47f99c
+MISC ChangeLog 42766 SHA256 c294740b6244a5b4f60398738724ff64ec2ae4f2ea6a44b7b12a094f769ace08 SHA512 b8e3be0acc238d2a98f0f5e7488e2214be1cb78ef3e34ba46bfa1ac7a8c0e58c104770b463c626c4eb76c9d03323ecb5d9d52b8852630881b6c0733b91982ff5 WHIRLPOOL c74253988024ef1ec9d43a1c096347a726e08a8035c9755a6e8c4b14b09c0fabe9dcc70c6cbc7ad4588315fe9dd4784337f7b594d918d555be405d48a3fab80b
MISC metadata.xml 566 SHA256 ee4ef67c4bf912c1b5e529965fc45eca1f41dbebf76bcf785c8fc7b38a602633 SHA512 60ee8ea3d363fa60f5a1f94ec9d8fe7653465cb2fc3de8c92d6945f5cb01468f7af580149ceefeb8fdd866af7b5ae2143b584853bf3aa5fcc69408a21e4566eb WHIRLPOOL b3b4ed16faa68d7abb0519e025607c55c68a1ba0462992ac1e8b3e7f775dca278039391041097abcb1063b6cc5fa3f8741ecd76587fb3533c437d780ce4b0423
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
-iQEcBAEBCAAGBQJSQ8jOAAoJEEdUh39IaPFNYaIH+wX862k9ooTOmOKDAs4CJQlq
-/gsWBifJf/UgmYHF08ummQf4TQp4v4EKsBHAVbb17o0FxLXZmAvteQKexvhdS822
-AKOrdcd54t3N+lbnj7DimL2okQVhMnmxQ1rDI8713Ly/c9G/xwQUNqzHjFPcYox4
-zl6VEtLnljkJ69ysuMjlUf/WT1VcE4yj/fhQdLl6qdYgmDmny5u8f7zyGA5QdjU+
-dmNCEn3X+HdbVaS/8ep8ZBZF/f11gdBY1iIervptgFWt5KIwTvMllfnHnlypXzyz
-Wzt34VxCMrPNJFuKh5IJ02IGsW+UX7BPTvchcOPtxEYAEtL/Gcn0yTSgrxftPdM=
-=LUcG
+iQEcBAEBCAAGBQJSQ8kIAAoJEEdUh39IaPFNvNYH/jKRZa9oz6Ja33pBb9JEzIDq
+WETOvMqaiFv8+vue6OHwGFi6EfAprxgEIHFAaJtbnRj4YfPFdi5Af2b0VRX4vvL7
+Q5tleIP1lDJfGFnl7aul/tHdFADfgLEVV88HkoEXvDQVHlD6aChSHK9vvE9Dhp60
+5yJwPL7cnXDzXt78rhednFBbdwxWaM81oAZTuATj+YkMD+WCKxKM41BfLSref+y2
+OIIkMT1wgYCD8u7YjB4MHObKTW/BIsBmgJ3v80uHG9JYWXpeSFbKj5oo6c3SjiyA
+wkp1Um/vSu7CwKj2uhdpEy+3R1FlL5JNWvInfZDsTkvxzLhKDVW2M31kRA/DtEQ=
+=mREB
-----END PGP SIGNATURE-----
diff --git a/net-p2p/transmission/files/transmission-2.77-translations-path-fix.patch b/net-p2p/transmission/files/transmission-2.77-translations-path-fix.patch
deleted file mode 100644
index 70c848f55b3c..000000000000
--- a/net-p2p/transmission/files/transmission-2.77-translations-path-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Fix path for finding locale-specific files:
-QCoreApplication::applicationDirPath() transforms to '/usr/bin'
-and locale files are in '/usr/share/qt4/translations'
-
---- qt/app.cc.orig 2013-02-27 05:23:30.512860807 +0400
-+++ qt/app.cc 2013-02-27 05:23:56.424861629 +0400
-@@ -97,7 +97,7 @@
- installTranslator( &qtTranslator );
-
- // install the transmission translator
-- appTranslator.load( QString(MY_CONFIG_NAME) + "_" + QLocale::system().name(), QCoreApplication::applicationDirPath() + "/translations" );
-+ appTranslator.load( QString(MY_CONFIG_NAME) + "_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath) );
- installTranslator( &appTranslator );
-
- Formatter::initUnits( );
diff --git a/net-p2p/transmission/files/transmission-daemon.confd.3 b/net-p2p/transmission/files/transmission-daemon.confd.3
deleted file mode 100644
index fcf37c7912dc..000000000000
--- a/net-p2p/transmission/files/transmission-daemon.confd.3
+++ /dev/null
@@ -1,14 +0,0 @@
-# This is the transmission-daemon configuration file. For other options and
-# better explanation, take a look at transmission-daemon manual page Note: it's
-# better to configure some settings (like username/password) in
-# /var/transmission/config/settings.json to avoid other users see it with `ps`
-
-TRANSMISSION_OPTIONS="--encryption-preferred"
-
-# Run daemon as another user (username or username:groupname)
-# If you change this setting, chown -R /var/transmission/config <and download directory, check web settings>
-#runas_user=transmission
-
-# Location of logfile (should be writeable for runas_user user)
-# Set logfile=syslog to use syslog for logging
-#logfile=/var/log/transmission/transmission.log
diff --git a/net-p2p/transmission/files/transmission-daemon.initd.8 b/net-p2p/transmission/files/transmission-daemon.initd.8
deleted file mode 100644
index 5f1c8df9507e..000000000000
--- a/net-p2p/transmission/files/transmission-daemon.initd.8
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/files/transmission-daemon.initd.8,v 1.2 2011/12/04 10:35:07 swegener Exp $
-
-extra_started_commands="reload"
-description="Transmission is a fast, easy and free bittorrent client"
-description_start="Start transmission-daemon server and web interface"
-description_stop="Stop transmission-daemon server and web interface"
-description_reload="Reload transmission-daemon settings"
-
-rundir=${rundir:-/var/run/transmission}
-pidfile=${pidfile:-${rundir}/transmission.pid}
-config_dir=${config_dir:-/var/transmission/config}
-download_dir=${download_dir:-/var/transmission/downloads}
-logfile=${logfile:-/var/log/transmission/transmission.log}
-runas_user=${runas_user:-transmission:transmission}
-
-SSD_OPTIONS=""
-
-depend() {
- need net
-}
-
-check_config() {
- if [ ! -d "${rundir}" ]; then
- mkdir "${rundir}"
- if [ -n "${runas_user}" ]; then
- chown -R ${runas_user} "${rundir}"
- fi
- fi
-
- # In case no config directory option passed use default
- if ! $(echo ${TRANSMISSION_OPTIONS} | grep -q -e '\B-g' -e '\B--config-dir'); then
- TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --config-dir ${config_dir}"
- # put download dir location on first run (and take it from config later)
- if [ ! -f ${config_dir}/settings.json ]; then
- TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --download-dir ${download_dir}"
- fi
- fi
-
- if [ -n "${runas_user}" ]; then
- if [ -f /etc/init.d/sysfs ]; then
- SSD_OPTIONS="${SSD_OPTIONS} --user ${runas_user}"
- else
- SSD_OPTIONS="${SSD_OPTIONS} --chuid ${runas_user}"
- fi
- fi
-}
-
-start() {
- check_config
-
- ebegin "Starting transmission daemon"
- start-stop-daemon --start --quiet --pidfile ${pidfile} ${SSD_OPTIONS} \
- --exec /usr/bin/transmission-daemon -- --pid-file ${pidfile} \
- $(test ${logfile} != "syslog" && echo --logfile ${logfile}) \
- ${TRANSMISSION_OPTIONS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping transmission daemon"
- start-stop-daemon --stop --quiet --retry TERM/45/QUIT/15 --pidfile ${pidfile}
- eend $?
-}
-
-reload() {
- ebegin "Reloading transmission configuration"
- start-stop-daemon --signal HUP --pidfile ${pidfile}
- eend $?
-}
-
diff --git a/net-p2p/transmission/transmission-2.77-r1.ebuild b/net-p2p/transmission/transmission-2.77-r1.ebuild
deleted file mode 100644
index 5450f966d761..000000000000
--- a/net-p2p/transmission/transmission-2.77-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.77-r1.ebuild,v 1.2 2013/08/05 15:23:01 ssuominen Exp $
-
-EAPI=5
-inherit autotools eutils fdo-mime gnome2-utils qt4-r2 user
-
-DESCRIPTION="A Fast, Easy and Free BitTorrent client"
-HOMEPAGE="http://www.transmissionbt.com/"
-SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz"
-
-LICENSE="GPL-2 MIT"
-SLOT=0
-IUSE="ayatana gtk lightweight qt4 xfs"
-KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux"
-
-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.100:=
- >=dev-libs/glib-2.28:2=
- >=x11-libs/gtk+-3.4:3=
- ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
- )
- qt4? (
- dev-qt/qtcore:4=
- dev-qt/qtgui:4=
- dev-qt/qtdbus:4=
- )"
-
-DEPEND="${RDEPEND}
- dev-libs/glib:2
- dev-util/intltool
- sys-devel/gettext
- virtual/os-headers
- virtual/pkgconfig
- 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_prepare() {
- 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
-
- # fix for broken translations path
- epatch "${FILESDIR}/${P}-translations-path-fix.patch"
-
- eautoreconf
-}
-
-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
- lrelease translations/*.ts
- 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="${ED}"/usr install
-
- domenu ${PN}-qt.desktop
-
- local res
- for res in 16 22 24 32 48; do
- newicon -s ${res} icons/hicolor_apps_${res}x${res}_${PN}.png ${PN}-qt.png
- done
-
- insinto /usr/share/qt4/translations
- doins translations/*.qm
- 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
-}