notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
fcgiwrap Simple FastCGI wrapper for CGI scripts
1.1.0_12 www on this many watch lists=9 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.1.0_11Version of this port present on the latest quarterly branch.
Maintainer: rodrigo@FreeBSD.org search for ports maintained by this maintainer
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, sqlite3, rsync, pkg
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)
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. share/man/man8/fcgiwrap.8.gz
  2. sbin/fcgiwrap
  3. /usr/local/share/licenses/fcgiwrap-1.1.0_12/catalog.mk
  4. /usr/local/share/licenses/fcgiwrap-1.1.0_12/LICENSE
  5. /usr/local/share/licenses/fcgiwrap-1.1.0_12/MIT
Collapse this list.
Dependency lines:
  • fcgiwrap>0:www/fcgiwrap
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):
fcgiwrap
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.0_111.1.0_121.1.0_111.1.0_111.1.0_12-1.1.0_11-
FreeBSD:13:quarterly1.1.0_111.1.0_111.1.0_111.1.0_111.1.0_111.1.0_111.1.0_111.1.0_11
FreeBSD:14:latest1.1.0_111.1.0_121.1.0_111.1.0_111.1.0_121.1.0_11-1.1.0_11
FreeBSD:14:quarterly1.1.0_111.1.0_11-1.1.0_111.1.0_111.1.0_111.1.0_111.1.0_11
FreeBSD:15:latest1.1.0_111.1.0_12n/a1.1.0_11n/a1.1.0_111.1.0_111.1.0_11
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. autoconf>=2.71 : devel/autoconf
  4. automake>=1.16.5 : devel/automake
Library dependencies:
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/gnosek/fcgiwrap/tar.gz/1.1.0?dummy=/
Collapse this list.

Number of commits found: 47

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1.0_12
04 Mar 2024 09:50:45
commit hash: 978ee750e1226eb084d16719bd3b66ace99bdfa3commit hash: 978ee750e1226eb084d16719bd3b66ace99bdfa3commit hash: 978ee750e1226eb084d16719bd3b66ace99bdfa3commit hash: 978ee750e1226eb084d16719bd3b66ace99bdfa3 files touched by this commit
Rodrigo Osorio (rodrigo) search for other commits by this committer
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
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
1.1.0_11
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.1.0_11
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
1.1.0_11
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.1.0_11
12 Apr 2020 16:17:50
Revision:531530Original commit files touched by this commit
rodrigo search for other commits by this committer
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
Revision:529749Original commit files touched by this commit
rodrigo search for other commits by this committer
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
Revision:471940Original commit files touched by this commit
zi search for other commits by this committer
- Unbreak socket mode logic

Reported by:	clusteradm
1.1.0_8
13 Mar 2018 14:05:10
Revision:464375Original commit files touched by this commit
rodrigo search for other commits by this committer
Take maintainership for www/fcgiwrap.
1.1.0_8
25 Nov 2017 02:03:57
Revision:454862Original commit files touched by this commit
delphij search for other commits by this committer
Fix an obvious typo.

Reported by:	remko
1.1.0_7
30 Oct 2017 05:59:15
Revision:453157Original commit files touched by this commit
delphij search for other commits by this committer
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
Revision:442556Original commit files touched by this commit
matthew search for other commits by this committer
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
Revision:441799Original commit files touched by this commit
adamw search for other commits by this committer
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
Revision:438923Original commit files touched by this commit
adamw search for other commits by this committer
Release these ports to the collective.
1.1.0_4
26 Dec 2016 17:10:09
Revision:429554Original commit files touched by this commit
adamw search for other commits by this committer
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
Revision:429536Original commit files touched by this commit
adamw search for other commits by this committer
Take maintainership
1.1.0_4
26 Dec 2016 11:59:12
Revision:429499Original commit files touched by this commit
rene search for other commits by this committer
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
Revision:424112Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:415500Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
1.1.0_3
01 Apr 2016 14:33:58
Revision:412351Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:385665Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:381618Original commit files touched by this commit
bdrewery search for other commits by this committer
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
Revision:375736Original commit files touched by this commit
bapt search for other commits by this committer
Convert to USES=autoreconf
1.1.0_3
22 Dec 2014 13:47:18
Revision:375237Original commit files touched by this commit
rodrigo search for other commits by this committer
- 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
Revision:370135Original commit files touched by this commit
marino search for other commits by this committer
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
Revision:361688Original commit files touched by this commit
pi search for other commits by this committer
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
Revision:360906Original commit files touched by this commit
rakuco search for other commits by this committer
- 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
Revision:331100Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:329210Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:327776Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:309737Original commit files touched by this commit
bapt search for other commits by this committer
Remove shlib numbers
Trim headers
1.0.3_5
18 Nov 2012 16:33:31
Revision:307542Original commit files touched by this commit
hrs search for other commits by this committer
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
Original commit files touched by this commit
bapt search for other commits by this committer
- 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
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
1.0.3_3
04 Dec 2010 07:34:27
Original commit files touched by this commit
ade search for other commits by this committer
Sync to new bsd.autotools.mk
1.0.3_3
01 Dec 2010 07:13:56
Original commit files touched by this commit
bapt search for other commits by this committer
- 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
Original commit files touched by this commit
bapt search for other commits by this committer
Fix rc script when fcgiwrap_user is not set
bump portrevision
1.0.3_2
22 Nov 2010 13:46:46
Original commit files touched by this commit
bapt search for other commits by this committer
Fix typo in rc script
1.0.3_2
16 Oct 2010 11:52:47
Original commit files touched by this commit
ade search for other commits by this committer
Punt autoconf267->autoconf268
1.0.3_2
15 Sep 2010 18:35:24
Original commit files touched by this commit
ade search for other commits by this committer
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
Original commit files touched by this commit
bapt search for other commits by this committer
- 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
Original commit files touched by this commit
bapt search for other commits by this committer
- Add rc script

Approved by:    tabthorpe (mentor)
1.0.3
28 Jul 2010 17:31:01
Original commit files touched by this commit
bapt search for other commits by this committer
Change maintainer address to my new @FreeBSD.org

Approved by:    jadawin@ (co-mentor)
1.0.3
20 Jul 2010 13:03:00
Original commit files touched by this commit
jadawin search for other commits by this committer
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>

Number of commits found: 47