Date: Tue, 25 Sep 2007 12:01:38 +1200 (NZST) From: Andrew Thompson <thompsa@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: wxs@atarininja.org Subject: ports/116621: make reverse proxy optional on www/tinyproxy Message-ID: <20070925000138.CE56B1CC26@heff.fud.org.nz> Resent-Message-ID: <200709250020.l8P0K1Ak014510@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070925000138.CE56B1CC26>