summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-02-20 22:10:28 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-02-20 22:10:28 +0300
commitc789c8034360bd88e3fe0ef4a9765ca9515c0977 (patch)
treef0724dcc7e4eabb7c39ade13c22ea4bf2770e5f9
parent9bd1113bc9afea8874df7d4336e952421a26a6b6 (diff)
onioncircuits-scm from youbroketheinternet repo
-rw-r--r--net-misc/onioncircuits/files/README.controlport15
-rw-r--r--net-misc/onioncircuits/metadata.xml8
-rw-r--r--net-misc/onioncircuits/onioncircuits-scm.ebuild43
3 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/onioncircuits/files/README.controlport b/net-misc/onioncircuits/files/README.controlport
new file mode 100644
index 0000000..8180eb2
--- /dev/null
+++ b/net-misc/onioncircuits/files/README.controlport
@@ -0,0 +1,15 @@
+From d5ab13100c4ff7815b3c2e6d838d79cc5c4c0918 Mon Sep 17 00:00:00 2001
+From: anonym <anonym@riseup.net>
+Date: Thu, 12 May 2016 12:31:34 +0200
+Subject: Allow specifying how to control Tor, via env vars.
+
+* TOR_CONTROL_SOCKET is a path to the control socket file.
+
+* TOR_CONTROL_ADDRESS is the IPv4 address and TOR_CONTROL_PORT is the
+ port of the control *port*. If only one of these are specified, a
+ sane default will be picked for the other.
+
+By default sane defaults are set for all three of these, so this is
+only a mechanism to override them for non-standard configurations.
+
+Both the socket file and port will be tried, in that order.
diff --git a/net-misc/onioncircuits/metadata.xml b/net-misc/onioncircuits/metadata.xml
new file mode 100644
index 0000000..5b9afc8
--- /dev/null
+++ b/net-misc/onioncircuits/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>poncho@spahan.ch</email>
+ <name>Poncho</name>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/onioncircuits/onioncircuits-scm.ebuild b/net-misc/onioncircuits/onioncircuits-scm.ebuild
new file mode 100644
index 0000000..98d1704
--- /dev/null
+++ b/net-misc/onioncircuits/onioncircuits-scm.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit gnome2-utils git-r3 distutils-r1
+
+DESCRIPTION="A GTK application to display Tor circuits and streams"
+HOMEPAGE="https://git-tails.immerda.ch/onioncircuits"
+EGIT_REPO_URI="git://git.tails.boum.org/onioncircuits"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pycountry[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ net-libs/stem[${PYTHON_USEDEP}]
+ >=x11-libs/gtk+-3.14.0:3[introspection]"
+
+DOCS=( README README.translators ${FILESDIR}/README.controlport )
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ elog "Onioncircuits needs acces to a ControlSocket or to a ControlPort."
+ elog "See \"${EROOT}usr/share/doc/${P}/README.controlport\" for"
+ elog "more information."
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}