1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/fcgiwrap/Makefile
Rodrigo Osorio f1dca9e0b0 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>
2020-04-12 16:17:49 +00:00

36 lines
620 B
Makefile

# $FreeBSD$
PORTNAME= fcgiwrap
PORTVERSION= 1.1.0
PORTREVISION= 11
CATEGORIES= www
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Simple FastCGI wrapper for CGI scripts
LICENSE= MIT
LIB_DEPENDS= libfcgi.so:www/fcgi
USES= autoreconf gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= gnosek
USE_RC_SUBR= fcgiwrap
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
PLIST_FILES= sbin/fcgiwrap man/man8/fcgiwrap.8.gz
post-patch:
@${REINPLACE_CMD} -e 's/@prefix@@mandir@/@mandir@/'\
${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/fcgiwrap
.include <bsd.port.mk>