diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2010-07-20 13:03:00 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2010-07-20 13:03:00 +0000 |
commit | e8882f0dbcced3fe02056e14d78fcb3313b9a235 (patch) | |
tree | d644d9c512fa60b6c26f1b344d0e9ecda45b9b33 /www/fcgiwrap | |
parent | 93bedc3013dc3ca84881d664951d26c8c556741e (diff) | |
download | ports-e8882f0dbcced3fe02056e14d78fcb3313b9a235.tar.gz ports-e8882f0dbcced3fe02056e14d78fcb3313b9a235.zip |
Notes
Diffstat (limited to 'www/fcgiwrap')
-rw-r--r-- | www/fcgiwrap/Makefile | 32 | ||||
-rw-r--r-- | www/fcgiwrap/distinfo | 3 | ||||
-rw-r--r-- | www/fcgiwrap/files/patch-fcgiwrap.c | 10 | ||||
-rw-r--r-- | www/fcgiwrap/pkg-descr | 14 |
4 files changed, 59 insertions, 0 deletions
diff --git a/www/fcgiwrap/Makefile b/www/fcgiwrap/Makefile new file mode 100644 index 000000000000..ee8be5eb977b --- /dev/null +++ b/www/fcgiwrap/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: fcgiwrap +# Date created: 2010-06-15 +# Whom: Bapt <baptiste.daroussin@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= fcgiwrap +PORTVERSION= 1.0.3 +CATEGORIES= www +MASTER_SITES= http://cloud.github.com/downloads/gnosek/fcgiwrap/ + +MAINTAINER= baptiste.daroussin@gmail.com +COMMENT= Simple FastCGI wrapper for CGI scripts + +LIB_DEPENDS= fcgi.0:${PORTSDIR}/www/fcgi + +WRKSRC= ${WRKDIR}/gnosek-fcgiwrap-2e301c8 +LICENSE= MIT + +USE_AUTOTOOLS= autoconf:262:env autoheader:262 + +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +GNU_CONFIGURE= yes + +MAN8= fcgiwrap.8 +PLIST_FILES= sbin/fcgiwrap + +post-patch: + @${REINPLACE_CMD} 's/@prefix@@mandir@/@mandir@/' ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/www/fcgiwrap/distinfo b/www/fcgiwrap/distinfo new file mode 100644 index 000000000000..5c8e16c2a437 --- /dev/null +++ b/www/fcgiwrap/distinfo @@ -0,0 +1,3 @@ +MD5 (fcgiwrap-1.0.3.tar.gz) = be73d90df7c4442084463e2815fc213d +SHA256 (fcgiwrap-1.0.3.tar.gz) = 676015dd1e834fba76fba92ead512f9b13e73fde631cf6aaef6a207d600d6edf +SIZE (fcgiwrap-1.0.3.tar.gz) = 8828 diff --git a/www/fcgiwrap/files/patch-fcgiwrap.c b/www/fcgiwrap/files/patch-fcgiwrap.c new file mode 100644 index 000000000000..cc403e506e08 --- /dev/null +++ b/www/fcgiwrap/files/patch-fcgiwrap.c @@ -0,0 +1,10 @@ +--- ./fcgiwrap.c.orig 2010-06-03 16:18:21.000000000 +0200 ++++ ./fcgiwrap.c 2010-06-15 14:54:38.232029168 +0200 +@@ -43,6 +43,7 @@ + #include <ctype.h> + + #include <arpa/inet.h> ++#include <netinet/in.h> + #include <sys/socket.h> + #include <sys/un.h> + diff --git a/www/fcgiwrap/pkg-descr b/www/fcgiwrap/pkg-descr new file mode 100644 index 000000000000..9b85c2991fe3 --- /dev/null +++ b/www/fcgiwrap/pkg-descr @@ -0,0 +1,14 @@ +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 |