[pkg-kolab] r118 - trunk/kolab-resource-handlers/debian/patches

Steffen Joeris white-guest at costa.debian.org
Fri Jan 6 13:02:39 UTC 2006


Author: white-guest
Date: 2006-01-06 13:02:39 +0000 (Fri, 06 Jan 2006)
New Revision: 118

Added:
   trunk/kolab-resource-handlers/debian/patches/70-IMAP.php.dpatch
Modified:
   trunk/kolab-resource-handlers/debian/patches/00list
Log:
* wrote dpatch for require in IMAP.php to use
  the right IMAPProtocol.php


Modified: trunk/kolab-resource-handlers/debian/patches/00list
===================================================================
--- trunk/kolab-resource-handlers/debian/patches/00list	2006-01-06 12:58:35 UTC (rev 117)
+++ trunk/kolab-resource-handlers/debian/patches/00list	2006-01-06 13:02:39 UTC (rev 118)
@@ -4,3 +4,4 @@
 40-resmgr.php
 50-kolabfilter.php
 60-olhacks.php
+70-IMAP.php

Added: trunk/kolab-resource-handlers/debian/patches/70-IMAP.php.dpatch
===================================================================
--- trunk/kolab-resource-handlers/debian/patches/70-IMAP.php.dpatch	2006-01-06 12:58:35 UTC (rev 117)
+++ trunk/kolab-resource-handlers/debian/patches/70-IMAP.php.dpatch	2006-01-06 13:02:39 UTC (rev 118)
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+## IMAP.php.dpatch by Steffen Joeris <steffen.joeris at skolelinux.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct require
+
+if [ $# -lt 1 ]; then
+echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+      -patch) patch $patch_opts -p1 < $0;;
+      -unpatch) patch $patch_opts -p1 -R < $0;;
+      *)
+      echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+      exit 1;;
+esac
+
+exit 0
+
+ at DPATCH@
+--- kolab-resource-handlers-0.3.9/kolab-resource-handlers/fbview/fbview/framework/Net_IMAP/IMAP.php.orig	2006-01-06 13:57:51.000000000 +0100
++++ kolab-resource-handlers-0.3.9/kolab-resource-handlers/fbview/fbview/framework/Net_IMAP/IMAP.php	2006-01-06 13:58:11.000000000 +0100
+@@ -17,7 +17,7 @@
+ // +----------------------------------------------------------------------+
+ 
+ 
+-require_once 'Net/IMAPProtocol.php';
++require_once '/usr/share/kolab-resource-handlers/php/IMAPProtocol.php';
+ 
+ 
+ /**


Property changes on: trunk/kolab-resource-handlers/debian/patches/70-IMAP.php.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-kolab-devel mailing list