svn commit: r406554 - in head/www: . slowcgi slowcgi/files

Vanilla I. Shu vanilla at FreeBSD.org
Mon Jan 18 09:43:56 UTC 2016


Author: vanilla
Date: Mon Jan 18 09:43:54 2016
New Revision: 406554
URL: https://svnweb.freebsd.org/changeset/ports/406554

Log:
  Add slowcgi 5.8.20160114, fastCGI interface for old CGI programs.
  
  PR:		206341
  Submitted by:	koue at chaosophia.net

Added:
  head/www/slowcgi/
  head/www/slowcgi/Makefile   (contents, props changed)
  head/www/slowcgi/distinfo   (contents, props changed)
  head/www/slowcgi/files/
  head/www/slowcgi/files/slowcgi.in   (contents, props changed)
  head/www/slowcgi/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon Jan 18 08:59:25 2016	(r406553)
+++ head/www/Makefile	Mon Jan 18 09:43:54 2016	(r406554)
@@ -2055,6 +2055,7 @@
     SUBDIR += sitecopy
     SUBDIR += siteframe
     SUBDIR += skytemplate
+    SUBDIR += slowcgi
     SUBDIR += smarty2
     SUBDIR += smarty3
     SUBDIR += smb_auth

Added: head/www/slowcgi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/slowcgi/Makefile	Mon Jan 18 09:43:54 2016	(r406554)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	slowcgi
+PORTVERSION=	5.8.20160114
+CATEGORIES=	www
+
+MAINTAINER=	koue at 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>

Added: head/www/slowcgi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/slowcgi/distinfo	Mon Jan 18 09:43:54 2016	(r406554)
@@ -0,0 +1,2 @@
+SHA256 (koue-slowcgi-5.8.20160114_GH0.tar.gz) = 0355485d55a2e816664aad31172012630737c71423bc6c47c27a8e1cf8911a7b
+SIZE (koue-slowcgi-5.8.20160114_GH0.tar.gz) = 10430

Added: head/www/slowcgi/files/slowcgi.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/slowcgi/files/slowcgi.in	Mon Jan 18 09:43:54 2016	(r406554)
@@ -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"

Added: head/www/slowcgi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/slowcgi/pkg-descr	Mon Jan 18 09:43:54 2016	(r406554)
@@ -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


More information about the svn-ports-head mailing list