diff options
author | krion <krion@FreeBSD.org> | 2004-05-29 15:30:00 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-05-29 15:30:00 +0800 |
commit | 4dd0acbc46775c1a349a6e6192bedf867277fdd7 (patch) | |
tree | 8c1e9ddce8900f1c4a8ab32968282343e347dc0d /security/tor-devel | |
parent | 2d49c863779708cdab748a13d80601298a2cf1e7 (diff) | |
download | freebsd-ports-gnome-4dd0acbc46775c1a349a6e6192bedf867277fdd7.tar.gz freebsd-ports-gnome-4dd0acbc46775c1a349a6e6192bedf867277fdd7.tar.zst freebsd-ports-gnome-4dd0acbc46775c1a349a6e6192bedf867277fdd7.zip |
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
Diffstat (limited to 'security/tor-devel')
-rw-r--r-- | security/tor-devel/Makefile | 30 | ||||
-rw-r--r-- | security/tor-devel/distinfo | 2 | ||||
-rw-r--r-- | security/tor-devel/files/patch-configure | 11 | ||||
-rw-r--r-- | security/tor-devel/files/patch-src::common::or.c | 13 | ||||
-rw-r--r-- | security/tor-devel/files/patch-src::common::util.c | 13 | ||||
-rw-r--r-- | security/tor-devel/pkg-descr | 11 | ||||
-rw-r--r-- | security/tor-devel/pkg-plist | 6 |
7 files changed, 86 insertions, 0 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile new file mode 100644 index 000000000000..ff21c9f181f6 --- /dev/null +++ b/security/tor-devel/Makefile @@ -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> diff --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo new file mode 100644 index 000000000000..76880e9ecc72 --- /dev/null +++ b/security/tor-devel/distinfo @@ -0,0 +1,2 @@ +MD5 (tor-0.0.6.2.tar.gz) = e09fbe0756521024ef8e0011f8e02545 +SIZE (tor-0.0.6.2.tar.gz) = 322317 diff --git a/security/tor-devel/files/patch-configure b/security/tor-devel/files/patch-configure new file mode 100644 index 000000000000..d23194a9c07a --- /dev/null +++ b/security/tor-devel/files/patch-configure @@ -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 diff --git a/security/tor-devel/files/patch-src::common::or.c b/security/tor-devel/files/patch-src::common::or.c new file mode 100644 index 000000000000..e4d39a4a17be --- /dev/null +++ b/security/tor-devel/files/patch-src::common::or.c @@ -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 */ diff --git a/security/tor-devel/files/patch-src::common::util.c b/security/tor-devel/files/patch-src::common::util.c new file mode 100644 index 000000000000..44c2290a71f8 --- /dev/null +++ b/security/tor-devel/files/patch-src::common::util.c @@ -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 */ diff --git a/security/tor-devel/pkg-descr b/security/tor-devel/pkg-descr new file mode 100644 index 000000000000..2f4ab73019d8 --- /dev/null +++ b/security/tor-devel/pkg-descr @@ -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 diff --git a/security/tor-devel/pkg-plist b/security/tor-devel/pkg-plist new file mode 100644 index 000000000000..9a5b0e76d74a --- /dev/null +++ b/security/tor-devel/pkg-plist @@ -0,0 +1,6 @@ +bin/tor +bin/torify +etc/tor/dirservers +etc/tor/torrc.sample +etc/tor/tor-tsocks.conf.sample +@dirrm etc/tor |