Update to exmh 2.6.1; from maintainer Michael Paddon <michael@paddon.org>
Lots of bug fixes and a new sequence menu. The configuration is changed to allow the creation of a distibutable package (before, the port relied on the local domain name as discovered at configuration time). Now there is no default domain ... i.e. the MTA should fully qualify addresses (as god intended).
This commit is contained in:
parent
fdbea8357f
commit
31e55aa60f
@ -1,14 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2002/10/27 17:21:39 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2003/04/16 08:40:59 wilfried Exp $
|
||||
|
||||
COMMENT= "Tcl/Tk-based interface to the MH mail system"
|
||||
DISTNAME= exmh-2.5
|
||||
COMMENT= "Tcl/Tk interface to the MH mail system"
|
||||
|
||||
DISTNAME= exmh-2.6.1
|
||||
CATEGORIES= mail
|
||||
|
||||
HOMEPAGE= http://www.beedub.com/exmh/
|
||||
|
||||
MAINTAINER= Michael Paddon <michael@paddon.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= "needs per-host configuration at build time"
|
||||
PERMIT_PACKAGE_FTP= "needs per-host configuration at build time"
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
@ -35,8 +37,8 @@ do-install:
|
||||
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}
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/exmh
|
||||
find ${PREFIX}/share/exmh -type d -print0 | xargs -0 chmod ${DIRMODE}
|
||||
find ${PREFIX}/share/exmh -type f -print0 | xargs -0 chmod ${SHAREMODE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (exmh-2.5.tar.gz) = f40c3cebfe9102d66ec27a9098b4717e
|
||||
RMD160 (exmh-2.5.tar.gz) = 22e02034d15d318429edb9b63d5b851ff497311d
|
||||
SHA1 (exmh-2.5.tar.gz) = eb24358ae4f12b940b7ad5af64c7cf1f10e9e7fa
|
||||
MD5 (exmh-2.6.1.tar.gz) = cb9382d6efb62ebd999c05e7fe92ac91
|
||||
RMD160 (exmh-2.6.1.tar.gz) = 5b5201d19ceabd151e5145b49f1227d5e7be5ff4
|
||||
SHA1 (exmh-2.6.1.tar.gz) = 38e31c60c9d42cf729734d7c5ac53bc468e84b6f
|
||||
|
@ -1,9 +0,0 @@
|
||||
$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 @@
|
||||
-#!/usr10/home/welch/TclPro1.4/linux-ix86/bin/protclsh83.bin
|
||||
+#!tclsh
|
||||
#
|
||||
# Utility to strip out attachments from MIME messages.
|
||||
# They are replaced with references to the external files.
|
@ -1,10 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2001/08/22 13:26:40 naddy Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2003/04/16 08:40:59 wilfried Exp $
|
||||
bin/exmh
|
||||
bin/exmh-async
|
||||
bin/exmh-bg
|
||||
bin/exmh-strip
|
||||
bin/ftp.expect
|
||||
bin/inc.expect
|
||||
man/man1/exmh.1
|
||||
share/exmh/PgpDecryptExpect
|
||||
share/exmh/addr.tcl
|
||||
share/exmh/aliases.tcl
|
||||
@ -74,7 +75,6 @@ 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
|
||||
@ -199,6 +199,8 @@ share/exmh/seditQP.tcl
|
||||
share/exmh/seditSel.tcl
|
||||
share/exmh/select.tcl
|
||||
share/exmh/send.tcl
|
||||
share/exmh/sequences.tcl
|
||||
share/exmh/seqwin.tcl
|
||||
share/exmh/sound.tcl
|
||||
share/exmh/source.tcl
|
||||
share/exmh/tclIndex
|
||||
@ -208,7 +210,6 @@ 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
|
||||
@ -219,7 +220,6 @@ share/exmh/widgetText.tcl
|
||||
share/exmh/widgets.tcl
|
||||
share/exmh/xns.tcl
|
||||
share/exmh/xnsgetmail.exp
|
||||
man/man1/exmh.1
|
||||
@dirrm share/exmh/html
|
||||
@dirrm share/exmh/bitmaps
|
||||
@dirrm share/exmh
|
||||
|
37
mail/exmh2/scripts/configure
vendored
37
mail/exmh2/scripts/configure
vendored
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Configuration script for exmh-2.5.
|
||||
# $OpenBSD: configure,v 1.2 2001/08/22 13:26:40 naddy Exp $
|
||||
# Configuration script for exmh-2.6.1.
|
||||
# $OpenBSD: configure,v 1.3 2003/04/16 08:40:59 wilfried Exp $
|
||||
#
|
||||
|
||||
perl << 'EOPERL'
|
||||
@ -9,35 +9,20 @@ perl << 'EOPERL'
|
||||
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 ("");
|
||||
}
|
||||
#
|
||||
# We used to try and work out the default mail domain, but this make
|
||||
# it difficult to build a package. Well configured MTAs should
|
||||
# fully qualify all addresses anyway.
|
||||
#
|
||||
my $domain = "";
|
||||
|
||||
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
|
||||
# Sun Jul 22 23:34:59 EST 2001
|
||||
# Fri Apr 4 10:35:26 EST 2003
|
||||
set wish $localbase/bin/wish8.3
|
||||
set exmh(version) {version 2.5 07/13/2001}
|
||||
set exmh(version) {version 2.6.1 02/18/2003}
|
||||
set exmh(name) exmh
|
||||
set exmh(maintainer) welch\@acm.org
|
||||
set mh_path $localbase/bin
|
||||
@ -91,7 +76,7 @@ while (my $name = $dir->read ()){
|
||||
$out->print ($config) or die ("$dst: $!\n");
|
||||
while ($line = $in->getline ()){
|
||||
if ($line =~ m/^#END CONFIGURATION$/){
|
||||
$out->print ($config) or die (
|
||||
$out->print ($line) or die (
|
||||
"$dst: $!\n");
|
||||
last;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user