ports/84167: [maintainer update] www/polipo to 0.9.8_1

Frank Behrens frank at pinky.sax.de
Wed Jul 27 12:00:45 UTC 2005


>Number:         84167
>Category:       ports
>Synopsis:       [maintainer update] www/polipo to 0.9.8_1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 12:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Frank Behrens
>Release:        FreeBSD 6.0-BETA1 i386
>Organization:
>Environment:
>Description:
	Fixes for www/polipo
	1. avoid error message "502 Range without partial content"
	2. shutdown polipo on system shutdown
>How-To-Repeat:
>Fix:

--- polipo-0.9.8_1-port.patch begins here ---
diff -urwN /usr/ports/www/polipo/Makefile /usr/local/src/ownports/polipo-stable/port/Makefile
--- /usr/ports/www/polipo/Makefile	Sat Feb  5 21:57:43 2005
+++ /usr/local/src/ownports/polipo-stable/port/Makefile	Wed Jul 27 13:37:52 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	polipo
 PORTVERSION=	0.9.8
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.pps.jussieu.fr/~jch/software/files/polipo/ \
 		http://www.sax.de/~frank/polipo4bsd/files/
diff -urwN /usr/ports/www/polipo/files/patch-aa /usr/local/src/ownports/polipo-stable/port/files/patch-aa
--- /usr/ports/www/polipo/files/patch-aa	Sat Feb  5 21:57:43 2005
+++ /usr/local/src/ownports/polipo-stable/port/files/patch-aa	Wed Jul 27 13:31:52 2005
@@ -83,3 +83,21 @@
  The default root of the local web space.
  .SH SIGNALS
  .TP 
+--- server.c	Thu Jan 20 00:21:19 2005
++++ server.c	Wed Jul 27 13:24:28 2005
+@@ -1783,10 +1783,11 @@
+     } else if(code < 400 && 
+               (content_range.from >= 0 || content_range.to >= 0 || 
+                content_range.full_length >= 0)) {
+-        do_log(L_ERROR, "Range without partial content.\n");
+-        httpServerAbort(connection, 1, 502,
+-                        internAtom("Range without partial content"));
+-        goto fail;
++        do_log(L_WARN, "Range without partial content.\n");
++        /* Damn anakata. */
++        content_range.from = -1;
++        content_range.to = -1;
++        content_range.full_length = -1;
+     } else if(code != 304 && code != 412) {
+         full_len = len;
+     }
diff -urwN /usr/ports/www/polipo/files/polipo.sh.in /usr/local/src/ownports/polipo-stable/port/files/polipo.sh.in
--- /usr/ports/www/polipo/files/polipo.sh.in	Sat Feb  5 21:57:43 2005
+++ /usr/local/src/ownports/polipo-stable/port/files/polipo.sh.in	Wed Jul 27 13:40:10 2005
@@ -4,7 +4,7 @@
 # PROVIDE: polipo
 # REQUIRE: NETWORK
 # BEFORE:  NETWORK
-# KEYWORD: FreeBSD
+# KEYWORD: FreeBSD shutdown
 
 . %%RC_SUBR%%
 
--- polipo-0.9.8_1-port.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list