--- squirrelmail-compatibility-2.0.16.orig/debian/bug.script
+++ squirrelmail-compatibility-2.0.16/debian/bug.script
@@ -0,0 +1,16 @@
+#!/bin/sh
+exec 3>&1
+
+SM_CONFIG="/etc/squirrelmail/config.php"
+
+if [ -r $SM_CONFIG ]
+then
+ echo -n "Including installed squirrelmail plugins... "
+ grep "\$plugins\[[0-9]\+\]" $SM_CONFIG | cut -d "'" -f2 >&3
+ echo "done."
+ echo
+fi
+
+echo -n "Including list of all installed squirrelmail related packages... "
+dpkg -l | egrep "(squirrelmail|avelsieve)" >&3 # I should consider renaming avelsieve
+echo "done."
--- squirrelmail-compatibility-2.0.16.orig/debian/postrm
+++ squirrelmail-compatibility-2.0.16/debian/postrm
@@ -0,0 +1,18 @@
+#!/bin/sh
+set -e
+
+# Source debconf library.
+case "$1" in
+ remove)
+ if [ `which squirrelmail-compatibility` ]
+ then
+ squirrelmail-configure --remove-plugin compatibility
+ fi
+ ;;
+ *)
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- squirrelmail-compatibility-2.0.16.orig/debian/rules
+++ squirrelmail-compatibility-2.0.16/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+%:
+ dh $@
--- squirrelmail-compatibility-2.0.16.orig/debian/compat
+++ squirrelmail-compatibility-2.0.16/debian/compat
@@ -0,0 +1 @@
+7
--- squirrelmail-compatibility-2.0.16.orig/debian/control
+++ squirrelmail-compatibility-2.0.16/debian/control
@@ -0,0 +1,22 @@
+Source: squirrelmail-compatibility
+Section: web
+Priority: optional
+Maintainer: Jan Hauke Rahm <jhr@debian.org>
+Build-Depends: debhelper (>= 7.0.50)
+Standards-Version: 3.8.4
+Homepage: http://www.squirrelmail.org/plugin_view.php?id=152
+Vcs-Svn: http://debsvn.jhr-online.de/squirrelmail-compatibility/trunk/
+Vcs-Browser: https://cgi.jhr-online.de/viewvc.cgi/debian/squirrelmail-compatibility/trunk/
+
+Package: squirrelmail-compatibility
+Architecture: all
+Depends: squirrelmail (>= 2:1.4.13), ${misc:Depends}
+Description: SquirrelMail plugin: Let other plugins work with older/newer SM versions
+ This plugin allows any other plugin access to the functions and special
+ variables needed to make it backward (and forward) compatible with most
+ versions of SM in wide use. This eliminates the need for duplication of
+ certain functions throughout many plugins. It also provides functionality that
+ helps check that plugins have been installed and set up correctly.
+ .
+ SquirrelMail is a standards-based webmail package written in PHP. It runs on
+ top of any IMAP server.
--- squirrelmail-compatibility-2.0.16.orig/debian/install
+++ squirrelmail-compatibility-2.0.16/debian/install
@@ -0,0 +1 @@
+includes locale *.php usr/share/squirrelmail/plugins/compatibility
--- squirrelmail-compatibility-2.0.16.orig/debian/watch
+++ squirrelmail-compatibility-2.0.16/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://squirrelmail.org/plugin_list.php http://squirrelmail.org/plugins/compatibility.([\da-zA-Z\.]+).* debian
--- squirrelmail-compatibility-2.0.16.orig/debian/docs
+++ squirrelmail-compatibility-2.0.16/debian/docs
@@ -0,0 +1 @@
+docs/README
--- squirrelmail-compatibility-2.0.16.orig/debian/README.Debian
+++ squirrelmail-compatibility-2.0.16/debian/README.Debian
@@ -0,0 +1,6 @@
+Compatibility 2.0.10+
+
+Please note that this plugin is not activated during installation because it's
+not necessary. See README file for details about that.
+
+Jan Hauke Rahm <info@jhr-online.de>
--- squirrelmail-compatibility-2.0.16.orig/debian/copyright
+++ squirrelmail-compatibility-2.0.16/debian/copyright
@@ -0,0 +1,31 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=423
+Upstream-Name: compatibility
+Upstream-Maintainer: Paul Lesniewski <paul@squirrelmail.org>
+Upstream-Source: http://www.squirrelmail.org/plugin_view.php?id=152
+
+Files: *
+Copyright: © 2004-2009 Paul Lesniewski <paul@squirrelmail.org>
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License version 2 as published by the Free
+ Software Foundation.
+
+Files: */index.php
+Copyright: © 1999-2009 The SquirrelMail Project Team
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License version 2 as published by the Free
+ Software Foundation.
+
+Files: debian/*
+Copyright: © 2008-2009 Jan Hauke Rahm <jhr@debian.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in file "/usr/share/common-licenses/GPL-2". Possible later
+versions are found within the same directory (e.g.
+"/usr/share/common-licenses/GPL-3").
--- squirrelmail-compatibility-2.0.16.orig/debian/changelog
+++ squirrelmail-compatibility-2.0.16/debian/changelog
@@ -0,0 +1,77 @@
+squirrelmail-compatibility (2.0.16-1) unstable; urgency=low
+
+ * New upstream release
+ * Bumped Standards-Version: 3.8.4
+
+ -- Jan Hauke Rahm <jhr@debian.org> Fri, 05 Feb 2010 17:07:21 +0100
+
+squirrelmail-compatibility (2.0.15-1) unstable; urgency=low
+
+ * New upstream release
+ * Bumped standards-version to 3.8.3
+ * Include bug.script to get information about installed plugins
+ * Changed build process a bit, nothing actually important
+
+ -- Jan Hauke Rahm <jhr@debian.org> Sun, 08 Nov 2009 09:51:33 +0100
+
+squirrelmail-compatibility (2.0.14-1) unstable; urgency=low
+
+ * New upstream release
+ + Added is_ssl_secured_connection()
+ + Added sq_is_writable()
+ + Added sq_create_tempfile()
+ + Added get_process_owner_info()
+ + Update with changes in sqsetcookie() and that it was added to 1.4.16
+ * debian/copyright: updated
+ * debian/rules: cleanup
+ * DM-Upload-Allowed: yes
+
+ -- Jan Hauke Rahm <info@jhr-online.de> Tue, 13 Jan 2009 15:41:28 +0100
+
+squirrelmail-compatibility (2.0.13-1) unstable; urgency=low
+
+ * New upstream release
+ + Synchronized sq_send_mail() and sqauth_save_password() with changes in
+ SquirrelMail
+ + Synchronized get_plugin_requirement() with changes in SquirrelMail
+ * debian/control: Added VCS information
+ * debian/postrm: removing full paths (lintian warning)
+
+ -- Jan Hauke Rahm <info@jhr-online.de> Fri, 29 Aug 2008 19:40:39 +0200
+
+squirrelmail-compatibility (2.0.12-1) unstable; urgency=low
+
+ * New upstream release
+ + Added set_uri_vars()
+ + Added check_file_contents()
+ + Added $load_only_one to load_config()
+ + Added include directories for 1.4.15 and 1.4.16
+ + Added lame-duck stand-in for ngettext() when needed under SquirrelMail
+ versions less than 1.5.1 that are not running at least PHP 4.2.0 with
+ the gettext extension
+ * Using debhelper 7
+ * Bumping to Policy 3.8 (no changes)
+
+ -- Jan Hauke Rahm <info@jhr-online.de> Thu, 17 Jul 2008 12:06:29 +0200
+
+squirrelmail-compatibility (2.0.11-2) unstable; urgency=low
+
+ * Added debian/watch file
+ * Changed package description
+ * Changed format of debian/copyright to be machine-interpretable
+
+ -- Jan Hauke Rahm <info@jhr-online.de> Sat, 29 Mar 2008 09:28:20 +0100
+
+squirrelmail-compatibility (2.0.11-1) unstable; urgency=low
+
+ * New upstream release
+ + Moved sq_send_mail(), since it was added to SM core
+ + Added debug constants from 1.5.2
+
+ -- Jan Hauke Rahm <info@jhr-online.de> Sat, 15 Mar 2008 21:37:03 +0100
+
+squirrelmail-compatibility (2.0.10-1) unstable; urgency=low
+
+ * Initial release. (Closes: #464766)
+
+ -- Jan Hauke Rahm <info@jhr-online.de> Sun, 17 Feb 2008 17:57:06 +0100