ports/148649: [NEW PORT] www/fcgiwrap: Simple FastCGI wrapper for CGI scripts
Bapt
baptiste.daroussin at gmail.com
Thu Jul 15 18:10:03 UTC 2010
>Number: 148649
>Category: ports
>Synopsis: [NEW PORT] www/fcgiwrap: Simple FastCGI wrapper for CGI scripts
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 15 18:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Bapt
>Release: FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD azathoth.lan 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #5 r208894M: Tue Jun 8 11:03:27
>Description:
fcgiwrap is a simple server for running CGI applications over FastCGI. It hopes
to provide clean CGI support to Nginx (and other web servers that may need it).
Features:
* very lightweight (84KB of private memory per instance)
* fixes broken CR/LF in headers
* handles environment in a sane way (CGI scripts get HTTP-related env. vars
* from FastCGI parameters and inherit all the others from fcgiwrap's
* environment)
* no configuration, so you can run several sites off the same fcgiwrap pool
* passes CGI stderr output to fcgiwrap's stderr (this is by design but
* stderr could be also passed to FastCGI stderr stream)
WWW: http://nginx.localdomain.pl/wiki/FcgiWrap
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- fcgiwrap-1.0.3.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:
#
# fcgiwrap
# fcgiwrap/distinfo
# fcgiwrap/Makefile
# fcgiwrap/pkg-descr
# fcgiwrap/files
# fcgiwrap/files/patch-fcgiwrap.c
#
echo c - fcgiwrap
mkdir -p fcgiwrap > /dev/null 2>&1
echo x - fcgiwrap/distinfo
sed 's/^X//' >fcgiwrap/distinfo << '44953c44f5222c582e6a1d519bda8c05'
XMD5 (fcgiwrap-1.0.3.tar.gz) = be73d90df7c4442084463e2815fc213d
XSHA256 (fcgiwrap-1.0.3.tar.gz) = 676015dd1e834fba76fba92ead512f9b13e73fde631cf6aaef6a207d600d6edf
XSIZE (fcgiwrap-1.0.3.tar.gz) = 8828
44953c44f5222c582e6a1d519bda8c05
echo x - fcgiwrap/Makefile
sed 's/^X//' >fcgiwrap/Makefile << 'd28f948f6baf05416f9d643fee5c38f3'
X# New ports collection makefile for: fcgiwrap
X# Date created: 2010-06-15
X# Whom: Bapt <baptiste.daroussin at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= fcgiwrap
XPORTVERSION= 1.0.3
XCATEGORIES= www
XMASTER_SITES= http://cloud.github.com/downloads/gnosek/fcgiwrap/
X
XMAINTAINER= baptiste.daroussin at gmail.com
XCOMMENT= Simple FastCGI wrapper for CGI scripts
X
XLIB_DEPENDS= fcgi.0:${PORTSDIR}/www/fcgi
X
XWRKSRC= ${WRKDIR}/gnosek-fcgiwrap-2e301c8
XLICENSE= MIT
X
XUSE_AUTOTOOLS= autoreconf:262 autoheader:262
X
XGNU_CONFIGURE= yes
XCONFIGURE_ENV= "CFLAGS=-I${LOCALBASE}/include ${CFLAGS} -L${LOCALBASE}/lib"
X
XMAN8= fcgiwrap.8
XPLIST_FILES= sbin/fcgiwrap
X
Xpost-patch:
X @${REINPLACE_CMD} 's/@prefix@@mandir@/@mandir@/' ${WRKSRC}/Makefile.in
X
X.include <bsd.port.mk>
d28f948f6baf05416f9d643fee5c38f3
echo x - fcgiwrap/pkg-descr
sed 's/^X//' >fcgiwrap/pkg-descr << '481fdac66f8484f466016c4a77b93f4c'
Xfcgiwrap is a simple server for running CGI applications over FastCGI. It hopes
Xto provide clean CGI support to Nginx (and other web servers that may need it).
X
XFeatures:
X * very lightweight (84KB of private memory per instance)
X * fixes broken CR/LF in headers
X * handles environment in a sane way (CGI scripts get HTTP-related env. vars
X * from FastCGI parameters and inherit all the others from fcgiwrap's
X * environment)
X * no configuration, so you can run several sites off the same fcgiwrap pool
X * passes CGI stderr output to fcgiwrap's stderr (this is by design but
X * stderr could be also passed to FastCGI stderr stream)
X
XWWW: http://nginx.localdomain.pl/wiki/FcgiWrap
481fdac66f8484f466016c4a77b93f4c
echo c - fcgiwrap/files
mkdir -p fcgiwrap/files > /dev/null 2>&1
echo x - fcgiwrap/files/patch-fcgiwrap.c
sed 's/^X//' >fcgiwrap/files/patch-fcgiwrap.c << 'bf5684281470ab6f75a558c8ce0faaee'
X--- ./fcgiwrap.c.orig 2010-06-03 16:18:21.000000000 +0200
X+++ ./fcgiwrap.c 2010-06-15 14:54:38.232029168 +0200
X@@ -43,6 +43,7 @@
X #include <ctype.h>
X
X #include <arpa/inet.h>
X+#include <netinet/in.h>
X #include <sys/socket.h>
X #include <sys/un.h>
X
bf5684281470ab6f75a558c8ce0faaee
exit
--- fcgiwrap-1.0.3.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list