diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-04-24 22:03:04 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-04-24 22:03:04 +0000 |
commit | c8580605bfe655ced7bda15d2f47013542c28ce8 (patch) | |
tree | e2239ca698955d6dff366585d242b63e20574785 /kde-misc | |
parent | Unmasking tcl/tk 8.5 (diff) | |
download | gentoo-2-c8580605bfe655ced7bda15d2f47013542c28ce8.tar.gz gentoo-2-c8580605bfe655ced7bda15d2f47013542c28ce8.tar.bz2 gentoo-2-c8580605bfe655ced7bda15d2f47013542c28ce8.zip |
Bump to 0.31. Fixes #224037. Modified ebuild by Kristoffer.
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc')
-rw-r--r-- | kde-misc/tork/ChangeLog | 9 | ||||
-rw-r--r-- | kde-misc/tork/tork-0.31.ebuild | 56 |
2 files changed, 63 insertions, 2 deletions
diff --git a/kde-misc/tork/ChangeLog b/kde-misc/tork/ChangeLog index b0e7ed783295..23d676c29f82 100644 --- a/kde-misc/tork/ChangeLog +++ b/kde-misc/tork/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-misc/tork -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/ChangeLog,v 1.31 2008/12/07 00:31:06 patrick Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/ChangeLog,v 1.32 2009/04/24 22:03:04 patrick Exp $ + +*tork-0.31 (24 Apr 2009) + + 24 Apr 2009; Patrick Lauer <patrick@gentoo.org> +tork-0.31.ebuild: + Bump to 0.31. Fixes #224037. Modified ebuild by Kristoffer. 07 Dec 2008; Patrick Lauer <patrick@gentoo.org> tork-0.27.ebuild: Fixing typo in Description diff --git a/kde-misc/tork/tork-0.31.ebuild b/kde-misc/tork/tork-0.31.ebuild new file mode 100644 index 000000000000..1729f94b8055 --- /dev/null +++ b/kde-misc/tork/tork-0.31.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/tork-0.31.ebuild,v 1.1 2009/04/24 22:03:04 patrick Exp $ + +EAPI="0" + +ARTS_REQUIRED="never" + +inherit kde multilib + +DESCRIPTION="TorK is a powerful anonymity manager for the KDE and acts as a frontedn to Tor." +HOMEPAGE="http://tork.sourceforge.net/" +SRC_URI="http://www.anonymityanywhere.com/pre-release/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="arts gnutls" + +DEPEND="dev-libs/openssl + >=dev-libs/geoip-1.4.0 + gnutls? ( >=net-libs/gnutls-2.2.2 ) + !gnutls? ( >=dev-libs/openssl-0.9.8g ) + || ( =kde-base/libkonq-3.5* =kde-base/kdebase-3.5* )" + +RDEPEND="${DEPEND} + >=net-misc/tor-0.1.2.14 + >=net-proxy/tsocks-1.8_beta5-r2" + +need-kde 3.5 + +PATCHES=( "${FILESDIR}/${PN}-0.27+gcc-4.3.patch" ) + +src_compile() { + # Fix desktop file + sed -i -e "s:^\(Categories=.*\):\1;:" "${S}/src/tork.desktop" + + local myconf="--with-external-geoip --with-conf=/etc/socks/tsocks.conf" + use gnutls && myconf="${myconf} --enable-gnutls" + + if ! use arts ; then + myconf="${myconf} --without-arts" + fi + + rm "${S}"/configure + kde_src_compile +} + +pkg_postinst() { + if ! built_with_use --missing false net-proxy/tsocks tordns; then + ewarn "WARNING: you have net-proxy/tsocks installed without" + ewarn "the patch to avoid DNS leaking while using Tor." + ewarn "For better privacy, please emerge again net-proxy/tsocks" + ewarn "with the USE flag 'tordns' enabled." + fi +} |