Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2013 20:24:57 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321590 - in head/www/mod_xsendfile: . files
Message-ID:  <201306222024.r5MKOvNM060052@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sat Jun 22 20:24:57 2013
New Revision: 321590
URL: http://svnweb.freebsd.org/changeset/ports/321590

Log:
  - Extract Last-Modified from the right place
  
  PR:		ports/178668
  Submitted by:	Hung-Yi Chen <gaod@hychen.org>
  Approved by:	Andrew Bennet <potatosaladx@gmail.com> (maintainer)

Added:
  head/www/mod_xsendfile/files/
  head/www/mod_xsendfile/files/patch-mod_xsendfile.c   (contents, props changed)
Modified:
  head/www/mod_xsendfile/Makefile

Modified: head/www/mod_xsendfile/Makefile
==============================================================================
--- head/www/mod_xsendfile/Makefile	Sat Jun 22 20:18:50 2013	(r321589)
+++ head/www/mod_xsendfile/Makefile	Sat Jun 22 20:24:57 2013	(r321590)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	mod_xsendfile Apache module
-# Date created:			2006-11-23
-# Whom:				Andrew T. Bennett <potatosaladx@gmail.com>
-#
+# Created by: Andrew T. Bennett <potatosaladx@gmail.com>
 # $FreeBSD$
-#
 
 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/

Added: head/www/mod_xsendfile/files/patch-mod_xsendfile.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_xsendfile/files/patch-mod_xsendfile.c	Sat Jun 22 20:24:57 2013	(r321590)
@@ -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");



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