pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/spawnfcgi: remove (mechanical cleanup)
Module Name: pkgsrc-wip
Committed By: Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By: tnn
Date: Wed Sep 23 05:32:31 2015 +0200
Changeset: 2ce94d0138a080277fde99475e06c5bdde657ef9
Removed Files:
spawnfcgi/DESCR
spawnfcgi/MESSAGE
spawnfcgi/Makefile
spawnfcgi/PLIST
spawnfcgi/distinfo
spawnfcgi/files/spawnfcgi.sh
Log Message:
wip/spawnfcgi: remove (mechanical cleanup)
- pkgsrc/www/spawn-fcgi exists
- pkgsrc (1.6.3nb3) >= wip (1.6.2)
- doc/CHANGES-2010: Added version 1.6.3 [joerg 2010-02-08]
- doc/CHANGES-2011: Updated to 1.6.3nb3 [imil 2011-07-25]
- wip/spawnfcgi last touched [asau 2012-10-07]
- package does not appear to be actively used to stage updates
- manual inspection of diff revealed no uncommitted improvements
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ce94d0138a080277fde99475e06c5bdde657ef9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
spawnfcgi/DESCR | 16 ------------
spawnfcgi/MESSAGE | 26 --------------------
spawnfcgi/Makefile | 32 ------------------------
spawnfcgi/PLIST | 8 ------
spawnfcgi/distinfo | 5 ----
spawnfcgi/files/spawnfcgi.sh | 58 --------------------------------------------
6 files changed, 145 deletions(-)
diffs:
diff --git a/spawnfcgi/DESCR b/spawnfcgi/DESCR
deleted file mode 100644
index 5506f75..0000000
--- a/spawnfcgi/DESCR
+++ /dev/null
@@ -1,16 +0,0 @@
-spawn-fcgi is used to spawn remote and local FastCGI processes.
-
-While it is obviously needed to spawn remote FastCGI backends (the web
-server can only spawn local ones), it is recommended to spawn local
-backends with spawn-fcgi, too.
-
-Reasons why you may want to use spawn-fcgi instead of something else:
-
-* Privilege separation without needing a suid-binary or running a
- server as root.
-* You can restart your web server and the FastCGI applications without
- restarting the others.
-* You can run them in different chroot()s.
-* Running your FastCGI applications doesn't depend on the web server
- you are running, which allows for easier testing of other web
- servers.
diff --git a/spawnfcgi/MESSAGE b/spawnfcgi/MESSAGE
deleted file mode 100644
index 3d167f8..0000000
--- a/spawnfcgi/MESSAGE
+++ /dev/null
@@ -1,26 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2009/04/29 15:51:24 mjoellnir Exp $
-
-Use the following flags to adjust spawn-fcgi to your demands:
-(These flags come into /etc/rc.conf. Flags that are commented out
- are added here with their default-values. You can leave them untouched
- or adjust them to your own demands)
-
-### Enables spawn-fcgi
-spawnfcgi=YES
-### The path to the pidfile...
-#spawnfcgi_pidfile=@VARBASE@/run/spawnfcgi.pid
-### The path to the actual FastCGI-Application
-#spawnfcgi_app=@PREFIX@/libexec/cgi-bin/php
-### The number of children, fast-cgi should launch for processing requests
-#spawnfcgi_children=10
-### The IP, spawn-fcgi should bind to...
-#spawnfcgi_ip=127.0.0.1
-### The port, spawn-fcgi should listen on...
-#spawnfcgi_port=9999
-### The user, spawn-fcgi should change to after startup
-#spawnfcgi_user=www
-### The group, spawn-fcgi should change to after startup
-#spawnfcgi_group=www
-
-===========================================================================
diff --git a/spawnfcgi/Makefile b/spawnfcgi/Makefile
deleted file mode 100644
index a72d116..0000000
--- a/spawnfcgi/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2012/10/07 16:23:16 asau Exp $
-#
-
-DISTNAME= spawn-fcgi-1.6.2
-CATEGORIES= net www
-MASTER_SITES= http://www.lighttpd.net/download/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= vs%nifelheim.info@localhost
-HOMEPAGE= http://redmine.lighttpd.net/projects/spawn-fcgi
-COMMENT= Spawns FCGI-Processes and runs with priviledge separation
-LICENSE= modified-bsd
-
-CONFLICTS= lighttpd<1.4.23
-
-GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-
-DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
-PKG_SYSCONFSUBDIR= ${PKGBASE}
-
-RCD_SCRIPTS= spawnfcgi
-
-INSTALLATION_DIRS= ${DOCDIR}
-
-post-install:
- cd ${WRKSRC}; for f in AUTHORS COPYING NEWS README; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${DOCDIR}; \
- done
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/spawnfcgi/PLIST b/spawnfcgi/PLIST
deleted file mode 100644
index 9b8d0d0..0000000
--- a/spawnfcgi/PLIST
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2009/10/11 10:45:19 thomasklausner Exp $
-bin/spawn-fcgi
-man/man1/spawn-fcgi.1
-share/examples/rc.d/spawnfcgi
-share/doc/spawn-fcgi/AUTHORS
-share/doc/spawn-fcgi/COPYING
-share/doc/spawn-fcgi/NEWS
-share/doc/spawn-fcgi/README
diff --git a/spawnfcgi/distinfo b/spawnfcgi/distinfo
deleted file mode 100644
index c01782f..0000000
--- a/spawnfcgi/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/04/29 15:51:24 mjoellnir Exp $
-
-SHA1 (spawn-fcgi-1.6.2.tar.bz2) = 475e9d9bff7ab31c29d082cc214cea66e04da690
-RMD160 (spawn-fcgi-1.6.2.tar.bz2) = 7a0986a9254646e7c635c086ef055b0f9a00a458
-Size (spawn-fcgi-1.6.2.tar.bz2) = 73169 bytes
diff --git a/spawnfcgi/files/spawnfcgi.sh b/spawnfcgi/files/spawnfcgi.sh
deleted file mode 100644
index f6df1be..0000000
--- a/spawnfcgi/files/spawnfcgi.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: spawnfcgi.sh,v 1.1.1.1 2009/04/29 15:51:24 mjoellnir Exp $
-#
-# FastCGI process spawner
-#
-
-# PROVIDE: spawn-fcgi
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-
-if [ -f /etc/rc.subr ]; then
- . /etc/rc.subr
-fi
-
-name="spawnfcgi"
-rcvar=${name}
-command="@PREFIX@/bin/spawn-fcgi"
-start_precmd="spawnfcgi_start_precmd"
-stop_postcmd="spawnfcgi_stop_postcmd"
-load_rc_config $name
-
-pidfile="${spawnfcgi_pidfile:=@VARBASE@/run/spawnfcgi.pid}"
-fcgiapp="${spawnfcgi_app:=@PREFIX@/libexec/cgi-bin/php}"
-fcgiip="${spawnfcgi_ip:=127.0.0.1}"
-fcgiport="${spawnfcgi_port:=9999}"
-fcgiuser="${spawnfcgi_user:=www}"
-fcgigroup="${spawnfcgi_group:=www}"
-
-spawnfcgi_children="${spawnfcgi_children:=10}"
-
-if /bin/test "`echo ${fcgiapp} | grep php`" = "${fcgiapp}" ; then
- fcgichildren="-C ${spawnfcgi_children}"
- procname=${fcgiapp}
-else
- fcgichildren="-F ${spawnfcgi_children}"
-fi
-
-if /bin/test -n "${spawnfcgi_chroot}"; then
- fcgichroot="-c ${spawnfcgi_chroot}"
-else
- fcgichroot=""
-fi
-
-
-spawnfcgi_start_precmd() {
- touch ${pidfile}
- chown ${fcgiuser}:${fcgigroup} ${pidfile}
-}
-
-spawnfcgi_stop_postcmd() {
- rm ${pidfile}
-}
-
-
-spawnfcgi_flags="-f ${fcgiapp} ${fcgichildren} -a ${fcgiip} -p ${fcgiport} -P ${pidfile} -u ${fcgiuser} -g ${fcgigroup} ${fcgichroot}"
-
-run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index