Update to 2.5.

Submitted by maintainer Michael Paddon <michael@paddon.org>.
This commit is contained in:
naddy 2001-08-22 13:26:40 +00:00
parent c753e3ec1d
commit ee1a37de27
9 changed files with 347 additions and 344 deletions

View File

@ -1,30 +1,27 @@
# $OpenBSD: Makefile,v 1.12 2001/07/12 21:51:18 lebel Exp $
# $OpenBSD: Makefile,v 1.13 2001/08/22 13:26:40 naddy Exp $
COMMENT= "TCL/TK based interface to the MH mail system"
DISTNAME= exmh-2.4
COMMENT= "Tcl/Tk-based interface to the MH mail system"
DISTNAME= exmh-2.5
CATEGORIES= mail
NEED_VERSION= 1.400
NEED_VERSION= 1.440
HOMEPAGE= http://www.beedub.com/exmh/
MAINTAINER= Michael Paddon <michael@paddon.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= "needs per-host configuration at build time"
PERMIT_PACKAGE_FTP= "needs per-host configuration at build time"
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/exmh/ \
ftp://tcl.activestate.com/pub/tcl/exmh/ \
http://dev.scriptics.com/ftp/exmh/
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= exmh
BUILD_DEPENDS= tclsh8.3::lang/tcl/8.3
RUN_DEPENDS= expect::lang/expect \
mhparam::mail/nmh \
mmencode::mail/metamail \
RUN_DEPENDS= expect::lang/expect\
mhparam::mail/nmh\
mmencode::mail/metamail\
wish8.3::x11/tk/8.3
USE_X11= Yes
SEPARATE_BUILD= concurrent
NO_BUILD= Yes
do-install:
@ -35,11 +32,12 @@ do-install:
${INSTALL_SCRIPT} ${WRKBUILD}/inc.expect ${PREFIX}/bin/inc.expect
${INSTALL_SCRIPT} ${WRKBUILD}/exmh-strip ${PREFIX}/bin/exmh-strip
${INSTALL_MAN} ${WRKSRC}/exmh.l ${PREFIX}/man/man1/exmh.1
${INSTALL_DATA_DIR} ${PREFIX}/lib/${DISTNAME}
cp -r ${WRKSRC}/lib/. ${PREFIX}/lib/${DISTNAME}
cd ${PREFIX}/lib && echo 'auto_mkindex ${DISTNAME}' | tclsh8.3
chown -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
find ${PREFIX}/lib/${DISTNAME} -type d | xargs chmod ${DIRMODE}
find ${PREFIX}/lib/${DISTNAME} -type f | xargs chmod ${SHAREMODE}
${INSTALL_DATA_DIR} ${PREFIX}/share/exmh
cp -r ${WRKSRC}/lib/. ${PREFIX}/share/exmh
cd ${PREFIX}/share && echo 'auto_mkindex exmh'\
| ${LOCALBASE}/bin/tclsh8.3
chown -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/share/exmh
find ${PREFIX}/share/exmh -type d | xargs chmod ${DIRMODE}
find ${PREFIX}/share/exmh -type f | xargs chmod ${SHAREMODE}
.include <bsd.port.mk>

View File

@ -1,22 +0,0 @@
set wish !!WISH!!
set exmh(version) {version !!VERSION!! !!DATE!!}
set exmh(name) exmh
set exmh(maintainer) welch@acm.org
set mh_path !!PREFIX!!/bin
set exmh(slocal) !!PREFIX!!/lib/mh/slocal
set mime(dir) !!PREFIX!!/bin
set mailcap_default /etc/mailcap
set exmh(expect) !!EXPECT!!
set exmh(expectk) !!EXPECTK!!
set faces(dir) !!FACES!!
set faces(set,user) {local users usenix misc}
set faces(set,unknown) {domains unknown}
set faces(defaultDomain) !!DOMAIN!!
set faces(suffix) {xpm gif xbm}
set pgp(path) !!PGP!!
set glimpse(path) !!GLIMPSE!!
set sound(cmd) !!PLAY!!
set exmh(library) !!PREFIX!!/lib/exmh-!!VERSION!!
set install(dir,bin) !!PREFIX!!/bin
set install(dir,man) !!PREFIX!!/man/man1
set install(dir,lib) !!PREFIX!!/lib/exmh-!!VERSION!!

View File

@ -1,3 +1,3 @@
MD5 (exmh-2.4.tar.gz) = 9dcccb69cbfc3d8bb69807d5935ba4b5
RMD160 (exmh-2.4.tar.gz) = 35afb591c9ff08adae34b8a45489dcfb7df53430
SHA1 (exmh-2.4.tar.gz) = fc3f5d74752645c440982edfb2f5d648ab53c9df
MD5 (exmh-2.5.tar.gz) = f40c3cebfe9102d66ec27a9098b4717e
RMD160 (exmh-2.5.tar.gz) = 22e02034d15d318429edb9b63d5b851ff497311d
SHA1 (exmh-2.5.tar.gz) = eb24358ae4f12b940b7ad5af64c7cf1f10e9e7fa

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-exmh-strip_MASTER,v 1.1 2001/07/12 21:51:19 lebel Exp $
$OpenBSD: patch-exmh-strip_MASTER,v 1.2 2001/08/22 13:26:40 naddy Exp $
--- exmh-strip.MASTER.orig Thu Jun 28 13:23:19 2001
+++ exmh-strip.MASTER Thu Jun 28 13:23:49 2001
@@ -1,4 +1,4 @@

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-inc_expect_MASTER,v 1.1 2001/07/12 21:51:19 lebel Exp $
--- inc.expect.MASTER.orig Thu Jun 28 13:23:28 2001
+++ inc.expect.MASTER Thu Jun 28 13:24:03 2001
@@ -1,4 +1,4 @@
-#!/usr/bin/expect --
+#!expect --
#
# Script to run inc and provide a password.
#

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-lib_sedit_tcl,v 1.1 2001/07/12 21:51:19 lebel Exp $
--- lib/sedit.tcl.orig Fri Jun 29 00:30:10 2001
+++ lib/sedit.tcl Fri Jun 29 00:31:18 2001
@@ -500,6 +500,7 @@ proc SeditSendOnly { draft t } {
}
SeditMsg $t "Sending message..."
SeditMarkSent $t
+ set action $exmh($id,action)
set time [time [list Edit_Done send $id]]
Exmh_Debug Message sent $time
SeditMsg $t "Message sent $time"
@@ -507,6 +508,7 @@ proc SeditSendOnly { draft t } {
if {! $sedit($t,keep)} {
SeditNuke $draft $t
} else {
+ set exmh($id,action) $action
SeditSave $draft $t ;# Restore draft deleted by MH
set mhProfile(sendasync) $async
$sedit($t,toplevel).but.send config -state normal

View File

@ -1,10 +1,10 @@
Exmh is an X user interface for MH mail. MH provides a set of UNIX
commands that manage folders and mail messages. MH has a zillion
features as a result of several years of availability. Exmh provides
a graphical interface to many of these features, but not everything.
You can do all the ordinary things like viewing the messages in a
folder, and reading, deleting, and refiling messages. In addition,
the interface handles arbitrary nesting of your folder hierarchy.
features as a result of several years of availability. Exmh provides a
graphical interface to many of these features, but not everything. You
can do all the ordinary things like viewing the messages in a folder,
and reading, deleting, and refiling messages. In addition, the
interface handles arbitrary nesting of your folder hierarchy.
Exmh has a number of optional features that require additional
software to be installed. You may want to consider some or all of
@ -15,7 +15,7 @@ these packages:
par
procmail
In addition, exmh supports various flavours of pgp. There are
In addition, exmh supports various implementations of pgp. There are
packages available for:
gnupg
pgp5

View File

@ -1,225 +1,225 @@
@comment $OpenBSD: PLIST,v 1.4 2001/07/12 21:51:19 lebel Exp $
@comment $OpenBSD: PLIST,v 1.5 2001/08/22 13:26:40 naddy Exp $
bin/exmh
bin/exmh-async
bin/exmh-bg
bin/exmh-strip
bin/ftp.expect
bin/inc.expect
lib/exmh-2.4/PgpDecryptExpect
lib/exmh-2.4/addr.tcl
lib/exmh-2.4/aliases.tcl
lib/exmh-2.4/app-defaults
lib/exmh-2.4/app-defaults-color
lib/exmh-2.4/app-defaults-mono
lib/exmh-2.4/audit.tcl
lib/exmh-2.4/autorefile.tcl
lib/exmh-2.4/background.tcl
lib/exmh-2.4/base64.tcl
lib/exmh-2.4/bindings.tcl
lib/exmh-2.4/bitmaps/abort.xbm
lib/exmh-2.4/bitmaps/address.xbm
lib/exmh-2.4/bitmaps/bind.xbm
lib/exmh-2.4/bitmaps/bitmaps.defaults
lib/exmh-2.4/bitmaps/commit.xbm
lib/exmh-2.4/bitmaps/compose.xbm
lib/exmh-2.4/bitmaps/delete.xbm
lib/exmh-2.4/bitmaps/forward.xbm
lib/exmh-2.4/bitmaps/getmail.xbm
lib/exmh-2.4/bitmaps/help.xbm
lib/exmh-2.4/bitmaps/link.xbm
lib/exmh-2.4/bitmaps/move.xbm
lib/exmh-2.4/bitmaps/new.xbm
lib/exmh-2.4/bitmaps/phone.xbm
lib/exmh-2.4/bitmaps/pref.xbm
lib/exmh-2.4/bitmaps/quote.xbm
lib/exmh-2.4/bitmaps/scan.xbm
lib/exmh-2.4/bitmaps/search.xbm
lib/exmh-2.4/bitmaps/send.xbm
lib/exmh-2.4/bitmaps/sign.xbm
lib/exmh-2.4/bitmaps/unmark.xbm
lib/exmh-2.4/bitmaps/write.xbm
lib/exmh-2.4/busy.tcl
lib/exmh-2.4/buttons.tcl
lib/exmh-2.4/clink.au
lib/exmh-2.4/crypt.tcl
lib/exmh-2.4/cutbuffer.tcl
lib/exmh-2.4/dragNdrop.tcl
lib/exmh-2.4/drip.au
lib/exmh-2.4/editor.tcl
lib/exmh-2.4/env.tcl
lib/exmh-2.4/error.tcl
lib/exmh-2.4/exec.tcl
lib/exmh-2.4/exmh.bitmap
lib/exmh-2.4/extrasInit.tcl
lib/exmh-2.4/exwin.tcl
lib/exmh-2.4/faces.tcl
lib/exmh-2.4/fcache.tcl
lib/exmh-2.4/fdisp.tcl
lib/exmh-2.4/fdispColor.tcl
lib/exmh-2.4/fdispPopup.tcl
lib/exmh-2.4/fileselect.tcl
lib/exmh-2.4/find.tcl
lib/exmh-2.4/flag.tcl
lib/exmh-2.4/flagdown.bitmap
lib/exmh-2.4/flagdown.gif
lib/exmh-2.4/flagdown.mask
lib/exmh-2.4/flagspool.bitmap
lib/exmh-2.4/flagspool.gif
lib/exmh-2.4/flagspool.mask
lib/exmh-2.4/flagup.bitmap
lib/exmh-2.4/flagup.gif
lib/exmh-2.4/flagup.mask
lib/exmh-2.4/flist.tcl
lib/exmh-2.4/folder.tcl
lib/exmh-2.4/folderNew.tcl
lib/exmh-2.4/fontsel.tcl
lib/exmh-2.4/ftoc.tcl
lib/exmh-2.4/ftocColor.tcl
lib/exmh-2.4/ftocFind.tcl
lib/exmh-2.4/ftp_get.tcl
lib/exmh-2.4/getnews.tcl
lib/exmh-2.4/glimpse.tcl
lib/exmh-2.4/help.tcl
lib/exmh-2.4/hourglass.bitmap
lib/exmh-2.4/hourglass.mask
lib/exmh-2.4/hourglass1.bitmap
lib/exmh-2.4/hourglass2.bitmap
lib/exmh-2.4/hourglass2.mask
lib/exmh-2.4/html.tcl
lib/exmh-2.4/html/AddrEdit.html
lib/exmh-2.4/html/AddressBk.html
lib/exmh-2.4/html/AliasAddr.html
lib/exmh-2.4/html/Aliases.html
lib/exmh-2.4/html/Bindings.html
lib/exmh-2.4/html/DSN-MDN.html
lib/exmh-2.4/html/Font.html
lib/exmh-2.4/html/Import.html
lib/exmh-2.4/html/Intro.html
lib/exmh-2.4/html/Keys.html
lib/exmh-2.4/html/Lists.html
lib/exmh-2.4/html/PGP.html
lib/exmh-2.4/html/Preferences.html
lib/exmh-2.4/html/Reply.html
lib/exmh-2.4/html/Search.html
lib/exmh-2.4/html/Sedit.html
lib/exmh-2.4/html/Seditpref.html
lib/exmh-2.4/html/Y2K.html
lib/exmh-2.4/html/blu-ball.gif
lib/exmh-2.4/html/bugfixes.html
lib/exmh-2.4/html/copyright.html
lib/exmh-2.4/html/custom.html
lib/exmh-2.4/html/exmh-fans.html
lib/exmh-2.4/html/exmh-faq.html
lib/exmh-2.4/html/exmh.CHANGES.txt
lib/exmh-2.4/html/exmh.README.html
lib/exmh-2.4/html/exmh.pref.gif
lib/exmh-2.4/html/exmh.snap1.gif
lib/exmh-2.4/html/guide.html
lib/exmh-2.4/html/index.html
lib/exmh-2.4/html/left-arrow.gif
lib/exmh-2.4/html/maillist.html
lib/exmh-2.4/html/mime.attack.html
lib/exmh-2.4/html/newfeatures.html
lib/exmh-2.4/html/overview.html
lib/exmh-2.4/html/ppp.howto.html
lib/exmh-2.4/html/red-ball.gif
lib/exmh-2.4/html/reference.html
lib/exmh-2.4/html/right-arrow.gif
lib/exmh-2.4/html/software.html
lib/exmh-2.4/html/symlink.html
lib/exmh-2.4/html/tutorial.html
lib/exmh-2.4/html/whatis.html
lib/exmh-2.4/html/yel-ball.gif
lib/exmh-2.4/html_cache.tcl
lib/exmh-2.4/html_content.tcl
lib/exmh-2.4/html_dpackage.tcl
lib/exmh-2.4/html_formtag.tcl
lib/exmh-2.4/html_frame.tcl
lib/exmh-2.4/html_get_http.tcl
lib/exmh-2.4/html_head.tcl
lib/exmh-2.4/html_hr.tcl
lib/exmh-2.4/html_images.tcl
lib/exmh-2.4/html_links.tcl
lib/exmh-2.4/html_maps.tcl
lib/exmh-2.4/html_stubs.tcl
lib/exmh-2.4/html_tags.tcl
lib/exmh-2.4/html_text.tcl
lib/exmh-2.4/http_proxy.tcl
lib/exmh-2.4/import.tcl
lib/exmh-2.4/inc.tcl
lib/exmh-2.4/ispell.tcl
lib/exmh-2.4/labels.tcl
lib/exmh-2.4/linethru.bitmap
lib/exmh-2.4/loaderror.ppm
lib/exmh-2.4/loading.ppm
lib/exmh-2.4/mailcap.tcl
lib/exmh-2.4/main.tcl
lib/exmh-2.4/mbempty.bitmap
lib/exmh-2.4/mbtidy.bitmap
lib/exmh-2.4/mbuntidy.bitmap
lib/exmh-2.4/mh.tcl
lib/exmh-2.4/mime.tcl
lib/exmh-2.4/mime.types
lib/exmh-2.4/mimeSun.tcl
lib/exmh-2.4/mosaic.tcl
lib/exmh-2.4/msg.tcl
lib/exmh-2.4/msgShow.tcl
lib/exmh-2.4/partial.tcl
lib/exmh-2.4/pgpBase.tcl
lib/exmh-2.4/pgpEWN.tcl
lib/exmh-2.4/pgpExec.tcl
lib/exmh-2.4/pgpGpg.tcl
lib/exmh-2.4/pgpMain.tcl
lib/exmh-2.4/pgpMatch.tcl
lib/exmh-2.4/pgpMisc.tcl
lib/exmh-2.4/pgpOld.tcl
lib/exmh-2.4/pgpPgp2.tcl
lib/exmh-2.4/pgpPgp5.tcl
lib/exmh-2.4/pgpPgp65.tcl
lib/exmh-2.4/pgpShared.tcl
lib/exmh-2.4/pgpWWW.tcl
lib/exmh-2.4/pick.tcl
lib/exmh-2.4/pop.tcl
lib/exmh-2.4/post.tcl
lib/exmh-2.4/preferences.tcl
lib/exmh-2.4/print.tcl
lib/exmh-2.4/ps.tcl
lib/exmh-2.4/quote.tcl
lib/exmh-2.4/receipt.tcl
lib/exmh-2.4/report.tcl
lib/exmh-2.4/rich2tk.tcl
lib/exmh-2.4/scan.tcl
lib/exmh-2.4/sedit.tcl
lib/exmh-2.4/seditBind.tcl
lib/exmh-2.4/seditCompose.tcl
lib/exmh-2.4/seditEnriched.tcl
lib/exmh-2.4/seditExtras.tcl
lib/exmh-2.4/seditMime.tcl
lib/exmh-2.4/seditQP.tcl
lib/exmh-2.4/seditSel.tcl
lib/exmh-2.4/select.tcl
lib/exmh-2.4/send.tcl
lib/exmh-2.4/sound.tcl
lib/exmh-2.4/source.tcl
lib/exmh-2.4/tclIndex
lib/exmh-2.4/text.tcl
lib/exmh-2.4/textButton.tcl
lib/exmh-2.4/textSelect.tcl
lib/exmh-2.4/thread.tcl
lib/exmh-2.4/timer.bitmap
lib/exmh-2.4/tioga.tcl
lib/exmh-2.4/unseenwin.tcl
lib/exmh-2.4/uri.tcl
lib/exmh-2.4/url.bitmap
lib/exmh-2.4/urlFace.tcl
lib/exmh-2.4/user.tcl
lib/exmh-2.4/utils.tcl
lib/exmh-2.4/widgetMenu.tcl
lib/exmh-2.4/widgetText.tcl
lib/exmh-2.4/widgets.tcl
lib/exmh-2.4/xns.tcl
lib/exmh-2.4/xnsgetmail.exp
share/exmh/PgpDecryptExpect
share/exmh/addr.tcl
share/exmh/aliases.tcl
share/exmh/app-defaults
share/exmh/app-defaults-color
share/exmh/app-defaults-mono
share/exmh/audit.tcl
share/exmh/autorefile.tcl
share/exmh/background.tcl
share/exmh/base64.tcl
share/exmh/bindings.tcl
share/exmh/bitmaps/abort.xbm
share/exmh/bitmaps/address.xbm
share/exmh/bitmaps/bind.xbm
share/exmh/bitmaps/bitmaps.defaults
share/exmh/bitmaps/commit.xbm
share/exmh/bitmaps/compose.xbm
share/exmh/bitmaps/delete.xbm
share/exmh/bitmaps/forward.xbm
share/exmh/bitmaps/getmail.xbm
share/exmh/bitmaps/help.xbm
share/exmh/bitmaps/link.xbm
share/exmh/bitmaps/move.xbm
share/exmh/bitmaps/new.xbm
share/exmh/bitmaps/phone.xbm
share/exmh/bitmaps/pref.xbm
share/exmh/bitmaps/quote.xbm
share/exmh/bitmaps/scan.xbm
share/exmh/bitmaps/search.xbm
share/exmh/bitmaps/send.xbm
share/exmh/bitmaps/sign.xbm
share/exmh/bitmaps/unmark.xbm
share/exmh/bitmaps/write.xbm
share/exmh/busy.tcl
share/exmh/buttons.tcl
share/exmh/clink.au
share/exmh/crypt.tcl
share/exmh/cutbuffer.tcl
share/exmh/dragNdrop.tcl
share/exmh/drip.au
share/exmh/editor.tcl
share/exmh/env.tcl
share/exmh/error.tcl
share/exmh/exec.tcl
share/exmh/exmh.bitmap
share/exmh/extrasInit.tcl
share/exmh/exwin.tcl
share/exmh/faces.tcl
share/exmh/fcache.tcl
share/exmh/fdisp.tcl
share/exmh/fdispColor.tcl
share/exmh/fdispPopup.tcl
share/exmh/fileselect.tcl
share/exmh/find.tcl
share/exmh/flag.tcl
share/exmh/flagdown.bitmap
share/exmh/flagdown.gif
share/exmh/flagdown.mask
share/exmh/flagspool.bitmap
share/exmh/flagspool.gif
share/exmh/flagspool.mask
share/exmh/flagup.bitmap
share/exmh/flagup.gif
share/exmh/flagup.mask
share/exmh/flist.tcl
share/exmh/folder.tcl
share/exmh/folderNew.tcl
share/exmh/fontsel.tcl
share/exmh/ftoc.tcl
share/exmh/ftocColor.tcl
share/exmh/ftocFind.tcl
share/exmh/ftp_get.tcl
share/exmh/getnews.tcl
share/exmh/glimpse.tcl
share/exmh/help.tcl
share/exmh/hourglass.bitmap
share/exmh/hourglass.mask
share/exmh/hourglass1.bitmap
share/exmh/hourglass2.bitmap
share/exmh/hourglass2.mask
share/exmh/html.tcl
share/exmh/html/AddrEdit.html
share/exmh/html/AddressBk.html
share/exmh/html/AliasAddr.html
share/exmh/html/Aliases.html
share/exmh/html/Bindings.html
share/exmh/html/DSN-MDN.html
share/exmh/html/Font.html
share/exmh/html/Import.html
share/exmh/html/Intro.html
share/exmh/html/Keys.html
share/exmh/html/Lists.html
share/exmh/html/PGP.html
share/exmh/html/Preferences.html
share/exmh/html/Reply.html
share/exmh/html/Search.html
share/exmh/html/Sedit.html
share/exmh/html/Seditpref.html
share/exmh/html/Y2K.html
share/exmh/html/blu-ball.gif
share/exmh/html/bugfixes.html
share/exmh/html/copyright.html
share/exmh/html/custom.html
share/exmh/html/exmh-fans.html
share/exmh/html/exmh-faq.html
share/exmh/html/exmh.CHANGES.txt
share/exmh/html/exmh.README.html
share/exmh/html/exmh.pref.gif
share/exmh/html/exmh.snap1.gif
share/exmh/html/guide.html
share/exmh/html/index.html
share/exmh/html/left-arrow.gif
share/exmh/html/maillist.html
share/exmh/html/mime.attack.html
share/exmh/html/newfeatures.html
share/exmh/html/overview.html
share/exmh/html/ppp.howto.html
share/exmh/html/red-ball.gif
share/exmh/html/reference.html
share/exmh/html/right-arrow.gif
share/exmh/html/software.html
share/exmh/html/symlink.html
share/exmh/html/tutorial.html
share/exmh/html/whatis.html
share/exmh/html/yel-ball.gif
share/exmh/html_cache.tcl
share/exmh/html_content.tcl
share/exmh/html_dpackage.tcl
share/exmh/html_formtag.tcl
share/exmh/html_frame.tcl
share/exmh/html_get_http.tcl
share/exmh/html_head.tcl
share/exmh/html_hr.tcl
share/exmh/html_images.tcl
share/exmh/html_links.tcl
share/exmh/html_maps.tcl
share/exmh/html_stubs.tcl
share/exmh/html_tags.tcl
share/exmh/html_text.tcl
share/exmh/http_proxy.tcl
share/exmh/import.tcl
share/exmh/inc.tcl
share/exmh/ispell.tcl
share/exmh/labels.tcl
share/exmh/linethru.bitmap
share/exmh/loaderror.ppm
share/exmh/loading.ppm
share/exmh/mailcap.tcl
share/exmh/main.tcl
share/exmh/mbempty.bitmap
share/exmh/mbtidy.bitmap
share/exmh/mbuntidy.bitmap
share/exmh/mh.tcl
share/exmh/mime.tcl
share/exmh/mime.types
share/exmh/mimeSun.tcl
share/exmh/mosaic.tcl
share/exmh/msg.tcl
share/exmh/msgShow.tcl
share/exmh/partial.tcl
share/exmh/pgpBase.tcl
share/exmh/pgpEWN.tcl
share/exmh/pgpExec.tcl
share/exmh/pgpGpg.tcl
share/exmh/pgpMain.tcl
share/exmh/pgpMatch.tcl
share/exmh/pgpMisc.tcl
share/exmh/pgpOld.tcl
share/exmh/pgpPgp2.tcl
share/exmh/pgpPgp5.tcl
share/exmh/pgpPgp65.tcl
share/exmh/pgpShared.tcl
share/exmh/pgpWWW.tcl
share/exmh/pick.tcl
share/exmh/pop.tcl
share/exmh/post.tcl
share/exmh/preferences.tcl
share/exmh/print.tcl
share/exmh/ps.tcl
share/exmh/quote.tcl
share/exmh/receipt.tcl
share/exmh/report.tcl
share/exmh/rich2tk.tcl
share/exmh/scan.tcl
share/exmh/sedit.tcl
share/exmh/seditBind.tcl
share/exmh/seditCompose.tcl
share/exmh/seditEnriched.tcl
share/exmh/seditExtras.tcl
share/exmh/seditMime.tcl
share/exmh/seditQP.tcl
share/exmh/seditSel.tcl
share/exmh/select.tcl
share/exmh/send.tcl
share/exmh/sound.tcl
share/exmh/source.tcl
share/exmh/tclIndex
share/exmh/text.tcl
share/exmh/textButton.tcl
share/exmh/textSelect.tcl
share/exmh/thread.tcl
share/exmh/timer.bitmap
share/exmh/tioga.tcl
share/exmh/unseenwin.tcl
share/exmh/uri.tcl
share/exmh/url.bitmap
share/exmh/urlFace.tcl
share/exmh/user.tcl
share/exmh/utils.tcl
share/exmh/widgetMenu.tcl
share/exmh/widgetText.tcl
share/exmh/widgets.tcl
share/exmh/xns.tcl
share/exmh/xnsgetmail.exp
man/man1/exmh.1
@dirrm lib/exmh-2.4/html
@dirrm lib/exmh-2.4/bitmaps
@dirrm lib/exmh-2.4
@dirrm share/exmh/html
@dirrm share/exmh/bitmaps
@dirrm share/exmh

View File

@ -1,61 +1,116 @@
#!/bin/sh
#
# Configuration script for exmh-2.4.
# $OpenBSD: configure,v 1.1 2001/07/12 21:51:19 lebel Exp $
# Configuration script for exmh-2.5.
# $OpenBSD: configure,v 1.2 2001/08/22 13:26:40 naddy Exp $
#
set -e
perl << 'EOPERL'
export CONFIG='
use DirHandle;
use FileHandle;
# work out domain name
sub getdomain {
# DOMAIN set in environment?
exists $ENV{"DOMAIN"} and return ($ENV{"DOMAIN"});
# domain in hostname?
my $host = `hostname`;
chomp $host;
$host =~ m/\.(.*)/s and return ($1);
# domain in canonical hostname or aliases?
my @hinfo = gethostbyname ($host);
if (scalar (@hinfo) > 0){
for $host ($hinfo[0], @{$hinfo[1]}){
$host =~ m/\.(.*)/s and return ($1);
}
}
return ("");
}
my $prefix = exists $ENV{"PREFIX"} ? $ENV{"PREFIX"} : "/usr/local";
my $localbase = exists $ENV{"LOCALBASE"} ? $ENV{"LOCALBASE"} : "/usr/local";
my $domain = getdomain ();
my $config = "
# Saved state from exmh.install
# Wed Jun 20 14:29:09 EST 2001
set wish /usr/local/bin/wish8.3
set exmh(version) {version 2.4 05/15/2001}
# Sun Jul 22 23:34:59 EST 2001
set wish $localbase/bin/wish8.3
set exmh(version) {version 2.5 07/13/2001}
set exmh(name) exmh
set exmh(maintainer) welch@acm.org
set mh_path /usr/local/bin
set exmh(slocal) /usr/local/libexec/slocal
set mime(dir) /usr/local/bin
set exmh(maintainer) welch\@acm.org
set mh_path $localbase/bin
set exmh(slocal) $localbase/libexec/slocal
set mime(dir) $localbase/bin
set mailcap_default /etc/mailcap
set mimetypes_default /usr/local/lib/exmh-2.4/mime.types
set exmh(expect) /usr/local/bin/expect
set exmh(expectk) /usr/local/bin/expectk
set faces(dir) /usr/local/faces/faces
set mimetypes_default $prefix/share/exmh/mime.types
set exmh(expect) $localbase/bin/expect
set exmh(expectk) $localbase/bin/expectk
set faces(dir) $localbase/faces/faces
set faces(set,user) {local users usenix misc}
set faces(set,unknown) {domains unknown}
set faces(set,news) news
set faces(defaultDomain) eng.sun.com
set faces(defaultDomain) {$domain}
set faces(suffix) {xpm gif xbm}
set pgp(pgp,path) /usr/local/bin
set pgp(pgp5,path) /usr/local/bin
set pgp(gpg,path) /usr/local/bin
set pgp(pgp6,path) /usr/local/bin
set glimpse(path) /usr/local/bin
set pgp(pgp,path) $localbase/bin
set pgp(pgp5,path) $localbase/bin
set pgp(gpg,path) $localbase/bin
set pgp(pgp6,path) $localbase/bin
set glimpse(path) $localbase/bin
set sound(cmd) /usr/bin/aucat
set exmh(library) /usr/local/lib/exmh-2.4
set install(dir,bin) /usr/local/bin
set install(dir,man) /usr/local/man/manl
set install(dir,lib) /usr/local/lib/exmh-2.4
'
set exmh(library) $prefix/share/exmh
set install(dir,bin) $prefix/bin
set install(dir,man) $prefix/man/man1
set install(dir,lib) $prefix/share/exmh
";
for master in "$WRKSRC"/*.MASTER
do
awk '
NR == 1 {
sub ("^#!expect","#!/usr/local/bin/expect");
sub ("^#!tclsh","#!/usr/local/bin/tclsh8.3");
sub ("^#!wish","#!/usr/local/bin/wish8.3");
exists $ENV{"WRKSRC"} or die ("WRKSRC: missing from environment\n");
exists $ENV{"WRKBUILD"} or die ("WRKBUILD: missing from environment\n");
my $srcdir = $ENV{"WRKSRC"};
my $dstdir = $ENV{"WRKBUILD"};
my $dir = new DirHandle ($srcdir) or die ("$srcdir: $!\n");
while (my $name = $dir->read ()){
$name =~ m/^([^.].*)\.MASTER$/ or next;
$src = "$srcdir/$name";
$dst = "$dstdir/$1";
my $in = new FileHandle ($src, "r") or die ("$src: $!\n");
my $out = new FileHandle ($dst, "w") or die ("$dst: $!\n");
if (my $line = $in->getline ()){
$line =~ s|^#!expect|#!$localbase/bin/expect|;
$line =~ s|^#!tclsh|#!$localbase/bin/tclsh8.3|;
$line =~ s|^#!wish|#!$localbase/bin/wish8.3|;
$out->print ($line) or die ("$dst: $!\n");
while ($line = $in->getline ()){
if ($line =~ m/^#CONFIGURATION$/){
$out->print ($line) or die ("$dst: $!\n");
$out->print ($config) or die ("$dst: $!\n");
while ($line = $in->getline ()){
if ($line =~ m/^#END CONFIGURATION$/){
$out->print ($config) or die (
"$dst: $!\n");
last;
}
}
$in->eof () and die ("$src: "
. "missing 'END CONFIGURATION'\n");
}
else {
$out->print ($line) or die ("$dst: $!\n");
}
}
/^#CONFIGURATION$/ {
print;
print ENVIRON["CONFIG"];
quiet = 1;
}
/^#END CONFIGURATION$/ {
quiet = 0;
}
!quiet {
print;
}
' "$master" > "$WRKBUILD"/`basename "$master" .MASTER`
done
}
$in->eof () or die ("$src: $!\n");
$in->close () or die ("$src: $!\n");
$out->close () or die ("$dst: $!\n");
}
$dir->close () or die ("$srcdir: $!\n");
exit (0);
EOPERL