summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-04 15:25:31 +0000
committerjlam <jlam>2008-04-04 15:25:31 +0000
commit88087ab8831e863164573488bc0a49d90ac8b2ca (patch)
treea2e9e65037f6b9283932e49c474fc8043f1d929e
parentfdfd15652a0c8243391a8c012f4fed960beab635 (diff)
downloadpkgsrc-88087ab8831e863164573488bc0a49d90ac8b2ca.tar.gz
Initial import of mongrel-cluster-1.0.5 as www/mongrel-cluster.
This package is a Mongrel plugin to help start/stop/restart multiple mongrel servers to use behind a load balancer like Apache 2.2 (mod_proxy_balancer), Lighttpd, Pound, Pen or Balance. This plugin adds an option to specify a number of Mongrel servers to launch, a range of ports, and a configuration file for the cluster.
-rw-r--r--www/mongrel-cluster/DESCR5
-rw-r--r--www/mongrel-cluster/Makefile17
-rw-r--r--www/mongrel-cluster/PLIST23
-rw-r--r--www/mongrel-cluster/distinfo5
4 files changed, 50 insertions, 0 deletions
diff --git a/www/mongrel-cluster/DESCR b/www/mongrel-cluster/DESCR
new file mode 100644
index 00000000000..34714a13975
--- /dev/null
+++ b/www/mongrel-cluster/DESCR
@@ -0,0 +1,5 @@
+This package is a Mongrel plugin to help start/stop/restart multiple
+mongrel servers to use behind a load balancer like Apache 2.2
+(mod_proxy_balancer), Lighttpd, Pound, Pen or Balance. This plugin
+adds an option to specify a number of Mongrel servers to launch, a
+range of ports, and a configuration file for the cluster.
diff --git a/www/mongrel-cluster/Makefile b/www/mongrel-cluster/Makefile
new file mode 100644
index 00000000000..8d6d132f94a
--- /dev/null
+++ b/www/mongrel-cluster/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:25:31 jlam Exp $
+
+DISTNAME= mongrel_cluster-1.0.5
+PKGNAME= ${DISTNAME:S/_/-/g}
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://mongrel.rubyforge.org/
+COMMENT= Mongrel plugin to manage a mongrel cluster
+
+DEPENDS+= mongrel>=1.0.2:../../www/mongrel
+DEPENDS+= ${RUBY_PKGPREFIX}-gem_plugin>=0.2.3:../../misc/ruby-gem_plugin
+
+GEM_BUILD= gemspec
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/mongrel-cluster/PLIST b/www/mongrel-cluster/PLIST
new file mode 100644
index 00000000000..0c225635d24
--- /dev/null
+++ b/www/mongrel-cluster/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:25:31 jlam Exp $
+bin/mongrel_cluster_ctl
+${GEM_HOME}/cache/mongrel_cluster-${PKGVERSION}.gem
+${GEM_LIBDIR}/CHANGELOG
+${GEM_LIBDIR}/COPYING
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/Manifest
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/bin/mongrel_cluster_ctl
+${GEM_LIBDIR}/lib/mongrel_cluster/init.rb
+${GEM_LIBDIR}/lib/mongrel_cluster/recipes.rb
+${GEM_LIBDIR}/lib/mongrel_cluster/recipes_1.rb
+${GEM_LIBDIR}/lib/mongrel_cluster/recipes_2.rb
+${GEM_LIBDIR}/mongrel_cluster.gemspec
+${GEM_LIBDIR}/resources/defaults.yaml
+${GEM_LIBDIR}/resources/mongrel_cluster
+${GEM_HOME}/specifications/mongrel_cluster-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/resources
+@dirrm ${GEM_LIBDIR}/lib/mongrel_cluster
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/bin
+@dirrm ${GEM_LIBDIR}
+@exec ${MKDIR} %D/${GEM_DOCDIR}
diff --git a/www/mongrel-cluster/distinfo b/www/mongrel-cluster/distinfo
new file mode 100644
index 00000000000..e1ec929007b
--- /dev/null
+++ b/www/mongrel-cluster/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:25:31 jlam Exp $
+
+SHA1 (mongrel_cluster-1.0.5.gem) = e29a902b09c91662cbd7388062980ce2b14f5e4a
+RMD160 (mongrel_cluster-1.0.5.gem) = 095736d09203521bdfa1668cefb8a1b9d64bc3d9
+Size (mongrel_cluster-1.0.5.gem) = 24064 bytes