--- newmail-0.5.orig/debian/rules +++ newmail-0.5/debian/rules @@ -0,0 +1,103 @@ +#! /usr/bin/make -f + +# Copyright 1994-98,2004 joey@infodrom.org (Martin Schulze) +# +# This program 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; version 2 dated June, 1991. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA +# +SHELL=/bin/bash + +# The name and version of the source +# +source = $(shell grep "^Source: " debian/control|head -n 1|sed 's/Source: \(.*\)/\1/g') +package = $(shell grep "^Package: " debian/control|head -n 1|sed 's/Package: \(.*\)/\1/g') +version = $(shell grep "^$(source) " debian/changelog|head -n 1 |sed 's/.*(\(.*\)\-[^\-]*).*/\1/g') +revision = $(shell grep "^$(source) " debian/changelog|head -n 1 |sed 's/.*([^\-]*\-\(.*\)).*/\1/g') + +installbin = install -g root -o root -m 755 +installdoc = install -g root -o root -m 644 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +CFLAGS = -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +else +CFLAGS = -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +STRIP = -s +endif + +build: + $(MAKE) CFLAGS="$(CFLAGS) -fomit-frame-pointer -fno-strength-reduce" + touch stamp-build + +clean: debclean + $(MAKE) clean + rm -rf stamp-build *~ + +debclean: +# Cleans debian binary directories to allow binary creation + rm -rf debian/tmp + rm -f debian/{files,substvars} + +binary-indep: +# Nothing to be done here + +binary-arch: debclean + test -f stamp-build || $(MAKE) -f debian/rules build + $(installbin) -d debian/tmp/DEBIAN + chown -R root.root debian/tmp + chmod -R g-ws debian/tmp + $(installbin) -d debian/tmp/usr/share/doc/$(package) + $(installdoc) debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian + $(installdoc) debian/copyright debian/tmp/usr/share/doc/$(package) + gzip -9f debian/tmp/usr/share/doc/$(package)/changelog.Debian + # + $(installdoc) AUTHORS debian/tmp/usr/share/doc/$(package) + $(installdoc) README debian/tmp/usr/share/doc/$(package) + # + $(installbin) -d debian/tmp/usr/bin + $(installbin) -d debian/tmp/usr/share/man/man1 + $(MAKE) prefix=debian/tmp/usr install + $(installbin) $(STRIP) newmail debian/tmp/usr/bin + # + gzip -9f debian/tmp/usr/share/man/man1/newmail.1 + # + dpkg-shlibdeps debian/tmp/usr/bin/newmail + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-indep binary-arch + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b' or dsc; false + +dsc: + -test -d debian/tmp && $(MAKE) -f debian/rules clean + if [ ! -f ../$(source)_$(version).orig.tar.gz -a -f ../orig/$(source)_$(version).orig.tar.gz ]; \ + then \ + ln -s orig/$(source)_$(version).orig.tar.gz ../$(source)_$(version).orig.tar.gz; \ + touch /tmp/stamp-$(source)-link; \ + fi; \ + cd .. && dpkg-source -b $(source)-$(version) + if [ -f /tmp/stamp-$(source)-link ]; then \ + rm ../$(source)_$(version).orig.tar.gz /tmp/stamp-$(source)-link; \ + fi + +checkroot: + $(checkdir) + test root = "`whoami`" + +dist: binary dsc + +.PHONY: binary binary-arch binary-indep clean checkroot + --- newmail-0.5.orig/debian/copyright +++ newmail-0.5/debian/copyright @@ -0,0 +1,50 @@ +This is the Debian GNU/Linux prepackaged version of newmail, a mailbox +watch utility for the terminal. + +This package was put together by Martin Schulze , +from sources obtained from: + http://www.infodrom.org/projects/newmail/download.php3 + +newmail has been released under the GNU General Public License. + + Copyright (c) 2004-8 Joey Schulze + + This program 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. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +More Information can be found at the projects homepage: + + Web: http://www.infodrom.org/projects/newmail/ + +Mailing list for discussions and development: + + Mail: infodrom-newmail@lists.infodrom.org + +To subscribe to this list, + + . send a mail to infodrom-newmail-request@lists.infodrom.org with the word + "subscribe" as subject, or + + . send a mail to majordomo@lists.infodrom.org with the body of + "subscribe infodrom-newmail". + +The list will be archived publically at +. + +The source of the Debian package is managed through CVS. It is publically +available at or as +<:pserver:anonymous@cvs.infodrom.org/var/cvs/debian/newmail/>. --- newmail-0.5.orig/debian/control +++ newmail-0.5/debian/control @@ -0,0 +1,17 @@ +Source: newmail +Section: mail +Priority: optional +Maintainer: Martin Schulze +Standards-Version: 3.7.3 + +Package: newmail +Architecture: any +Depends: ${shlibs:Depends} +Description: Notificator for incoming mail + The newmail program usually puts itself in the background and watches + mailbox files in order to report when new mail has been arrived. The + originator and subject will then be reported on the terminal it was + started. The output can also be integrated in graphical programs. + . + This package is inspired by the newmail program from the Elm mail system. +Homepage: http://www.infodrom.org/projects/newmail/ --- newmail-0.5.orig/debian/changelog +++ newmail-0.5/debian/changelog @@ -0,0 +1,67 @@ +newmail (0.5-2) unstable; urgency=low + + * Fixed description, thanks Arnaud Guiton + (closes: Bug#483667) + + -- Joey Schulze Wed, 04 Jun 2008 08:19:31 +0200 + +newmail (0.5-1) unstable; urgency=low + + * New upstream version + + -- Joey Schulze Sat, 03 May 2008 11:23:19 +0200 + +newmail (0.4-2) unstable; urgency=low + + * Updated the standards version + * Adjusted the short description + * Ported back from CVS HEAD: Copy enough characters up to the encoding + [rfc2047.c] + * Double install newmail to support the nostrip option (closes: Bug#437645) + + -- Joey Schulze Fri, 25 Apr 2008 16:18:43 +0200 + +newmail (0.4-1) unstable; urgency=low + + * New upstream release + * Adds proper support for character conversion according to current locale + + -- Martin Schulze Tue, 28 Feb 2006 23:09:11 +0100 + +newmail (0.3-1) unstable; urgency=low + + * New upstream release + * Entirely distributed under the GNU GPL due to rewrite + + -- Martin Schulze Wed, 24 Nov 2004 20:17:02 +0100 + +newmail (0.2-2) unstable; urgency=low + + * Added auto-background and pidcheck again + + -- Martin Schulze Sat, 13 Nov 2004 16:42:38 +0100 + +newmail (0.2-1) unstable; urgency=low + + * New upstream version + + -- Martin Schulze Thu, 11 Nov 2004 16:57:47 +0100 + +newmail (0.1-2) unstable; urgency=low + + * New bugfix version + * Fixed conflicts with glibc 2.1 + * Added proper include statements + * Binary newmail will be in /usr/bin now + * Manpage will be in /usr/man/man1 + * Make a mental note that this is not required since a proper diversion exists + + -- Martin Schulze Mon, 12 Jun 2000 13:40:49 +0200 + +newmail (0.1-1) unstable; urgency=low + + * First extract from elm-me+ (2.4pl25ME+43-1) + * Implemented diversion of /usr/bin/newmail rather than conflict with + the elm package. + + -- Martin Schulze Thu, 10 Sep 1998 00:09:54 +0200 --- newmail-0.5.orig/debian/NMU-Disclaimer +++ newmail-0.5/debian/NMU-Disclaimer @@ -0,0 +1,45 @@ +Non Maintainer Upload of this Package +------------------------------------- + +If you plan to work on an NMU for this package, read the following +closely. It can save you and me some grief. + + 1. At first, contact the maintainer (i.e. send a mail to + joey@debian.org, do not cc or bounce a mail, send a plain mail, + not copied to any mailing list or the BTS) and ask about the + status of the bug you are considering to work on. + + 2. In this mail include all information relevant for this problem, + i.e. include a description of the bug and not only its bug + number. + + 3. If the maintainer is not able or willing to fix the problem or + does not respond within four days, continue with step 4. + + 4. Work on the bug and prepare a patch. Do not upload into the + Debian archive. + + 5. Send the entire patch, together with enough explanations, to the + maintainer for reviewing and ask him for permission of an NMU + using this patch. + + 6. IF AND ONLY IF the maintainer approves the patch (or doesn't + respond within four days), upload the NMU to the incoming + directory and send the patch to the BTS. If the NMU is not + approved, go back to 4. or add the NMU to your homepage, but do + not upload it to the Debian archive. + + 7. Properly sized and well-written patches sent to the BTS are always + appreciated, even if they are rejected later. They demonstrate a + potential solution which could probably improved into a real + solution. + + 8. NEVER change the way a package is maintained in an NMU, i.e. don't + remove dh_* stuff or switch to dh_* respectively. This rule + applies to all NMU's, not only to an NMU for this package. + +These rules always apply. They even apply if somebody declares NMUs +as ok and reduces regular NMU rules to a delay of zero days. Unless +I'm on vacation or on a show I am reachable via mail, so there is +hardly a reason not to contact me. +