summaryrefslogtreecommitdiff
path: root/net/tor/Makefile
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
commit00ba74d734e683844e0aea95fa2caf6d6aa19b12 (patch)
tree836484b7baf702252779e575eaa146d3b9570e3d /net/tor/Makefile
parent3e75da45668a22e8581a4a66b6498ea0c5551565 (diff)
downloadpkgsrc-00ba74d734e683844e0aea95fa2caf6d6aa19b12.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/tor/Makefile')
-rw-r--r--net/tor/Makefile41
1 files changed, 41 insertions, 0 deletions
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"