added mutt port

This commit is contained in:
turan 1998-11-19 03:16:33 +00:00
parent 6b08315b34
commit 634fe20dbe
8 changed files with 123 additions and 0 deletions

33
mail/mutt/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 1998/11/19 03:16:33 turan Exp $
#
# What port/package will be created
#
DISTNAME= mutt-0.93.2i
CATEGORIES= mail
# where to send bitches about this port
#
MAINTAINER= turans@umich.edu
# where the source files and patches can be fetched
#
MASTER_SITES= ftp://ftp.guug.de/pub/mutt/
# build/configuration variables
#
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=/usr/local --with-sharedir=/usr/local/share/mutt --with-docdir=/usr/local/share/doc/mutt --with-slang=/usr/local
LIB_DEPENDS= slang\\.0\\.99[0-9][0-9]:${PORTSDIR}/devel/libslang
pre-fetch:
@${ECHO}
@${ECHO} This software contains cryptography enabling code. It is
@${ECHO} illegal to export outside of the United States. The
@${ECHO} download site is set to Germany. Once you bring it into
@${ECHO} the US, it may not leave again.
@${ECHO}
.include <bsd.port.mk>

1
mail/mutt/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (mutt-0.93.2i.tar.gz) = 9ce8f1020a638d07cb3772b1ebe9887d

View File

@ -0,0 +1,21 @@
--- Makefile.in.orig Thu Jun 25 18:16:03 1998
+++ Makefile.in Sat Oct 10 03:20:05 1998
@@ -33,7 +33,7 @@
INSTALL=@INSTALL@
CC=@CC@
XCPPFLAGS=-I. @CPPFLAGS@
-CFLAGS=@CFLAGS@ -DSHAREDIR=\"$(sharedir)\" $(XCPPFLAGS)
+CFLAGS=@CFLAGS@ -DSHAREDIR=\"$(sharedir)\" -DHAVE_MKSTEMP $(XCPPFLAGS)
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
OPS=@OPS@
@@ -67,8 +67,7 @@
install: mutt install.doc
$(srcdir)/mkinstalldirs $(bindir)
- -mv -f $(bindir)/mutt $(bindir)/mutt.old
- $(INSTALL) @MUTT_GROUP@ -m @MUTT_PERMISSION@ mutt $(bindir)
+ $(INSTALL) -m @MUTT_PERMISSION@ mutt $(bindir)
-if [ ! -f $(sharedir)/Muttrc ]; then \
$(srcdir)/mkinstalldirs $(sharedir); \
$(INSTALL) -m 644 $(srcdir)/Muttrc $(sharedir); \

View File

@ -0,0 +1,26 @@
--- rfc1524.c.orig Mon Jun 8 05:16:03 1998
+++ rfc1524.c Sat Oct 10 03:25:02 1998
@@ -431,7 +431,11 @@
if (s[0] == '\0')
{
sprintf (s, "%s/muttXXXXXX", buf);
+#ifdef HAVE_MKSTEMP
+ mkstemp (s);
+#elif
mktemp (s);
+#endif
}
else
{
@@ -442,7 +446,11 @@
if ((period = strrchr (tmp, '.')) != NULL)
*period = 0;
sprintf (s, "%s/%s.XXXXXX", buf, tmp);
+#ifdef HAVE_MKSTEMP
+ mkstemp (s);
+#elif
mktemp (s);
+#endif
if (period != NULL)
{
*period = '.';

View File

@ -0,0 +1,11 @@
--- init.h.orig Fri Jun 26 06:31:22 1998
+++ init.h Sat Nov 7 05:52:34 1998
@@ -141,7 +141,7 @@
{ "mime_forward", DT_QUAD, R_NONE, OPT_MIMEFWD, 0 },
{ "mime_forward_decode", DT_BOOL, R_NONE, OPTMIMEFORWDECODE, 0 },
{ "mime_fwd", DT_SYN, R_NONE, UL "mime_forward", 0 },
- { "move", DT_QUAD, R_NONE, OPT_MOVE, M_ASKNO },
+ { "move", DT_QUAD, R_NONE, OPT_MOVE, M_NO },
{ "message_format", DT_STR, R_NONE, UL &MsgFmt, UL "%s" },
{ "msg_format", DT_SYN, R_NONE, UL "message_format", 0 },
{ "pager", DT_PATH, R_NONE, UL &Pager, UL "builtin" },

1
mail/mutt/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
A tty based e-mail client

20
mail/mutt/pkg/DESCR Normal file
View File

@ -0,0 +1,20 @@
The Mutt Mail User Agent
This is a nifty e-mail client that includes excellent PGP hooks.
Other features include:
- color support
- message threading
- MIME support (including RFC2047 support for encoded headers)
- POP3 support
- support for multiple mailbox formats (mbox, MMDF, MH, maildir)
- highly customizable, including key bindings
- searches using regular expression
- Delivery Status Notification (DSN) support
- PGP/MIME (RFC2015)
- small and efficient
Port maintained by:
Christopher Turan
turans@umich.edu

10
mail/mutt/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@cwd /usr/local
@name mutt-0.93.2i
bin/mutt
man/man1/mutt.1
share/doc/mutt/manual.txt
share/doc/mutt/PGP-Notes.txt
share/mutt/Muttrc
share/mutt/mime.types
@dirrm share/mutt
@dirrm share/doc/mutt