squirrelmail-spam-buttons (2.3.1-1) debian-dir only changes

Summary

 debian/changelog |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/compat    |    1 
 debian/control   |   24 ++++++++++++++++++++++
 debian/copyright |   35 ++++++++++++++++++++++++++++++++
 debian/dirs      |    2 +
 debian/docs      |    3 ++
 debian/links     |    1 
 debian/postinst  |   15 +++++++++++++
 debian/postrm    |   17 +++++++++++++++
 debian/rules     |   26 ++++++++++++++++++++++++
 debian/watch     |    2 +
 11 files changed, 185 insertions(+)

    
download this patch

Patch contents

--- squirrelmail-spam-buttons-2.3.1.orig/debian/dirs
+++ squirrelmail-spam-buttons-2.3.1/debian/dirs
@@ -0,0 +1,2 @@
+usr/share/squirrelmail/plugins/spam_buttons
+etc/squirrelmail
--- squirrelmail-spam-buttons-2.3.1.orig/debian/rules
+++ squirrelmail-spam-buttons-2.3.1/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+%:
+	dh $@
+
+override_dh_install:
+	find . -type f -not \( \
+		-path '*/debian/*' -or \
+		-path '*/patches/*' -or \
+		-path '*/contrib/*' -or \
+		-path '*/docs/*' -or \
+		-name 'version' -or \
+		-name 'COPYING' -or \
+		-name 'INSTALL' -or \
+		-name 'README' -or \
+		-name 'getpot' -or \
+		-name 'spam_buttons.pot' -or \
+		-name 'make_release.sh' -or \
+		-name 'config_example.php' -or \
+		-name '.cvsignore' \
+		\) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/spam_buttons/{} \;
+	install -D --mode=644 config_example.php $(TMP)/etc/squirrelmail/spam-buttons-config.php
+	dh_install
--- squirrelmail-spam-buttons-2.3.1.orig/debian/compat
+++ squirrelmail-spam-buttons-2.3.1/debian/compat
@@ -0,0 +1 @@
+7
--- squirrelmail-spam-buttons-2.3.1.orig/debian/postinst
+++ squirrelmail-spam-buttons-2.3.1/debian/postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+	configure)
+		squirrelmail-configure --remove-plugin spam_buttons
+		squirrelmail-configure --install-plugin spam_buttons
+	;;
+	*)
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- squirrelmail-spam-buttons-2.3.1.orig/debian/changelog
+++ squirrelmail-spam-buttons-2.3.1/debian/changelog
@@ -0,0 +1,59 @@
+squirrelmail-spam-buttons (2.3.1-1) unstable; urgency=low
+
+  * New upstream release
+    + Fixed regression in version 2.3 that resulted in the loss of correct
+      pagination information when using buttons on the message list screen
+
+ -- Jan Hauke Rahm <jhr@debian.org>  Wed, 04 Nov 2009 09:25:31 +0100
+
+squirrelmail-spam-buttons (2.3-1) unstable; urgency=low
+
+  * New upstream release
+    + Updated for compatibility with SquirrelMail 1.4.18
+    + Added check for patch in configtest for SquirrelMail versions that
+      require it
+    + Added some documentation about error that occurs when Compatibility
+      plugin is missing
+    + Correctly handle plural forms of success message for custom reporting
+      mechanism with ngettext
+    + Minor fix to accommodate Dovecot issue with UIDs that can be bigger than
+      normal integer values
+  * debian/post*: get rid of lintian warnings
+  * New standards-version 3.8.1
+  * Switched to debhelper 7
+  * DM-Upload-Allowed: yes
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Mon, 18 May 2009 12:17:58 +0200
+
+squirrelmail-spam-buttons (2.2-1) unstable; urgency=low
+
+  * New upstream release
+    + Added ability to add any number of extra custom buttons/links, such as
+      whitelist or blacklist, etc. See configuration file for details
+    + Added new report method: custom PHP callback - sample implementation is
+      included, but is ultimately your reponsibility
+    + Fixed possible PHP notices caused by unmigrated prefs (v2.0->v2.1+)
+    + Fine-tuned some internal logic for when buttons are shown or not
+    + Slightly better, more efficient header inspection
+    + Fix bug in report-by-email-attachment functionality for 1.4.14+ and
+      1.5.2+
+    + Added ability to decide if spam reports sent as email attachments should
+      be stored in user's sent folder or not
+    + Added ability to store configuration file in main SquirrelMail config
+      directory (must be named "config_spam_buttons.php")
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Fri, 13 Jun 2008 20:15:40 +0200
+
+squirrelmail-spam-buttons (2.1-2) unstable; urgency=low
+
+  * Added debian/watch file
+  * Changed package description
+  * Changed debian/copyright to be machine-interpretable
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Sat, 29 Mar 2008 09:33:21 +0100
+
+squirrelmail-spam-buttons (2.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #464780)
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Fri, 15 Feb 2008 21:10:30 +0100
--- squirrelmail-spam-buttons-2.3.1.orig/debian/watch
+++ squirrelmail-spam-buttons-2.3.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://squirrelmail.org/plugin_list.php http://squirrelmail.org/plugins/spam_buttons.([\da-zA-Z\.]+).* debian
--- squirrelmail-spam-buttons-2.3.1.orig/debian/postrm
+++ squirrelmail-spam-buttons-2.3.1/debian/postrm
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+	remove)
+		if [ `which squirrelmail-configure` ]
+		then
+			squirrelmail-configure --remove-plugin spam_buttons
+		fi
+	;;
+	*)
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- squirrelmail-spam-buttons-2.3.1.orig/debian/copyright
+++ squirrelmail-spam-buttons-2.3.1/debian/copyright
@@ -0,0 +1,35 @@
+Original source may be found at: http://www.squirrelmail.org/plugin_view.php?id=242
+
+Files: *
+Copyright: © 2005-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: make_release.sh
+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, *.tpl
+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 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-spam-buttons-2.3.1.orig/debian/control
+++ squirrelmail-spam-buttons-2.3.1/debian/control
@@ -0,0 +1,24 @@
+Source: squirrelmail-spam-buttons
+Section: web
+Priority: optional
+Maintainer: Jan Hauke Rahm <jhr@debian.org>
+Build-Depends: debhelper (>= 7.0.50) 
+Standards-Version: 3.8.3
+Homepage: http://www.squirrelmail.org/plugin_view.php?id=242
+Vcs-Svn: http://debsvn.jhr-online.de/squirrelmail-spam-buttons/trunk
+Vcs-Browser: https://cgi.jhr-online.de/viewvc.cgi/debian/squirrelmail-spam-buttons/trunk
+
+Package: squirrelmail-spam-buttons
+Architecture: all
+Depends: squirrelmail (>= 2:1.4.11), squirrelmail-compatibility (>= 2.0.12),
+  ${misc:Depends}
+Description: SquirrelMail plugin: Place "Spam" buttons on the mailbox message list page
+ This plugin will place "Spam" and/or "Not Spam" buttons on the mailbox message
+ list page as well as on a single message view page. The action associated with
+ the buttons (as well as the button text) can be configured to suit most any
+ spam reporting system. Reporting by email, reporting by executing a command on
+ the server and reporting by moving (or copying) the message to a designated
+ folder are all supported.
+ .
+ SquirrelMail is a standards-based webmail package written in PHP. It runs on
+ top of any IMAP server.
--- squirrelmail-spam-buttons-2.3.1.orig/debian/docs
+++ squirrelmail-spam-buttons-2.3.1/debian/docs
@@ -0,0 +1,3 @@
+docs/README
+contrib/sa-postfix-en.html
+contrib/sa-wrapper.html
--- squirrelmail-spam-buttons-2.3.1.orig/debian/links
+++ squirrelmail-spam-buttons-2.3.1/debian/links
@@ -0,0 +1 @@
+etc/squirrelmail/spam-buttons-config.php usr/share/squirrelmail/plugins/spam_buttons/config.php