diff options
author | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2020-02-01 23:32:54 +0000 |
---|---|---|
committer | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2020-02-01 23:37:04 +0000 |
commit | e705c4ca0409cb296a8e79c5adccc633456d0406 (patch) | |
tree | 2a0674b9573ff00f5a3a761b9802d9ad01044c6a /net-mail/notmuch/files | |
parent | net-misc/haeredes: new version 0.5.2. (diff) | |
download | gentoo-e705c4ca0409cb296a8e79c5adccc633456d0406.tar.gz gentoo-e705c4ca0409cb296a8e79c5adccc633456d0406.tar.bz2 gentoo-e705c4ca0409cb296a8e79c5adccc633456d0406.zip |
net-mail/notmuch: Remove vulnerable versions
Bug: https://bugs.gentoo.org/701350
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
Diffstat (limited to 'net-mail/notmuch/files')
3 files changed, 0 insertions, 149 deletions
diff --git a/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch b/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch deleted file mode 100644 index e47224695953..000000000000 --- a/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?= - <aidecoe@aidecoe.name> -Date: Sun, 7 Jul 2019 11:33:09 +0100 -Subject: [PATCH] Use loopback IP address rather than name - ---- - test/smtp-dummy.c | 8 ++++---- - test/test-lib.sh | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c -index a7c1fe4f..822a986a 100644 ---- a/test/smtp-dummy.c -+++ b/test/smtp-dummy.c -@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char *command) - fprintf (peer, "502 not implemented\r\n"); - fflush (peer); - } else if (STRNCMP_LITERAL (command, "HELO ") == 0) { -- fprintf (peer, "250 localhost\r\n"); -+ fprintf (peer, "250 127.0.0.1\r\n"); - fflush (peer); - } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 || - STRNCMP_LITERAL (command, "RCPT TO:") == 0) { -@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output) - size_t line_size; - ssize_t line_len; - -- fprintf (peer, "220 localhost smtp-dummy\r\n"); -+ fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n"); - fflush (peer); - - while ((line_len = getline (&line, &line_size, peer)) != -1) { -@@ -183,9 +183,9 @@ main (int argc, char *argv[]) - goto DONE; - } - -- hostinfo = gethostbyname ("localhost"); -+ hostinfo = gethostbyname ("127.0.0.1"); - if (hostinfo == NULL) { -- fprintf (stderr, "Unknown host: localhost\n"); -+ fprintf (stderr, "Unknown host: 127.0.0.1\n"); - ret = 1; - goto DONE; - } -diff --git a/test/test-lib.sh b/test/test-lib.sh -index 616cb674..dd887773 100644 ---- a/test/test-lib.sh -+++ b/test/test-lib.sh -@@ -336,7 +336,7 @@ emacs_deliver_message () - test_emacs \ - "(let ((message-send-mail-function 'message-smtpmail-send-it) - (mail-host-address \"example.com\") -- (smtpmail-smtp-server \"localhost\") -+ (smtpmail-smtp-server \"127.0.0.1\") - (smtpmail-smtp-service \"${smtp_dummy_port}\")) - (notmuch-mua-mail) - (message-goto-to) --- -2.19.2 - diff --git a/net-mail/notmuch/files/0001-Use-loopback-IP-address-rather-than-name.patch b/net-mail/notmuch/files/0001-Use-loopback-IP-address-rather-than-name.patch deleted file mode 100644 index f7e1d7e05e35..000000000000 --- a/net-mail/notmuch/files/0001-Use-loopback-IP-address-rather-than-name.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 9c15b508819d15d0852d71c2e897550cfaac09ba Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?= - <aidecoe@aidecoe.name> -Date: Thu, 7 Mar 2019 22:47:55 +0000 -Subject: [PATCH] Use loopback IP address rather than name - -With FEATURES="network-sandbox" 'localhost' name lookup fails. ---- - test/smtp-dummy.c | 8 ++++---- - test/test-lib.sh | 2 +- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c -index 71992edd..e72ba2d0 100644 ---- a/test/smtp-dummy.c -+++ b/test/smtp-dummy.c -@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char *command) - fprintf (peer, "502 not implemented\r\n"); - fflush (peer); - } else if (STRNCMP_LITERAL (command, "HELO ") == 0) { -- fprintf (peer, "250 localhost\r\n"); -+ fprintf (peer, "250 127.0.0.1\r\n"); - fflush (peer); - } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 || - STRNCMP_LITERAL (command, "RCPT TO:") == 0) { -@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output) - size_t line_size; - ssize_t line_len; - -- fprintf (peer, "220 localhost smtp-dummy\r\n"); -+ fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n"); - fflush (peer); - - while ((line_len = getline (&line, &line_size, peer)) != -1) { -@@ -182,9 +182,9 @@ main (int argc, char *argv[]) - goto DONE; - } - -- hostinfo = gethostbyname ("localhost"); -+ hostinfo = gethostbyname ("127.0.0.1"); - if (hostinfo == NULL) { -- fprintf (stderr, "Unknown host: localhost\n"); -+ fprintf (stderr, "Unknown host: 127.0.0.1\n"); - ret = 1; - goto DONE; - } -diff --git a/test/test-lib.sh b/test/test-lib.sh -index fca5277d..fa8fd5bd 100644 ---- a/test/test-lib.sh -+++ b/test/test-lib.sh -@@ -320,7 +320,7 @@ emacs_deliver_message () - test_emacs \ - "(let ((message-send-mail-function 'message-smtpmail-send-it) - (mail-host-address \"example.com\") -- (smtpmail-smtp-server \"localhost\") -+ (smtpmail-smtp-server \"127.0.0.1\") - (smtpmail-smtp-service \"25025\")) - (notmuch-mua-mail) - (message-goto-to) --- -2.19.2 - diff --git a/net-mail/notmuch/files/0002-Fix-jobserver-unavailable-warning.patch b/net-mail/notmuch/files/0002-Fix-jobserver-unavailable-warning.patch deleted file mode 100644 index 85ca4b6d4a52..000000000000 --- a/net-mail/notmuch/files/0002-Fix-jobserver-unavailable-warning.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b5e15feee139096720272d2b435ce7c4114fda15 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?= - <aidecoe@aidecoe.name> -Date: Sat, 9 Mar 2019 22:42:21 +0000 -Subject: [PATCH 2/2] Fix "jobserver unavailable" warning - ---- - doc/Makefile.local | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/doc/Makefile.local b/doc/Makefile.local -index bab3d0d2..dfe62295 100644 ---- a/doc/Makefile.local -+++ b/doc/Makefile.local -@@ -56,7 +56,7 @@ sphinx-texinfo: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(DOCBUILDDIR)/texinfo - - sphinx-info: sphinx-texinfo -- make -C $(DOCBUILDDIR)/texinfo info -+ $(MAKE) -C $(DOCBUILDDIR)/texinfo info - - # Use the man page converter that is available. We should never depend - # on MAN_ROFF_FILES if a converter is not available. --- -2.19.2 - |