Line 0
Link Here
|
|
|
1 |
# ports collection makefile for: tor |
2 |
# Date created: 2004.05.28 |
3 |
# Whom: freebsd-ports@rikrose.net |
4 |
# |
5 |
# $FreeBSD: ports/security/tor/Makefile,v 1.9 2005/01/08 20:18:49 lioux Exp $ |
6 |
# |
7 |
|
8 |
PORTNAME= tor |
9 |
PORTVERSION= 0.0.9.2 |
10 |
CATEGORIES= security net |
11 |
MASTER_SITES= http://tor.eff.org/dist/ |
12 |
|
13 |
MAINTAINER= freebsd-ports@rikrose.net |
14 |
COMMENT= An anonymizing overlay network for TCP |
15 |
|
16 |
RUN_DEPENDS= tsocks:${PORTSDIR}/net/tsocks |
17 |
|
18 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
20 |
USE_OPENSSL= yes |
21 |
USE_REINPLACE= yes |
22 |
|
23 |
MANCOMPRESSED= no |
24 |
MAN1= tor.1 tor-resolve.1 torify.1 |
25 |
|
26 |
post-patch: |
27 |
@${MV} ${WRKSRC}/contrib/tor-tsocks.conf \ |
28 |
${WRKSRC}/contrib/tor-tsocks.conf.sample |
29 |
@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \ |
30 |
${WRKSRC}/contrib/Makefile.in |
31 |
# uphold CFLAGS |
32 |
@${FIND} ${WRKSRC} -type f | ${XARGS} \ |
33 |
-n 10 ${REINPLACE_CMD} -E \ |
34 |
-e 's!-g -O2!!' \ |
35 |
-e 's!-O2!!' |
36 |
|
37 |
post-install: |
38 |
@${CP} ${WRKSRC}/contrib/tor.sh ${LOCALBASE}/etc/rc.d/tor.sh.sample |
39 |
|
40 |
.include <bsd.port.mk> |