aboutsummaryrefslogtreecommitdiffstats
path: root/mail/emil/files
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/files
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/files')
-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
5 files changed, 169 insertions, 0 deletions
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)