head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.12 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.10 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.8 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.6 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.4 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.2 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.4.0.38 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.36 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.34 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.32 pkgsrc-2008Q1:1.4.0.30 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.28 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.26 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.24 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.22 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.20 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.18 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.16 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.14 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.12 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.10 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.8 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.6 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.4 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.2 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.4 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.2 netbsd-1-6-1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2008.10.30.13.08.10; author obache; state dead; branches; next 1.4; 1.4 date 2004.08.16.15.34.25; author cjep; state Exp; branches; next 1.3; 1.3 date 2004.06.29.13.42.19; author cjep; state Exp; branches; next 1.2; 1.2 date 2003.12.05.22.21.17; author cjep; state Exp; branches; next 1.1; 1.1 date 2002.12.09.10.37.17; author cjep; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.12.09.10.37.17; author cjep; state Exp; branches; next ; desc @@ 1.5 log @Remove mail/nail, successor heirloom-mailx is provided by PR 38262 and imported as mail/heirloom-mailx. @ text @$NetBSD: patch-ab,v 1.4 2004/08/16 15:34:25 cjep Exp $ --- mime.c.orig 2004-08-15 13:31:27.000000000 +0100 +++ mime.c @@@@ -62,7 +62,7 @@@@ static char sccsid[] = "@@(#)mime.c 2.20 * 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"; @ 1.4 log @Update of mail/nail to 11.2 Changes since 11.1 include: * A message thread-oriented mode is now optionally available; cf. the 'thread' and 'unthread' commands, the 'autothread' variable, and addressing changes. * It is also possible to sort messages by various other criteria; cf. the 'sort' and 'unsort' commands, the 'autosort' variable, and addressing changes. * New 'fullnames' variable: When replying to a message, full names for the recipients are included if it is set, instead of using the plain email address. * New commands 'disconnect' and 'connect'/'online' to switch to disconnected IMAP mode and back while retaining the current mailbox. * IMAP GSSAPI authentication was implemented; it has been successfully compiled with MIT, Solaris, and HP-UX GSS libraries. See the 'imap-auth' and 'imap-auth-user@@host' variables. * CRAM-MD5 authentication was implemented for IMAP and SMTP. See the 'imap-auth' and 'smtp-auth' variables. * POP3 APOP authentication is now supported; see 'pop3-use-apop'. * STARTTLS is now also supported for IMAP and POP3; see 'imap-use-starttls' and 'pop3-use-starttls'. * Autodetection of the terminal character set works again (did not work since 10.8). * The 'showlast' variable works again; it had no effect since version 11.0. * Made it compile using the HP-UX C compiler again (did not work since 11.0). * Standard input is now redirected to /dev/null in the child process that contacts the MTA. A result is that ssl-verify=ask has the same effect as ssl-verify=strict for SMTP servers, and does not put the terminal in an indeterminable state anymore. * The initial connection to IMAP or POP3 servers is now made before the previous mailbox (if any) is quit. Thus if a server is unreachable, nail keeps the previous mailbox open instead of getting in a mailbox-less state. * Stale cache entries for messages deleted on the server were not removed in some circumstances. * The 'inc'/'newmail' commands are now ignored in disconnected mode and no longer display errors about hidden (uncached) messages. * The cache now compiles and works on systems that lack fchdir(), such as some Cray machines (Thanks to Cray-Cyber.org). * The defaults for /etc/nail.rc have been updated. This will have no effect on existing installations unless the file is copied by hand. * Nail does not hang anymore in disconnected mode if a message addressed with ^ or $ is not cached. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update of mail/nail to 10.8 pkgsrc changes. * Use USE_INET6. nail changes. [10.8] released 6/28/04 * Support for IPv6 is not built by default anymore. There are just too many hosts on which it doesn't work while the IPv4 functions work fine. If you have use for IPv6 support and know that it works, enable it in the Makefile. * autoconf and automake are no longer used for building. See the file 'INSTALL' which describes the transition of existing build setups. * The --enable-all-chars configuration option is no longer available. A run-time nail option variable 'print-all-chars' has been introduced instead. * Nail can now handle folders in compressed mbox format. If a file name given on the command line or with the 'folder', 'copy', and 'save' commands ends with '.gz' or '.bz2', gzip(1) or bzip2(1) are executed when reading and writing to it. Likewise, if a folder 'name' does not exist, but either 'name.gz' or 'name.bz2' are found, the compressed folder is used. To make use of compressed folders, just compress the respective mbox format file. * If the variable SHELL is not set, the default shell is now /bin/sh instead of csh. * If the variable EDITOR is not set, the default editor is now 'ed', as specified by SUSv3. * Introduced an 'ssl-verify-user@@host' variable as an account-specific variant of 'ssl-verify'. * Introduced an 'ssl-method-user@@host' variable as an account-specific variant of 'ssl-method'. @ text @d3 1 a3 1 --- mime.c.orig 2004-06-13 14:27:29.000000000 +0100 d5 1 a5 1 @@@@ -62,7 +62,7 @@@@ static char sccsid[] = "@@(#)mime.c 2.18 @ 1.2 log @ Update of mail/nail to 10.6. Changes since 10.5: * A nested MIME multipart message with a sub-part piped through an external program (such as HTML with w3m) caused nail to abort after SIGPIPE if the PAGER command terminated before reading the whole message. * A 'next' command following a 'hold' command displays the next message after the one the 'hold' applies to (Bugreport by Mike Sipser). This might not be exactly what POSIX specifies, but it makes sense and is consistent with traditional behavior. If you actually favor 'next' not to advance after 'hold', contact me and I'll add a configuration option for this. * If the value of the 'record' variable started with an environment variable reference such as '$HOME' or with a tilde and the 'outfolder' variable was set, it was not expanded correctly (Bugreport by Volker Kuhlmann). @ text @d3 1 a3 1 --- mime.c.orig 2003-03-23 04:15:01.000000000 +0000 d5 1 a5 1 @@@@ -62,7 +62,7 @@@@ static char sccsid[] = "@@(#)mime.c 2.15 @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- mime.c Tue Sep 17 13:40:18 2002 +++ mime.c.nb Wed Nov 20 17:40:00 2002 @@@@ -62,7 +62,7 @@@@ @ 1.1.1.1 log @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! @ text @@