ports/144890: www/tinyproxy - remove useless options and add transparent option

Wangyr wangyr at cs.nctu.edu.tw
Sat Mar 20 05:00:12 UTC 2010


>Number:         144890
>Category:       ports
>Synopsis:       www/tinyproxy - remove useless options and add transparent option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 20 05:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Wangyr
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
NCTU CSCC
>Environment:
FreeBSD enc.twbbs.org 7.2-RELEASE-p7 FreeBSD 7.2-RELEASE-p7 #0: Fri Feb 26 22:28:05 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The reverse option was not support with this version, added transparent option
>How-To-Repeat:
Install tinyproxy
>Fix:
patch Makefile

Patch attached with submission follows:

--- tinyproxy.old/Makefile      2010-03-20 12:32:36.009692975 +0800
+++ tinyproxy/Makefile  2010-03-20 12:34:02.798509710 +0800
@@ -6,7 +6,7 @@
 #

 PORTNAME=      tinyproxy
-PORTVERSION=   1.6.5
+PORTVERSION=   1.6.5,1
 PORTEPOCH=     1
 CATEGORIES=    www
 MASTER_SITES=  https://www.banu.com/pub/tinyproxy/1.6/
@@ -24,12 +24,16 @@

 MAN8=          tinyproxy.8

-OPTIONS=       REVERSE "Enable reverse proxy support" Off
+OPTIONS=       DEBUG "Compile with debug support" Off \
+               TRANSPARENT "Enable transparent proxy support" Off

 .include <bsd.port.pre.mk>

-.if defined(WITH_REVERSE)
-CONFIGURE_ARGS+=       --enable-reverse
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=       --enable-debug
+.endif
+.if defined(WITH_TRANSPARENT)
+CONFIGURE_ARGS+=       --enable-transparent-proxy
 .endif

 post-patch:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list