Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2010 04:53:09 GMT
From:      Wangyr <wangyr@cs.nctu.edu.tw>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144890: www/tinyproxy - remove useless options and add transparent option
Message-ID:  <201003200453.o2K4r9lL040877@www.freebsd.org>
Resent-Message-ID: <201003200500.o2K50Bkk008320@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003200453.o2K4r9lL040877>