--- gurgitate-mail-1.8.4.orig/debian/control +++ gurgitate-mail-1.8.4/debian/control @@ -0,0 +1,18 @@ +Source: gurgitate-mail +Section: mail +Priority: optional +Maintainer: Arnaud Cornet +Standards-Version: 3.7.2 +Build-Depends: cdbs, debhelper (>= 5.0.37), ruby + +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. + . + Homepage: http://www.dagbrown.com/software/gurgitate-mail/ --- gurgitate-mail-1.8.4.orig/debian/copyright +++ gurgitate-mail-1.8.4/debian/copyright @@ -0,0 +1,107 @@ +This package was debianized by Arnaud Cornet +on Sun, 25 Mar 2007 13:55:39 +0200. + +The current Debian maintainer is Arnaud Cornet . + +It was downloaded from http://www.dagbrown.com/software/gurgitate-mail/ +Upstream Author: Dave Brown + +Copyright: +Copyright belongs to Dave Brown 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 . +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 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.8.4.orig/debian/watch +++ gurgitate-mail-1.8.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://rubyforge.org/frs/?group_id=42 .*gurgitate-mail->?([^>]*).tar.gz --- gurgitate-mail-1.8.4.orig/debian/changelog +++ gurgitate-mail-1.8.4/debian/changelog @@ -0,0 +1,5 @@ +gurgitate-mail (1.8.4-1) unstable; urgency=low + + * Initial release (Closes: 416159). + + -- Arnaud Cornet Tue, 01 May 2007 12:48:03 +0200 --- gurgitate-mail-1.8.4.orig/debian/compat +++ gurgitate-mail-1.8.4/debian/compat @@ -0,0 +1 @@ +5 --- gurgitate-mail-1.8.4.orig/debian/gurgitate-mail.manpages +++ gurgitate-mail-1.8.4/debian/gurgitate-mail.manpages @@ -0,0 +1 @@ +gurgitate-mail.1 --- gurgitate-mail-1.8.4.orig/debian/rules +++ gurgitate-mail-1.8.4/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_RUBY_LIBDIR=$(strip $(shell ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')) + +build/gurgitate-mail:: + cp gurgitate-mail.man gurgitate-mail.1 + +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\)\?//' {} \; + +clean:: + rm -f gurgitate-mail.1