finish packaging
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Fri, 7 Jan 2005 22:51:14 +0000 (22:51 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:34:23 +0000 (00:34 +0100)
git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-13

debian/patches/10.correct_spool_path.patch [new file with mode: 0644]
debian/rules

diff --git a/debian/patches/10.correct_spool_path.patch b/debian/patches/10.correct_spool_path.patch
new file mode 100644 (file)
index 0000000..c8999c8
--- /dev/null
@@ -0,0 +1,11 @@
+--- /home/x2000habouzit/dev/banana/banana/spool.inc.php        2005-01-07 23:47:41.000000000 +0100
++++ banana/spool.inc.php       2005-01-07 23:46:58.000000000 +0100
+@@ -150,7 +150,7 @@
+         global $banana;
+         $url = parse_url($banana->host);
+         $file = $url['host'].'_'.$url['port'].'_'.$this->group;
+-        return dirname(dirname(__FILE__)).'/spool/'.$file;
++        return "/var/spool/banana/$file";
+     }
+     function _updateSpool($arg)
index 8ee2817..12c34e9 100755 (executable)
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+# configure simple-patchsys
+DEB_PATCHDIRS := debian/patches
 
 # documentation
 DEB_INSTALL_DOCS_ALL :=