ports/116621: make reverse proxy optional on www/tinyproxy
Andrew Thompson
thompsa at FreeBSD.org
Tue Sep 25 00:20:02 UTC 2007
>Number: 116621
>Category: ports
>Synopsis: make reverse proxy optional on www/tinyproxy
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 25 00:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Andrew Thompson
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD heff.fud.org.nz 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri May 19 17:00:14 NZST 2006 thompsa at heff.fud.org.nz:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Reverse proxy support is currently unavailable in tinyproxy, the
attached patch makes it an optional extra.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/tinyproxy/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile 19 Aug 2006 16:49:48 -0000 1.21
+++ Makefile 24 Sep 2007 23:33:58 -0000
@@ -24,8 +24,14 @@ CONFIGURE_ARGS= --bindir=${PREFIX}/sbin
MAN8= tinyproxy.8
+OPTIONS= REVERSE "Enable reverse proxy support" Off
+
.include <bsd.port.pre.mk>
+.if defined(WITH_REVERSE)
+CONFIGURE_ARGS+=--enable-reverse
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/etc/tinyproxy/tinyproxy.conf|${PREFIX}/etc/tinyproxy.conf|' \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list