[DRE-commits] r1573 - in packages-wip/mongrel-cluster/trunk: . debian debian/patches

filipe-guest at alioth.debian.org filipe-guest at alioth.debian.org
Wed May 16 02:28:16 UTC 2007


Author: filipe-guest
Date: 2007-05-16 02:28:16 +0000 (Wed, 16 May 2007)
New Revision: 1573

Added:
   packages-wip/mongrel-cluster/trunk/debian/
   packages-wip/mongrel-cluster/trunk/debian/README.Debian
   packages-wip/mongrel-cluster/trunk/debian/changelog
   packages-wip/mongrel-cluster/trunk/debian/compat
   packages-wip/mongrel-cluster/trunk/debian/control
   packages-wip/mongrel-cluster/trunk/debian/copyright
   packages-wip/mongrel-cluster/trunk/debian/dirs
   packages-wip/mongrel-cluster/trunk/debian/docs
   packages-wip/mongrel-cluster/trunk/debian/init.d
   packages-wip/mongrel-cluster/trunk/debian/install
   packages-wip/mongrel-cluster/trunk/debian/mongrel-cluster.1
   packages-wip/mongrel-cluster/trunk/debian/patches/
   packages-wip/mongrel-cluster/trunk/debian/patches/001_add_gemspec_file.diff
   packages-wip/mongrel-cluster/trunk/debian/rules
   packages-wip/mongrel-cluster/trunk/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages-wip/mongrel-cluster/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages-wip/mongrel-cluster/trunk/debian/README.Debian
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/README.Debian	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/README.Debian	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,18 @@
+mongrel-cluster for Debian
+--------------------------
+
+Generating mongrel-cluster.orig.tar.gz
+
+mongrel_cluster is distributed only as a rubygems file. Rubygems are tar
+files that contains 2 files: data.tar.gz and control.tar. The only file
+that is of interest to us is data.tar.gz. So, to generate mongrel-cluster
+orig file, you must:
+
+* download mongrel_cluster-XXXX.gem
+* tar xvf mongrel_cluster-X.X.X.X.gem
+* rm mongrel_cluster-X.X.X.X.gem and control.tar
+* mv data.tar.gz mongrel-cluster-XXXX.orig.tar.gz
+
+This way we don't create a diff file with data.tar.gz and control.tar.
+
+ -- Filipe Lautert <filipe at icewall.org>  Fri, 16 Mar 2007 11:17:47 -0300

Added: packages-wip/mongrel-cluster/trunk/debian/changelog
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/changelog	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/changelog	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,6 @@
+mongrel-cluster (1.0.1.1-1) UNREALEASED; urgency=low
+
+  * Initial release.
+
+ -- Filipe Lautert <filipe at icewall.org>  Fri, 16 Mar 2007 11:17:47 -0300
+

Added: packages-wip/mongrel-cluster/trunk/debian/compat
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/compat	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/compat	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1 @@
+5

Added: packages-wip/mongrel-cluster/trunk/debian/control
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/control	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/control	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,18 @@
+Source: mongrel-cluster
+Section: interpreters
+Priority: optional
+Maintainer: Filipe Lautert <filipe at icewall.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>, Gunnar Wolf <gwolf at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), ruby1.8 (>=1.8.4), ruby
+Standards-Version: 3.7.2
+
+Package: mongrel-cluster
+Architecture: all
+Depends: mongrel, ruby1.8 (>=1.8.4), ruby
+Description: mongrel_cluster manages multiple Mongrel processes
+ Mongrel_cluster is a GemPlugin that wrappers the mongrel HTTP server and
+ simplifies the deployment of webapps using a cluster of mongrel servers.
+ Mongrel_cluster will conveniently configure and control several mongrel 
+ servers, or groups of mongrel servers, which are then load balanced using 
+ a reverse proxy solution. Typical load balancing reverse proxies include
+ Apache, Lighttpd, Pound, Pen and Balance.

Added: packages-wip/mongrel-cluster/trunk/debian/copyright
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/copyright	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/copyright	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,14 @@
+This package was debianized by Filipe Lautert <filipe at icewall.org> on
+Fri, 16 Mar 2007 11:17:47 -0300.
+
+It was downloaded from http://mongrel.rubyforge.org/releases/gems/
+
+Upstream Author: Bradley Taylor <bradley at fluxura.com>
+
+Copyright: 2006 Bradley Taylor, bradley at fluxura.com
+
+This software is licensed under the LGPL version 2.1, see 
+`/usr/share/common-licenses/LGPL-2.1'.
+
+The Debian packaging is (C) 2007, Filipe Lautert <filipe at icewall.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages-wip/mongrel-cluster/trunk/debian/dirs
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/dirs	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/dirs	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,4 @@
+usr/sbin
+usr/lib/ruby/1.8/mongrel_cluster
+etc/mongrel-cluster/sites-enabled
+etc/mongrel-cluster/sites-available

Added: packages-wip/mongrel-cluster/trunk/debian/docs
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/docs	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/docs	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1 @@
+README

Added: packages-wip/mongrel-cluster/trunk/debian/init.d
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/init.d	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/init.d	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,87 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          mongrel-cluster
+# Required-Start:
+# Required-Stop:
+# Default-Start:    
+# Default-Stop:    
+# Should-Start:      $network
+# Should-Stop:       $network
+# Short-Description: Start mongrel servers at boot time
+### END INIT INFO
+#
+# Copyright (c) 2007 Bradley Taylor, bradley at railsmachine.com
+#
+# mongrel_cluster       Startup script for Mongrel clusters.
+#
+# chkconfig: - 85 15
+# description: mongrel_cluster manages multiple Mongrel processes for use \
+#              behind a load balancer.
+#
+# Debianized by Filipe Lautert, filipe at icewall.org
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/mongrel_cluster_ctl
+NAME=mongrel-cluster
+DESC=mongrel-cluster
+
+test -x $DAEMON || exit 0
+
+CONF_DIR=/etc/mongrel-cluster/sites-enabled
+PID_DIR=/var/run/mongrel-cluster
+USER=www-data
+GROUP=www-data
+DAEMON_OPTS="-c $CONF_DIR"
+
+# Include mongrel-cluster defaults if available
+if [ -f /etc/default/mongrel-cluster ] ; then
+	. /etc/default/mongrel-cluster
+fi
+
+set -e
+
+# if we do not hae configuration files, skip the script
+TOTAL_CONFS=$(ls $CONF_DIR | wc -l)
+test $TOTAL_CONFS -ne 0 || exit 0
+
+case "$1" in
+  start)
+	mkdir -p $PID_DIR
+        chown $USER:$GROUP $PID_DIR
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet --chuid $USER:$GROUP \
+		--exec $DAEMON -- start $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --start --quiet --chuid $USER:$GROUP \
+		--exec $DAEMON -- stop $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  restart)
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --start --quiet --chuid $USER:$GROUP \
+		--exec $DAEMON -- restart $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  status)
+	echo -n "Status for $DESC: "
+	start-stop-daemon --start --quiet --chuid $USER:$GROUP \
+		--exec $DAEMON -- status $DAEMON_OPTS
+	;;
+  # actually jus calling restart
+  force-reload)
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --start --quiet --chuid $USER:$GROUP \
+		--exec $DAEMON -- restart $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|status}" >&2
+	exit 1
+	;;
+esac
+
+exit 0

Added: packages-wip/mongrel-cluster/trunk/debian/install
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/install	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/install	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,4 @@
+lib/mongrel_cluster/init.rb var/lib/gems/1.8/gems/mongrel_cluster-1.0.1.1/lib/mongrel_cluster/
+lib/mongrel_cluster/recipes.rb var/lib/gems/1.8/gems/mongrel_cluster-1.0.1.1/lib/mongrel_cluster/
+bin/mongrel_cluster_ctl usr/sbin/
+mongrel_cluster-1.0.1.1.gemspec var/lib/gems/1.8/specifications/

Added: packages-wip/mongrel-cluster/trunk/debian/mongrel-cluster.1
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/mongrel-cluster.1	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/mongrel-cluster.1	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,21 @@
+.TH MONGREL 1 "Juni 28, 2006"
+.SH NAME
+/etc/init.d/mongrel-cluster \- init script for Mongrel Cluster
+.SH SYNOPSIS
+.B /etc/init.d/mongrel-cluster
+.RI {start | stop | restart | status} 
+[application_name]
+.SH DESCRIPTION
+\fB/etc/init.d/mongrel-cluster\fP can control any number of Rails applications running under the Mongrel webserver.
+.SH CONFIGURATION
+Each application is configured with a file located in (or symlinked to)
+\fB/etc/mongrel-cluster/sites-enabled\fP.
+.PP
+Each configuration file is a mongrel_cluster configuration file.
+.PP
+.SH SEE ALSO
+.BR mongrel_rails (1)
+.br
+.SH AUTHOR
+Mongrel Cluster (http://mongrel.rubyforge.org/) was written by Bradley Taylor <bradley at fluxura.com>.
+This man page was written by Filipe Lautert <filipe at icewall.org>.

Added: packages-wip/mongrel-cluster/trunk/debian/patches/001_add_gemspec_file.diff
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/patches/001_add_gemspec_file.diff	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/patches/001_add_gemspec_file.diff	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,13 @@
+--- mongrel_cluster-1.0.1.1.gemspec-orig	1969-12-31 21:00:00.000000000 -0300
++++ mongrel_cluster-1.0.1.1.gemspec	2007-05-15 19:44:03.000000000 -0300
+@@ -0,0 +1,10 @@
++Gem::Specification.new do |s|
++  s.name = %q{mongrel_cluster}
++  s.version = "1.0.1.1"
++  s.date = %q{2007-03-20}
++  s.summary = %q{Mongrel plugin that provides commands and Capistrano tasks for managing multiple Mongrel processes.}
++  s.files = ["lib/mongrel_cluster", "lib/mongrel_cluster/init.rb", "lib/mongrel_cluster/recipes.rb"]
++  s.add_dependency('gem_plugin', '>=0.2.2')
++  s.add_dependency('mongrel', '>=1.0.1')
++  s.author = "Bradley Taylor" 
++end

Added: packages-wip/mongrel-cluster/trunk/debian/rules
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/rules	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/rules	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+  
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk


Property changes on: packages-wip/mongrel-cluster/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages-wip/mongrel-cluster/trunk/debian/watch
===================================================================
--- packages-wip/mongrel-cluster/trunk/debian/watch	                        (rev 0)
+++ packages-wip/mongrel-cluster/trunk/debian/watch	2007-05-16 02:28:16 UTC (rev 1573)
@@ -0,0 +1,2 @@
+version=3
+http://mongrel.rubyforge.org/releases/gems/mongrel_cluster-([0-9\.]*)\.gem




More information about the Pkg-ruby-extras-commits mailing list