--- multimail-0.49.orig/Makefile +++ multimail-0.49/Makefile @@ -10,12 +10,31 @@ #OPTS = -g -Wall -Wextra -pedantic -Wno-deprecated -Wno-char-subscripts # Optimized, no debug: -OPTS = -O2 -Wall -pedantic -Wno-deprecated -Wno-char-subscripts +# OPTS = -O2 -Wall -pedantic -Wno-deprecated -Wno-char-subscripts + +# Edited for Debian - build with debugging symbols; make it possible to +# build without optimization +OPTS = -g -Wall -pedantic -Wno-deprecated -Wno-char-subscripts +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +OPTS += -O0 +else +OPTS += -O2 +endif + +# Edited for Debian - make it possible to install unstripped binaries +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +INSTALL_OPTS = -s +else +INSTALL_OPTS = +endif + +# Edited for Debian +DESTDIR = # PREFIX is the base directory under which to install the binary and man # page; generally either /usr/local or /usr (or perhaps /opt...): -PREFIX = /usr/local +PREFIX = $(DESTDIR)/usr # Delete command ("rm" or "del", as appropriate): @@ -63,7 +82,8 @@ #-------------------------------------------------------------- #-------------------------------------------------------------- -HELPDIR = $(PREFIX)/man/man1 +HELPDIR = $(PREFIX)/share/man/man1 +DOCDIR = $(PREFIX)/share/doc/multimail all: mm @@ -93,7 +113,11 @@ cd mmail $(SEP) $(MAKE) RM="$(RM)" modclean $(SEP) cd .. install:: - install -c -s mm $(PREFIX)/bin + install -d $(PREFIX)/bin $(HELPDIR) $(DOCDIR) + install -c $(INSTALL_OPTS) mm $(PREFIX)/bin install -c -m 644 mm.1 $(HELPDIR) $(RM) $(HELPDIR)/mmail.1 - ln $(HELPDIR)/mm.1 $(HELPDIR)/mmail.1 +# ln $(HELPDIR)/mm.1 $(HELPDIR)/mmail.1 + install -m 644 README $(DOCDIR) + install -d $(DOCDIR)/colors + cp -a colors/* $(DOCDIR)/colors --- multimail-0.49.orig/debian/changelog +++ multimail-0.49/debian/changelog @@ -0,0 +1,203 @@ +multimail (0.49-2build1) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sun, 07 Feb 2016 09:43:25 +0000 + +multimail (0.49-2) unstable; urgency=low + + * Fixed FTBFS with GCC 4.3. + (Closes: Bug#461712) + + -- Peter Karlsson Wed, 9 Apr 2008 20:45:00 +0100 + +multimail (0.49-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Added pauses when displaying ANSI animations. + - No longer abort if the config file cannot be written to. + - Now licensed under version 3 of the GPL. + * Updated for new menu structure for menu 2.1.35. + + -- Peter Karlsson Thu, 23 Aug 2007 07:15:00 +0100 + +multimail (0.48-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - New keyword "Mouse", to toggle mouse support. + - Better display in UTF-8 terminals. + - Documentation cleanup. + * Updated to policy 3.7.2. + + -- Peter Karlsson Fri, 6 Apr 2007 21:45:00 +0100 + +multimail (0.47-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Starting and MMAIL directories now searched for archivers and editors. + - Support for "GreekQWK". + - Other minor stuff. + * Updated to policy 3.6.2. + + -- Peter Karlsson Tue, 3 Jan 2006 21:30:00 +0100 + +multimail (0.46-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Displays hello and goodbye screens from packages properly. + - ANSI viewer now has basic AVATAR level 0 and BSAVE support. + - Lower portion of the area list display has been redesigned. + - Various bugfixes. + + -- Peter Karlsson Fri, 9 Jan 2004 22:00:00 +0100 + +multimail (0.45-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - New temporary file system; fixes many problems. + - ANSI viewer works much better in Unix. + + -- Peter Karlsson Sun, 8 Jun 2003 18:00:00 +0100 + +multimail (0.44-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Speculative fix for corrupt QWK reply problem. + - New key for filter function, other filter fixes. + - Fixes for END key in input, segfaults in ANSI, display bugs. + * Updated to policy 3.5.10. + + -- Peter Karlsson Mon, 26 May 2003 18:00:00 +0100 + +multimail (0.43-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Filter function for all lists. + - Clock in letter window. + - "AT code" parser in ANSI viewer for PCBoard/Wildcat. + - Better SOUP mail parsing. + - Packet name always visible. + + -- peter karlsson Sat, 09 Mar 2002 23:15:00 +0100 + +multimail (0.42-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - New addressbook functionality. + - Better error reporting on failed uncompression. + + -- peter karlsson Sun, 09 Dec 2001 12:45:00 +0100 + +multimail (0.41-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Config-file options can now be specified on the command line. + - Better handling of corrupt QWK *.NDX files. + - Better pathname handling. + - Miscellaneous fixes. + * Updated to policy 3.5.6. + + -- peter karlsson Tue, 16 Oct 2001 18:15:00 +0200 + +multimail (0.40-1) unstable; urgency=low + + * New upstream release: + - Fixed crashing from 0.39. + + -- peter karlsson Sun, 15 Apr 2001 22:17:15 +0200 + +multimail (0.39-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Mouse functionality. + - New "saved" flag. + - Various bugfixes, including buffer overflow fixes. + - Minimum screen size is now 60x17. + + -- peter karlsson Sat, 14 Apr 2001 21:36:44 +0200 + +multimail (0.38-1) unstable; urgency=low + + * New upstream release (see upstream ChangeLog for further details): + - Transparency support for Eterm and friends. + - Original timestamps of packets are preserved. + - Expert mode, removes help text from screen. + - Fix for SIGWINCH in ncurses 5.0+. + - New default colors. + - for more info, see upstreams ChangeLog. + * Updated to standards version 3.2.1. + * Added "Hints" to the menu file. + + -- peter karlsson Sat, 3 Feb 2001 13:18:40 +0100 + +multimail (0.37-3) unstable; urgency=low + + * Add Build-Depends on debhelper + (Closes: Bug#66522). + * Updated to standards version 3.0.1. + * Suggest zip and unzip, since these are the most common archivers for + packages read by this program. + + -- peter karlsson Fri, 25 Aug 2000 20:30:00 +0200 + +multimail (0.37-2) unstable; urgency=low + + * Added upstream patch that resolves crashes on some illegal headers in + SOUP archives. + + -- peter karlsson Thu, 29 Jun 2000 21:59:00 +0200 + +multimail (0.37-1) unstable; urgency=low + + * New upstream release. + * New maintainer (previously sponsored). + * Adds support for tar.gz compression and GNUS-style SOUP flags + (Closes: Bug#63746). + * Updated references to author's address, denoting move to SourceForge. + + -- peter karlsson Wed, 28 Jun 2000 17:16:01 +0200 + +multimail (0.36-1) unstable; urgency=low + + * New upstream release. + * Add Build-Depends on libncurses5-dev. + * Remove INSTALL document from /usr/share/doc/multimail. + + -- Per Lundberg Wed, 17 May 2000 00:46:57 +0200 + +multimail (0.35-1) unstable; urgency=low + + * New upstream release. + + -- Per Lundberg Fri, 31 Mar 2000 23:38:22 +0200 + +multimail (0.33-1) unstable; urgency=low + + * New upstream release. + * Builds with libncurses5-dev instead of libncurses4-dev. Closes: #59043. + + -- Per Lundberg Mon, 28 Feb 2000 18:47:14 +0100 + +multimail (0.32-3) frozen; urgency=low + + * Corrected menu entry (adapted from newer unstable versions). + + -- Per Lundberg Wed, 17 May 2000 10:05:00 +0200 + +multimail (0.32-2) unstable; urgency=low + + * Fixed some mistakes in the path names used. + + -- Per Lundberg Thu, 02 Dec 1999 09:59:59 +0100 + +multimail (0.32-1) unstable; urgency=low + + * New upstream version. + + -- Per Lundberg Sat, 30 Oct 1999 19:09:28 +0200 + +multimail (0.31-1) unstable; urgency=low + + * Initial Release. + + -- Per Lundberg Tue, 19 Oct 1999 20:22:16 +0200 --- multimail-0.49.orig/debian/compat +++ multimail-0.49/debian/compat @@ -0,0 +1 @@ +5 --- multimail-0.49.orig/debian/control +++ multimail-0.49/debian/control @@ -0,0 +1,16 @@ +Source: multimail +Section: mail +Priority: optional +Maintainer: Peter Karlsson +Standards-Version: 3.7.2 +Build-Depends: libncurses5-dev, debhelper (>= 5.0) + +Package: multimail +Architecture: any +Depends: ${shlibs:Depends} +Suggests: uqwk, zip, unzip +Description: Offline reader for Blue Wave, QWK, OMEN and SOUP + MultiMail is an offline mail packet reader for Unix and + other systems. It currently supports the Blue Wave, QWK, + OMEN and SOUP formats. It has a full screen, color user + interface, built with the curses library. --- multimail-0.49.orig/debian/multimail.copyright +++ multimail-0.49/debian/multimail.copyright @@ -0,0 +1,16 @@ +Package: multimail +Obtained from: http://multimail.sourceforge.net/ +Packaged for Debian by: Peter Karlsson +Upstream author: William McBrine + +MultiMail was originally developed under Linux by Kolossvary Tamas and Toth +Istvan. John Zero was the maintainer for versions 0.2 through 0.6; since +version 0.7, the maintainer is William McBrine +. + +Additional code has been contribued by Peter Karlsson, Mark D. Rejhon, Ingo +Brueckl, and Robert Vukovic. + +MultiMail is free, "open source" software, distributed under the GNU General +Public License. On Debian systems, the complete text of the GNU General +Public License can be found in the /usr/share/common-licenses/GPL-3 file. --- multimail-0.49.orig/debian/multimail.docs +++ multimail-0.49/debian/multimail.docs @@ -0,0 +1 @@ +README --- multimail-0.49.orig/debian/multimail.menu +++ multimail-0.49/debian/multimail.menu @@ -0,0 +1,7 @@ +?package(multimail):\ + section="Applications/Network/Communication"\ + needs="text"\ + title="MultiMail"\ + longtitle="MultiMail Offline Mail Reader"\ + command="/usr/bin/mm"\ + hints="Offline" --- multimail-0.49.orig/debian/rules +++ multimail-0.49/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f +# Based on sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# Copyright 1999-2006 Peter Karlsson + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=`pwd`/debian/multimail + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installmenu + dh_installman + dh_installchangelogs -k HISTORY + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- multimail-0.49.orig/interfac/main.cc +++ multimail-0.49/interfac/main.cc @@ -12,7 +12,7 @@ #include "interfac.h" #ifdef USE_NEWHANDLER -# include +# include #endif #include @@ -40,7 +40,7 @@ srand((unsigned) starttime); #ifdef USE_NEWHANDLER - set_new_handler(memError); + std::set_new_handler(memError); #endif origdir = mygetcwd(); }