pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tor Import tor into pkgsrc:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f7eaa52fc78
branches:  trunk
changeset: 479405:2f7eaa52fc78
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Fri Aug 13 19:33:41 2004 +0000

description:
Import tor into pkgsrc:

The simple version: Tor provides a distributed network of servers ("onion
routers"). Users bounce their TCP streams (web traffic, FTP, SSH, etc.) around
the routers. This makes it hard for recipients, observers, and even the onion
routers themselves to track the source of the stream.

The complex version:  Onion Routing is a connection-oriented anonymizing
communication service. Users choose a source-routed path through a set of
nodes, and negotiate a "virtual circuit" through the network, in which each
node knows its predecessor and successor, but no others. Traffic flowing down
the circuit is unwrapped by a symmetric key at each node, which reveals the
downstream node.

diffstat:

 net/tor/DESCR    |  11 +++++++++++
 net/tor/Makefile |  41 +++++++++++++++++++++++++++++++++++++++++
 net/tor/PLIST    |   9 +++++++++
 net/tor/distinfo |   4 ++++
 4 files changed, 65 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r 0a34fdadb02c -r 2f7eaa52fc78 net/tor/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tor/DESCR     Fri Aug 13 19:33:41 2004 +0000
@@ -0,0 +1,11 @@
+The simple version: Tor provides a distributed network of servers ("onion
+routers"). Users bounce their TCP streams (web traffic, FTP, SSH, etc.) around
+the routers. This makes it hard for recipients, observers, and even the onion
+routers themselves to track the source of the stream.
+
+The complex version:  Onion Routing is a connection-oriented anonymizing
+communication service. Users choose a source-routed path through a set of
+nodes, and negotiate a "virtual circuit" through the network, in which each
+node knows its predecessor and successor, but no others. Traffic flowing down
+the circuit is unwrapped by a symmetric key at each node, which reveals the
+downstream node.
diff -r 0a34fdadb02c -r 2f7eaa52fc78 net/tor/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tor/Makefile  Fri Aug 13 19:33:41 2004 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/13 19:33:41 jschauma Exp $
+#
+
+DISTNAME=              tor-0.0.7
+CATEGORIES=            net security
+MASTER_SITES=          http://freehaven.net/tor/dist/
+
+MAINTAINER=            jschauma%NetBSD.org@localhost
+HOMEPAGE=              http://freehaven.net/tor/dist/
+COMMENT=               Anonymizing overlay network for TCP
+
+USE_BUILDLINK3=                yes
+USE_PKGLOCALEDIR=      yes
+GNU_CONFIGURE=         yes
+USE_PKGINSTALL=                yes
+
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+
+CONF_FILES=            ${PREFIX}/share/examples/tor/dirservers         \
+                               ${PKG_SYSCONFDIR}/tor/dirservers
+CONF_FILES+=           ${PREFIX}/share/examples/tor/tor-tsocks.conf    \
+                               ${PKG_SYSCONFDIR}/tor/tor-tsocks.conf
+CONF_FILES+=           ${PREFIX}/share/examples/tor/torrc.sample       \
+                               ${PKG_SYSCONFDIR}/tor/torrc
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/or/tor ${PREFIX}/bin/tor
+       ${INSTALL_SCRIPT} ${WRKSRC}/contrib/torify ${PREFIX}/bin/torify
+       ${INSTALL_DATA_DIR} ${PKG_SYSCONFDIR}/tor
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tor
+       ${INSTALL_DATA} ${WRKSRC}/src/config/dirservers                 \
+               ${PREFIX}/share/examples/tor/dirservers
+       ${INSTALL_DATA} ${WRKSRC}/src/config/torrc.sample               \
+               ${PREFIX}/share/examples/tor/torrc.sample
+       ${INSTALL_DATA} ${WRKSRC}/contrib/tor-tsocks.conf               \
+               ${PREFIX}/share/examples/tor/tor-tsocks.conf
+       ${INSTALL_MAN} ${WRKSRC}/doc/tor.1 ${PREFIX}/man/man1/tor.1
+       ${INSTALL_MAN} ${WRKSRC}/contrib/torify.1 ${PREFIX}/man/man1/torify.1
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0a34fdadb02c -r 2f7eaa52fc78 net/tor/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tor/PLIST     Fri Aug 13 19:33:41 2004 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/13 19:33:41 jschauma Exp $
+bin/tor
+bin/torify
+man/man1/tor.1
+man/man1/torify.1
+share/examples/tor/dirservers
+share/examples/tor/tor-tsocks.conf
+share/examples/tor/torrc.sample
+@dirrm share/examples/tor
diff -r 0a34fdadb02c -r 2f7eaa52fc78 net/tor/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tor/distinfo  Fri Aug 13 19:33:41 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/13 19:33:41 jschauma Exp $
+
+SHA1 (tor-0.0.7.tar.gz) = a41ad5af761b5934ad9b51d320032151805d6ee3
+Size (tor-0.0.7.tar.gz) = 378970 bytes



Home | Main Index | Thread Index | Old Index