From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2699138334 for ; Mon, 28 Oct 2019 22:04:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 342EFE0891; Mon, 28 Oct 2019 22:04:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10732E0891 for ; Mon, 28 Oct 2019 22:04:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD50634C517 for ; Mon, 28 Oct 2019 22:04:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D7BB883 for ; Mon, 28 Oct 2019 22:04:42 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1572300262.98647e26432c86554baf653ecf58a129fdf0b9ce.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch X-VCS-Directories: net-mail/notmuch/files/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: 98647e26432c86554baf653ecf58a129fdf0b9ce X-VCS-Branch: master Date: Mon, 28 Oct 2019 22:04:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 56e66cff-b8e3-4b64-a231-237c273be272 X-Archives-Hash: 1746f31a9108e7dcc534558aeef556b2 commit: 98647e26432c86554baf653ecf58a129fdf0b9ce Author: Amadeusz Piotr Żołnowski gentoo org> AuthorDate: Mon Oct 28 22:03:25 2019 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Mon Oct 28 22:04:22 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98647e26 net-mail/notmuch: Add missing patch for 0.29.2 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Amadeusz Piotr Żołnowski gentoo.org> ...-Use-loopback-IP-address-rather-than-name.patch | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) 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 new file mode 100644 index 00000000000..e4722469595 --- /dev/null +++ b/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch @@ -0,0 +1,61 @@ +From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?= + +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 +