summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-28 17:39:08 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-28 17:39:08 +0000
commitb105f79284959a9c544da79b25295b9b52013127 (patch)
tree9b2405774e344faff5e25e5594dde73e94ba7a51 /kde-misc/tork
parentx11-wm/dwm: Fix HOMEPAGE for bug #164253 (diff)
downloadgentoo-2-b105f79284959a9c544da79b25295b9b52013127.tar.gz
gentoo-2-b105f79284959a9c544da79b25295b9b52013127.tar.bz2
gentoo-2-b105f79284959a9c544da79b25295b9b52013127.zip
Add a warning when tordns useflag is disabled on tsocks.
(Portage version: 2.1.2-r4)
Diffstat (limited to 'kde-misc/tork')
-rw-r--r--kde-misc/tork/ChangeLog6
-rw-r--r--kde-misc/tork/tork-0.12.ebuild13
-rw-r--r--kde-misc/tork/tork-0.13.ebuild11
3 files changed, 26 insertions, 4 deletions
diff --git a/kde-misc/tork/ChangeLog b/kde-misc/tork/ChangeLog
index b6a14addfb01..a669370c2590 100644
--- a/kde-misc/tork/ChangeLog
+++ b/kde-misc/tork/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-misc/tork
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/ChangeLog,v 1.14 2007/01/28 12:58:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/ChangeLog,v 1.15 2007/01/28 17:39:08 flameeyes Exp $
+
+ 28 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> tork-0.12.ebuild,
+ tork-0.13.ebuild:
+ Add a warning when tordns useflag is disabled on tsocks.
*tork-0.13 (28 Jan 2007)
diff --git a/kde-misc/tork/tork-0.12.ebuild b/kde-misc/tork/tork-0.12.ebuild
index ca5cd98cd48b..77989be32f88 100644
--- a/kde-misc/tork/tork-0.12.ebuild
+++ b/kde-misc/tork/tork-0.12.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/tork-0.12.ebuild,v 1.1 2006/11/26 15:44:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/tork-0.12.ebuild,v 1.2 2007/01/28 17:39:08 flameeyes Exp $
inherit kde
@@ -32,3 +32,12 @@ src_install() {
kde_src_install
rm -rf "${D}/usr/share/applnk"
}
+
+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
+}
diff --git a/kde-misc/tork/tork-0.13.ebuild b/kde-misc/tork/tork-0.13.ebuild
index 93d20b0078a9..f7e26136b343 100644
--- a/kde-misc/tork/tork-0.13.ebuild
+++ b/kde-misc/tork/tork-0.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/tork-0.13.ebuild,v 1.1 2007/01/28 12:58:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/tork/tork-0.13.ebuild,v 1.2 2007/01/28 17:39:08 flameeyes Exp $
inherit kde
@@ -32,3 +32,12 @@ src_install() {
kde_src_install
rm -rf "${D}/usr/share/applnk"
}
+
+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
+}