squirrelmail-viewashtml (3.8-3) debian-dir only changes

Summary

 debian/changelog |   33 +++++++++++++++++++++++++++++++++
 debian/compat    |    1 +
 debian/control   |   21 +++++++++++++++++++++
 debian/copyright |   30 ++++++++++++++++++++++++++++++
 debian/install   |    1 +
 debian/postinst  |   15 +++++++++++++++
 debian/postrm    |   17 +++++++++++++++++
 debian/rules     |    4 ++++
 debian/watch     |    2 ++
 9 files changed, 124 insertions(+)

    
download this patch

Patch contents

--- squirrelmail-viewashtml-3.8.orig/debian/copyright
+++ squirrelmail-viewashtml-3.8/debian/copyright
@@ -0,0 +1,30 @@
+Original source may be found at: http://www.squirrelmail.org/plugin_view.php?id=55
+
+Files: *
+Copyright: © 2001-2009 Seth Randall <indiri69@users.sourceforge.net>
+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.
+
+Files: index.php
+Copyright: © 1999-2002 The SquirrelMail Project Team
+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.
+
+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-viewashtml-3.8.orig/debian/install
+++ squirrelmail-viewashtml-3.8/debian/install
@@ -0,0 +1 @@
+*.php   usr/share/squirrelmail/plugins/view_as_html/
--- squirrelmail-viewashtml-3.8.orig/debian/rules
+++ squirrelmail-viewashtml-3.8/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
--- squirrelmail-viewashtml-3.8.orig/debian/compat
+++ squirrelmail-viewashtml-3.8/debian/compat
@@ -0,0 +1 @@
+7
--- squirrelmail-viewashtml-3.8.orig/debian/control
+++ squirrelmail-viewashtml-3.8/debian/control
@@ -0,0 +1,21 @@
+Source: squirrelmail-viewashtml
+Section: web
+Priority: optional
+Maintainer: Jan Hauke Rahm <jhr@debian.org>
+Build-Depends: debhelper (>= 7) 
+Standards-Version: 3.8.3
+Homepage: http://www.squirrelmail.org/plugin_view.php?id=55
+Vcs-Svn: http://debsvn.jhr-online.de/squirrelmail-viewashtml/trunk
+Vcs-Browser: https://cgi.jhr-online.de/viewvc.cgi/debian/squirrelmail-viewashtml/trunk
+
+Package: squirrelmail-viewashtml
+Architecture: all
+Depends: squirrelmail (>= 2:1.4.10), ${misc:Depends}
+Conflicts: squirrelmail (>= 2:1.5)
+Enhances: squirrelmail
+Description: SquirrelMail plugin: View mails as HTML
+ Adds a link to each email allowing the user to switch between HTML and plain
+ text.
+ .
+ SquirrelMail is a standards-based webmail package written in PHP. It runs on
+ top of any IMAP server.
--- squirrelmail-viewashtml-3.8.orig/debian/postinst
+++ squirrelmail-viewashtml-3.8/debian/postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+	configure)
+        squirrelmail-configure --remove-plugin view_as_html
+        squirrelmail-configure --install-plugin view_as_html
+	;;
+	*)
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- squirrelmail-viewashtml-3.8.orig/debian/changelog
+++ squirrelmail-viewashtml-3.8/debian/changelog
@@ -0,0 +1,33 @@
+squirrelmail-viewashtml (3.8-3) unstable; urgency=low
+
+  * Simplified debian/rules, set -e in debian/post{inst,rm}
+  * Bumped standards-version to 3.8.3
+
+ -- Jan Hauke Rahm <jhr@debian.org>  Tue, 06 Oct 2009 11:28:24 +0200
+
+squirrelmail-viewashtml (3.8-2) unstable; urgency=low
+
+  * Upload to unstable
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Sun, 01 Mar 2009 18:02:06 +0100
+
+squirrelmail-viewashtml (3.8-1) experimental; urgency=low
+
+  * New upstream release
+    + Handles emails with Content-Type: charset without a Mime-Version header
+    + Removed translations as they are part of the Squirrelmail locales now
+    + Updated to SM Plugin standards
+  * This plugin is now part of SquirrelMail 1.5 and thus conflicts with it
+  * debian/control: added VCS information
+  * Switching to debhelper 7
+  * New standards version 3.8.0
+  * Getting rid of lintian warnings
+  * DM-Upload-Allowed: yes
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Sat, 31 Jan 2009 12:50:43 +0100
+
+squirrelmail-viewashtml (3.7a-1) unstable; urgency=low
+
+  * Initial Release (Closes: #473625)
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Mon, 31 Mar 2008 19:36:32 +0200
--- squirrelmail-viewashtml-3.8.orig/debian/watch
+++ squirrelmail-viewashtml-3.8/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://squirrelmail.org/plugin_list.php http://squirrelmail.org/plugins/view_as_html.([\da-zA-Z\.]+).* debian
--- squirrelmail-viewashtml-3.8.orig/debian/postrm
+++ squirrelmail-viewashtml-3.8/debian/postrm
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+	remove)
+		if [ `which squirrelmail-configure` ]
+		then
+			squirrelmail-configure --remove-plugin view_as_html
+		fi
+	;;
+	*)
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0