--- mhonarc-2.6.18.orig/install.me +++ mhonarc-2.6.18/install.me @@ -255,6 +255,7 @@ noman perl=s prefix=s + instprefix=s help)); @@ -430,6 +431,10 @@ my $plprefix = "#!$OptValues{'perl'}\n"; $plprefix .= "use lib qw($OptValues{'libpath'});\n" if $OptValues{'libpath'}; + $OptValues{'instprefix'} and $OptValues{'binpath'} = join ('', $OptValues{'instprefix'}, $OptValues{'binpath'}); + $OptValues{'instprefix'} and $OptValues{'libpath'} = join ('', $OptValues{'instprefix'}, $OptValues{'libpath'}); + $OptValues{'instprefix'} and $OptValues{'docpath'} = join ('', $OptValues{'instprefix'}, $OptValues{'docpath'}); + $OptValues{'instprefix'} and $OptValues{'manpath'} = join ('', $OptValues{'instprefix'}, $OptValues{'manpath'}); my($file, $destfile); if ($dobin) { print STDOUT qq(Installing programs to "$OptValues{'binpath'}":\n); --- mhonarc-2.6.18.orig/lib/mhmimetypes.pl +++ mhonarc-2.6.18/lib/mhmimetypes.pl @@ -48,6 +48,7 @@ 'application/ms-powerpoint', 'ppt:MS-Powerpoint presentation', 'application/ms-project', 'mpp:MS-Project file', 'application/msword', 'doc:MS-Word document', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'docx:MS-Word 2007 document', 'application/octet-stream', 'bin:Binary data', 'application/oda', 'oda:ODA file', 'application/pdf', 'pdf:Adobe PDF document', @@ -71,7 +72,9 @@ 'application/vnd.lotus-wordpro', 'lwp,sam:Lotus WordPro', 'application/vnd.mif', 'mif:Frame MIF document', 'application/vnd.ms-excel', 'xls:MS-Excel spreadsheet', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlsx:MS-Excel 2007 spreadsheet', 'application/vnd.ms-powerpoint', 'ppt:MS-Powerpoint presentation', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'pptx:MS-Powerpoint 2007 presentation', 'application/vnd.ms-project', 'mpp:MS-Project file', 'application/vnd.stardivision.calc', 'sdc:StarCalc spreadsheet', 'application/vnd.stardivision.chart', 'sds:StarChart document', --- mhonarc-2.6.18.orig/lib/ewhutil.pl +++ mhonarc-2.6.18/lib/ewhutil.pl @@ -70,7 +70,7 @@ sub commentize { my($txt) = $_[0]; - $txt =~ s/([\-&])/'&#'.unpack('C',$1).';'/ge; + $txt =~ s/([\-&<])/'&#'.unpack('C',$1).';'/ge; $txt; } --- mhonarc-2.6.18.orig/lib/readmail.pl +++ mhonarc-2.6.18/lib/readmail.pl @@ -117,9 +117,9 @@ ## set to true. %MIMEDecoders = () - unless defined(%MIMEDecoders); + unless %MIMEDecoders; %MIMEDecodersSrc = () - unless defined(%MIMEDecodersSrc); + unless %MIMEDecodersSrc; ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## %MIMECharSetConverters is the associative array for storing functions @@ -153,9 +153,9 @@ ## string. %MIMECharSetConverters = () - unless defined(%MIMECharSetConverters); + unless %MIMECharSetConverters; %MIMECharSetConvertersSrc = () - unless defined(%MIMECharSetConvertersSrc); + unless %MIMECharSetConvertersSrc; ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## %MIMEFilters is the associative array for storing functions that @@ -180,9 +180,9 @@ ## that all functions are defined before invoking MAILread_body. %MIMEFilters = () - unless defined(%MIMEFilters); + unless %MIMEFilters; %MIMEFiltersSrc = () - unless defined(%MIMEFiltersSrc); + unless %MIMEFiltersSrc; ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## %MIMEFiltersArgs is the associative array for storing any optional @@ -196,7 +196,7 @@ ## listed for a function if both are applicable. %MIMEFiltersArgs = () - unless defined(%MIMEFiltersArgs); + unless %MIMEFiltersArgs; ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## %MIMEExcs is the associative array listing which data types @@ -206,7 +206,7 @@ ## Values => %MIMEExcs = () - unless defined(%MIMEExcs); + unless %MIMEExcs; ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## %MIMEIncs is the associative array listing which data types @@ -220,7 +220,7 @@ ## be used to only allow a well-defined set of content-types. %MIMEIncs = () - unless defined(%MIMEIncs); + unless %MIMEIncs; ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ## %MIMECharsetAliases is a mapping of charset names to charset names. @@ -231,7 +231,7 @@ ## Values => real charset name ## %MIMECharsetAliases = () - unless defined(%MIMECharsetAliases); + unless %MIMECharsetAliases; ##--------------------------------------------------------------------------- ## Text entity-related variables --- mhonarc-2.6.18.orig/debian/semantic.cache +++ mhonarc-2.6.18/debian/semantic.cache @@ -0,0 +1,15 @@ +;; Object debian/ +;; SEMANTICDB Tags save file +(semanticdb-project-database-file "debian/" + :tables (list + (semanticdb-table "rules" + :major-mode 'makefile-mode + :tags '(("PERL" variable (:default-value ("/usr/bin/perl")) nil [52 71]) ("DH_COMPAT" variable (:default-value ("2")) nil [85 97]) ("binary" function (:arguments ("binary-indep" "binary-arch")) nil [98 132]) ("binary-arch" function (:arguments ("build" "install")) nil [132 160]) ("binary-indep" function (:arguments ("build" "install")) nil [160 411]) ("build" function (:arguments ("build-stamp")) nil [411 441]) ("build-stamp" function nil nil [430 475]) ("clean" function nil nil [475 595]) ("install" function (:arguments ("install-stamp")) nil [595 631]) ("install-stamp" function nil nil [618 922])) + :file "rules" + :pointmax 968 + ) + ) + :file "semantic.cache" + :semantic-tag-version "2.0beta3" + :semanticdb-version "2.0beta3" + ) --- mhonarc-2.6.18.orig/debian/changelog +++ mhonarc-2.6.18/debian/changelog @@ -0,0 +1,303 @@ +mhonarc (2.6.18-3) unstable; urgency=low + + * remove some deprecation warnings (closes: #703679) + + -- Jeff Breidenbach Sun, 24 Mar 2013 19:00:46 -0700 + +mhonarc (2.6.18-2) unstable; urgency=low + + * add some Microsoft Office 2007 mime types (closes: #616407) + * added some hardening + + -- Jeff Breidenbach Fri, 24 Feb 2012 17:16:09 -0800 + +mhonarc (2.6.18-1) unstable; urgency=low + + * New upstream release + - Security fix for cross site scriping (closes: bug#607693) + - Fix problem with directory creation (closes: #517195) + - Fix multibyte character problems (closes: #528617) + - Fix memory hog problem (closes: #332653) + - Fix multiple denial of service vulnerabilities + - Remove minor Debian patches due to upstream incorporation + + -- Jeff Breidenbach Sun, 09 Jan 2011 17:21:45 -0800 + +mhonarc (2.6.16-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Wed, 14 Jun 2006 21:07:42 -0700 + +mhonarc (2.6.15-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Thu, 28 Jul 2005 21:38:02 -0700 + +mhonarc (2.6.12-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Thu, 9 Jun 2005 13:55:48 -0700 + +mhonarc (2.6.10-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Mon, 17 May 2004 15:32:26 -0700 + +mhonarc (2.6.9-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Sun, 9 May 2004 23:33:07 -0700 + +mhonarc (2.6.8-2) unstable; urgency=low + + * Change package description. closes: #198351 + + -- Jeff Breidenbach Sun, 14 Sep 2003 20:44:22 -0700 + +mhonarc (2.6.8-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Sun, 14 Sep 2003 17:03:31 -0700 + +mhonarc (2.6.3-1) unstable; urgency=high + + * New upstream release (security) + + -- Jeff Breidenbach Sat, 5 Apr 2003 23:22:32 -0800 + +mhonarc (2.6.0-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Wed, 19 Feb 2003 23:14:35 -0800 + +mhonarc (2.5.14-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Fri, 27 Dec 2002 11:37:50 -0800 + +mhonarc (2.5.13-1) unstable; urgency=low + + * New upstream release + * Downgraded md5 depend to recommend on advice from upstream + + -- Jeff Breidenbach Wed, 13 Nov 2002 21:42:44 -0800 + +mhonarc (2.5.12-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Fri, 6 Sep 2002 18:48:05 -0700 + +mhonarc (2.5.11-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Sun, 4 Aug 2002 11:50:15 -0700 + +mhonarc (2.5.9-1) unstable; urgency=low + + * New upstream release. Closes: #131512 + + -- Jeff Breidenbach Sat, 27 Jul 2002 13:23:21 -0700 + +mhonarc (2.5.8-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Sat, 6 Jul 2002 12:33:31 -0700 + +mhonarc (2.5.4-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Mon, 13 May 2002 21:58:29 -0700 + +mhonarc (2.5.3-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Mon, 22 Apr 2002 10:38:48 -0700 + +mhonarc (2.5.2-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Sun, 9 Dec 2001 14:26:33 -0800 + +mhonarc (2.5.1-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Sat, 17 Nov 2001 12:15:37 -0800 + +mhonarc (2.5.0-4) unstable; urgency=high + + * Fix database corruption bug for OTHERINDEX users, see + http://www.xray.mpe.mpg.de/mailing-lists/mhonarc/2001-11/msg00018.html + + -- Jeff Breidenbach Tue, 13 Nov 2001 21:41:36 -0800 + +mhonarc (2.5.0-3) unstable; urgency=low + + * Get lintian to shut up. + + -- Jeff Breidenbach Sun, 11 Nov 2001 13:03:00 -0800 + +mhonarc (2.5.0-2) unstable; urgency=low + + * Correct the maintainer name. + + -- Jeff Breidenbach Thu, 18 Oct 2001 22:00:14 -0700 + +mhonarc (2.5.0-1) unstable; urgency=low + + * New upstream version. + + -- Jeff Breidenbach Wed, 17 Oct 2001 21:04:57 -0700 + +mhonarc (2.4.9-1) unstable; urgency=low + + * New upstream version. Closes: #106536. + * debian/copyright: Updated. + * debian/mhonarc.preinst: Removed pre-potato compatibility code. + * Conforms to Standards version 3.5.6. + + -- Matej Vela Fri, 28 Sep 2001 21:35:07 -0700 + +mhonarc (2.4.8-1) unstable; urgency=low + + * New upstream release (closes: #94463) + * Added Build-Depends on debhelper + * Added the #DEBHELPER# token to the preinst script + + -- Bas Zoetekouw Thu, 19 Apr 2001 11:38:46 +0200 + +mhonarc (2.4.6-2.1) unstable; urgency=low + + * NMU. (it is an NMU, isn't it?) + * Don't use pager, just spit usage to stderr (closes: bug#74628) + + -- Marcelo E. Magallon Wed, 9 Aug 2000 13:00:19 -0400 + +mhonarc (2.4.6-2) unstable; urgency=low + + * Fix doc-base entry (closes: bug#64948) + * Orphaned. + + -- Michael Alan Dorman Wed, 9 Aug 2000 13:00:19 -0400 + +mhonarc (2.4.6-1) unstable; urgency=low + + * New upstream version (close: bug#59902, bug#61957) + + -- Michael Alan Dorman Mon, 24 Apr 2000 11:50:46 -0400 + +mhonarc (2.4.5-1) frozen unstable; urgency=low + + * Never publically released. + + -- Michael Alan Dorman Thu, 9 Mar 2000 15:55:12 -0500 + +mhonarc (2.4.4-1) unstable; urgency=low + + * New upstream version. + * Correct location of docs and manpages. + + -- Michael Alan Dorman Sat, 2 Oct 1999 15:55:58 -0400 + +mhonarc (2.4.3-1) unstable; urgency=low + + * New upstream version. + + -- Michael Alan Dorman Mon, 16 Aug 1999 18:03:28 -0400 + +mhonarc (2.4.2-1) unstable; urgency=low + + * New upstream version (incorporates fix for bug#42783) + + -- Michael Alan Dorman Fri, 13 Aug 1999 21:39:18 -0400 + +mhonarc (2.4.1-2) unstable; urgency=low + + * Applied patch from Earl Hood for mhmsgfile.pl (closes: bug#42783) + + -- Michael Alan Dorman Tue, 10 Aug 1999 10:02:33 -0400 + +mhonarc (2.4.1-1) unstable; urgency=low + + * New upstream version + + -- Michael Alan Dorman Wed, 28 Jul 1999 11:33:32 -0400 + +mhonarc (2.4.0-1) unstable; urgency=low + + * New upstream release. + * Modified for new perl packages. + * Modfied to use debhelper. + + -- Michael Alan Dorman Sun, 4 Jul 1999 22:56:22 +0000 + +mhonarc (2.3.3-1) unstable; urgency=low + + * New upstream release (closes: bug#30969) + * Create changelog.Debian (closes: bug#7042) + * Icons now included in /usr/share/mhonarc/icons (closes: bug#25615) + * File permissions corrected (closes: bug#32947) + + -- Michael Alan Dorman Thu, 18 Mar 1999 13:35:14 -0500 + +mhonarc (2.2.0-1) unstable; urgency=low + + * New upstream release. + + -- Michael Alan Dorman Thu, 27 Aug 1998 09:22:37 -0500 + +mhonarc (2.1-1) unstable; urgency=low + + * New upstream release. + + -- Michael Alan Dorman Thu, 5 Feb 1998 09:22:37 -0500 + +mhonarc (2.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Michael Alan Dorman Mon, 2 Jun 1997 11:17:59 -0400 + +mhonarc (2.0b3-1) experimental; urgency=low + + * New upstream release (beta, though, so experimental) + + -- Michael Alan Dorman Wed, 07 May 1997 14:43:51 -0500 + +mhonarc (1.2.3-3) unstable; urgency=low + + * Moved source & orig directories to mhonarc-1.2.3* (Bug#4639) + + -- Michael Alan Dorman Sat, 23 Nov 1996 14:43:51 -0500 + +mhonarc (1.2.3-2) unstable; urgency=low + + * Made directory names more dpkg-source friendly + * Corrected maintainer address. + + -- Michael Alan Dorman Mon, 23 Sep 1996 12:15:39 -0400 + +mhonarc (1.2.3-1) unstable; urgency=low + + * Initial packaging. + + -- Michael Alan Dorman Mon, 16 Sep 1996 11:49:51 -0400 + +Local variables: +mode: debian-changelog +user-mail-address: "jab@debian.org" +End: --- mhonarc-2.6.18.orig/debian/compat +++ mhonarc-2.6.18/debian/compat @@ -0,0 +1 @@ +5 \ No newline at end of file --- mhonarc-2.6.18.orig/debian/rules +++ mhonarc-2.6.18/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f +# -*- Makefile -*- + +ifndef PERL +PERL=/usr/bin/perl +endif + +binary: binary-indep binary-arch + +binary-arch: build install + +binary-indep: build install + dh_testdir + dh_testroot + dh_perl + dh_installexamples examples/* + dh_installchangelogs CHANGES + dh_installdocs ACKNOWLG BUGS CHANGES README.txt RELNOTES TODO + dh_installdeb + dh_fixperms + dh_compress + dh_gencontrol + dh_builddeb + +build: build-stamp +build-stamp: + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + if [ -e Makefile ]; then $(MAKE) -i distclean; fi + dh_clean build-stamp install-stamp + +install: install-stamp +install-stamp: + dh_testdir + dh_installdirs + $(PERL) ./install.me -batch -binpath /usr/bin -docpath /usr/share/doc/mhonarc -libpath /usr/share/mhonarc -manpath /usr/share/man -perl $(PERL) -instprefix $(shell pwd)/debian/mhonarc + install -m 644 logo/* $(shell pwd)/debian/mhonarc/usr/share/mhonarc/icons + +.PHONY: binary binary-arch binary-indep clean --- mhonarc-2.6.18.orig/debian/control +++ mhonarc-2.6.18/debian/control @@ -0,0 +1,17 @@ +Source: mhonarc +Section: mail +Priority: optional +Maintainer: Jeff Breidenbach +Standards-Version: 3.8.4 +Build-Depends: debhelper (>=5) + +Package: mhonarc +Architecture: all +Section: mail +Priority: optional +Depends: ${perl:Depends}, ${misc:Depends}, +Recommends: libdigest-md5-perl +Description: Mail to HTML converter + MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail + archiving with index, mail thread linking, etc; plus other capabilities + including support for MIME and powerful user customization features. --- mhonarc-2.6.18.orig/debian/mhonarc.doc-base +++ mhonarc-2.6.18/debian/mhonarc.doc-base @@ -0,0 +1,12 @@ +Document: mhonarc +Title: MHonArc Reference +Author: Earl Hood +Abstract: These pages consitute a complete reference on the + configuration of MHonArc. +Section: Network/Communication + +Format: HTML +Index: /usr/share/doc/mhonarc/index.html +Files: /usr/share/doc/mhonarc/* + + --- mhonarc-2.6.18.orig/debian/copyright +++ mhonarc-2.6.18/debian/copyright @@ -0,0 +1,13 @@ +This package was first debianized by Michael Alan Dorman + and is now maintained by others. + +It was downloaded from: http://www.mhonarc.org/ + +Upstream author: Earl Hood + +This software is copyright 1995-2001, Earl Hood, mhonarc@mhonarc.org + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. --- mhonarc-2.6.18.orig/debian/mhonarc.dirs +++ mhonarc-2.6.18/debian/mhonarc.dirs @@ -0,0 +1 @@ +usr/share/mhonarc/icons --- mhonarc-2.6.18.orig/debian/source/format +++ mhonarc-2.6.18/debian/source/format @@ -0,0 +1 @@ +1.0