aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-10-29 22:29:15 +0800
committercrees <crees@FreeBSD.org>2012-10-29 22:29:15 +0800
commit4ac6c2f2ef65b47a7ddefb378af9bb58c3d0cd16 (patch)
tree4325303d57609f80f8cdbb469e104178aaef45af
parentd4e9b5ffff3cc18cc06a4846af7a53bd269cf40b (diff)
downloadfreebsd-ports-gnome-4ac6c2f2ef65b47a7ddefb378af9bb58c3d0cd16.tar.gz
freebsd-ports-gnome-4ac6c2f2ef65b47a7ddefb378af9bb58c3d0cd16.tar.zst
freebsd-ports-gnome-4ac6c2f2ef65b47a7ddefb378af9bb58c3d0cd16.zip
Multiwatch forks multiple instance of one application and keeps them
running; it is made to be used with spawn-fcgi, so all forks share the same fastcgi socket (no webserver restart needed if you increase/decrease the number of forks), and it is easier than to setup multiple daemontool supervised instances. WWW: http://redmine.lighttpd.net/projects/multiwatch/wiki PR: ports/171518 Submitted by: Christian Ullrich <chris+freebsd@chrullrich.net> Feature safe: yes
-rw-r--r--www/Makefile1
-rw-r--r--www/multiwatch/Makefile26
-rw-r--r--www/multiwatch/distinfo2
-rw-r--r--www/multiwatch/pkg-descr7
4 files changed, 36 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4c02fd03cd70..eec9d3168e98 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -547,6 +547,7 @@
SUBDIR += moonshine
SUBDIR += mozplugger
SUBDIR += multisort
+ SUBDIR += multiwatch
SUBDIR += mybb
SUBDIR += myfaces
SUBDIR += mysar
diff --git a/www/multiwatch/Makefile b/www/multiwatch/Makefile
new file mode 100644
index 000000000000..31f7e36a2b24
--- /dev/null
+++ b/www/multiwatch/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= multiwatch
+PORTVERSION= 1.0.0
+CATEGORIES= www
+MASTER_SITES= http://download.lighttpd.net/multiwatch/releases-1.x/
+
+MAINTAINER= chris+freebsd@chrullrich.net
+COMMENT= A spawn-fcgi helper for forking multiple workers
+
+LIB_DEPENDS= ev:${PORTSDIR}/devel/libev
+
+GNU_CONFIGURE= yes
+
+MAN1= multiwatch.1
+USE_PKGCONFIG= yes
+USE_BZIP2= yes
+USE_GNOME= _glib20
+
+# Help configure find libev.
+CFLAGS+= -I${PREFIX}/include
+LDFLAGS+= -L${PREFIX}/lib
+
+PLIST_FILES= bin/multiwatch
+
+.include <bsd.port.mk>
diff --git a/www/multiwatch/distinfo b/www/multiwatch/distinfo
new file mode 100644
index 000000000000..d45b13ca95a6
--- /dev/null
+++ b/www/multiwatch/distinfo
@@ -0,0 +1,2 @@
+SHA256 (multiwatch-1.0.0.tar.bz2) = 2e1096f0a5d8052a2a5811f3ba4253621c834284aa26f7577dd640c19f52d298
+SIZE (multiwatch-1.0.0.tar.bz2) = 69958
diff --git a/www/multiwatch/pkg-descr b/www/multiwatch/pkg-descr
new file mode 100644
index 000000000000..f02ca8a36129
--- /dev/null
+++ b/www/multiwatch/pkg-descr
@@ -0,0 +1,7 @@
+Multiwatch forks multiple instance of one application and keeps them
+running; it is made to be used with spawn-fcgi, so all forks share the same
+fastcgi socket (no webserver restart needed if you increase/decrease the
+number of forks), and it is easier than to setup multiple daemontool
+supervised instances.
+
+WWW: http://redmine.lighttpd.net/projects/multiwatch/wiki