| 1 |
# Copyright 1999-2013 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/vidalia/vidalia-0.2.20.ebuild,v 1.1 2012/07/16 17:16:53 blueness Exp $ |
| 4 |
|
| 5 |
EAPI="4" |
| 6 |
|
| 7 |
inherit eutils qt4-r2 cmake-utils |
| 8 |
# cmake-utils needs to be last, so we get its src_compile() |
| 9 |
|
| 10 |
DESCRIPTION="Qt 4 front-end for Tor" |
| 11 |
HOMEPAGE="https://www.torproject.org/projects/vidalia.html.en" |
| 12 |
SRC_URI="https://www.torproject.org/dist/${PN}/${P}.tar.gz" |
| 13 |
|
| 14 |
LICENSE="|| ( GPL-3 GPL-2 ) openssl" |
| 15 |
SLOT="0" |
| 16 |
KEYWORDS="~amd64 ~ppc ~x86" |
| 17 |
IUSE="debug +tor" |
| 18 |
|
| 19 |
DEPEND="dev-qt/qtgui:4[debug?]" |
| 20 |
RDEPEND="${DEPEND} |
| 21 |
tor? ( net-misc/tor )" |
| 22 |
|
| 23 |
DOCS="CHANGELOG CREDITS README" |
| 24 |
|
| 25 |
pkg_postinst() { |
| 26 |
ewarn |
| 27 |
if use tor; then |
| 28 |
ewarn "To have vidalia starting tor, you probably have to copy" |
| 29 |
ewarn "/etc/tor/torrc.sample to the users ~/.tor/torrc and comment" |
| 30 |
ewarn "the settings there and change the socks. Also, in vidalia" |
| 31 |
ewarn "change the default user under which tor will run." |
| 32 |
else |
| 33 |
ewarn "You have disabled tor USE flag, which means you need to " |
| 34 |
ewarn "configure tor on a different host." |
| 35 |
fi |
| 36 |
ewarn |
| 37 |
} |