From 00ba74d734e683844e0aea95fa2caf6d6aa19b12 Mon Sep 17 00:00:00 2001 From: jschauma Date: Fri, 13 Aug 2004 19:33:41 +0000 Subject: 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. --- net/tor/DESCR | 11 +++++++++++ net/tor/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ net/tor/PLIST | 9 +++++++++ net/tor/distinfo | 4 ++++ 4 files changed, 65 insertions(+) create mode 100644 net/tor/DESCR create mode 100644 net/tor/Makefile create mode 100644 net/tor/PLIST create mode 100644 net/tor/distinfo (limited to 'net/tor') 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 -- cgit v1.2.3