diff options
author | cjep <cjep> | 2002-12-09 10:37:17 +0000 |
---|---|---|
committer | cjep <cjep> | 2002-12-09 10:37:17 +0000 |
commit | 69acf1b3a43547e884010688f9a5259b2dc9197b (patch) | |
tree | 5feff97e814ec9bf83aee5560be048e3842d6855 /mail/nail/patches | |
parent | 44b22450c0b37d9474f0d9ac635824bdc7df1d5b (diff) | |
download | pkgsrc-69acf1b3a43547e884010688f9a5259b2dc9197b.tar.gz |
Initial import of nail 10.3 into the NetBSD packages collection as
mail/nail.
Nail is a mail user agent derived from Berkeley Mail 8.1. It is
intended to provide the functionality of the POSIX.2 mailx command
with built-in support for MIME messages. This means it can handle
international character sets as well as attachments. In recent
system environments, nail is Unicode/UTF-8 capable. It further
contains some minor enhancements like the ability to set a "From:"
Address.
Supplied (for nail 10.1) by Mishka in PR#19112. Thanks!
Diffstat (limited to 'mail/nail/patches')
-rw-r--r-- | mail/nail/patches/patch-aa | 12 | ||||
-rw-r--r-- | mail/nail/patches/patch-ab | 13 | ||||
-rw-r--r-- | mail/nail/patches/patch-ac | 14 | ||||
-rw-r--r-- | mail/nail/patches/patch-ad | 18 |
4 files changed, 57 insertions, 0 deletions
diff --git a/mail/nail/patches/patch-aa b/mail/nail/patches/patch-aa new file mode 100644 index 00000000000..367a88b0f1b --- /dev/null +++ b/mail/nail/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $ + +--- Makefile.in Wed Nov 20 17:54:32 2002 ++++ Makefile.in.nb Wed Nov 20 18:01:50 2002 +@@ -108,6 +108,7 @@ + nail_DEPENDENCIES = + nail_LDFLAGS = + CFLAGS = @CFLAGS@ ++CFLAGS = -DMIMEPATH=\"@prefix@/etc/mime.types\" + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) + LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ diff --git a/mail/nail/patches/patch-ab b/mail/nail/patches/patch-ab new file mode 100644 index 00000000000..50c8a5736da --- /dev/null +++ b/mail/nail/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $ + +--- mime.c Tue Sep 17 13:40:18 2002 ++++ mime.c.nb Wed Nov 20 17:40:00 2002 +@@ -62,7 +62,7 @@ + * You won't guess what these are for. + */ + static const char basetable[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; +-static char *mimetypes_world = "/etc/mime.types"; ++static char *mimetypes_world = MIMEPATH; + static char *mimetypes_user = "~/.mime.types"; + char *us_ascii = "us-ascii"; + diff --git a/mail/nail/patches/patch-ac b/mail/nail/patches/patch-ac new file mode 100644 index 00000000000..d8ff99839cb --- /dev/null +++ b/mail/nail/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $ + +--- nail.rc Sun Sep 1 02:47:46 2002 ++++ nail.rc.nb Wed Nov 20 17:31:35 2002 +@@ -4,6 +4,9 @@ + + # Sccsid @(#)nail.rc 2.1 (gritter) 9/1/02 + ++# Be xBSD compliant :) ++set bsdcompat ++ + # Append rather than prepend to mailboxes. Do not unset + # or you will confuse other mail-handling programs! + set append diff --git a/mail/nail/patches/patch-ad b/mail/nail/patches/patch-ad new file mode 100644 index 00000000000..53f1b24d118 --- /dev/null +++ b/mail/nail/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $ + +--- sendout.c.orig Thu Nov 28 01:01:01 2002 ++++ sendout.c +@@ -428,10 +428,13 @@ infix(hp, fi) + #endif + return NULL; + } ++ ++#ifdef HAVE_ICONV + if (convhdr && iconvd != (iconv_t)-1) { + iconv_close(iconvd); + iconvd = (iconv_t)-1; + } ++#endif + if (hp->h_attach != NULL) { + if (make_multipart(hp, convert, fi, nfo, + contenttype, charset) != 0) { |