1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add tor 0.0.6.2, an anonymizing overlay network for TCP.

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.

WWW: http://freehaven.net/tor/

PR:		ports/67305
Submitted by:	freebsd-ports@rikrose.net
This commit is contained in:
Kirill Ponomarev 2004-05-29 07:30:00 +00:00
parent 9c1df109f2
commit 1bdeb191e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110259
15 changed files with 173 additions and 0 deletions

View File

@ -418,6 +418,7 @@
SUBDIR += termlog
SUBDIR += tinc
SUBDIR += tinyca
SUBDIR += tor
SUBDIR += trinokiller
SUBDIR += tripwire
SUBDIR += tripwire-131

View File

@ -0,0 +1,30 @@
# ports collection makefile for: tor
# Date created: 2004.05.28
# Whom: freebsd-ports@rikrose.net
#
# $FreeBSD$
#
PORTNAME= tor
PORTVERSION= 0.0.6.2
CATEGORIES= security
MASTER_SITES= http://freehaven.net/tor/dist/
MAINTAINER= freebsd-ports@rikrose.net
COMMENT= An anonymizing overlay network for TCP
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_OPENSSL= yes
USE_REINPLACE= yes
MANCOMPRESSED= no
MAN1= tor.1 torify.1
post-patch:
@${MV} ${WRKSRC}/contrib/tor-tsocks.conf \
${WRKSRC}/contrib/tor-tsocks.conf.sample
@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
${WRKSRC}/contrib/Makefile.in
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (tor-0.0.6.2.tar.gz) = e09fbe0756521024ef8e0011f8e02545
SIZE (tor-0.0.6.2.tar.gz) = 322317

View File

@ -0,0 +1,11 @@
--- configure.orig Fri May 28 18:55:36 2004
+++ configure Fri May 28 18:57:37 2004
@@ -1559,7 +1559,7 @@
ac_config_commands="$ac_config_commands default-1"
-CFLAGS="$CFLAGS -Wall -g -O2 -I/usr/kerberos/include"
+CFLAGS="$CFLAGS -Wall -g -O2"
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then

View File

@ -0,0 +1,13 @@
diff -ur /tmp/tor-0.0.6.2/src/or/or.h ./src/or/or.h
--- /tmp/tor-0.0.6.2/src/or/or.h Sun May 2 04:15:55 2004
+++ ./src/or/or.h Fri May 28 14:49:34 2004
@@ -38,7 +38,9 @@
#include <sys/limits.h>
#endif
#ifdef HAVE_MACHINE_LIMITS_H
+#ifndef __FreeBSD__
#include <machine/limits.h>
+#endif
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */

View File

@ -0,0 +1,13 @@
diff -ur /tmp/tor-0.0.6.2/src/common/util.c ./src/common/util.c
--- /tmp/tor-0.0.6.2/src/common/util.c Sun May 2 00:29:20 2004
+++ ./src/common/util.c Fri May 28 14:49:22 2004
@@ -56,7 +56,9 @@
#include <sys/limits.h>
#endif
#ifdef HAVE_MACHINE_LIMITS_H
+#ifndef __FreeBSD__
#include <machine/limits.h>
+#endif
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */

View File

@ -0,0 +1,11 @@
Tor: an anonymizing overlay network for TCP
Tor is a connection-based low-latency anonymous communication system which
addresses many flaws in the original onion routing design.
Remember that this is development code -- DON'T RELY ON THE CURRENT TOR
NETWORK FOR ANONYMITY!
WWW: http://freehaven.net/tor/
- rik
freebsd-ports@rikrose.net

View File

@ -0,0 +1,6 @@
bin/tor
bin/torify
etc/tor/dirservers
etc/tor/torrc.sample
etc/tor/tor-tsocks.conf.sample
@dirrm etc/tor

30
security/tor/Makefile Normal file
View File

@ -0,0 +1,30 @@
# ports collection makefile for: tor
# Date created: 2004.05.28
# Whom: freebsd-ports@rikrose.net
#
# $FreeBSD$
#
PORTNAME= tor
PORTVERSION= 0.0.6.2
CATEGORIES= security
MASTER_SITES= http://freehaven.net/tor/dist/
MAINTAINER= freebsd-ports@rikrose.net
COMMENT= An anonymizing overlay network for TCP
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_OPENSSL= yes
USE_REINPLACE= yes
MANCOMPRESSED= no
MAN1= tor.1 torify.1
post-patch:
@${MV} ${WRKSRC}/contrib/tor-tsocks.conf \
${WRKSRC}/contrib/tor-tsocks.conf.sample
@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
${WRKSRC}/contrib/Makefile.in
.include <bsd.port.mk>

2
security/tor/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (tor-0.0.6.2.tar.gz) = e09fbe0756521024ef8e0011f8e02545
SIZE (tor-0.0.6.2.tar.gz) = 322317

View File

@ -0,0 +1,11 @@
--- configure.orig Fri May 28 18:55:36 2004
+++ configure Fri May 28 18:57:37 2004
@@ -1559,7 +1559,7 @@
ac_config_commands="$ac_config_commands default-1"
-CFLAGS="$CFLAGS -Wall -g -O2 -I/usr/kerberos/include"
+CFLAGS="$CFLAGS -Wall -g -O2"
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then

View File

@ -0,0 +1,13 @@
diff -ur /tmp/tor-0.0.6.2/src/or/or.h ./src/or/or.h
--- /tmp/tor-0.0.6.2/src/or/or.h Sun May 2 04:15:55 2004
+++ ./src/or/or.h Fri May 28 14:49:34 2004
@@ -38,7 +38,9 @@
#include <sys/limits.h>
#endif
#ifdef HAVE_MACHINE_LIMITS_H
+#ifndef __FreeBSD__
#include <machine/limits.h>
+#endif
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */

View File

@ -0,0 +1,13 @@
diff -ur /tmp/tor-0.0.6.2/src/common/util.c ./src/common/util.c
--- /tmp/tor-0.0.6.2/src/common/util.c Sun May 2 00:29:20 2004
+++ ./src/common/util.c Fri May 28 14:49:22 2004
@@ -56,7 +56,9 @@
#include <sys/limits.h>
#endif
#ifdef HAVE_MACHINE_LIMITS_H
+#ifndef __FreeBSD__
#include <machine/limits.h>
+#endif
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */

11
security/tor/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Tor: an anonymizing overlay network for TCP
Tor is a connection-based low-latency anonymous communication system which
addresses many flaws in the original onion routing design.
Remember that this is development code -- DON'T RELY ON THE CURRENT TOR
NETWORK FOR ANONYMITY!
WWW: http://freehaven.net/tor/
- rik
freebsd-ports@rikrose.net

6
security/tor/pkg-plist Normal file
View File

@ -0,0 +1,6 @@
bin/tor
bin/torify
etc/tor/dirservers
etc/tor/torrc.sample
etc/tor/tor-tsocks.conf.sample
@dirrm etc/tor