Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-misc/tork: tork-0.31.ebuild ChangeLog
Date: Fri, 24 Apr 2009 22:03:07
Message-Id: E1LxTU8-0000hL-Ty@stork.gentoo.org
1 patrick 09/04/24 22:03:04
2
3 Modified: ChangeLog
4 Added: tork-0.31.ebuild
5 Log:
6 Bump to 0.31. Fixes #224037. Modified ebuild by Kristoffer.
7 (Portage version: 2.2_rc31/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.32 kde-misc/tork/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/tork/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/tork/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/tork/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-misc/tork/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 7 Dec 2008 00:31:06 -0000 1.31
23 +++ ChangeLog 24 Apr 2009 22:03:04 -0000 1.32
24 @@ -1,6 +1,11 @@
25 # ChangeLog for kde-misc/tork
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/ChangeLog,v 1.31 2008/12/07 00:31:06 patrick Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/ChangeLog,v 1.32 2009/04/24 22:03:04 patrick Exp $
30 +
31 +*tork-0.31 (24 Apr 2009)
32 +
33 + 24 Apr 2009; Patrick Lauer <patrick@g.o> +tork-0.31.ebuild:
34 + Bump to 0.31. Fixes #224037. Modified ebuild by Kristoffer.
35
36 07 Dec 2008; Patrick Lauer <patrick@g.o> tork-0.27.ebuild:
37 Fixing typo in Description
38
39
40
41 1.1 kde-misc/tork/tork-0.31.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/tork/tork-0.31.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/tork/tork-0.31.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tork-0.31.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/tork-0.31.ebuild,v 1.1 2009/04/24 22:03:04 patrick Exp $
51
52 EAPI="0"
53
54 ARTS_REQUIRED="never"
55
56 inherit kde multilib
57
58 DESCRIPTION="TorK is a powerful anonymity manager for the KDE and acts as a frontedn to Tor."
59 HOMEPAGE="http://tork.sourceforge.net/"
60 SRC_URI="http://www.anonymityanywhere.com/pre-release/${P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
65 IUSE="arts gnutls"
66
67 DEPEND="dev-libs/openssl
68 >=dev-libs/geoip-1.4.0
69 gnutls? ( >=net-libs/gnutls-2.2.2 )
70 !gnutls? ( >=dev-libs/openssl-0.9.8g )
71 || ( =kde-base/libkonq-3.5* =kde-base/kdebase-3.5* )"
72
73 RDEPEND="${DEPEND}
74 >=net-misc/tor-0.1.2.14
75 >=net-proxy/tsocks-1.8_beta5-r2"
76
77 need-kde 3.5
78
79 PATCHES=( "${FILESDIR}/${PN}-0.27+gcc-4.3.patch" )
80
81 src_compile() {
82 # Fix desktop file
83 sed -i -e "s:^\(Categories=.*\):\1;:" "${S}/src/tork.desktop"
84
85 local myconf="--with-external-geoip --with-conf=/etc/socks/tsocks.conf"
86 use gnutls && myconf="${myconf} --enable-gnutls"
87
88 if ! use arts ; then
89 myconf="${myconf} --without-arts"
90 fi
91
92 rm "${S}"/configure
93 kde_src_compile
94 }
95
96 pkg_postinst() {
97 if ! built_with_use --missing false net-proxy/tsocks tordns; then
98 ewarn "WARNING: you have net-proxy/tsocks installed without"
99 ewarn "the patch to avoid DNS leaking while using Tor."
100 ewarn "For better privacy, please emerge again net-proxy/tsocks"
101 ewarn "with the USE flag 'tordns' enabled."
102 fi
103 }