diff -ruN tor/Makefile tor.old/Makefile --- tor/Makefile Fri Jul 29 09:07:51 2005 +++ tor.old/Makefile Fri Jul 29 09:07:27 2005 @@ -6,7 +6,7 @@ # PORTNAME= tor -PORTVERSION= 0.1.0.12 +PORTVERSION= 0.1.0.11 CATEGORIES= security net MASTER_SITES= http://tor.eff.org/dist/ diff -ruN tor/Makefile.orig tor.old/Makefile.orig --- tor/Makefile.orig Thu Jan 1 01:00:00 1970 +++ tor.old/Makefile.orig Fri Jul 29 09:07:27 2005 @@ -0,0 +1,40 @@ +# ports collection makefile for: tor +# Date created: 2004.05.28 +# Whom: freebsd-ports@rikrose.net +# +# $FreeBSD: ports/security/tor/Makefile,v 1.9 2005/01/08 20:18:49 lioux Exp $ +# + +PORTNAME= tor +PORTVERSION= 0.0.9.2 +CATEGORIES= security net +MASTER_SITES= http://tor.eff.org/dist/ + +MAINTAINER= freebsd-ports@rikrose.net +COMMENT= An anonymizing overlay network for TCP + +RUN_DEPENDS= tsocks:${PORTSDIR}/net/tsocks + +GNU_CONFIGURE= yes +CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +USE_OPENSSL= yes +USE_REINPLACE= yes + +MANCOMPRESSED= no +MAN1= tor.1 tor-resolve.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 +# uphold CFLAGS + @${FIND} ${WRKSRC} -type f | ${XARGS} \ + -n 10 ${REINPLACE_CMD} -E \ + -e 's!-g -O2!!' \ + -e 's!-O2!!' + +post-install: + @${CP} ${WRKSRC}/contrib/tor.sh ${LOCALBASE}/etc/rc.d/tor.sh.sample + +.include diff -ruN tor/distinfo tor.old/distinfo --- tor/distinfo Fri Jul 29 09:08:07 2005 +++ tor.old/distinfo Fri Jul 29 09:07:27 2005 @@ -1,2 +1,2 @@ -MD5 (tor-0.1.0.12.tar.gz) = 8f4fea2631f5f8c973cff6700960b937 -SIZE (tor-0.1.0.12.tar.gz) = 630549 +MD5 (tor-0.1.0.11.tar.gz) = c9d2b313a4c0637b9b75e382d2e0e88c +SIZE (tor-0.1.0.11.tar.gz) = 630033 diff -ruN tor/distinfo.orig tor.old/distinfo.orig --- tor/distinfo.orig Thu Jan 1 01:00:00 1970 +++ tor.old/distinfo.orig Fri Jul 29 09:07:27 2005 @@ -0,0 +1,2 @@ +MD5 (tor-0.0.9.2.tar.gz) = 65fe27324904c350be555e4eb0ae9fcd +SIZE (tor-0.0.9.2.tar.gz) = 539296 diff -ruN tor/pkg-plist.orig tor.old/pkg-plist.orig --- tor/pkg-plist.orig Thu Jan 1 01:00:00 1970 +++ tor.old/pkg-plist.orig Fri Jul 29 09:07:27 2005 @@ -0,0 +1,7 @@ +bin/tor +bin/tor-resolve +bin/torify +etc/rc.d/tor.sh.sample +etc/tor/torrc.sample +etc/tor/tor-tsocks.conf.sample +@dirrm etc/tor