mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Import of elim, which does character set and other conversions for
email. PR: 6373 Submitted by: Josh Gilliam <josh@quick.net>
This commit is contained in:
parent
ecc68dcfa1
commit
12c757f48e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10641
27
mail/emil/Makefile
Normal file
27
mail/emil/Makefile
Normal file
@ -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>
|
1
mail/emil/distinfo
Normal file
1
mail/emil/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (emil-2.1.0-beta9.tar.gz) = 2dc2d417698cf0e2015f8bda3daf4ebb
|
10
mail/emil/files/patch-aa
Normal file
10
mail/emil/files/patch-aa
Normal file
@ -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 */
|
31
mail/emil/files/patch-ab
Normal file
31
mail/emil/files/patch-ab
Normal file
@ -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 \
|
47
mail/emil/files/patch-ac
Normal file
47
mail/emil/files/patch-ac
Normal file
@ -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
|
||||
|
38
mail/emil/files/patch-ad
Normal file
38
mail/emil/files/patch-ad
Normal file
@ -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
|
||||
|
43
mail/emil/files/patch-ae
Normal file
43
mail/emil/files/patch-ae
Normal file
@ -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)
|
1
mail/emil/pkg-comment
Normal file
1
mail/emil/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Mail format/encoding converter
|
23
mail/emil/pkg-descr
Normal file
23
mail/emil/pkg-descr
Normal file
@ -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>
|
40
mail/emil/pkg-plist
Normal file
40
mail/emil/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user