ports/154623: tinyproxy bugfixs for #91

Roger Marquis marquis at roble.com
Wed Feb 9 20:30:10 UTC 2011


>Number:         154623
>Category:       ports
>Synopsis:       tinyproxy bugfixs for #91
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 09 20:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Roger Marquis
>Release:        8.1-REL
>Organization:
Roble Systems
>Environment:
8.1-RELEASE-p2
>Description:
>From <https://banu.com/bugzilla/show_bug.cgi?id=91>:

upstream "site_spec" rules are ignored 
>How-To-Repeat:
Add "upstream"s to tinyproxy.conf.
>Fix:


Patch attached with submission follows:

--- src/conf.c.orig	2011-02-09 11:55:12.000000000 -0800
+++ src/conf.c	2011-02-09 11:56:02.000000000 -0800
@@ -1046,8 +1046,8 @@
                 return -1;
         port = (int) get_long_arg (line, &match[7]);
 
-        if (match[9].rm_so != -1) {
-                domain = get_string_arg (line, &match[9]);
+        if (match[10].rm_so != -1) {
+                domain = get_string_arg (line, &match[10]);
                 if (domain) {
                         upstream_add (ip, port, domain, &conf->upstream_list);
                         safefree (domain);


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



More information about the freebsd-ports-bugs mailing list