unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Robert Pluim <rpluim@gmail.com>
Cc: jwiegley@gmail.com, 28597@debbugs.gnu.org, nljlistbox2@gmail.com
Subject: bug#28597: 26.0.60; [Security] Configure should use --without-pop by default
Date: Tue, 3 Oct 2017 15:47:15 -0700	[thread overview]
Message-ID: <0648ed49-af37-e64c-9b9b-33f290d35dca@cs.ucla.edu> (raw)
In-Reply-To: <87vajwvej8.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

On 10/03/2017 01:09 AM, Robert Pluim wrote:
> I think configure should output
> *something*  to warn people about the change in behaviour.

That's easy and harmless enough, so I installed the attached into 
emacs-26, after installing the patch I previously mentioned in this thread.


[-- Attachment #2: 0001-Warn-if-without-pop-is-now-the-default.patch --]
[-- Type: text/x-patch, Size: 3396 bytes --]

From bbc889f07fa1cc516480d5958ece89997c87cdeb Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 3 Oct 2017 15:42:10 -0700
Subject: [PATCH] Warn if --without-pop is now the default

* configure.ac (with_pop): Set to no-by-default if defaulting to "no".
Warn about the change if defaulting to "no".  Update URLs.
---
 configure.ac | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3feac73bed..d92b95cb54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,7 +259,7 @@ AC_DEFUN
   [],
   [case $host in
      *-mingw*) with_pop=yes;;
-     *) with_pop=no;;
+     *) with_pop=no-by-default;;
    esac])
 if test "$with_pop" = yes; then
    AC_DEFINE(MAIL_USE_POP)
@@ -1320,7 +1320,7 @@ AC_DEFUN
 dnl LD_SWITCH_SYSTEM_TEMACS.  That is:
 dnl * inappropriate, as LDFLAGS is a user option but this is essential.
 dnl   Eg "make LDFLAGS=... all" could run into problems,
-dnl   http://bugs.debian.org/684788
+dnl   https://bugs.debian.org/684788
 dnl * unnecessary, since temacs is the only thing that actually needs it.
 dnl   Indeed this is where it was originally, prior to:
 dnl   https://lists.gnu.org/archive/html/emacs-pretest-bug/2004-03/msg00170.html
@@ -1399,10 +1399,6 @@ AC_DEFUN
    # The resulting binary has a complete symbol table, and is better
    # for debugging and other observability tools (debuggers, pstack, etc).
    #
-   # If you encounter a problem using dldump(), please consider sending
-   # a message to the OpenSolaris tools-linking mailing list:
-   #      http://mail.opensolaris.org/mailman/listinfo/tools-linking
-   #
    # It is likely that dldump() works with older Solaris too, but this has
    # not been tested, so for now this change is for Solaris 10 or newer.
    UNEXEC_OBJ=unexsol.o
@@ -2651,7 +2647,7 @@ AC_DEFUN
        closing open displays.  This is no problem if you just use
        one display, but if you use more than one and close one of them
        Emacs may crash.
-       See http://bugzilla.gnome.org/show_bug.cgi?id=85715]])
+       See https://bugzilla.gnome.org/show_bug.cgi?id=85715]])
   fi
 
 fi
@@ -4464,7 +4460,6 @@ AC_DEFUN
 
 case $opsys in
   dnl SIGIO exists, but the feature doesn't work in the way Emacs needs.
-  dnl See eg <http://article.gmane.org/gmane.os.openbsd.ports/46831>.
   hpux* | nacl | openbsd | sol2* | unixware )
     emacs_broken_SIGIO=yes
     ;;
@@ -5575,6 +5570,12 @@ m4_define
     AC_MSG_WARN([This configuration installs a 'movemail' program
 that retrieves POP3 email via only insecure channels.
 To omit insecure POP3, you can use '$0 --without-pop'.])
+  elif test "$with_pop" = no-by-default; then
+    AC_MSG_WARN([This configuration installs a 'movemail' program
+that does not retrieve POP3 email.  By default, Emacs 25 and earlier
+installed a 'movemail' program that retrieved POP3 email via only
+insecure channels, a practice that is no longer recommended but that
+you can continue to support by using '$0 --with-pop'.])
   fi
 
   case $opsys in
@@ -5586,7 +5587,7 @@ m4_define
       case `(movemail --version) 2>/dev/null` in
 	*Mailutils*) ;;
 	*) emacs_fix_movemail="install GNU Mailutils
-<http://mailutils.org> and $emacs_fix_movemail";;
+<https://mailutils.org> and $emacs_fix_movemail";;
       esac
       AC_MSG_NOTICE([You might want to $emacs_fix_movemail.]);;
   esac
-- 
2.13.6


  parent reply	other threads:[~2017-10-03 22:47 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 15:11 bug#28597: 26.0.60; [Security] Configure should use --without-pop by default N. Jackson
2017-09-25 15:21 ` John Wiegley
2017-09-26  9:13   ` Robert Pluim
2017-09-26 15:39 ` Glenn Morris
2017-09-26 17:22 ` Paul Eggert
2017-09-26 18:51   ` John Wiegley
2017-09-29 13:14     ` Eli Zaretskii
2017-09-29 14:05       ` Robert Pluim
2017-09-29 17:42         ` Eli Zaretskii
2017-09-29 20:04           ` Robert Pluim
2017-10-02 16:29             ` Robert Pluim
2017-10-02 18:23               ` Paul Eggert
2017-10-03  8:09                 ` Robert Pluim
2017-10-03 14:34                   ` Eli Zaretskii
2017-10-03 15:03                     ` Robert Pluim
2017-10-03 15:42                       ` Eli Zaretskii
2017-10-03 22:47                   ` Paul Eggert [this message]
2017-10-04  7:14                     ` Robert Pluim
2017-10-16  2:34                       ` Noam Postavsky
2017-09-29 16:07       ` N. Jackson
2017-09-29 17:53         ` Eli Zaretskii
2017-09-29 18:14           ` N. Jackson
2017-09-29 19:11             ` Eli Zaretskii
2017-10-02 17:22               ` N. Jackson
2017-10-02 17:32                 ` Eli Zaretskii
2017-10-02 18:00                   ` Paul Eggert
2017-10-02 18:47                     ` Eli Zaretskii
2017-10-02 23:20                       ` Paul Eggert
2017-10-03  2:29                         ` Eli Zaretskii
2017-10-03 14:29                         ` N. Jackson
2017-10-03 14:55                           ` Robert Pluim
2017-10-03 15:43                           ` Eli Zaretskii
2017-10-02 18:00                 ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0648ed49-af37-e64c-9b9b-33f290d35dca@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=28597@debbugs.gnu.org \
    --cc=jwiegley@gmail.com \
    --cc=nljlistbox2@gmail.com \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).