Port details |
- fcgiwrap Simple FastCGI wrapper for CGI scripts
- 1.1.0_12 www =11 1.1.0_12Version of this port present on the latest quarterly branch.
- Maintainer: rodrigo@FreeBSD.org
- Port Added: 2010-07-20 13:03:26
- Last Update: 2024-03-04 09:50:45
- Commit Hash: 978ee75
- People watching this port, also watch:: nginx, git, rsync, pkg, sqlite3
- License: MIT
- WWW:
- http://nginx.localdomain.pl/wiki/FcgiWrap
- 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)
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/www/fcgiwrap/ && make install clean
- To add the package, run one of these commands:
- pkg install www/fcgiwrap
- pkg install fcgiwrap
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: fcgiwrap
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (gnosek-fcgiwrap-1.1.0_GH0.tar.gz) = 4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f
SIZE (gnosek-fcgiwrap-1.1.0_GH0.tar.gz) = 9924
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- autoconf>=2.71 : devel/autoconf
- automake>=1.16.5 : devel/automake
- Library dependencies:
-
- libfcgi.so : www/fcgi
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_fcgiwrap
- USES:
- autoreconf gmake pkgconfig
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.1.0_12 04 Mar 2024 09:50:45 |
Rodrigo Osorio (rodrigo) |
www/fcgiwrap: moved manpages to share/man
Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formatting to make linters happy |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.1.0_11 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.1.0_11 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.1.0_11 06 Apr 2021 14:31:13 |
Mathieu Arnold (mat) |
all: Remove all other $FreeBSD keywords. |
1.1.0_11 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.1.0_11 12 Apr 2020 16:17:50 |
rodrigo |
www/fcgiwrap: wait for fcgiwrap named socket creation before chown
In certain circumstances postcmd function is called before
named sockets be created by fcgiwrap, causing a startup
failure. This change leave up to 5 seconds to fcgiwrap to
properly start.
Bump PORTREVISION.
PR: 219753
Reported by: Shuichi KITAGUCHI <ki@hh.iij4u.or.jp> |
1.1.0_10 28 Mar 2020 17:49:36 |
rodrigo |
www/fcgiwrap: fix IPv6 support
Extend existing patch to fix IPv6 support.
Bump PORTREVISION
The fix zero-out the sockaddr structure before
using it as a sockaddr_in6 structure as explained
by IEEE Std 1003.1.
The patch was upstremed : https://github.com/gnosek/fcgiwrap/pull/51
PR: 243721
Reported by: <olaf@zaplinski.de> |
1.1.0_9 07 Jun 2018 17:57:19 |
zi |
- Unbreak socket mode logic
Reported by: clusteradm |
1.1.0_8 13 Mar 2018 14:05:10 |
rodrigo |
Take maintainership for www/fcgiwrap. |
1.1.0_8 25 Nov 2017 02:03:57 |
delphij |
Fix an obvious typo.
Reported by: remko |
1.1.0_7 30 Oct 2017 05:59:15 |
delphij |
Improve robustness of owner/mode settings.
- Run fcgiwrap under target credential and only change ownership
if the credential do not match the current socket_owner/group
setting.
- Use umask instead of chmod.
- Use nobody/nogroup for default credentials instead of root.
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D12726 |
1.1.0_6 04 Jun 2017 12:07:33 |
matthew |
Avoid accidentally killing init or other important processes when
running 'service fcgiwrap onestop' if /var/run/fcgiwrap/fcgiwrap.pid
doesn't exist or contain the fcgiwrap PID.
This prevents killing any processes in process groups 0 or 1 or in the
caller's process group if the rc script cannot read the fcgiwrap
pidfile.
PR: 219724
Submitted by: bblister@gmail.com
MFH: 2017Q2 |
1.1.0_5 26 May 2017 16:54:40 |
adamw |
Fix stale processes not being terminated by the rc(8) script.
Previously, when fcgiwrap_flags="-c [n]" with n > 1, only the controlling
process was terminated, with the children running. This patch fixes this
behaviour, terminating the children.
PR: 217297
Submitted by: lstewart
Reported by: spry anarchy in the ph
MFH: 2017Q2 |
1.1.0_4 20 Apr 2017 03:31:48 |
adamw |
Release these ports to the collective. |
1.1.0_4 26 Dec 2016 17:10:09 |
adamw |
Clean up and modernize fcgi and fcgiwrap. Unbreak fcgiwrap, for
which distfiles are readily available, and host the fcgi distfile
locally. |
1.1.0_4 26 Dec 2016 16:31:57 |
adamw |
Take maintainership |
1.1.0_4 26 Dec 2016 11:59:12 |
rene |
Reset ports per maintainer request.
PR: 215557
Submitted by: A.J. "Fonz" van Werven (maintainer) |
1.1.0_4 17 Oct 2016 12:03:08 |
mat |
Add changing the owner/group/mode for the socket.
PR: 213385
Submitted by: mat
Approved by: maintainer
Sponsored by: Absolight |
1.1.0_3 19 May 2016 10:53:06 |
amdmi3 |
- Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by: portmgr blanket |
1.1.0_3 01 Apr 2016 14:33:58 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat: portmgr
Sponsored by: Absolight |
1.1.0_3 07 May 2015 20:24:16 |
mat |
Update ports in the remaining categories to not use GH_COMMIT.
With minor cleanups to make things simpler.
With hat: portmgr
Sponsored by: Absolight |
1.1.0_3 19 Mar 2015 16:44:59 |
bdrewery |
Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag. This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
Differential Revision: https://reviews.freebsd.org/D748
Submitted by: amdmi3
Reviewed by: mat, swills, antoine, bdrewery
With hat: portmgr |
1.1.0_3 28 Dec 2014 18:39:12 |
bapt |
Convert to USES=autoreconf |
1.1.0_3 22 Dec 2014 13:47:18 |
rodrigo |
- Fix issue on restart after reboot, fcgiwrap doesn't handle
properly unix sockets bind errors (https://github.com/gnosek/fcgiwrap/pull/26)
- Bump port revision
PR: ports/192681
Submitted by: freebsd@skysmurf.nl (maintainer) |
1.1.0_2 05 Oct 2014 23:37:46 |
marino |
www/fcgiwrap: Improve binary strip handling, add new feature
PR: 192907
Final version: maintainer (fonz) |
1.1.0_1 13 Jul 2014 15:30:09 |
pi |
www/fcgiwrap: fix rc script, strip sbin/fcgiwrap
PR: 186638
Submitted by: johan@stromnet.se
Approved by: freebsd@skysmurf.nl (maintainer) |
1.1.0 06 Jul 2014 14:23:49 |
rakuco |
- Assign to new maintainer.
- Add maintainer's mirror to MASTER_SITES.
PR: 191653
Submitted by: A.J. "Fonz" van Werven <freebsd@skysmurf.nl> |
1.1.0 21 Oct 2013 08:30:47 |
bapt |
Fix build by adding missing pkg-config build requirement
PR: prots/182717
Submitted by: Phillip Jaenke <prj@rootwyrm.com> |
1.1.0 03 Oct 2013 16:40:17 |
bapt |
Update to v1.1.0
Switch to USE_GITHUB
Upstream now needs gmake
Upstream now also needs aclocal
Support stage
Drop maintainership |
1.0.3_5 20 Sep 2013 23:36:54 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
www) |
1.0.3_5 31 Dec 2012 12:53:31 |
bapt |
Remove shlib numbers
Trim headers |
1.0.3_5 18 Nov 2012 16:33:31 |
hrs |
Fix rc.d script to support systems before and after ${name}_fib is introduced
into rc.subr. Bump PORTREVISION.
Feature safe: yes |
1.0.3_4 27 Jan 2012 08:05:14 |
bapt |
- Enable multiprofile fcgiwrap rc script modeled over the nginx rc script
- pet portlint
- bump portrevision
PR: ports/164186
Submitted by: srdjan.rosic@gmail.com |
1.0.3_3 14 Jan 2012 08:57:23 |
dougb |
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other. |
1.0.3_3 15 May 2011 02:49:17 |
dougb |
Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps |
1.0.3_3 19 Mar 2011 12:38:54 |
miwi |
- Get Rid MD5 support |
1.0.3_3 04 Dec 2010 07:34:27 |
ade |
Sync to new bsd.autotools.mk |
1.0.3_3 01 Dec 2010 07:13:56 |
bapt |
- s/login/LOGIN/ in rc script
- cleaner way to handle pre_cmd
- cleanup pid file left behind
Reported by: dougb |
1.0.3_3 29 Nov 2010 11:47:07 |
bapt |
Fix rc script when fcgiwrap_user is not set
bump portrevision |
1.0.3_2 22 Nov 2010 13:46:46 |
bapt |
Fix typo in rc script |
1.0.3_2 16 Oct 2010 11:52:47 |
ade |
Punt autoconf267->autoconf268 |
1.0.3_2 15 Sep 2010 18:35:24 |
ade |
Autotools update. Read ports/UPDATING 20100915 for details.
Approved by: portmgr (for Mk/bsd.port.mk part)
Tested by: Multiple -exp runs |
1.0.3_1 23 Aug 2010 13:39:41 |
bapt |
- remove useless addition of ${fcgiwrap_flags} to command_args
Reported by: dougb
Approved by: jadawin (co-mentor) |
1.0.3_1 17 Aug 2010 19:40:37 |
bapt |
- Add rc script
Approved by: tabthorpe (mentor) |
1.0.3 28 Jul 2010 17:31:01 |
bapt |
Change maintainer address to my new @FreeBSD.org
Approved by: jadawin@ (co-mentor) |
1.0.3 20 Jul 2010 13:03:00 |
jadawin |
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
PR: ports/148649
Submitted by: Bapt <baptiste.daroussin at gmail.com> |