diff options
-rw-r--r-- | mail/tnef2txt/DESCR | 19 | ||||
-rw-r--r-- | mail/tnef2txt/Makefile | 17 | ||||
-rw-r--r-- | mail/tnef2txt/PLIST | 2 | ||||
-rw-r--r-- | mail/tnef2txt/distinfo | 4 |
4 files changed, 42 insertions, 0 deletions
diff --git a/mail/tnef2txt/DESCR b/mail/tnef2txt/DESCR new file mode 100644 index 00000000000..c4c79c9d1b8 --- /dev/null +++ b/mail/tnef2txt/DESCR @@ -0,0 +1,19 @@ +Several Microsoft Windows email applications support the Transport Neutral +Encapsulation Format (TNEF). This is a method for MAPI compliant mail programs +to transfer data to each other across gateways. Generally, a mail agent will +create a MIME multipart message containing the text body of the mail message, +and a single attachment of type application/ms-tnef. This attachment at least +follows the format of MIME messages, if not the intent. Usually, this bitstream +contains no more information than is already contained in the headers and body +of the message, but instead of attaching attachments to the email message as +separate MIME attachments, they are included in the TNEF attachment. To handle +this, I wrote a program tnef2txt which will dump the information in the TNEF +bitstream, and also dump files to disk which are contained in the bitstream. +Just run the program without arguments for usage information. You can call this +program from a mailcap file with the following line: + +application/ms-tnef; tnef2txt %s; copiousoutput + +or, if you wish to save attachments to disk which are in the bitstream: + +application/ms-tnef; tnef2txt -s %s; copiousoutput diff --git a/mail/tnef2txt/Makefile b/mail/tnef2txt/Makefile new file mode 100644 index 00000000000..f365599357f --- /dev/null +++ b/mail/tnef2txt/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/02/14 13:16:36 drochner Exp $ +# + +DISTNAME= tnef2txt-1.4 +CATEGORIES= mail +MASTER_SITES= http://www.fiction.net/blong/programs/tnef2txt/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.fiction.net/blong/programs/ +COMMENT= portable application/ms-tnef parser + +ALL_TARGET= tnef2txt + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tnef2txt ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/mail/tnef2txt/PLIST b/mail/tnef2txt/PLIST new file mode 100644 index 00000000000..7501a07da05 --- /dev/null +++ b/mail/tnef2txt/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/02/14 13:16:36 drochner Exp $ +bin/tnef2txt diff --git a/mail/tnef2txt/distinfo b/mail/tnef2txt/distinfo new file mode 100644 index 00000000000..e422e7768e7 --- /dev/null +++ b/mail/tnef2txt/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/02/14 13:16:36 drochner Exp $ + +SHA1 (tnef2txt-1.4.tar.gz) = 012c86f5c3812c38ff1a79efa4f0c4468e92eb78 +Size (tnef2txt-1.4.tar.gz) = 36568 bytes |