aboutsummaryrefslogtreecommitdiffstats
path: root/mail/emil
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1998-04-23 04:41:01 +0800
committermph <mph@FreeBSD.org>1998-04-23 04:41:01 +0800
commitd763ced075de846e85a40ea7b1ce38b26803c239 (patch)
treee98696858e4d32326755039835bcb474a878627d /mail/emil
parent517d49ed24b1ff5fcfdd4ee651d9da65d5537646 (diff)
downloadfreebsd-ports-gnome-d763ced075de846e85a40ea7b1ce38b26803c239.tar.gz
freebsd-ports-gnome-d763ced075de846e85a40ea7b1ce38b26803c239.tar.zst
freebsd-ports-gnome-d763ced075de846e85a40ea7b1ce38b26803c239.zip
Import of elim, which does character set and other conversions for
email. PR: 6373 Submitted by: Josh Gilliam <josh@quick.net>
Diffstat (limited to 'mail/emil')
-rw-r--r--mail/emil/Makefile27
-rw-r--r--mail/emil/distinfo1
-rw-r--r--mail/emil/files/patch-aa10
-rw-r--r--mail/emil/files/patch-ab31
-rw-r--r--mail/emil/files/patch-ac47
-rw-r--r--mail/emil/files/patch-ad38
-rw-r--r--mail/emil/files/patch-ae43
-rw-r--r--mail/emil/pkg-comment1
-rw-r--r--mail/emil/pkg-descr23
-rw-r--r--mail/emil/pkg-plist40
10 files changed, 261 insertions, 0 deletions
diff --git a/mail/emil/Makefile b/mail/emil/Makefile
new file mode 100644
index 000000000000..cc5dcefad2d2
--- /dev/null
+++ b/mail/emil/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: emil
+# Version required: 2.1.0-beta9
+# Date created: 21 April 1998
+# Whom: Josh Gilliam <josh@quick.net>
+#
+# $Id$
+#
+
+DISTNAME= emil-2.1.0-beta9
+PKGNAME= emil-2.1b9
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.uu.se/pub/unix/networking/mail/emil/ \
+ ftp://ftp.gwdg.de/pub/misc/emil/ \
+ ftp://ftp.funet.fi/pub/unix/mail/emil/ \
+ ftp://ftp.enst.fr/pub/unix/network/mail/ \
+ ftp://ftp.doc.ic.ac.uk/Mirrors/ftp.uu.se/pub/unix/networking/mail/emil/
+
+MAINTAINER= josh@quick.net
+
+GNU_CONFIGURE= yes
+MAN1= emil.1 emil.cf.1
+
+.if defined(NOPORTDOCS)
+MAKE_ENV= NOPORTDOCS=${NOPORTDOCS}
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/emil/distinfo b/mail/emil/distinfo
new file mode 100644
index 000000000000..0f026dd5d154
--- /dev/null
+++ b/mail/emil/distinfo
@@ -0,0 +1 @@
+MD5 (emil-2.1.0-beta9.tar.gz) = 2dc2d417698cf0e2015f8bda3daf4ebb
diff --git a/mail/emil/files/patch-aa b/mail/emil/files/patch-aa
new file mode 100644
index 000000000000..dcddad76e37b
--- /dev/null
+++ b/mail/emil/files/patch-aa
@@ -0,0 +1,10 @@
+--- charset/dfopen.c~ Tue Nov 29 07:10:29 1994
++++ charset/dfopen.c Tue Apr 21 02:35:35 1998
+@@ -1,7 +1,6 @@
+ #include "iso646.h"
+ #include <stdio.h>
+ #include <errno.h>
+-#include <malloc.h>
+ #include <stdlib.h> /* TW 941114 */
+ #include <memory.h> /* TW 941114 */
+ #include <unistd.h> /* TW 941114 */
diff --git a/mail/emil/files/patch-ab b/mail/emil/files/patch-ab
new file mode 100644
index 000000000000..5b6adc1b48da
--- /dev/null
+++ b/mail/emil/files/patch-ab
@@ -0,0 +1,31 @@
+--- Makefile.in.orig Tue Jun 4 07:54:32 1996
++++ Makefile.in Wed Apr 22 16:30:47 1998
+@@ -41,9 +41,10 @@
+ #manprefix =
+
+ bindir = @bindir@
++datadir = @datadir@
+ libdir = @libdir@
+ mandir = @mandir@
+-manext = 8
++manext = 1
+
+ MAINCF = $(libdir)/emil.cf
+ CHARFILE = $(libdir)/charsets.cpl
+@@ -262,10 +263,15 @@
+ $(INSTALL_DATA) emil.cf.$(manext) $(mandir)/man$(manext); \
+ fi ;
+ @echo " " ;
++.if !defined(NOPORTDOCS)
++ @echo "Installing doc files in $(datadir)/doc/emil" ;
++ @$(INSTALL_DATA) $(DOCS) $(datadir)/doc/emil/
++.endif
++ @echo " " ;
+ @echo "Installation done." ;
+
+ installdirs:
+- $(srcdir)/mkinstalldirs $(bindir) $(libdir) $(mandir)/man$(manext)
++ $(srcdir)/mkinstalldirs $(bindir) $(datadir)/doc/emil $(libdir) $(mandir)/man$(manext)
+
+ uninstall:
+ if test -f $(bindir)/emil ; then \
diff --git a/mail/emil/files/patch-ac b/mail/emil/files/patch-ac
new file mode 100644
index 000000000000..2a0b6a9fc68b
--- /dev/null
+++ b/mail/emil/files/patch-ac
@@ -0,0 +1,47 @@
+--- emil.man~ Tue Jun 4 04:42:42 1996
++++ emil.man Tue Apr 21 04:08:04 1998
+@@ -1,4 +1,4 @@
+-.TH EMIL 8 "19 December 1994"
++.TH EMIL 1 "19 December 1994"
+
+ .SH NAME
+
+@@ -63,7 +63,7 @@
+ .BR no
+ spooling.
+
+-Emil can be applied by sendmail, if specified as a delviery agent, and can also
++Emil can be applied by sendmail, if specified as a delivery agent, and can also
+ invoke sendmail or other programs for it's output.
+ When used like this, emil does not close the connection with the calling
+ sendmail until it returns an EX_OK from the called program,
+@@ -151,17 +151,17 @@
+ .TP
+ .BI "\-H " Recipient_header_encoding
+ Recipient header encoding. One of Se, 7bit, 8bit, BAse64 or Quoted-printable.
+-See also emil.cf(8).
++See also emil.cf(1).
+ .TP
+ .BI "\-T " Recipient_text_encoding
+ Recipient text encoding. One of Se, 7bit, 8bit, BAse64, BInhex, Quoted-printable
+-or Uuencode. See also emil.cf(8).
++or Uuencode. See also emil.cf(1).
+ .TP
+ .BI "\-G " Target_Group
+ Use Target_Group to specify use of a conversion group, as declared in emil.cf.
+ If Target_Group is specified Emil will not try to resolve conversion group
+ using recipient, sender and recipient host, instead it performs a case
+-sensitive match on the conversion groups as declared in emil.cf. See also emil.cf(8).
++sensitive match on the conversion groups as declared in emil.cf. See also emil.cf(1).
+
+ .RE
+ Beware, when applying the Sender_charset option, there is no
+@@ -243,7 +243,7 @@
+
+ .SH "SEE ALSO"
+
+-emil.cf(8)
++emil.cf(1)
+
+ .SH BUGS
+
diff --git a/mail/emil/files/patch-ad b/mail/emil/files/patch-ad
new file mode 100644
index 000000000000..c7525aea781c
--- /dev/null
+++ b/mail/emil/files/patch-ad
@@ -0,0 +1,38 @@
+--- emil.cf.man~ Sat Feb 10 05:16:17 1996
++++ emil.cf.man Tue Apr 21 04:10:45 1998
+@@ -1,6 +1,6 @@
+-.TH EMIL.CF 8 "19 December 1994"
++.TH EMIL.CF 1 "19 December 1994"
+ .SH NAME
+-emil.cf \- configuration file for emil(8)
++emil.cf \- configuration file for emil(1)
+ .SH SYNOPSIS
+ .B group
+ .IR "Group_Name" ":"
+@@ -45,7 +45,7 @@
+ .SH DESCRIPTION
+ The file
+ MAINCF
+-is used by emil(8) to decide which conversions should be applied to a specific
++is used by emil(1) to decide which conversions should be applied to a specific
+ Internet
+ message. Conversion is controlled by the combination of
+ .IR Sender,
+@@ -127,7 +127,7 @@
+ Pick one of Base64, Quoted-printable, 8bit or Se, 7bit.
+ 7bit is default. If BAse64 or Quoted-Printable is selected
+ headers are converted according to RFC1522 (MIME-II).
+-7bit and Se behaives like in the textenc field.
++7bit and Se behaves like in the textenc field.
+
+ .TP
+ .B "match"
+@@ -205,7 +205,7 @@
+ Martin Wendel (Martin.Wendel@its.uu.se) and
+ Torbjorn Wictorin (Torbjorn.Wictorin@its.uu.se)
+ .SH "SEE ALSO"
+-emil(8)
++emil(1)
+ .SH BUGS
+ None
+
diff --git a/mail/emil/files/patch-ae b/mail/emil/files/patch-ae
new file mode 100644
index 000000000000..cbd6c106a0b4
--- /dev/null
+++ b/mail/emil/files/patch-ae
@@ -0,0 +1,43 @@
+--- mimeparse.c~ Tue Jun 4 06:36:59 1996
++++ mimeparse.c Tue Apr 21 05:02:15 1998
+@@ -219,8 +219,39 @@
+ inbuf->bodystart,
+ inbuf->bodyend);
+ #endif
++ /* FIX */
++ if (m->sd->encoding == EMULTI && m->sd->endbound != NULL)
++ {
++ int tttt;
++ move_past_boundary(m, m->sd->endbound);
++ for (;;)
++ {
++ tttt = getline(m->sd);
++#ifdef DEBUG
++ if (edebug)
++ fprintf(stderr," getline = %d\n", tttt);
++#endif
++ if (tttt == 1)
++ {
++ inbuf->offset += tttt;
++ inbuf->loffset += 1;
++ continue;
++ }
++ if (tttt == 2 && *(m->sd->contents + m->sd->offset) == '\r')
++ {
++ inbuf->offset += tttt;
++ inbuf->loffset += 1;
++ continue;
++ }
++ break;
++ }
++
++ }
++ else
++ /* END_FIX */
++ m->sd->offset = m->sd->bodyend;
++
+
+- m->sd->offset = m->sd->bodyend;
+ if (getline(m->sd) == 0)
+ return(OK);
+ if (m->sd->offset < m->sd->end)
diff --git a/mail/emil/pkg-comment b/mail/emil/pkg-comment
new file mode 100644
index 000000000000..f409b8b0d629
--- /dev/null
+++ b/mail/emil/pkg-comment
@@ -0,0 +1 @@
+Mail format/encoding converter
diff --git a/mail/emil/pkg-descr b/mail/emil/pkg-descr
new file mode 100644
index 000000000000..9fabbdef5c36
--- /dev/null
+++ b/mail/emil/pkg-descr
@@ -0,0 +1,23 @@
+Emil is a filter for converting Internet Messages. It supports
+three basic formats: MIME, SUN Mailtool and RFC822. It can be
+used with sendmail, as a loopback mailer, as a prefilter or
+backend program with a mail client program, or as a plain
+filter. Conversion can be configured by a configuration file,
+emil.cf, using sender, recipient and recipient host as input
+parameters or by command line arguments.
+
+Emil is able to:
+- convert the format, headers and structure, between messages of type
+ MIME, Sun Mailtool and RFC822.
+- convert the encoding of binary data between Base64, BinHex and Uuencode.
+- convert the encoding of text to and from the MIME encoding Quoted-Printable.
+- convert character set of text between the character sets made
+ available by Keld J. Simonsens strncnv package.
+- do one-way conversions of 8bit text to the Swedish national variant of
+ ISO-646 or to US-ASCII.
+- convert to and from RFC1522 format headers.
+
+http://www.uu.se/emil
+
+--
+Josh Gilliam <josh@quick.net>
diff --git a/mail/emil/pkg-plist b/mail/emil/pkg-plist
new file mode 100644
index 000000000000..297360e4f116
--- /dev/null
+++ b/mail/emil/pkg-plist
@@ -0,0 +1,40 @@
+bin/emil
+lib/charsets.cpl
+lib/emil.cf
+man/man1/emil.1.gz
+man/man1/emil.cf.1.gz
+share/doc/emil/analysis.html
+share/doc/emil/arguments.html
+share/doc/emil/arrow_left3.gif
+share/doc/emil/arrow_right3.gif
+share/doc/emil/arrow_up2.gif
+share/doc/emil/binpobox.gif
+share/doc/emil/comparison.html
+share/doc/emil/configuration.html
+share/doc/emil/control.html
+share/doc/emil/design-spec.html
+share/doc/emil/design-top.html
+share/doc/emil/details.html
+share/doc/emil/emil.cf.html
+share/doc/emil/end.html
+share/doc/emil/figure1.gif
+share/doc/emil/figure2.gif
+share/doc/emil/figure3.gif
+share/doc/emil/figure4.gif
+share/doc/emil/figure5.gif
+share/doc/emil/figure6.gif
+share/doc/emil/figure7.gif
+share/doc/emil/index.shtml
+share/doc/emil/input.html
+share/doc/emil/intro.html
+share/doc/emil/main.html
+share/doc/emil/output.html
+share/doc/emil/problem-statement.html
+share/doc/emil/rfc1521.html
+share/doc/emil/rfc1522.html
+share/doc/emil/rfc822.html
+share/doc/emil/setting.html
+share/doc/emil/using.html
+share/doc/emil/way.html
+share/doc/emil/why.html
+@dirrm share/doc/emil