mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Add slowcgi 5.8.20160114, fastCGI interface for old CGI programs.
PR: 206341 Submitted by: koue@chaosophia.net
This commit is contained in:
parent
46bd780adf
commit
d77ee78fe5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406554
@ -2055,6 +2055,7 @@
|
||||
SUBDIR += sitecopy
|
||||
SUBDIR += siteframe
|
||||
SUBDIR += skytemplate
|
||||
SUBDIR += slowcgi
|
||||
SUBDIR += smarty2
|
||||
SUBDIR += smarty3
|
||||
SUBDIR += smb_auth
|
||||
|
33
www/slowcgi/Makefile
Normal file
33
www/slowcgi/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= slowcgi
|
||||
PORTVERSION= 5.8.20160114
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= koue@chaosophia.net
|
||||
COMMENT= FastCGI interface for old CGI programs
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/src/usr.sbin/${GH_PROJECT}
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= koue
|
||||
GH_PROJECT= slowcgi
|
||||
|
||||
USES= uidfix
|
||||
USE_RC_SUBR= slowcgi
|
||||
|
||||
CFLAGS+= -Wall
|
||||
|
||||
MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
|
||||
|
||||
USERS= www
|
||||
GROUPS= www
|
||||
|
||||
PLIST_FILES= sbin/slowcgi \
|
||||
man/man8/slowcgi.8.gz
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/slowcgi/distinfo
Normal file
2
www/slowcgi/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (koue-slowcgi-5.8.20160114_GH0.tar.gz) = 0355485d55a2e816664aad31172012630737c71423bc6c47c27a8e1cf8911a7b
|
||||
SIZE (koue-slowcgi-5.8.20160114_GH0.tar.gz) = 10430
|
25
www/slowcgi/files/slowcgi.in
Normal file
25
www/slowcgi/files/slowcgi.in
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: slowcgi
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable slowcgi:
|
||||
# slowcgi_enable="YES"
|
||||
# slowcgi_flags="<set as needed>"
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=slowcgi
|
||||
rcvar=slowcgi_enable
|
||||
|
||||
command="%%PREFIX%%/sbin/slowcgi"
|
||||
|
||||
slowcgi_enable=${slowcgi_enable:-"NO"}
|
||||
slowcgi_flags=${slowcgi_flags:-""}
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
5
www/slowcgi/pkg-descr
Normal file
5
www/slowcgi/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
slowcgi is a server which implements the FastCGI Protocol to execute CGI
|
||||
scripts. FastCGI was designed to overcome the CGI protocol's scalability
|
||||
and resource sharing limitations.
|
||||
|
||||
WWW: https://github.com/koue/slowcgi
|
Loading…
Reference in New Issue
Block a user