1 |
ssuominen 14/07/10 05:03:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: transmission-2.84.ebuild |
5 |
Log: |
6 |
Version bump wrt security #516822 |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.255 net-p2p/transmission/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/ChangeLog?rev=1.255&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/ChangeLog?rev=1.255&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/ChangeLog?r1=1.254&r2=1.255 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v |
20 |
retrieving revision 1.254 |
21 |
retrieving revision 1.255 |
22 |
diff -u -r1.254 -r1.255 |
23 |
--- ChangeLog 6 Jul 2014 09:38:46 -0000 1.254 |
24 |
+++ ChangeLog 10 Jul 2014 05:03:35 -0000 1.255 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-p2p/transmission |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.254 2014/07/06 09:38:46 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.255 2014/07/10 05:03:35 ssuominen Exp $ |
30 |
+ |
31 |
+*transmission-2.84 (10 Jul 2014) |
32 |
+ |
33 |
+ 10 Jul 2014; Samuli Suominen <ssuominen@g.o> +transmission-2.84.ebuild: |
34 |
+ Version bump wrt security #516822 |
35 |
|
36 |
06 Jul 2014; Samuli Suominen <ssuominen@g.o> transmission-2.83.ebuild: |
37 |
Include epatch_user wrt #516486 by Hristo Venev |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-p2p/transmission/transmission-2.84.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/transmission-2.84.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/transmission-2.84.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: transmission-2.84.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.84.ebuild,v 1.1 2014/07/10 05:03:35 ssuominen Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit autotools eutils fdo-mime gnome2-utils qt4-r2 systemd user |
54 |
|
55 |
DESCRIPTION="A Fast, Easy and Free BitTorrent client" |
56 |
HOMEPAGE="http://www.transmissionbt.com/" |
57 |
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz" |
58 |
|
59 |
# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest |
60 |
# transmission in licenses/ is for mentioning OpenSSL linking exception |
61 |
# MIT is in several libtransmission/ headers |
62 |
LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" |
63 |
SLOT=0 |
64 |
IUSE="ayatana gtk lightweight systemd qt4 xfs" |
65 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" |
66 |
|
67 |
RDEPEND=">=dev-libs/libevent-2.0.10:= |
68 |
dev-libs/openssl:0= |
69 |
net-libs/libnatpmp:= |
70 |
>=net-libs/miniupnpc-1.7:= |
71 |
>=net-misc/curl-7.16.3:=[ssl] |
72 |
sys-libs/zlib:= |
73 |
gtk? ( |
74 |
>=dev-libs/dbus-glib-0.100:= |
75 |
>=dev-libs/glib-2.32:2= |
76 |
>=x11-libs/gtk+-3.4:3= |
77 |
ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) |
78 |
) |
79 |
systemd? ( sys-apps/systemd:= ) |
80 |
qt4? ( |
81 |
dev-qt/qtcore:4= |
82 |
dev-qt/qtgui:4= |
83 |
dev-qt/qtdbus:4= |
84 |
)" |
85 |
DEPEND="${RDEPEND} |
86 |
>=dev-libs/glib-2.32 |
87 |
dev-util/intltool |
88 |
sys-devel/gettext |
89 |
virtual/os-headers |
90 |
virtual/pkgconfig |
91 |
xfs? ( sys-fs/xfsprogs )" |
92 |
|
93 |
REQUIRED_USE="ayatana? ( gtk )" |
94 |
|
95 |
DOCS="AUTHORS NEWS qt/README.txt" |
96 |
|
97 |
pkg_setup() { |
98 |
enewgroup ${PN} |
99 |
enewuser ${PN} -1 -1 -1 ${PN} |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die |
104 |
# Trick to avoid automagic dependency |
105 |
use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; } |
106 |
# Pass our configuration dir to systemd unit file |
107 |
sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/${PN}-daemon.service || die |
108 |
# http://trac.transmissionbt.com/ticket/4324 |
109 |
sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die |
110 |
# Fix for broken translations path |
111 |
epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch |
112 |
# http://trac.transmissionbt.com/ticket/5700 |
113 |
sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die |
114 |
|
115 |
epatch_user |
116 |
eautoreconf |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
export ac_cv_header_xfs_xfs_h=$(usex xfs) |
121 |
|
122 |
econf \ |
123 |
--enable-external-natpmp \ |
124 |
$(use_enable lightweight) \ |
125 |
$(use_with systemd systemd-daemon) \ |
126 |
$(use_with gtk) |
127 |
|
128 |
if use qt4; then |
129 |
pushd qt >/dev/null |
130 |
eqmake4 qtr.pro |
131 |
popd >/dev/null |
132 |
fi |
133 |
} |
134 |
|
135 |
src_compile() { |
136 |
emake |
137 |
|
138 |
if use qt4; then |
139 |
pushd qt >/dev/null |
140 |
emake |
141 |
lrelease translations/*.ts |
142 |
popd >/dev/null |
143 |
fi |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
default |
148 |
|
149 |
rm -f "${ED}"/usr/share/${PN}/web/LICENSE |
150 |
|
151 |
newinitd "${FILESDIR}"/${PN}-daemon.initd.9 ${PN}-daemon |
152 |
newconfd "${FILESDIR}"/${PN}-daemon.confd.4 ${PN}-daemon |
153 |
systemd_dounit daemon/${PN}-daemon.service |
154 |
|
155 |
keepdir /var/{lib/${PN}/{config,downloads},log/${PN}} |
156 |
fowners -R ${PN}:${PN} /var/{lib/${PN}/{,config,downloads},log/${PN}} |
157 |
|
158 |
if use qt4; then |
159 |
pushd qt >/dev/null |
160 |
emake INSTALL_ROOT="${ED}"/usr install |
161 |
|
162 |
domenu ${PN}-qt.desktop |
163 |
|
164 |
local res |
165 |
for res in 16 22 24 32 48 64 72 96 128 192 256; do |
166 |
doicon -s ${res} icons/hicolor/${res}x${res}/${PN}-qt.png |
167 |
done |
168 |
doicon -s scalable icons/hicolor/scalable/${PN}-qt.svg |
169 |
|
170 |
insinto /usr/share/qt4/translations |
171 |
doins translations/*.qm |
172 |
popd >/dev/null |
173 |
fi |
174 |
} |
175 |
|
176 |
pkg_preinst() { |
177 |
gnome2_icon_savelist |
178 |
} |
179 |
|
180 |
pkg_postinst() { |
181 |
fdo-mime_desktop_database_update |
182 |
gnome2_icon_cache_update |
183 |
|
184 |
elog "If you use ${PN}-daemon, please, set 'rpc-username' and" |
185 |
elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on" |
186 |
elog "start) in settings.json file located at /var/${PN}/config or" |
187 |
elog "any other appropriate config directory." |
188 |
elog |
189 |
elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for" |
190 |
elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" |
191 |
elog " net.core.rmem_max = 4194304" |
192 |
elog " net.core.wmem_max = 1048576" |
193 |
elog "and run sysctl -p" |
194 |
} |
195 |
|
196 |
pkg_postrm() { |
197 |
fdo-mime_desktop_database_update |
198 |
gnome2_icon_cache_update |
199 |
} |