[Python-apps-commits] r8502 - in packages/fookebox/trunk/debian (7 files)

cockroach-guest at users.alioth.debian.org cockroach-guest at users.alioth.debian.org
Sat Apr 21 01:41:32 UTC 2012


    Date: Saturday, April 21, 2012 @ 01:41:31
  Author: cockroach-guest
Revision: 8502

Added fcgi config files, updated README and debian/control

Added:
  packages/fookebox/trunk/debian/README.Debian
  packages/fookebox/trunk/debian/conf/apache-fcgi.conf
  packages/fookebox/trunk/debian/conf/fookebox.fcgi
Modified:
  packages/fookebox/trunk/debian/changelog
  packages/fookebox/trunk/debian/conf/apache.conf
  packages/fookebox/trunk/debian/conf/fookebox.wsgi
  packages/fookebox/trunk/debian/control

Added: packages/fookebox/trunk/debian/README.Debian
===================================================================
--- packages/fookebox/trunk/debian/README.Debian	                        (rev 0)
+++ packages/fookebox/trunk/debian/README.Debian	2012-04-21 01:41:31 UTC (rev 8502)
@@ -0,0 +1,9 @@
+fookebox for Debian
+-------------------
+
+By default, fookebox is served through apache's mod_wsgi. If you would like to
+use fookebox with FastCGI and flup instead, you can modify the symbolik link
+/etc/apache2/conf.d/fookebox to point to /etc/fookebox/apache-fcgi.conf instead
+of /etc/fookebox/apache.conf.
+
+ -- Stefan Ott <stefan at ott.net>  Tue, 17 Apr 2012 05:01:43 +0200

Modified: packages/fookebox/trunk/debian/changelog
===================================================================
--- packages/fookebox/trunk/debian/changelog	2012-04-20 13:12:47 UTC (rev 8501)
+++ packages/fookebox/trunk/debian/changelog	2012-04-21 01:41:31 UTC (rev 8502)
@@ -1,10 +1,17 @@
-fookebox (0.6.0-2) unstable; urgency=low
+fookebox (0.6.1-1) unstable; urgency=low
 
+  * New upstream release:
+    - Uses mpd's new volume control command			closes: #667837
+    - Ships with example config for FastCGI/flup		closes: #667838
+  * debian/control:
+    - Bumped Standards-Version to 3.9.3
+    - Recommend libapache2-mod-wsgi | httpd-wsgi instead of depending on them
+  * Updated config files in debian/conf to the latest versions from upstream
   * Removed mechanisms for upgrading from package versions prior to 0.5.0
     (which were never officially packaged for Debian) from the maintainer
     scripts.							closes: #659754
 
- -- Stefan Ott <stefan at ott.net>  Fri, 17 Feb 2012 02:47:48 +0100
+ -- Stefan Ott <stefan at ott.net>  Tue, 17 Apr 2012 04:24:03 +0200
 
 fookebox (0.6.0-1) unstable; urgency=low
 

Added: packages/fookebox/trunk/debian/conf/apache-fcgi.conf
===================================================================
--- packages/fookebox/trunk/debian/conf/apache-fcgi.conf	                        (rev 0)
+++ packages/fookebox/trunk/debian/conf/apache-fcgi.conf	2012-04-21 01:41:31 UTC (rev 8502)
@@ -0,0 +1,17 @@
+<IfModule mod_fastcgi.c>
+	Alias /fookebox /etc/fookebox/fookebox.fcgi
+	RedirectMatch ^/fookebox$ /fookebox/
+
+	<Location /fookebox>
+		Options +ExecCGI
+		Order deny,allow
+		Allow from all
+	</Location>
+
+	<Location /fookebox/schedule>
+		Order deny,allow
+		Deny from all
+		Allow from localhost
+	</Location>
+</IfModule>
+

Modified: packages/fookebox/trunk/debian/conf/apache.conf
===================================================================
--- packages/fookebox/trunk/debian/conf/apache.conf	2012-04-20 13:12:47 UTC (rev 8501)
+++ packages/fookebox/trunk/debian/conf/apache.conf	2012-04-21 01:41:31 UTC (rev 8502)
@@ -1,15 +1,17 @@
-WSGIScriptAlias /fookebox /etc/fookebox/fookebox.wsgi
+<IfModule mod_wsgi.c>
+	WSGIScriptAlias /fookebox /etc/fookebox/fookebox.wsgi
 
-WSGIDaemonProcess fookebox
-WSGIProcessGroup fookebox
+	WSGIDaemonProcess fookebox
+	WSGIProcessGroup fookebox
 
-<Location /fookebox>
-	Order deny,allow
-	Allow from all
-</Location>
+	<Location /fookebox>
+		Order deny,allow
+		Allow from all
+	</Location>
 
-<Location /fookebox/schedule>
-	Order deny,allow
-	Deny from all
-	Allow from localhost
-</Location>
+	<Location /fookebox/schedule>
+		Order deny,allow
+		Deny from all
+		Allow from localhost
+	</Location>
+</IfModule>

Added: packages/fookebox/trunk/debian/conf/fookebox.fcgi
===================================================================
--- packages/fookebox/trunk/debian/conf/fookebox.fcgi	                        (rev 0)
+++ packages/fookebox/trunk/debian/conf/fookebox.fcgi	2012-04-21 01:41:31 UTC (rev 8502)
@@ -0,0 +1,16 @@
+#!/usr/bin/python
+#
+# requires the python flup module
+
+BASE_PATH = '/usr/share/fookebox'
+APP_CONFIG = '/etc/fookebox/config.ini'
+
+import sys
+if BASE_PATH not in sys.path:
+	sys.path.append(BASE_PATH)
+
+from paste.deploy import loadapp
+app = loadapp('config:' + APP_CONFIG)
+
+from flup.server.fcgi import WSGIServer
+WSGIServer(app).run()


Property changes on: packages/fookebox/trunk/debian/conf/fookebox.fcgi
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/fookebox/trunk/debian/conf/fookebox.wsgi
===================================================================
--- packages/fookebox/trunk/debian/conf/fookebox.wsgi	2012-04-20 13:12:47 UTC (rev 8501)
+++ packages/fookebox/trunk/debian/conf/fookebox.wsgi	2012-04-21 01:41:31 UTC (rev 8502)
@@ -2,6 +2,7 @@
 APP_CONFIG = '/etc/fookebox/config.ini'
 
 import sys
+
 if BASE_PATH not in sys.path:
 	sys.path.append(BASE_PATH)
 

Modified: packages/fookebox/trunk/debian/control
===================================================================
--- packages/fookebox/trunk/debian/control	2012-04-20 13:12:47 UTC (rev 8501)
+++ packages/fookebox/trunk/debian/control	2012-04-21 01:41:31 UTC (rev 8502)
@@ -4,15 +4,15 @@
 Maintainer: Stefan Ott <stefan at ott.net>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7.0.50), python, python-setuptools, python-pastescript
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 Homepage: http://fookebox.googlecode.com/
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/fookebox/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/fookebox
 
 Package: fookebox
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, libjs-prototype, libjs-scriptaculous, python-pylons, python-mpd, python-simplejson, python-sqlalchemy, libapache2-mod-wsgi | httpd-wsgi
-Recommends: mpd
+Depends: ${misc:Depends}, ${python:Depends}, libjs-prototype, libjs-scriptaculous, python-pylons, python-mpd, python-simplejson, python-sqlalchemy
+Recommends: mpd, libapache2-mod-wsgi | httpd-wsgi
 Description: web-based jukebox frontend to mpd
  fookebox is a jukebox-style web-frontend to mpd. It can serve as a
  keyboard-less jukebox or as a generic mpd frontend, depending on your




More information about the Python-apps-commits mailing list