ports/178668: [PATCH] www/mod_xsendfile: Fix extracting Last-Modified info
Hung-Yi Chen
gaod at hychen.org
Wed May 15 18:30:01 UTC 2013
>Number: 178668
>Category: ports
>Synopsis: [PATCH] www/mod_xsendfile: Fix extracting Last-Modified info
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed May 15 18:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Hung-Yi Chen
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Extract Last-Modified from the right place.
>How-To-Repeat:
>Fix:
--- mod_xsendfile.diff begins here ---
Index: www/mod_xsendfile/Makefile
===================================================================
--- www/mod_xsendfile/Makefile (revision 318250)
+++ www/mod_xsendfile/Makefile (working copy)
@@ -7,7 +7,7 @@
PORTNAME= mod_xsendfile
PORTVERSION= 0.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://tn123.org/mod_xsendfile/ \
http://cloud.github.com/downloads/potatosalad/mod_xsendfile/
Index: www/mod_xsendfile/files/patch-mod_xsendfile.c
===================================================================
--- www/mod_xsendfile/files/patch-mod_xsendfile.c (revision 0)
+++ www/mod_xsendfile/files/patch-mod_xsendfile.c (working copy)
@@ -0,0 +1,11 @@
+--- mod_xsendfile.c.orig 2013-05-16 02:15:41.000000000 +0800
++++ mod_xsendfile.c 2013-05-16 02:15:48.000000000 +0800
+@@ -439,7 +439,7 @@
+ conf->ignoreLM == XSENDFILE_ENABLED
+ || (
+ !apr_table_get(r->headers_out, "last-modified")
+- && !apr_table_get(r->headers_out, "last-modified")
++ && !apr_table_get(r->err_headers_out, "last-modified")
+ )
+ ) {
+ apr_table_unset(r->err_headers_out, "last-modified");
--- mod_xsendfile.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list