summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-08-13 19:33:41 +0000
committerjschauma <jschauma@pkgsrc.org>2004-08-13 19:33:41 +0000
commita03a894f7a69af5541f8eb409b3fde8be3cdb157 (patch)
tree836484b7baf702252779e575eaa146d3b9570e3d /net
parent0bb0b799d1ce78ba3f53b46c71b22678cbb0041f (diff)
downloadpkgsrc-a03a894f7a69af5541f8eb409b3fde8be3cdb157.tar.gz
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 (limited to 'net')
-rw-r--r--net/tor/DESCR11
-rw-r--r--net/tor/Makefile41
-rw-r--r--net/tor/PLIST9
-rw-r--r--net/tor/distinfo4
4 files changed, 65 insertions, 0 deletions
diff --git a/net/tor/DESCR b/net/tor/DESCR
new file mode 100644
index 00000000000..9aa64b82141
--- /dev/null
+++ b/net/tor/DESCR
@@ -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 --git a/net/tor/Makefile b/net/tor/Makefile
new file mode 100644
index 00000000000..cd99ca97eba
--- /dev/null
+++ b/net/tor/Makefile
@@ -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
+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 --git a/net/tor/PLIST b/net/tor/PLIST
new file mode 100644
index 00000000000..c53102e9c5c
--- /dev/null
+++ b/net/tor/PLIST
@@ -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 --git a/net/tor/distinfo b/net/tor/distinfo
new file mode 100644
index 00000000000..d8c2ffb51f3
--- /dev/null
+++ b/net/tor/distinfo
@@ -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