--- gurgitate-mail-1.10.0.orig/debian/control
+++ gurgitate-mail-1.10.0/debian/control
@@ -0,0 +1,17 @@
+Source: gurgitate-mail
+Section: mail
+Priority: optional
+Maintainer: Arnaud Cornet <acornet@debian.org>
+Standards-Version: 3.7.3
+Build-Depends: cdbs, debhelper (>= 5.0.37), ruby
+Homepage: http://www.dagbrown.com/software/gurgitate-mail/
+
+Package: gurgitate-mail
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby
+Description: E-mail processor and filter with configuration files in ruby
+ gurgitate-mail is a mail filter that is small and easy to use. The
+ configuration files in ruby programming language make gurgitate-mail flexible
+ and powerful. It can sort your incoming mail, pipe them through another
+ program or do whatever processing you program in one of its configuration
+ file. It can store mails in folders of MBox or Maildir formats.
--- gurgitate-mail-1.10.0.orig/debian/copyright
+++ gurgitate-mail-1.10.0/debian/copyright
@@ -0,0 +1,107 @@
+This package was debianized by Arnaud Cornet <arnaud.cornet@gmail.com>
+on Sun, 25 Mar 2007 13:55:39 +0200.
+
+The current Debian maintainer is Arnaud Cornet <arnaud.cornet@gmail.com>.
+
+It was downloaded from http://www.dagbrown.com/software/gurgitate-mail/
+Upstream Author: Dave Brown <gurgitate-mail@dagbrown.com>
+
+Copyright:
+Copyright belongs to Dave Brown <gurgitate-mail@dagbrown.com> and is permission
+is granted to distribute gurgitate-mail according to the ruby license, as
+stated in the mail below:
+
+--------------------------------------------------------------------------------
+In message <20070105125343.GA12961@t1r.net> you write:
+> Hello,
+>
+> gurgitate-mail has become a fairly useful application. I am interested
+> in packaging gurgitate-mail for Debian. I cannot find any copyright
+> statement nor a licence in the source of your software. It cannot be
+> distributed by Debian as is.
+>
+> Could you please tell me who owns the copyright for this software and
+> since when ? In rubyforge there is a page about gurgitate-mail that
+> states that it is released under the terms of the ruby licence. Do you
+> confirm that your software can be distributed under this licence ?
+>
+> Do not hesitate to let me know if you need some information about
+> opensource/free licences.
+
+Oh goodness.
+
+I apologize for the terrible delay.
+
+Yes, I can confirm that gurgitate-mail is released under the Ruby
+license. If you need me to put a statement of that into the
+distribution, I could do that for you. The copyright for gurgitate-mail
+is held by myself (as per Berne convention defaults), but I have no
+objection to granting the Debian project permission to distribute it.
+
+--Dave
+--------------------------------------------------------------------------------
+The ruby license:
+
+Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
+You can redistribute it and/or modify it under either the terms of the GPL
+version 2 (see the file GPL), or the conditions below:
+
+ 1. You may make and give away verbatim copies of the source form of the
+ software without restriction, provided that you duplicate all of the
+ original copyright notices and associated disclaimers.
+
+ 2. You may modify your copy of the software in any way, provided that
+ you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise
+ make them Freely Available, such as by posting said
+ modifications to Usenet or an equivalent medium, or by allowing
+ the author to include your modifications in the software.
+
+ b) use the modified software only within your corporation or
+ organization.
+
+ c) give non-standard binaries non-standard names, with
+ instructions on where to get the original software distribution.
+
+ d) make other distribution arrangements with the author.
+
+ 3. You may distribute the software in object code or binary form,
+ provided that you do at least ONE of the following:
+
+ a) distribute the binaries and library files of the software,
+ together with instructions (in the manual page or equivalent)
+ on where to get the original distribution.
+
+ b) accompany the distribution with the machine-readable source of
+ the software.
+
+ c) give non-standard binaries non-standard names, with
+ instructions on where to get the original software distribution.
+
+ d) make other distribution arrangements with the author.
+
+ 4. You may modify and include the part of the software into any other
+ software (possibly commercial). But some files in the distribution
+ are not written by the author, so that they are not under these terms.
+
+ For the list of those files and their copying conditions, see the
+ file LEGAL.
+
+ 5. The scripts and library files supplied as input to or produced as
+ output from the software do not automatically fall under the
+ copyright of the software, but belong to whomever generated them,
+ and may be sold commercially, and may be aggregated with this
+ software.
+
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE.
+
+The Debian packaging is (C) 2007, Arnaud Cornet <arnaud.cornet@gmail.com> and
+is licensed under the GPL version 2.
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+
--- gurgitate-mail-1.10.0.orig/debian/watch
+++ gurgitate-mail-1.10.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://rubyforge.org/frs/?group_id=42 .*gurgitate-mail->?([^>]*).tar.gz
--- gurgitate-mail-1.10.0.orig/debian/changelog
+++ gurgitate-mail-1.10.0/debian/changelog
@@ -0,0 +1,27 @@
+gurgitate-mail (1.10.0-1) unstable; urgency=low
+
+ * New Upstream Version
+
+ -- Arnaud Cornet <acornet@debian.org> Sat, 05 Apr 2008 11:27:54 +0200
+
+gurgitate-mail (1.9.1-1) unstable; urgency=low
+
+ * New Upstream Version
+ * Bump standards version (no change needed).
+ * Update my e-mail addresss.
+ * Use Homepage tag.
+
+ -- Arnaud Cornet <acornet@debian.org> Sat, 05 Jan 2008 22:32:04 +0100
+
+gurgitate-mail (1.8.5-1) unstable; urgency=low
+
+ * New Upstream Version.
+ * Removed useless man file copying in debian/rules.
+
+ -- Arnaud Cornet <arnaud.cornet@gmail.com> Fri, 08 Jun 2007 11:05:29 +0200
+
+gurgitate-mail (1.8.4-1) unstable; urgency=low
+
+ * Initial release (Closes: 416159).
+
+ -- Arnaud Cornet <arnaud.cornet@gmail.com> Tue, 01 May 2007 12:48:03 +0200
--- gurgitate-mail-1.10.0.orig/debian/compat
+++ gurgitate-mail-1.10.0/debian/compat
@@ -0,0 +1 @@
+5
--- gurgitate-mail-1.10.0.orig/debian/gurgitate-mail.manpages
+++ gurgitate-mail-1.10.0/debian/gurgitate-mail.manpages
@@ -0,0 +1 @@
+gurgitate-mail.man
--- gurgitate-mail-1.10.0.orig/debian/rules
+++ gurgitate-mail-1.10.0/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_RUBY_LIBDIR=$(strip $(shell ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]'))
+
+install/gurgitate-mail::
+ mkdir -p debian/gurgitate-mail/$(DEB_RUBY_LIBDIR)
+ cp -r gurgitate-mail.rb gurgitate/ debian/gurgitate-mail/$(DEB_RUBY_LIBDIR)
+ mkdir -p debian/gurgitate-mail/usr/bin
+ # True hack.
+ echo '#!/usr/bin/ruby' > debian/gurgitate-mail/usr/bin/gurgitate-mail
+ echo '' >> debian/gurgitate-mail/usr/bin/gurgitate-mail
+ cat gurgitate-mail >> debian/gurgitate-mail/usr/bin/gurgitate-mail
+ # Sed out useless ruby shebang
+ find debian/gurgitate-mail/usr/lib -name "*.rb" \
+ -exec sed -i -e 's/^#!\/opt\/bin\/ruby\( -w\)\?//' {} \;
+