diff options
author | cjep <cjep@pkgsrc.org> | 2002-12-09 10:37:17 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-12-09 10:37:17 +0000 |
commit | bf5ec62232bffaee44ec539169890cb079e67094 (patch) | |
tree | 5feff97e814ec9bf83aee5560be048e3842d6855 /mail/nail | |
parent | 5b32eafd0e49b93d119f50839429be7d7b01347e (diff) | |
download | pkgsrc-bf5ec62232bffaee44ec539169890cb079e67094.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')
-rw-r--r-- | mail/nail/DESCR | 7 | ||||
-rw-r--r-- | mail/nail/Makefile | 26 | ||||
-rw-r--r-- | mail/nail/PLIST | 5 | ||||
-rw-r--r-- | mail/nail/distinfo | 8 | ||||
-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 |
8 files changed, 103 insertions, 0 deletions
diff --git a/mail/nail/DESCR b/mail/nail/DESCR new file mode 100644 index 00000000000..defc064fb3a --- /dev/null +++ b/mail/nail/DESCR @@ -0,0 +1,7 @@ +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. diff --git a/mail/nail/Makefile b/mail/nail/Makefile new file mode 100644 index 00000000000..2564013e172 --- /dev/null +++ b/mail/nail/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $ + +DISTNAME= nail-10.3 +CATEGORIES= mail +MASTER_SITES= http://omnibus.ruf.uni-freiburg.de/~gritter/archive/nail/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://omnibus.ruf.uni-freiburg.de/~gritter/ +COMMENT= BSD mail utility with MIME extensions + +USE_BUILDLINK2= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-rcfile=${PKG_SYSCONFDIR}/nail.rc + +EGDIR= ${PREFIX}/share/examples/nail + +CONF_FILES= ${EGDIR}/nail.rc ${PKG_SYSCONFDIR}/nail.rc + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nail ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/nail.1 ${PREFIX}/man/man1 + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/nail.rc ${EGDIR} + +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/nail/PLIST b/mail/nail/PLIST new file mode 100644 index 00000000000..690ff6f5d14 --- /dev/null +++ b/mail/nail/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $ +bin/nail +man/man1/nail.1 +share/examples/nail/nail.rc +@dirrm share/examples/nail diff --git a/mail/nail/distinfo b/mail/nail/distinfo new file mode 100644 index 00000000000..b6f5d0f57d4 --- /dev/null +++ b/mail/nail/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $ + +SHA1 (nail-10.3.tar.gz) = 5eaa3dfe2c9519d4dea0d3c414581430fc1b9fd8 +Size (nail-10.3.tar.gz) = 187462 bytes +SHA1 (patch-aa) = c31048d0994efc5f26d88d07e348ad750aa44a2b +SHA1 (patch-ab) = f9295585fed37e2a33debc49629afa2263ea699a +SHA1 (patch-ac) = 72defa8a22e31244941154b5a7245fb1d698e88a +SHA1 (patch-ad) = 33be3128be74aa0b5b5486300b24a5fa82bfa009 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) { |