debian/0000755000000000000000000000000012224673636007201 5ustar debian/exmh.docs0000644000000000000000000000000112171471553010776 0ustar debian/conffiles0000644000000000000000000000001711744701360011062 0ustar /etc/exmh.conf debian/preinst0000644000000000000000000000022011744701360010572 0ustar #!/bin/sh -e # cleanup of html dirs in lib area (versions prior to 2.7.0) [ -d /usr/lib/exmh/html/ ] && rm -r /usr/lib/exmh/html/ || exit 0 debian/patches/0000755000000000000000000000000012215471275010623 5ustar debian/patches/03_scripts_in_usr_share0000644000000000000000000000450612215471135015300 0ustar Author: Alexander Zangerl Subject: move ONLY internal scripts into /usr/share/exmh/ (via install(dir,bin) diff -urNad exmh-2.7.2/lib/background.tcl /tmp/dpep.3P0hBe/exmh-2.7.2/lib/background.tcl --- exmh-2.7.2/lib/background.tcl Thu Jan 27 18:21:44 2005 +++ /tmp/dpep.3P0hBe/exmh-2.7.2/lib/background.tcl Thu Jan 27 18:21:46 2005 @@ -95,8 +95,8 @@ Background_DoPeriodic return } - global mh_path argv0 wish - set prog ${argv0}-bg + global mh_path argv0 wish install + set prog $install(dir,bin)/exmh-bg Exmh_Status "Starting: $prog" set cmd [list exec $wish -f $prog [winfo name .] $exmh(library) $mh_path &] if [catch { diff -urNad exmh-2.7.2/lib/editor.tcl /tmp/dpep.3P0hBe/exmh-2.7.2/lib/editor.tcl --- exmh-2.7.2/lib/editor.tcl Thu Jan 27 18:21:44 2005 +++ /tmp/dpep.3P0hBe/exmh-2.7.2/lib/editor.tcl Thu Jan 27 18:24:19 2005 @@ -316,7 +316,7 @@ proc EditStart { draft {type prog} } { # Start the editor, reusing an existing session if possible - global editor exmh mhProfile pgp + global editor exmh mhProfile pgp install Exmh_Debug EditStart $draft $type @@ -376,7 +376,7 @@ exmh-async* { global wish argv0 Exmh_Status "Starting ASYNC $editor($type) ..." warn - eval {exec $wish -f ${argv0}-async -- [winfo name .]} \ + eval {exec $wish -f $install(dir,bin)/exmh-async -- [winfo name .]} \ [lrange $editor($type) 1 end] {$draft &} return 0 ;# Asynchronous edit } diff -urNad exmh-2.7.2/lib/seditExtras.tcl /tmp/dpep.3P0hBe/exmh-2.7.2/lib/seditExtras.tcl --- exmh-2.7.2/lib/seditExtras.tcl Thu Jan 27 18:21:45 2005 +++ /tmp/dpep.3P0hBe/exmh-2.7.2/lib/seditExtras.tcl Thu Jan 27 18:22:52 2005 @@ -674,7 +674,7 @@ destroy $f } proc SeditSpell { draft f t } { - global sedit editor wish argv0 + global sedit editor wish argv0 install set parent [file root $f] if {[winfo exists $parent.spell]} { destroy $parent.spell diff -urNad exmh-2.7.2/lib/seditSel.tcl /tmp/dpep.3P0hBe/exmh-2.7.2/lib/seditSel.tcl --- exmh-2.7.2/lib/seditSel.tcl Thu Jan 27 18:21:45 2005 +++ /tmp/dpep.3P0hBe/exmh-2.7.2/lib/seditSel.tcl Thu Jan 27 18:22:36 2005 @@ -130,7 +130,7 @@ proc SeditSelSpell { f t } { - global sedit editor wish argv0 + global sedit editor wish argv0 install set parent [file root $f] catch {[destroy $parent.spell]} debian/patches/08_mdn_from0000644000000000000000000000213012215471251012644 0ustar Author: Alexander Zangerl Subject: repair MDN generation for nmh 1.5++ diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/receipt.tcl exmh-2.8.0/lib/receipt.tcl --- exmh-2.8.0~/lib/receipt.tcl 2012-05-21 20:23:57.000000000 +1000 +++ exmh-2.8.0/lib/receipt.tcl 2012-05-21 20:24:08.409987225 +1000 @@ -485,9 +485,14 @@ close $in error "Cannot create mdn" } - # Bug - someplace right here, we need to make 'post' generate - # a 'MAIL FROM:<>' to be fully RFC compliant.,.. - puts $out "Subject: Disposition notification\nTo: $address" + puts $out "Subject: Disposition notification\nTo: $address\nFrom: $rcpt" + # if nmh 1.5 or newer, use Envelope-From: to force mail from: <> + catch {exec scan -version} nmhversion + if [ regexp {nmh-(\d+)\.(\d+)} $nmhversion allofit major minor ] { + if {$major >= 1 && $minor >= 5 } { + puts $out "Envelope-From:" + } + } set bdry [FvMimeStartMulti $out \ "multipart/report; report-type=disposition-notification" 0] debian/patches/09_misc_cvs0000644000000000000000000000547512215471275012677 0ustar Author: Alexander Zangerl Subject: upstream patches from cvs, scan.tcl: consistent permissions on .xmhcache, source.tcl: fix for incorrect option handling for source() diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/scan.tcl exmh-2.8.0/lib/scan.tcl --- exmh-2.8.0~/lib/scan.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/scan.tcl 2013-09-11 22:31:17.544955566 +1000 @@ -274,14 +274,14 @@ set curLine [Ftoc_ClearCurrent] ;# Clear + if [file writable $cacheFile] { set scancmd "exec $mhProfile(scan-proc) [list +$folder] \ - -width $ftoc(scanWidth) -noheader > [list $cacheFile]" + -width $ftoc(scanWidth) -noheader >@ [open $cacheFile w 0$mhProfile(msg-protect)]" if [catch $scancmd err] { Exmh_Status "failed to rescan folder $folder: $err" warn } } Ftoc_Change $curLine ;# Restore it } elseif [catch { - set cacheIO [open $cacheFile w] + set cacheIO [open $cacheFile w 0$mhProfile(msg-protect)] set curLine [Ftoc_ClearCurrent] ;# Clear + set display [$exwin(ftext) get 1.0 "end -1 char"] Ftoc_Change $curLine ;# Restore it @@ -309,7 +309,7 @@ } set len [string length $prefix] set fmt [format "%%%dd%%s" $len] - set cacheIO [open $cacheFile a] + set cacheIO [open $cacheFile a 0$mhProfile(msg-protect)] for {set i [expr [llength $scanlinesR]-1]} {$i >= 0} {incr i -1} { set line [lindex $scanlinesR $i] if [regsub {( *[0-9]+)(\+)} $line {\1 } newline] { @@ -338,7 +338,7 @@ if {$force || ! [Scan_CacheValid $f]} { puts $out "catch \{send $myname \{Exmh_Status \"scan +$f\"\}\}" puts $out "catch { - set out \[open $mhProfile(path)/$f/.xmhcache w $mhProfile(msg-protect)\] + set out \[open $mhProfile(path)/$f/.xmhcache w 0$mhProfile(msg-protect)\] exec $mhProfile(scan-proc) +$f -width $ftoc(scanWidth) -noheader >@\$out close \$out }" diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/source.tcl exmh-2.8.0/lib/source.tcl --- exmh-2.8.0~/lib/source.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/source.tcl 2013-09-11 22:31:38.527841230 +1000 @@ -1,9 +1,9 @@ if {$exmh(sourceHook) && [info command source-orig] == ""} { rename source source-orig - proc source {file} { + proc source {args} { global SourceHook - set result [uplevel 1 [list source-orig $file]] - set fn [file rootname [file tail $file]] + set result [uplevel 1 "source-orig $args"]] + set fn [file rootname [file tail [lindex $args end]]] if [info exists SourceHook($fn)] { if [catch {uplevel 1 $SourceHook($fn)} err] { Exmh_Status "Error in source hook for $fn: $err" warning debian/patches/07_mdn0000644000000000000000000000166012215471231011625 0ustar Author: Alexander Zangerl Subject: use appropriate hostname command for finding the FQDN diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/receipt.tcl exmh-2.8.0/lib/receipt.tcl --- exmh-2.8.0~/lib/receipt.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/receipt.tcl 2012-05-16 12:44:13.208865078 +1000 @@ -10,7 +10,7 @@ if {[info exists mime(mdnTo)] && $mime(mdnTo) != {}} { set mdnTo $mime(mdnTo) } else { - set host [exec hostname] + set host [exec hostname --fqdn] set domain $faces(defaultDomain) if {$domain == ""} { @@ -459,7 +459,7 @@ proc MDNBuildDraft { draft address doit choice} { global env mimeHdr faces exmh - set host [exec hostname] + set host [exec hostname --fqdn] # If /bin/hostname has a '.' in it, assume it's already a FQDN. if [ regexp {\.} $host ] { debian/patches/05_audit0000644000000000000000000000342712215471167012166 0ustar Author: Alexander Zangerl Subject: make the audit logging a configurable option diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.7.2~/lib/audit.tcl exmh-2.7.2/lib/audit.tcl --- exmh-2.7.2~/lib/audit.tcl 2011-12-14 15:37:10.000000000 +1000 +++ exmh-2.7.2/lib/audit.tcl 2011-12-14 15:37:27.133409125 +1000 @@ -23,6 +23,10 @@ proc Audit { event } { + global exmh + if {![info exists exmh(auditEnabled)] || !$exmh(auditEnabled)} { + return + } after 1 [list AuditInner $event] } proc AuditInner { event } { @@ -107,7 +111,10 @@ return $x } proc Audit_CheckPoint {} { - global audit mhProfile argv0 + global audit mhProfile argv0 exmh + if {![info exists exmh(auditEnabled)] || !$exmh(auditEnabled)} { + return + } set file $audit(file) unset audit(file) diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.7.2~/lib/main.tcl exmh-2.7.2/lib/main.tcl --- exmh-2.7.2~/lib/main.tcl 2011-12-14 15:37:10.000000000 +1000 +++ exmh-2.7.2/lib/main.tcl 2011-12-14 15:37:10.436286953 +1000 @@ -40,6 +40,9 @@ {exmh(logLines) logLines 1000 {Max lines in debug log} "The log is implemented in a text widget. This setting limits the number of lines kept in the log."} + {exmh(auditEnabled) auditEnabled OFF {Audit log enabled} + "This option controls the recording of an audit trail of operations on mail messages. + Audit information is collected in .exmhaudit in the exmh tempdir, and appended to ~/Mail/.exmhaudit on exit."} {flist(debug) flistDebug OFF {Debug flist} "A listbox that displays the unseen and unvisited folder state is displayed to debug the flist module."} debian/patches/04_posixsh0000644000000000000000000000070112215471152012536 0ustar Author: Alexander Zangerl Subject: set hostname on non-bash shells diff -urNad exmh-2.7.2~/misc/exmhwrapper exmh-2.7.2/misc/exmhwrapper --- exmh-2.7.2~/misc/exmhwrapper 2004-06-15 01:25:57.000000000 +1000 +++ exmh-2.7.2/misc/exmhwrapper 2009-05-24 13:20:04.750594233 +1000 @@ -10,6 +10,7 @@ EOF fi fi +[ -z "$HOSTNAME" ] && HOSTNAME=`hostname` if echo $DISPLAY | grep --quiet '^:'; then DISPLAY="$HOSTNAME$DISPLAY" fi debian/patches/series0000644000000000000000000000020512215471251012027 0ustar 01_versions_and_pathes 02_fix_bitmap_locations 03_scripts_in_usr_share 04_posixsh 05_audit 06_lassign 07_mdn 08_mdn_from 09_misc_cvs debian/patches/02_fix_bitmap_locations0000644000000000000000000001556012215471113015242 0ustar Author: Alexander Zangerl Subject: move all bitmaps and images to /usr/share/exmh and /usr/share/exmh/bitmaps. introduce exmh(bitmaps) as location diff -urNad exmh-2.7.2/lib/bitmaps/bitmaps.defaults /tmp/dpep.QmONE0/exmh-2.7.2/lib/bitmaps/bitmaps.defaults --- exmh-2.7.2/lib/bitmaps/bitmaps.defaults Tue Jan 25 22:38:56 2005 +++ /tmp/dpep.QmONE0/exmh-2.7.2/lib/bitmaps/bitmaps.defaults Tue Jan 25 22:38:57 2005 @@ -1,5 +1,4 @@ -! All these icons are put in /usr/lib/exmh, which is -! a symlink to /usr/lib/exmh-. +! All these icons are put in /usr/share/exmh/bitmaps/. ! ! This file should be added to the beginning of ! .exmh/exmh-defaults, or (global) app-defaults @@ -9,29 +8,29 @@ ! ! Main view icons: ! -*Main.help.bitmap: @/usr/lib/exmh/help.xbm -*Main.addr.bitmap: @/usr/lib/exmh/address.xbm -*Main.pref.bitmap: @/usr/lib/exmh/pref.xbm -*Main.bind.bitmap: @/usr/lib/exmh/bind.xbm -*Mops.comp.bitmap: @/usr/lib/exmh/compose.xbm -*Mops.forward.bitmap: @/usr/lib/exmh/forward.xbm -*Mops.link.bitmap: @/usr/lib/exmh/link.xbm -*Mops.move.bitmap: @/usr/lib/exmh/move.xbm -*Mops.delete.bitmap: @/usr/lib/exmh/delete.xbm -*Mops.unmark.bitmap: @/usr/lib/exmh/unmark.xbm -*Fops.inc.bitmap: @/usr/lib/exmh/getmail.xbm -*Fops.new.bitmap: @/usr/lib/exmh/new.xbm -*Fops.commit.bitmap: @/usr/lib/exmh/commit.xbm -*Fops.flist.bitmap: @/usr/lib/exmh/scan.xbm -*Fops.search.bitmap: @/usr/lib/exmh/search.xbm +*Main.help.bitmap: @/usr/share/exmh/bitmaps/help.xbm +*Main.addr.bitmap: @/usr/share/exmh/bitmaps/address.xbm +*Main.pref.bitmap: @/usr/share/exmh/bitmaps/pref.xbm +*Main.bind.bitmap: @/usr/share/exmh/bitmaps/bind.xbm +*Mops.comp.bitmap: @/usr/share/exmh/bitmaps/compose.xbm +*Mops.forward.bitmap: @/usr/share/exmh/bitmaps/forward.xbm +*Mops.link.bitmap: @/usr/share/exmh/bitmaps/link.xbm +*Mops.move.bitmap: @/usr/share/exmh/bitmaps/move.xbm +*Mops.delete.bitmap: @/usr/share/exmh/bitmaps/delete.xbm +*Mops.unmark.bitmap: @/usr/share/exmh/bitmaps/unmark.xbm +*Fops.inc.bitmap: @/usr/share/exmh/bitmaps/getmail.xbm +*Fops.new.bitmap: @/usr/share/exmh/bitmaps/new.xbm +*Fops.commit.bitmap: @/usr/share/exmh/bitmaps/commit.xbm +*Fops.flist.bitmap: @/usr/share/exmh/bitmaps/scan.xbm +*Fops.search.bitmap: @/usr/share/exmh/bitmaps/search.xbm ! ! Message editor icons: ! -*Sedit.Menubar.send.bitmap: @/usr/lib/exmh/send.xbm -*Sedit.Menubar.abort.bitmap: @/usr/lib/exmh/abort.xbm -*Sedit.Menubar.sign.bitmap: @/usr/lib/exmh/sign.xbm -*Sedit.Menubar.repl.bitmap: @/usr/lib/exmh/quote.xbm -*Sedit.Menubar.help.bitmap: @/usr/lib/exmh/help.xbm +*Sedit.Menubar.send.bitmap: @/usr/share/exmh/bitmaps/send.xbm +*Sedit.Menubar.abort.bitmap: @/usr/share/exmh/bitmaps/abort.xbm +*Sedit.Menubar.sign.bitmap: @/usr/share/exmh/bitmaps/sign.xbm +*Sedit.Menubar.repl.bitmap: @/usr/share/exmh/bitmaps/quote.xbm +*Sedit.Menubar.help.bitmap: @/usr/share/exmh/bitmaps/help.xbm ! ! Throw "prev" and "next", as being superfluous ! diff -urNad exmh-2.7.2/lib/busy.tcl /tmp/dpep.QmONE0/exmh-2.7.2/lib/busy.tcl --- exmh-2.7.2/lib/busy.tcl Tue Jan 25 22:38:56 2005 +++ /tmp/dpep.QmONE0/exmh-2.7.2/lib/busy.tcl Tue Jan 25 22:38:57 2005 @@ -28,7 +28,7 @@ with \"@filename\". You can optionally provide foreground and background colors. (See Tk_GetCursor for complete details). A final twist is that relative pathnames are munged to be -absolute pathnames under $exmh(library) +absolute pathnames under $exmh(bitmaps) Examples include: watch - standard watch watch blue - a clear and blue watch @@ -43,7 +43,7 @@ "This is a TK specification for a bitmap. There are only a few boring built-in bitmaps, so mostly you specify these with the @pathname syntax. A relative pathname is munged to be an -absolute pathname under $exmh(library) +absolute pathname under $exmh(bitmaps) Examples include: @hourglass1.bitmap - Standard wish hourglass @hourglass1.bitmap blue - Blue wish hourglass @@ -62,16 +62,16 @@ global busy exmh # busy(cursor) could be # @foo.cursor bar.cursor color color - # Here we insert the exmh library + # Here we insert the exmh bitmap library switch -regexp $busy(cursor) { {^@[^/]} { - regsub @(.*) $busy(cursor) $exmh(library)/\\1 newfile + regsub @(.*) $busy(cursor) $exmh(bitmaps)/\\1 newfile if ![file exists [lindex $newfile 0]] { Exmh_Status "Invalid file [lindex $newfile 0]" return } if {[llength $newfile] > 2} { - regsub {([^ ]*) (.*)} $newfile "\\1 $exmh(library)/\\2" newfile + regsub {([^ ]*) (.*)} $newfile "\\1 $exmh(bitmaps)/\\2" newfile } set busy(Xcursor) @$newfile } @@ -84,10 +84,10 @@ global busy exmh # busy(bitmap) could be # @foo.bitmap bar.bitmap color color - # Here we insert the exmh library + # Here we insert the exmh bitmap library switch -regexp $busy(bitmap) { {^@[^/]} { - regsub @(.*) $busy(bitmap) $exmh(library)/\\1 newfile + regsub @(.*) $busy(bitmap) $exmh(bitmaps)/\\1 newfile set color [lindex $newfile 1] set newfile [lindex $newfile 0] if [file exists $newfile] { diff -urNad exmh-2.7.2/lib/extrasInit.tcl /tmp/dpep.QmONE0/exmh-2.7.2/lib/extrasInit.tcl --- exmh-2.7.2/lib/extrasInit.tcl Tue Jan 25 22:38:56 2005 +++ /tmp/dpep.QmONE0/exmh-2.7.2/lib/extrasInit.tcl Tue Jan 25 22:38:57 2005 @@ -140,7 +140,7 @@ Preferences_Resource exmh(testglyph) testGlyph flagdown.gif if ![string match /* exmh(testglyph)] { - set exmh(testglyph) $exmh(library)/$exmh(testglyph) + set exmh(testglyph) $exmh(bitmaps)/$exmh(testglyph) } set time [lindex [time { toplevel .foo @@ -270,7 +270,7 @@ global exmh set faces(default) [Widget_Label $faces(frame) default {left fill} \ - -bitmap @$exmh(library)/exmh.bitmap] + -bitmap @$exmh(bitmaps)/exmh.bitmap] # kludge to get default background of the labels if {$faces(rowEnabled) && $exmh(slowDispShowFaces)} { diff -urNad exmh-2.7.2/lib/flag.tcl /tmp/dpep.QmONE0/exmh-2.7.2/lib/flag.tcl --- exmh-2.7.2/lib/flag.tcl Tue Jan 25 22:38:56 2005 +++ /tmp/dpep.QmONE0/exmh-2.7.2/lib/flag.tcl Tue Jan 25 22:38:57 2005 @@ -44,7 +44,7 @@ foreach i {iconup icondown iconspool iconupmask icondownmask iconspoolmask iconupglyph icondownglyph iconspoolglyph} { if ![string match /* $flag($i)] { - set flag($i) $exmh(library)/$flag($i) + set flag($i) $exmh(bitmaps)/$flag($i) } if ![file exists $flag($i)] { set flag($i) 0 diff -urNad exmh-2.7.2/lib/uri.tcl /tmp/dpep.QmONE0/exmh-2.7.2/lib/uri.tcl --- exmh-2.7.2/lib/uri.tcl Tue Jan 25 22:38:56 2005 +++ /tmp/dpep.QmONE0/exmh-2.7.2/lib/uri.tcl Tue Jan 25 22:38:57 2005 @@ -280,7 +280,7 @@ regsub -all "\[ \t\n\]" $temp_uri {} temp_uri set but [Faces_Button [list URI_StartViewer $temp_uri]] global exmh - $but config -bitmap @$exmh(library)/url.bitmap + $but config -bitmap @$exmh(bitmaps)/url.bitmap if $uri(logOnEnter) { regsub -all % $temp_uri %% temp_uri bind $but [list Exmh_Status "X-URL:\t$temp_uri"] debian/patches/01_versions_and_pathes0000644000000000000000000001012712215471064015101 0ustar Author: Alexander Zangerl Subject: path settings in *.MASTER and debian version display diff -urNad exmh-2.7.2/exmh-async.MASTER /tmp/dpep.U8npNv/exmh-2.7.2/exmh-async.MASTER --- exmh-2.7.2/exmh-async.MASTER Tue Jun 15 01:23:54 2004 +++ /tmp/dpep.U8npNv/exmh-2.7.2/exmh-async.MASTER Tue Jan 25 22:14:49 2005 @@ -1,4 +1,4 @@ -#!wish -f +#!/usr/bin/wish -f # # async editor frontend for exmh # Arg1: invoking interpreter's name (from [winfo name .]) diff -urNad exmh-2.7.2/exmh-bg.MASTER /tmp/dpep.U8npNv/exmh-2.7.2/exmh-bg.MASTER --- exmh-2.7.2/exmh-bg.MASTER Tue Jun 15 01:24:00 2004 +++ /tmp/dpep.U8npNv/exmh-2.7.2/exmh-bg.MASTER Tue Jan 25 22:16:01 2005 @@ -1,4 +1,4 @@ -#!wish -f +#!/usr/bin/wish -f # # Background processing script for exmh. # This does stuff and then sends messages to the background module @@ -18,6 +18,10 @@ #CONFIGURATION #END CONFIGURATION +# for safety so that old exmh config files don't keep it from starting +set exmh(version) "version 2.8.0 04/21/2012 (/etc/exmh.conf is OLD)" +source /etc/exmh.conf + package require Tk wm withdraw . diff -urNad exmh-2.7.2/exmh-strip.MASTER /tmp/dpep.U8npNv/exmh-2.7.2/exmh-strip.MASTER --- exmh-2.7.2/exmh-strip.MASTER Sat Jan 8 10:26:43 2005 +++ /tmp/dpep.U8npNv/exmh-2.7.2/exmh-strip.MASTER Tue Jan 25 22:16:17 2005 @@ -1,4 +1,4 @@ -#!wish +#!/usr/bin/wish #(Note - you should also be able to use tclsh with this.) # # Utility to strip out attachments from MIME messages. @@ -51,6 +51,10 @@ #CONFIGURATION #END CONFIGURATION +# for safety so that old exmh config files don't keep it from starting +set exmh(version) "version 2.8.0 04/21/2012 (/etc/exmh.conf is OLD)" +source /etc/exmh.conf + if {[catch {wm withdraw .}]} { # Stub out stuff when not running under wish diff -urNad exmh-2.7.2/exmh.MASTER /tmp/dpep.U8npNv/exmh-2.7.2/exmh.MASTER --- exmh-2.7.2/exmh.MASTER Tue Jun 15 01:24:58 2004 +++ /tmp/dpep.U8npNv/exmh-2.7.2/exmh.MASTER Tue Jan 25 22:16:50 2005 @@ -1,4 +1,4 @@ -#!wish -f +#!/usr/bin/wish -f # # TK interface to the MH Mail utility # Brent Welch @@ -18,6 +18,12 @@ # The following lines are patched by exmh.install #CONFIGURATION #END CONFIGURATION + +# for safety so that old exmh config files don't keep it from starting +# old configs didn't include version +set exmh(version) "version 2.8.0 04/21/2012 (/etc/exmh.conf is OLD)" +source /etc/exmh.conf + package require Tk if {$tcl_version < 8.0} { diff -urNad exmh-2.7.2/ftp.expect.MASTER /tmp/dpep.U8npNv/exmh-2.7.2/ftp.expect.MASTER --- exmh-2.7.2/ftp.expect.MASTER Thu Jul 12 04:10:18 2001 +++ /tmp/dpep.U8npNv/exmh-2.7.2/ftp.expect.MASTER Tue Jan 25 22:14:49 2005 @@ -1,6 +1,4 @@ -#!/bin/sh -# \ -exec expect -f +#!/usr/bin/expect -f set site [lindex $argv 0] set dir [lindex $argv 1] diff -urNad exmh-2.7.2/inc.expect.MASTER /tmp/dpep.U8npNv/exmh-2.7.2/inc.expect.MASTER --- exmh-2.7.2/inc.expect.MASTER Thu Jul 12 02:40:49 2001 +++ /tmp/dpep.U8npNv/exmh-2.7.2/inc.expect.MASTER Tue Jan 25 22:14:49 2005 @@ -1,6 +1,4 @@ -#!/bin/sh -# \ -exec expect -f "$0" -- ${1+"$@"} +#!/usr/bin/expect -f # # Script to run inc and provide a password. # diff -urNad exmh-2.7.2/lib/app-defaults /tmp/dpep.U8npNv/exmh-2.7.2/lib/app-defaults --- exmh-2.7.2/lib/app-defaults Wed Jan 5 12:30:09 2005 +++ /tmp/dpep.U8npNv/exmh-2.7.2/lib/app-defaults Tue Jan 25 22:14:49 2005 @@ -241,7 +241,7 @@ *Main.help.m.l_faq: Frequently Asked Questions *Main.help.m.c_faq: Help exmh-faq *Main.help.m.l_html: HTML Docs -*Main.help.m.c_html: Html_Window file:\$exmh(library)/html/index.html +*Main.help.m.c_html: Html_Window file:\$exmh(helploc)/index.html *Main.help.m.l_wiki: Exmh Wiki *Main.help.m.c_wiki: Html_Window http://www.beedub.com/cgi-bin/wiki.cgi/exmh *Main.help.m.t_sep: separator diff -urNad exmh-2.7.2/lib/help.tcl /tmp/dpep.U8npNv/exmh-2.7.2/lib/help.tcl --- exmh-2.7.2/lib/help.tcl Wed Apr 3 04:36:43 2002 +++ /tmp/dpep.U8npNv/exmh-2.7.2/lib/help.tcl Tue Jan 25 22:14:49 2005 @@ -82,7 +82,7 @@ set id help$file set topic $file } else { - set dir $exmh(library)/html + set dir $exmh(helploc) set file $dir/$name.html set id help$name set topic $name debian/patches/06_lassign0000644000000000000000000001140612215471207012510 0ustar Author: Alexander Zangerl Subject: include recent upstream change to get rid of exmh_lassign diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/exmh.CHANGES exmh-2.8.0/exmh.CHANGES --- exmh-2.8.0~/exmh.CHANGES 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/exmh.CHANGES 2012-04-26 18:48:32.924254320 +1000 @@ -1,4 +1,15 @@ HISTORY +cvs repository 04/24/2012 valdis.kletnieks@vt.edu + Fix the 'lassign' issue more correctly - Brent Welch suggested + how to define one on the fly for pre-tcl8.5. So we bite the bullet + and actually use the 8.5 calling sequence. + main.tcl, html.tcl, html_formtag.tcl, html_get_http.tcl, + html_links.tcl, msgShow.tcl + +cvs repository 04/22/2012 az@debian.org + added two patches from debian: + . make audit logging a configurable option + . ensure that $HOSTNAME is set in exmhwrapper cvs repository 04/21/2012 welch@panasas.com Update version to 2.8.0 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/html.tcl exmh-2.8.0/lib/html.tcl --- exmh-2.8.0~/lib/html.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/html.tcl 2012-04-26 18:46:13.751726085 +1000 @@ -209,7 +209,7 @@ } proc HtmlHit {win x y} { upvar #0 HM$win var - exmh_lassign {href name} [UrlGetLink $win $x $y] + lassign [UrlGetLink $win $x $y] href name UrlResolve $var(S_url) href URI_StartViewer $href } diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/html_formtag.tcl exmh-2.8.0/lib/html_formtag.tcl --- exmh-2.8.0~/lib/html_formtag.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/html_formtag.tcl 2012-04-26 18:46:18.739458285 +1000 @@ -690,7 +690,7 @@ upvar #0 HM[Window_GetMaster $win] var $formVar form foreach w [array names form widgets,*] { regsub ^widgets, $w {} w - exmh_lassign {htag param} $form(widgets,$w) + lassign $form(widgets,$w) htag param if {"$htag" == "input"} { set type text HMextract_param $param type diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/html_get_http.tcl exmh-2.8.0/lib/html_get_http.tcl --- exmh-2.8.0~/lib/html_get_http.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/html_get_http.tcl 2012-04-26 18:46:28.382940513 +1000 @@ -155,7 +155,7 @@ } if {$protocol == "http"} { # Callback to determine if a proxy is necessary - exmh_lassign {proxy pport} [Http_Proxy $host] + lassign [Http_Proxy $host] proxy pport if [catch { if [string length $proxy] { set sock [HttpConnect $proxy $pport $data(protocol) $url] diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/html_links.tcl exmh-2.8.0/lib/html_links.tcl --- exmh-2.8.0~/lib/html_links.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/html_links.tcl 2012-04-26 18:46:37.265463604 +1000 @@ -81,13 +81,13 @@ } proc Url_Hit {win x y} { dputs Url_Hit $x $y - exmh_lassign {href name} [UrlGetLink $win $x $y] + lassign [UrlGetLink $win $x $y] href name Html_HistoryAdd $win $href Frame_Display $win $name $href } # This is like Url_Hit for regular hits, but it opens a new window. proc Url_HitNew {win x y} { - exmh_lassign {href target} [UrlGetLink $win $x $y] + lassign [UrlGetLink $win $x $y] href target Url_DisplayNew $href $win } diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/main.tcl exmh-2.8.0/lib/main.tcl --- exmh-2.8.0~/lib/main.tcl 2012-04-22 15:15:53.000000000 +1000 +++ exmh-2.8.0/lib/main.tcl 2012-04-26 18:47:45.392805987 +1000 @@ -558,4 +558,9 @@ ::tk::unsupported::ExposePrivateCommand tkTextResetAnchor ::tk::unsupported::ExposePrivateVariable tkPriv } + if {[info exists tcl_version] && ($tcl_version < "8.5")} { + proc lassign {values args} { + uplevel 1 [list foreach $args $values break] + } + } } diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' exmh-2.8.0~/lib/msgShow.tcl exmh-2.8.0/lib/msgShow.tcl --- exmh-2.8.0~/lib/msgShow.tcl 2012-04-22 14:02:56.000000000 +1000 +++ exmh-2.8.0/lib/msgShow.tcl 2012-04-26 18:46:07.453064276 +1000 @@ -523,7 +523,7 @@ # continue # } - exmh_lassign {qt_cnt qt_str} [MsgHighlightQuoteLevel $txt] + lassign [MsgHighlightQuoteLevel $txt] qt_cnt qt_str if {$qt_cnt >= 5} { set qt_cnt 5 } debian/changelog0000644000000000000000000004542712224673747011072 0ustar exmh (1:2.8.0-4) unstable; urgency=low * changed tcl/tk dependencies to unversioned metapackage (closes: #725688) -- Alexander Zangerl Tue, 08 Oct 2013 13:10:21 +1000 exmh (1:2.8.0-3) unstable; urgency=low * changed to quilt 3.0 source format (closes: #671642) * reviewed some ancient bug reports (closes: #342510) -- Alexander Zangerl Mon, 16 Sep 2013 12:49:03 +1000 exmh (1:2.8.0-2) unstable; urgency=low * applied a few patches from upstream cvs for better compatibility with tcl/tk8.6. -- Alexander Zangerl Wed, 11 Sep 2013 22:33:53 +1000 exmh (1:2.8.0-1) unstable; urgency=low * lifted standards version * removed some minor packaging gotchas, removed long-dead metamail, expectk, pgp from dependencies cleaned the uploaders list (closes: #717062) -- Alexander Zangerl Wed, 17 Jul 2013 20:39:26 +1000 exmh (1:2.8.0~rc1-2) unstable; urgency=low * fixed MDN content, now uses correct hostname also rfc-compliant when used with nmh 1.5++ -- Alexander Zangerl Mon, 21 May 2012 20:13:55 +1000 exmh (1:2.8.0~rc1-1) unstable; urgency=low * New upstream release (a "candidate release" which is nevertheless rock-solid and ready for daily use) * lifted standards version -- Alexander Zangerl Fri, 27 Apr 2012 18:52:17 +1000 exmh (1:2.7.2-24) unstable; urgency=low * made collection of audit log a configurable option * added fix for unsuitable gpg algorithm preferences * repaired date/time pattern that broke address db expiration -- Alexander Zangerl Fri, 20 Jan 2012 19:23:39 +1000 exmh (1:2.7.2-23) unstable; urgency=low * reworked spell checking functionality and improved docs. main spell checking options are now all on the sedit preferences page. now provide better integration for i-spell module. -- Alexander Zangerl Sun, 24 Apr 2011 13:21:40 +1000 exmh (1:2.7.2-22) unstable; urgency=low * fix for tk8.5's troubles with not-quite-xlfd fontnames like 'fixed' tk now interprets this as a font face, not an xlfd shortcut, and you get messed up fonts (mainly way too large). the fix is to recreate "fixed" as a tk named font for tk 8.5++. -- Alexander Zangerl Fri, 01 Apr 2011 01:06:59 +1000 exmh (1:2.7.2-21) unstable; urgency=low * applied patch for broken handling of some rfc2369 list-* headers -- Alexander Zangerl Thu, 02 Sep 2010 12:42:40 +1000 exmh (1:2.7.2-20) unstable; urgency=low * developed fix for incorrectly escaped "<" when editing text/enriched mails (closes: #175193) -- Alexander Zangerl Sun, 29 Aug 2010 18:18:55 +1000 exmh (1:2.7.2-19) unstable; urgency=low * pulled in some cvs fixes for cooperation with tcl 8.5 * lifted standards version * updated dependencies a little -- Alexander Zangerl Sun, 29 Aug 2010 14:17:44 +1000 exmh (1:2.7.2-18) unstable; urgency=low * set hostname on non-bash shells (closes: #530077) -- Alexander Zangerl Sun, 24 May 2009 13:20:55 +1000 exmh (1:2.7.2-17) unstable; urgency=low * gpg uses gpg.conf as configfile nowadays (was: options) exmh needs to look for the correct file (closes: #510834) * lifted standards version -- Alexander Zangerl Thu, 8 Jan 2009 12:02:37 +1000 exmh (1:2.7.2-16) unstable; urgency=low * reworked recode support. -- Alexander Zangerl Wed, 18 Jun 2008 21:56:06 +1000 exmh (1:2.7.2-15) unstable; urgency=low * added option for better gpg-agent support -- Alexander Zangerl Fri, 13 Jun 2008 19:48:09 +1000 exmh (1:2.7.2-14) unstable; urgency=low * applied patch for fd leakage from Marion Hakanson: using the internal mime qp/base64 decoder caused file descriptors to be leaked. * added recommendation for recode or metamail: the internal qp/base64 decoder is woefully slow; metamail's mimencode was the perfect, tiny tool and nothing else in debian is currently a/v to do this job :-( the exmh code was changed to prefer recode, fall back to mimencode or use the internal decoder as a final fallback. -- Alexander Zangerl Sat, 31 May 2008 20:25:47 +1000 exmh (1:2.7.2-13) unstable; urgency=low * lifted the standards version, cleaned up control file * updated menu category, fixed some manpage warnings * minor fix to make links in inline-displayed html clickable, consolidated the status display for hovering over urls -- Alexander Zangerl Thu, 28 Feb 2008 10:54:24 +1000 exmh (1:2.7.2-12) unstable; urgency=low * removed dependency on metamail. we're not losing anything, exmh has reasonable mailcap handling built-in anyway. -- Alexander Zangerl Wed, 12 Dec 2007 11:45:50 +1000 exmh (1:2.7.2-11) unstable; urgency=low * fixed obnoxious scan cache corruption bug -- Alexander Zangerl Sun, 1 Jul 2007 13:29:56 +1000 exmh (1:2.7.2-10) unstable; urgency=low * added watch file, updated standards version * updated menu location -- Alexander Zangerl Tue, 10 Apr 2007 18:46:53 +1000 exmh (1:2.7.2-9) unstable; urgency=low * fixing problem with stdin/filepath option for the spam learner programs which was reintroduced with the last version. * lifted standards version -- Alexander Zangerl Thu, 16 Nov 2006 12:28:53 +1000 exmh (1:2.7.2-8) unstable; urgency=low * pulled in latest CVS fixes * added glimpse scope option to preferences -- Alexander Zangerl Mon, 13 Nov 2006 14:25:50 +1000 exmh (1:2.7.2-7) unstable; urgency=low * lifted standards version * fixed problem with ham-learning programs that don't work with messages on STDIN. * fixed cleanup of tclindex and tcl lib dir on package removal. -- Alexander Zangerl Mon, 26 Sep 2005 17:41:57 +1000 exmh (1:2.7.2-6) unstable; urgency=low * some more manpage typo fixes. -- Alexander Zangerl Thu, 9 Jun 2005 00:13:28 +1000 exmh (1:2.7.2-5) unstable; urgency=low * some manpage typo fixes. thanks to A Costa for spotting and for the patch! (closes: #309891) -- Alexander Zangerl Sun, 22 May 2005 09:53:41 +1000 exmh (1:2.7.2-4) unstable; urgency=low * added mailto: support to exmhcomp * adjusted welcoming text with path to install-mh * added stdin/filepath option for spam learner programs * applied upstream patch for background flist cache desynchronising -- Alexander Zangerl Sat, 16 Apr 2005 21:15:44 +1000 exmh (1:2.7.2-3) unstable; urgency=low * Added info re sequences display to README.Debian (closes: #294019) * exmh needs xterm in a fair number of spots and not so uncommon circumstances; I *think* that all x-terminal-emulator programs support -e and -title, but I'm not absolutely certain. Therefore added depends: xterm (This code review what triggered by #294062.) * changed audio playing command to run-mailcap for consistency. * fixed mime.tcl to properly handle dots in content-type (closes: #294212) -- Alexander Zangerl Wed, 9 Feb 2005 23:30:57 +1000 exmh (1:2.7.2-2) unstable; urgency=high * fix a stupid blunder regarding the location of internal scripts (closes: #292467). high urgency because it breaks a lot and sarge's freeze is coming closer and closer... -- Alexander Zangerl Thu, 27 Jan 2005 18:27:42 +1000 exmh (1:2.7.2-1) unstable; urgency=low * packaged new upstream release (closes: Bug#290481) * 2.7.2 is the "Wohee, we have proper performance again!" release. * also added some patches from CVS fixing issues that surfaced just after the release. * removed most debian-specific patches as incorporated upstream, yay! * updated Description to shut up lintian. -- Alexander Zangerl Tue, 25 Jan 2005 23:48:29 +1000 exmh (1:2.7.0-4) unstable; urgency=low * finally fixed helpfile locations -- Alexander Zangerl Sat, 4 Dec 2004 15:26:48 +1000 exmh (1:2.7.0-3) unstable; urgency=low * fixed help location for Intro * added homepage to description * fixed exmh-async path gotcha (closes: #270784) -- Alexander Zangerl Sun, 12 Sep 2004 20:57:21 +1000 exmh (1:2.7.0-2) unstable; urgency=low * fixed suggestions (minus glimpse) * added patch for multiple keys with different passphrases (closes: #164210) * verified that new version doesn't crash on test message (closes: #63350) * verified that new version does do proper clearsigning (closes: #109165) * we are now lintian-clean (closes: #266712) * new version does include patch for ispell bug (closes: #201872) * tk8.4 support is present in new version (closes: #185539) * added patch for priming ldap options better (closes: #161724) * verified that new version does quoted-printable encode headers when quoted-printable preference is set (or sedit menu used) (closes: 55141) * moved internally used scripts into /usr/share/exmh, exmh-strip and exmhcomp into doc/examples * updated README.Debian, set sensible default for faces display program -- Alexander Zangerl Mon, 6 Sep 2004 18:02:31 +1000 exmh (1:2.7.0-1) unstable; urgency=low * set up co-maintainership, with anders' agreement * lifted standards version * updated copyright file * cleaned up dependencies (minus glimpse, plus mime-support, plus quintuple-agent as suggestion) * build-depends on dpatch, moved patches to dpatch environment * new upstream version (closes: #187786) * new upstream does indeed work with tk8.4 (closes: #176642) * changed preinst script to clean up html left in libdir * removed prerm and updated postinst: /usr/doc migration is over. * updated some patches, cleaned old diffs that no longer apply * moved html helpfiles to /usr/share/doc/exmh/html * updated README.Debian * moved all bitmaps into /usr/share/exmh/bitmaps, adjusted code * fixed lintian warnings (except missing manpages) -- Alexander Zangerl Fri, 3 Sep 2004 17:13:26 +1000 exmh (1:2.5-1.1) unstable; urgency=high * Non-maintainer upload * Exposes variables and commands made private in tk8.4 (closes: Bug #176642) * Corrects dependency on virtual package without alternative (closes no particular bug, but hartmans@debian.org mentioned it in Bug #176642) -- Chuck Hardin Tue, 17 Aug 2004 14:57:33 -0500 exmh (1:2.5-1) unstable; urgency=low * New upstream version (closes: Bug#130704, Bug#102749) * Make exmh prefer nmh in dependencies (closes: Bug#118683) * Don't fail in prerm if /usr/doc symlink is missing (closes: Bug#86567) * Resurrect dpkg --assert-working-epoch in case the dpkg is ancient enough not to support pre-depends (closes: Bug#83015) (again) * Revert workaround for "icon stuck". This needs to be fixed in Tk as different windowmanagers handle "misbehaving" clients differently. (Tk upstream is aware, but since "nobody" uses icon windows...) (closes: Bug#85562) -- Anders Hammarquist Sat, 2 Mar 2002 12:50:57 +0100 exmh (1:2.3.1-1) unstable; urgency=high * New upstream version with security fixes (closes: Bug#83648, Bug#82899) * Some maintainer script cleanups. (closes: Bug#83014) * Changed dpkg --assert-working-epoch to a predependency on dpkg >= 1.4.0.7, since that is approximately the same thing. (closes: Bug#83015) * Workaround for "icon stuck" bug. (closes: Bug#52386) * Added a check for untrusted keys with gpg (closes: Bug#81505) * Fixed recipients getting duplicated when gpg is called again in interactive mode. -- Anders Hammarquist Sun, 4 Feb 2001 16:44:45 +0100 exmh (1:2.2-1) unstable; urgency=low * New upstream version. (closes: Bug#65995, Bug#58823) -- Anders Hammarquist Sun, 6 Aug 2000 00:33:13 +0200 exmh (1:2.1.1-1) unstable; urgency=low * New upstream version. (closes: Bug#41751) * "Only symlink" is now off by default (though existing saved preferences are not changed) (closes: Bug#24087) * PGP changes upstream closes: Bug#37255 -- Anders Hammarquist Mon, 18 Oct 1999 23:24:11 +0200 exmh (1:2.0.2-7) unstable; urgency=low * Under some circumstances PGP/MIME would add a Content-Transfer-Encoding header with no value if the message was all 7bit characters. -- Anders Hammarquist Wed, 24 Feb 1999 23:05:05 +0100 exmh (1:2.0.2-6) unstable; urgency=low * Make exmh useable with mh (fixes Bug#33227) -- Anders Hammarquist Fri, 12 Feb 1999 01:09:46 +0100 exmh (1:2.0.2-5) unstable; urgency=low * Added new pgp/gnupg patches. * Exmh now add Msg-Protect: 600 and Folder-Protect: 700 to the .mh_profiles it creates. (fixes Bug#30967) * Close Bug#6560 Autocommit now Autopacks (already fixed in 2.0.2-1) * Fixed a problem with running more than one exmh at the same time. -- Anders Hammarquist Mon, 25 Jan 1999 00:19:56 +0100 exmh (1:2.0.2-4) frozen unstable; urgency=low * Fixed copyright file (it had an older non-free licence). * Fixed recursive autoload with tcl > 8.0p2 due to new auto_mkindex. This caused exmh to hang in a loop allocating memory when viewing inline HTML. (fixes Bug#28421) * Upload to frozen as well as unstable. -- Anders Hammarquist Mon, 30 Nov 1998 18:30:15 +0100 exmh (1:2.0.2-3) unstable; urgency=low * New maintainer * Close Bug#18506 "*Application defaults* files should not be tagged as *conffile*" (already fixed in 2.0.2-1) * Close Bug#21923 "When used with nmh, exmh should invoke repl -group" (already fixed in 2.0.2-2) * Fixed spelling in description (fixes Bug#18894) * Fixed Content-Transfer-Encoding of PGP clearsigned messages. They are now properly marked (and signed as) Quoted-Printable as per RFC2015 (fixes Bug#25563). * Changed mime-type guessing scheme (fixes Bug#28935) * Fixed regexps for handling broken OLE-generated PGP messages. Would hang exmh on some messages. * Close Bug#7092 "Exmh doesn't recognize all PGP encoded messages" since that appears to be fixed in the current version. -- Anders Hammarquist Sat, 28 Nov 1998 22:58:15 +0100 exmh (1:2.0.2-2) unstable; urgency=low * make exmh invoke repl -group if used with nmh * Apply David Luyer's patch to fix some of URI scanning bugs (those that caused exmh to hang on some bugtraq posts) * Apply pgp5+gnupg support patch * Apply a patch to fix date display * Apply a patch to fix glimpse feature check * Apply a patch to fix folder purging in the background * Apply a patch to handle attaching files with spaces in them * Apply a patch to make sure unseen sequence bookkeping is correct after a sort or a pack * Apply a patch to optionally add a (fwd) to the subject of forwarded messages. -- Igor Grobman Sat, 29 Aug 1998 15:40:35 -0400 exmh (1:2.0.2-1) unstable; urgency=low * new upstream release * make sure exmh knows about its version (set exmh(version) in /etc/exmh.conf) * app-defaults files are no longer conffiles (as per policy) -- Igor Grobman Tue, 3 Mar 1998 20:35:32 -0500 exmh (1:2.0-1) unstable; urgency=low * New upstream release -- Igor Grobman Wed, 24 Dec 1997 22:19:28 -0500 exmh (2.0zeta-3) unstable; urgency=low * argh! forgot to change the Maintainer: field in control file (hey, but it took me only 2 weeks to notice!) -- Igor Grobman Sun, 19 Oct 1997 21:22:13 -0400 exmh (2.0zeta-2) unstable; urgency=low * new maintainer * moved to unstable, since the package is beta rather than alpha code * added /usr/doc/exmh/html symlink * changed dependencies to make exmh depend on tclsh and wish virtual packages -- Igor Grobman Thu, 2 Oct 1997 9:47:21 -0400 exmh (2.0zeta-1) experimental; urgency=low * Latest experimental release with patches. * Added menu support. -- Karl Sackett Mon, 28 Jul 1997 10:42:57 -0500 exmh (2.0delta-2) experimental; urgency=low * /etc/exmh.conf: call /usr/lib/mime/playaudio to play exmh's .au files. -- Karl Sackett Tue, 8 Jul 1997 09:18:20 -0500 exmh (2.0delta-1) experimental; urgency=low * Latest experimental release with patches. * debian/rules: build target edits correct path to wish in exmh-async and exmh-bg, edits path to expect in ftp-expect, edits exmh-bg to source /etc/exmh.conf. -- Karl Sackett Wed, 2 Jul 1997 09:10:11 -0500 exmh (2.0gamma-2) experimental; urgency=low * /etc/exmh.conf: added support for picon packages. * debian/README.debian: added Jim Pick's notes on picons. -- Karl Sackett Tue, 27 May 1997 10:05:11 -0500 exmh (2.0gamma-1) experimental; urgency=low * Experimental release. * Installed latest patches from exmh home site. -- Karl Sackett Sun, 4 May 1997 11:09:11 -5000 exmh (1.6.9-4) unstable; urgency=low * debian/exmh.conf: fixed version and maintainer info, added support for compface and xfaces (bug #5177). * exmh sources /etc/exmh.conf (bug #5177). * debian/debian.README: instructions for using threader. * debian/control: suggests compface and xfaces. * Changed Debian maintainer address. -- Karl Sackett Wed, 6 Nov 1996 10:05:11 -0600 exmh (1.6.9-3) unstable; urgency=low * debian/rules: conffiles installed correctly (Bug #5176). * lib/mime.tcl: patch to handling uuencoded attachments. * lib/seditMime.tcl: patch for MIME charset attributes. * lib/thread.tcl: replaced with latest version (Bug #4623). * lib/folder.tcl, ftoc.tcl, inc.tcl, scan.tcl: patched to use new thread.tcl. * add Ben Escoto's patch for PGP/MIME messages, with Lars Wirzenius' fix. -- Karl Sackett Fri, 1 Nov 1996 13:15:24 -0600 exmh (1.6.9-2) unstable; urgency=low * debian/changelog: corrected distribution field -- Karl Sackett Thu, 5 Sep 1996 14:45:12 -0500 exmh (1.6.9-1) mail; urgency=low * New upstream release. * debian/control: exmh can use either tcl74/tk40 or tcl75/tk41 (Bug #3824). -- Karl Sackett Wed, 4 Sep 1996 09:22:04 -0500 1.6.7-5 * debian.postinst: updates exmh tclIndex (Bug #3585) * debian.control: exmh can use either tcl74/tk40 or tcl75/tk41 1.6.7-4 * package requires tcl75 and tk41 (Bug #3858) * package architecture changed to 'all' 1.6.7-3 * moved configuration information to /etc/exmh.conf (Bug #3779) * exmh: sources /etc/exmh.conf (Bug #3779) * corrected mh path (Bug #3779) * support files now architecture-independent * debian.control: added extended program description 1.6.7-2 * debian.control: changed Depends to include tcl75 and tk41 1.6.7-1 * Added Debian support files. debian/control0000644000000000000000000000127312224673563010606 0ustar Source: exmh Section: mail Priority: optional Maintainer: Alexander Zangerl Standards-Version: 3.9.4 Package: exmh Architecture: all Depends: tk | wish, tcl | tclsh, nmh | mh, mime-support, xterm Suggests: expect, compface, gnupg, file, mh-book Recommends: recode Homepage: http://www.exmh.org/ Description: extensible X user interface for MH mail Exmh uses the regular MH programs to manipulate your mail folders and messages. This means it is compatible with command-line use of MH programs, and its actions should be familiar if you are an experienced MH user. If you are a new MH user, then the details of running MH programs are hidden behind the graphical interface. debian/copyright0000644000000000000000000000341111744701360011123 0ustar This is the Debian Linux prepackaged version of exmh. This package was put together by Anders Hammarquist and Alexander Zangerl from sources obtained from: ftp://ftp.tcl.tk/pub/tcl/exmh/exmh-2.7.0.tar.gz For more information see: http://www.beedub.com/exmh/index.html Copyrights: Copyright 2000-2003 Brent Welch. All rights reserved. Copyright 1999 Scriptics Corporation. All rights reserved. Copyright 1995-8 Sun Microsystems Laboratories. All rights reserved. Copyright 1993-5 Xerox Corporation. All rights reserved. License is granted to copy, to use, and to make and to use derivative works for any purpose, provided that the copyright notice and this license notice is included in all copies and any derivatives works and in all related documentation. Xerox, Sun, and Ajuba Solutions grant no other licenses expressed or implied and the licensee acknowleges that Xerox, Sun and Ajuba Solutions have no liability for licensee's use or for any derivative works made by licensee. The Xerox and Sun names shall not be used in any advertising or the like without their written permission. This software is provided AS IS. XEROX CORPORATION, SUN MICROSYSTEMS, SCRIPTICS, AND BRENT WELCH DISCLAIM AND LICENSEE AGREES THAT ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. NOTWITHSTANDING ANY OTHER PROVISION CONTAINED HEREIN, ANY LIABILITY FOR DAMAGES RESULTING FROM THE SOFTWARE OR ITS USE IS EXPRESSLY DISCLAIMED, INCLUDING CONSEQUENTIAL OR ANY OTHER INDIRECT DAMAGES, WHETHER ARISING IN CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, EVEN IF XEROX CORPORATION, SUN MICROSYSTEMS OR AJUBA SOLUTIONS IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. debian/menu0000644000000000000000000000015511744701360010061 0ustar ?package(exmh):needs="X11" section="Applications/Network/Communication" title="exmh" command="/usr/bin/exmh" debian/postinst0000644000000000000000000000026111744701360010776 0ustar #!/bin/sh set -e if [ -x /usr/bin/update-menus ] ; then update-menus ; fi tclsh < This tells exmh to use +-> as delimiter and to apply that at column 37 of the scan output. debian/exmh.conf0000644000000000000000000000223611744710362011006 0ustar # /etc/exmh.conf - configuration file for exmh # az Tue Jan 25 23:00:33 2005 # half-manually created to reflect debian setup without running install script set exmh(version) "version 2.8.0 04/21/2012 (debian MYVERSION)" set wish /usr/bin/wish set exmh(helploc) /usr/share/doc/exmh/html/ set exmh(name) exmh set exmh(maintainer) welch@acm.org set mh_path /usr/bin/mh set exmh(slocal) /usr/lib/mh/slocal set mime(dir) /usr/bin set mailcap_default /etc/mailcap set mimetypes_default /etc/mime.types set exmh(expect) /usr/bin/expect set exmh(expectk) /usr/bin/expectk set exmh(bitmaps) /usr/share/exmh/bitmaps/ set faces(dir) /usr/lib/picon set faces(set,user) {local users usenix misc} set faces(set,unknown) {domains unknown} set faces(set,news) news set faces(defaultDomain) {} set faces(suffix) {xpm gif xbm} set pgp(pgp,path) /usr/bin set pgp(pgp5,path) /usr/bin set pgp(gpg,path) /usr/bin set pgp(pgp6,path) /usr/bin set glimpse(path) /usr/bin set sound(cmd) {/usr/bin/run-mailcap} set exmh(library) /usr/lib/exmh # this is where internal scripts live, not exmh itself... set install(dir,bin) /usr/share/exmh set install(dir,man) /usr/man/man1 set install(dir,lib) /usr/lib/exmh debian/rules0000755000000000000000000000754412215470533010262 0ustar #! /usr/bin/make -f # # debian/exmh.conf contains configuration information taken from # exmh.install. debian/exmh.conf must be manually generated and # verified before building the exmh package and updated with each # new upstream release of exmh. SHELL = /bin/sh INSTALL = /usr/bin/install INSTALL_PROGRAM = $(INSTALL) -m 755 -o root -g root INSTALL_DATA = $(INSTALL) -m 644 -o root -g root INSTALL_DIR = $(INSTALL) -d -m 755 -o root -g root # name and version number of the package PACKAGE=exmh VERSION=$(shell sed -n '1s/^.*(\(.*\)).*$$/\1/p' debian/changelog) DSTDIR=debian/tmp/ config: $(checkdir) touch stamp-config build: $(checkdir) test -f stamp-config || make -f debian/rules config touch stamp-build clean: $(checkdir) -rm -f stamp-config stamp-build -rm -rf $(DSTDIR) debian/files* binary-arch: checkroot binary-indep: checkroot $(checkdir) test -f stamp-build || make -f debian/rules build -rm -rf $(DSTDIR) # make all directories in one go $(INSTALL_DIR) $(DSTDIR)/DEBIAN $(DSTDIR)/usr/bin/ $(DSTDIR)/etc/ $(INSTALL_DIR) $(DSTDIR)/usr/share/menu $(DSTDIR)/usr/lib/exmh $(INSTALL_DIR) $(DSTDIR)/usr/share/doc/exmh/html $(DSTDIR)/usr/share/doc/exmh/misc $(DSTDIR)/usr/share/doc/exmh/examples $(DSTDIR)/usr/share/man/man1 $(DSTDIR)/usr/share/exmh/bitmaps/ # the maintainer stuff first $(INSTALL_PROGRAM) debian/preinst debian/postinst debian/postrm $(DSTDIR)/DEBIAN/ $(INSTALL_DATA) debian/conffiles $(DSTDIR)/DEBIAN/ # configuration file, but vith our current version substituted sed -e s/MYVERSION/$(VERSION)/g $(DSTDIR)/etc/exmh.conf chown root:root $(DSTDIR)/etc/exmh.conf chmod 644 $(DSTDIR)/etc/exmh.conf # binaries. in upstream scheme, the install script massages .MASTER versions $(INSTALL_PROGRAM) exmh.MASTER $(DSTDIR)/usr/bin/exmh $(INSTALL_PROGRAM) exmh-async.MASTER $(DSTDIR)/usr/share/exmh/exmh-async $(INSTALL_PROGRAM) exmh-bg.MASTER $(DSTDIR)/usr/share/exmh/exmh-bg $(INSTALL_PROGRAM) ftp.expect.MASTER $(DSTDIR)/usr/share/exmh/ftp.expect $(INSTALL_PROGRAM) inc.expect.MASTER $(DSTDIR)/usr/share/exmh/inc.expect # libraries $(INSTALL_DATA) debian/menu $(DSTDIR)/usr/share/menu/exmh # everything from lib but the docs, the images, the # tclindex (built by postinst), and also not the mime.type (use main one in etc) $(INSTALL_DATA) lib/*.tcl lib/app-defaults* lib/*.au lib/PgpDecryptExpect lib/*.exp $(DSTDIR)/usr/lib/exmh/ $(INSTALL_DATA) lib/*.gif lib/*.bitmap lib/*.mask lib/*.ppm lib/bitmaps/* $(DSTDIR)/usr/share/exmh/bitmaps/ $(INSTALL_PROGRAM) exmh-strip.MASTER $(DSTDIR)/usr/share/doc/exmh/examples/exmh-strip $(INSTALL_PROGRAM) exmhcomp $(DSTDIR)/usr/share/doc/exmh/examples/ # man pages $(INSTALL_DATA) exmh.l $(DSTDIR)/usr/share/man/man1/exmh.1 -gzip -9fr $(DSTDIR)/usr/share/man/man1 # html documentation goes into html dir, extras go into misc subdir # others go into main docs area $(INSTALL_DATA) lib/html/* $(DSTDIR)/usr/share/doc/exmh/html/ # all misc except RPM info $(INSTALL_DATA) misc/README* misc/Par150* misc/archiveoldmail misc/cite* misc/comp* misc/exmhwrapper misc/gbuffy* misc/jpilot* misc/locked* misc/mh* misc/netscape-remote* misc/ns* misc/query* $(DSTDIR)/usr/share/doc/exmh/misc/ $(INSTALL_DATA) debian/copyright $(DSTDIR)/usr/share/doc/exmh/copyright $(INSTALL_DATA) debian/changelog $(DSTDIR)/usr/share/doc/exmh/changelog.Debian $(INSTALL_DATA) exmh.CHANGES $(DSTDIR)/usr/share/doc/exmh/changelog gzip -9 $(DSTDIR)/usr/share/doc/exmh/changelog* $(INSTALL_DATA) debian/README.debian $(DSTDIR)/usr/share/doc/exmh $(INSTALL_DATA) exmh.README $(DSTDIR)/usr/share/doc/exmh/README # build the run-time package dpkg-gencontrol -isp dpkg --build debian/tmp .. define checkdir test -f exmh.MASTER -a -f debian/rules endef binary: binary-indep binary-arch build-arch: build build-indep: build checkroot: $(checkdir) test root = "`whoami`" .PHONY: binary binary-arch binary-indep clean debian/postrm0000644000000000000000000000014711744701360010442 0ustar #!/bin/sh set -e if [ -x /usr/bin/update-menus ] ; then update-menus ; fi rm -f /usr/lib/exmh/tclIndex debian/source/0000755000000000000000000000000012215470334010467 5ustar debian/source/format0000644000000000000000000000001412215470334011675 0ustar 3.0 (quilt)