summaryrefslogtreecommitdiff
path: root/php-kolab/Kolab_Filter
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2009-03-17 11:46:16 (GMT)
committerSascha Wilde <wilde@intevation.de>2009-03-17 11:46:16 (GMT)
commit6db886ecdeb22680e4e90afb9613e45d64662aac (patch)
tree890e9c595d312481c5acdc5c4312d333b658231f /php-kolab/Kolab_Filter
parenta106439065b68d188548cb3958cdaa0e76f797d7 (diff)
downloadserver-6db886ecdeb22680e4e90afb9613e45d64662aac.tar.gz
Fixed quoting of arguments in DovecotLDA transport.
Diffstat (limited to 'php-kolab/Kolab_Filter')
-rw-r--r--php-kolab/Kolab_Filter/Kolab_Filter.spec4
-rw-r--r--php-kolab/Kolab_Filter/Makefile2
-rw-r--r--php-kolab/Kolab_Filter/dovecotlda-quoting.patch13
3 files changed, 17 insertions, 2 deletions
diff --git a/php-kolab/Kolab_Filter/Kolab_Filter.spec b/php-kolab/Kolab_Filter/Kolab_Filter.spec
index 9be29db..b2eae3c 100644
--- a/php-kolab/Kolab_Filter/Kolab_Filter.spec
+++ b/php-kolab/Kolab_Filter/Kolab_Filter.spec
@@ -1,7 +1,7 @@
# Variables
%define V_package Kolab_Filter
%define V_version 0.1.4
-%define V_release 20090303
+%define V_release 20090317
# Package Information
Name: %{V_package}
@@ -22,6 +22,7 @@ Source1: package.xml
Patch0: issue3435.patch
Patch1: issue3192.patch
Patch2: issue3441.patch
+Patch3: dovecotlda-quoting.patch
# Build Info
Prefix: %{l_prefix}
@@ -59,6 +60,7 @@ resource management as well as some Kolab server sender policies.
%patch -p3 -P 0
%patch -p1 -P 1
%patch -p1 -P 2
+ %patch -p1 -P 3
cp %{S:1} .
%build
diff --git a/php-kolab/Kolab_Filter/Makefile b/php-kolab/Kolab_Filter/Makefile
index 1f369e7..fb18a5e 100644
--- a/php-kolab/Kolab_Filter/Makefile
+++ b/php-kolab/Kolab_Filter/Makefile
@@ -21,7 +21,7 @@ endif
SOURCE_URL=http://pear.horde.org/get
SOURCE_0=$(PACKAGE)-$(VERSION).tgz
-EXTRA=ChangeLog issue3435.patch issue3192.patch issue3441.patch package.xml
+EXTRA=ChangeLog issue3435.patch issue3192.patch issue3441.patch dovecotlda-quoting.patch package.xml
.PHONY: all
all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
diff --git a/php-kolab/Kolab_Filter/dovecotlda-quoting.patch b/php-kolab/Kolab_Filter/dovecotlda-quoting.patch
new file mode 100644
index 0000000..7f6e9fc
--- /dev/null
+++ b/php-kolab/Kolab_Filter/dovecotlda-quoting.patch
@@ -0,0 +1,13 @@
+--- a/lib/Horde/Kolab/Filter/Transport/DovecotLDA.php
++++ b/lib/Horde/Kolab/Filter/Transport/DovecotLDA.php
+@@ -218,8 +218,8 @@
+
+ $deliver = $conf['kolab']['filter']['dovecot_deliver'];
+
+- $this->_deliver_fh = popen($deliver . ' -f ' . $this->_envelopeSender .
+- ' -d ' . $recipient, "w");
++ $this->_deliver_fh = popen($deliver . ' -f "' . $this->_envelopeSender .
++ '" -d "' . $recipient . '"', "w");
+ if ($this->_deliver_fh === false) {
+ return PEAR::raiseError('Failed to connect to the dovecot delivery tool!');
+ }