Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
00-Makefiles.patch | 00 Makefiles Fix makefiles to make it possible to compile mailx on non-BSD systems. |
Loic Prylli <Loic.Prylli@graville.fdn.fr> | no | 1998-06-29 | ||
01-Fix-includes.patch | 01 Fix includes | Robert Luberda <robert@debian.org> | no | 2011-11-06 | ||
02-Base-fixes-1.patch | 02 Base fixes 1 Fixes from Debian patch 1:8.1.1-10 |
Loic Prylli <Loic.Prylli@graville.fdn.fr> | no | 1998-06-29 | ||
03-Base-fixes-2.patch | 03 Base fixes 2 Fixes from Debian patch 1:8.1.1-10.3 |
Edward Betts <edward@debian.org> | no | 2001-01-28 | ||
04-Add-custom-header.patch | 04 Add custom header Provide a possibility to add custom header fields such as "X-Loop: This service" or "X-Generated: via cron" (Closes: Bug#23356, Bug#13756). |
Martin Schulze <joey@kuolema.Infodrom.North.DE> | no | 1998-06-09 | ||
27-Use-FOPEN_MAX.patch | 27 Use FOPEN_MAX Use FOPEN_MAX instead of OPEN_MAX, which is unavailable on Linux |
Robert Luberda <robert@debian.org> | no | 2015-04-09 | ||
28-Fix-gcc-warning.patch | 28 Fix gcc warning Fix the following warning: lex.c:128:2: warning: implicit declaration of function 'mkostemp' [-Wimplicit-function-declaration] |
Robert Luberda <robert@debian.org> | no | 2015-04-09 | ||
05-Mailx-fixes.patch | 05 Mailx fixes mailx (1:8.1.1-10.1.3) frozen unstable; urgency=high * More security fixes * Don't allow one to set interactive in mailrc (or interactively) * Modify the variable-handling code to grok NULL values -- Wichert Akkerman <wakkerma@debian.org> Mon, 7 Aug 2000 17:22:57 -0700 mailx (1:8.1.1-10.1.2) frozen unstable; urgency=high * Another security problem: refuse to get the interactive variable from the environment by explicitly setting it in the hashtable. -- Wichert Akkerman <wakkerma@debian.org> Mon, 7 Aug 2000 12:36:10 -0700 |
Wichert Akkerman <wakkerma@debian.org> | no | 2000-08-08 | ||
06-Use-lockf-instead-of-flock.patch | 06 Use lockf instead of flock quit.c: Use lockf instead if flock. |
Robert Luberda <robert@debian.org> | no | 2001-06-05 | ||
07-Initialize-head-struct.patch | 07 Initialize head struct Initialize head struct and other fixes. |
Robert Luberda <robert@debian.org> | no | 2001-03-21 | ||
08-Use-liblockfile-library.patch | 08 Use liblockfile library Security fix: don't install mailx binary setgid mail. Now the liblockfile library is used for mailbox locking. |
Robert Luberda <robert@debian.org> | no | 2001-03-21 | ||
09-Saved-mbox-message.patch | 09 Saved mbox message Debian Bug#68920: Save message says mbox even when $MBOX is set |
Tollef Fog Heen <tollef@add.no> | no | 2001-04-01 | ||
10-Reply-To-header.patch | 10 Reply-To header Applied some patches from FreeBSD: + Add Relpy-To header if REPLYTO environment variable is set. + Add In-Reply-To header for replies (closes: #23115). |
Robert Luberda <robert@debian.org> | no | 2001-04-02 | ||
11-Showname-option.patch | 11 Showname option Debian Bug#96867: Dear mailx maintainer, I have written a patch that mimics the SunOS mailx "showname" option, that is, in the mail header listing the senders full name is shown instead of the e-mail address. I had to make the "skin" function aware of the reptype variable, and thus give a reptype value for each call of skin. Ugly but it seems to work. |
Tormod Volden <volden@iqe.phys.ethz.ch> | no | 2001-05-06 | ||
12-REPLYTO-can-be-set-in-.mailrc-too.patch | 12 REPLYTO can be set in .mailrc too REPLYTO can be set in ~/.mailrc too. |
Robert Luberda <robert@debian.org> | no | 2001-07-12 | ||
13-Mailx-concatenates-messages.patch | 13 Mailx concatenates messages Debian Bug#71759 Check if there is still an empty line at the end of the edited message. If not, it adds one. |
Arnaud Giersch <arnaud.giersch@free.fr> | no | 2002-03-11 | ||
14-Truncate-mailbox-instead-of-deleting-it.patch | 14 Truncate mailbox instead of deleting it fio.c: Don't delete mailbox file, always truncate it, because liblockfile fails to remove the lock file if mailbox doesn't exist (closes: #111537). quit.c: change message saing that mailbox was "removed" to "truncated" (closes: #196682); |
Robert Luberda <robert@debian.org> | no | 2002-03-27 | ||
15-No-space-left-in-tmp.patch | 15 No space left in /tmp Debian Bug#37104 The problem reported here, i.e. a segmentation fault when reading mail is already corrected. The message "Message temporary file corrupted" is printed by a call to "errx" instead of "panic" as it was in mailx-8.1.1-10. *But* there is another problem[1]: mailx sends an empty mail when there is no space left in "/tmp". Here is a patch making mailx check if all is ok when writing new mail in temporary file. If not, it outputs an error message and no longer sends an empty mail. |
Arnaud Giersch <arnaud.giersch@free.fr> | no | 2011-11-06 | ||
16-Stdin-not-a-tty.patch | 16 Stdin not a tty Return from grabh() if stdin is not a terminal. This fixes the `-I' option (closes: #149005). |
Robert Luberda <robert@debian.org> | no | 2002-06-18 | ||
18-Wait-for-sendmail.patch | 18 Wait for sendmail * send.c: Always wait for a sendmail process, check its exit code and if non-zero, print a warning message to user and save original message to ~/dead.letter (closes: #145379). * popen.c: Make wait_child() return an exit code of the child. |
Robert Luberda <robert@debian.org> | no | 2002-08-24 | ||
19-Fix-compilation-on-Hurd.patch | 19 Fix compilation on Hurd Fix problem with building on Hurd (closes: #213929). |
Robert Luberda <robert@debian.org> | no | 2003-10-14 | ||
20-Don-t-delete-temporary-file.patch | 20 Don't delete temporary file If the external editor (called by ~e or ~v commands) fails for some reason, don't delete the temporary file if it has been modified. This partly fixes bug#148071. |
Robert Luberda <robert@debian.org> | no | 2004-03-31 | ||
21-Use-wordexpr-instead-of-echo.patch | 21 Use wordexpr instead of echo fio.c: Use wordexpr() instead of calling /bin/echo not to allow executing external commands while expanding shell variables and wildcards. |
Robert Luberda <robert@debian.org> | no | 2004-11-03 | ||
22-Replace-newlines-with-spaces.patch | 22 Replace newlines with spaces main.c: Replace with spaces any embedded newline passed in arguments for '-s' and '-a' options (closes: #419840). |
Robert Luberda <robert@debian.org> | no | 2007-05-03 | ||
24-False-cant-send-email-errors.patch | 24 False cant send email errors Debian Bug #550116: This bug is caused by the patch in "send.c" for the bug report #145379. Under certain circumstances, a race condition can occur if: 1. The parent fork()'s a process and exec()'s "sendmail" in "send.c". The child process is born. 2. The child starts, finishes quickly and exits. The parent has not called wait_child(pid) in "send.c" yet. 3. The parent immediately gets SIGCHLD because the child exited already. The sigchild() handler in "popen.c" reaps the child via waitpid() and exits directly because findchild(pid, 1) returned NULL. It returned NULL because the PID of the child process has not been added to the "child" structure list at all. 4. The execution of the parent process is resumed in "send.c", and it now calls wait_child(pid). The function wait_child(pid) returns "-1" because wait_child(pid) in "popen.c" calls waitpid(pid, ...) again for the same child PID, which the sigchild() handler already reaped. The second call to findchild(pid, 1) by wait_child(pid) in "popen.c" returns NULL too, because as already stated the PID of the child process has not been added to the "child" structure list. As a result, the false error message "Can't send mail: sendmail process failed" is given. This bug happens only rarely, usually when the system is under load and the parent process lags a bit after the child one. But it does happen. We send about 15 messages every hour on 36 servers each, and we get 10 false error messages on average for 24 hours (0.08% false error rate). |
Ivan Zahariev <famzah@icdsoft.com> | no | 2009-10-07 | ||
25-Fix-confusing-error.patch | 25 Fix confusing error Fix an error message shown when -s, -c, or -b is used without -t to be less confusing for users (closes: #327809, #781170). |
Robert Luberda <robert@debian.org> | no | 2013-10-06 | ||
26-Add-missing-include.patch | 26 Add missing include Add #include <bsd/err.h> to fix implicit declaration of function 'warnc' warning. |
Robert Luberda <robert@debian.org> | no | 2014-08-25 | ||
29-Document-two-dashes-separator.patch | 29 Document two dashes separator Document that `--' marks end of options and should be used in scripts taking addresses from untrusted sources (closes: #773317) |
Robert Luberda <robert@debian.org> | no | 2015-04-19 | ||
30-Add-missing-includes.patch | 30 Add missing includes Add includes for clock_gettime() and utimensat() calls introduced in 8.1.2-0.20160123cvs. |
Robert Luberda <robert@debian.org> | no | 2016-01-23 | ||
31-Do-not-call-pledge.patch | 31 Do not call pledge pledge(2) syscall is not available in Linux, so the change introduced by upstream in 8.1.2-0.20160123cvs. |
Robert Luberda <robert@debian.org> | no | 2016-01-23 | ||
32-Fix-FTBFS-on-Hurd.patch | 32 Fix FTBFS on Hurd Fallback to a previously version of alter() function if UTIME_OMIT is not defined (which happens most probably on Hurd only, see #762677). |
Robert Luberda <robert@debian.org> | no | 2016-01-28 | ||
33-Add-MIME-headers.patch | Add MIME headers unless set by user Generate the three following headers by default: MIME-Version: 1.0 Content-Type: text/plain; charset="<current charset from $LC_CTYPE>" Content-Transfer-Encoding: 8bit However allow a user to override each of them with the -a flag. Example: bsd-mailx -a "Content-Type: text/html; charset=UTF-8" uses the above user-provided Content-Type, but still adds the default MIME-Version and Content-Transfer-Encoding headers. |
Robert Luberda <robert@debian.org> | no | 2017-04-13 | ||
34-Fix-strnvis.patch | Fix calls to strnvis Define LIBBSD_NETBSD_VIS macro, and re-order arguments of strnvis calls to fix warnings caused by incompatibilities with future versions of libbsd, as documented in the following comment from /usr/include/bsd/vis.h: /* * NetBSD added an strnvis and unfortunately made it incompatible with the * existing one in OpenBSD and Freedesktop's libbsd (the former having existed * for over ten years). Despite this incompatibility being reported during * development (see http://gnats.netbsd.org/44977) they still shipped it. * Even more unfortunately FreeBSD and later MacOS picked up this incompatible * implementation. * * Provide both implementations and default for now on the historical one to * avoid breakage, we will switch to the NetBSD one in libbsd 0.10.0 or so. * Define LIBBSD_NETBSD_VIS to switch to the NetBSD one now. */ |
Robert Luberda <robert@debian.org> | no | 2018-08-07 | ||
35-Fix-new-warnings-and-error.patch | Fix compilation issues Fix the following gcc issues: - disable code that references to ALTWERASE that is not defined on Debian; - use 'char' rather than 'unsigned char' to get rid of warnings about unsigned/signed conversions; - check result of snprintf calls to fix `output might be truncated' warnings. |
Robert Luberda <robert@debian.org> | no | 2018-08-07 |