Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 09:58:28 -0500 (EST)
From:      "Andrew Bennett" <andrew@mystock.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Andrew Bennett <potatosaladx@gmail.com>
Subject:   ports/105784: New port: www/mod_xsendfile An Apache2 module that processes X-SENDFILE headers
Message-ID:  <20061123145828.C564445026@mail.mystock.com>
Resent-Message-ID: <200611231510.kANFAAPO003482@freefall.freebsd.org>

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

>Number:         105784
>Category:       ports
>Synopsis:       New port: www/mod_xsendfile An Apache2 module that processes X-SENDFILE headers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 23 15:10:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Bennett <potatosaladx@gmail.com>
>Release:        FreeBSD 6.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD batman.mystock.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:15:57 UTC 2006 root@bloom.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64


	
>Description:
New port for Apache2 module mod_xsendfile.

mod_xsendfile is a small Apache2 module that processes X-SENDFILE headers
registered by the original output handler.

It is useful for processing script-output (e.g. ruby, perl, php, cgi, etc.)
and sending the specified file directly using Apache's internals.  This
allows scripts to take advantage of Apache's static file optimizations like
caching-headers, sendfile, or mmap if configured.

http://celebnamer.celebworld.ws/stuff/mod_xsendfile/
	
>How-To-Repeat:
	
>Fix:

	

--- mod_xsendfile.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	www/mod_xsendfile
#	www/mod_xsendfile/Makefile
#	www/mod_xsendfile/distinfo
#	www/mod_xsendfile/pkg-descr
#
echo c - www/mod_xsendfile
mkdir -p www/mod_xsendfile > /dev/null 2>&1
echo x - www/mod_xsendfile/Makefile
sed 's/^X//' >www/mod_xsendfile/Makefile << 'END-of-www/mod_xsendfile/Makefile'
X# New ports collection makefile for:	mod_xsendfile Apache module
X# Date created:			2006-11-23
X# Whom:				Andrew T. Bennett <potatosaladx@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_xsendfile
XPORTVERSION=	0.9
XCATEGORIES=	www
XMASTER_SITES=	http://celebnamer.celebworld.ws/stuff/mod_xsendfile/
X
XMAINTAINER=	someone@FreeBSD.org
XCOMMENT=	An Apache2 module that processes X-SENDFILE headers
X
XUSE_APACHE=	2.0+
XAP_FAST_BUILD=	yes
XAP_GENPLIST=	yes
X
X.include <bsd.port.mk>
END-of-www/mod_xsendfile/Makefile
echo x - www/mod_xsendfile/distinfo
sed 's/^X//' >www/mod_xsendfile/distinfo << 'END-of-www/mod_xsendfile/distinfo'
XMD5 (mod_xsendfile-0.9.tar.gz) = a7d22d4027386929c7d69c8f2b050c96
XSHA256 (mod_xsendfile-0.9.tar.gz) = 2f07f3ddd03a9493601fef35668c2f0feb279edba2ae0172cd44feb8d7514272
XSIZE (mod_xsendfile-0.9.tar.gz) = 10240
END-of-www/mod_xsendfile/distinfo
echo x - www/mod_xsendfile/pkg-descr
sed 's/^X//' >www/mod_xsendfile/pkg-descr << 'END-of-www/mod_xsendfile/pkg-descr'
Xmod_xsendfile is a small Apache2 module that processes X-SENDFILE headers
Xregistered by the original output handler.
X
XIf it encounters the presence of such header it will discard all output and
Xsend the file specified by that header instead using Apache internals
Xincluding all optimizations like caching-headers and sendfile or mmap if
Xconfigured.
X
XIt is useful for processing script-output of e.g. php, perl or any cgi.
X
XWWW: http://celebnamer.celebworld.ws/stuff/mod_xsendfile/
END-of-www/mod_xsendfile/pkg-descr
exit
--- mod_xsendfile.shar ends here ---


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



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