From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#28597: 26.0.60; [Security] Configure should use --without-pop by default Date: Tue, 3 Oct 2017 15:47:15 -0700 Organization: UCLA Computer Science Department Message-ID: <0648ed49-af37-e64c-9b9b-33f290d35dca@cs.ucla.edu> References: <837ewh8x5z.fsf@gnu.org> <87r2upd2h5.fsf@gmail.com> <83a81d7666.fsf@gnu.org> <87h8vl1db2.fsf@gmail.com> <873771wm1y.fsf@gmail.com> <87vajwvej8.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------38EC9992997778A45D891A50" X-Trace: blaine.gmane.org 1507070892 26692 195.159.176.226 (3 Oct 2017 22:48:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Oct 2017 22:48:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 Cc: jwiegley@gmail.com, 28597@debbugs.gnu.org, nljlistbox2@gmail.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 04 00:48:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzVyv-0006HC-Lr for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Oct 2017 00:48:06 +0200 Original-Received: from localhost ([::1]:60561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzVz2-00070G-Le for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Oct 2017 18:48:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzVyw-000709-TE for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 18:48:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzVys-0006lS-O4 for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 18:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzVys-0006kx-JG for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 18:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzVys-0003F6-6v for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2017 18:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Oct 2017 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28597-submit@debbugs.gnu.org id=B28597.150707085312415 (code B ref 28597); Tue, 03 Oct 2017 22:48:02 +0000 Original-Received: (at 28597) by debbugs.gnu.org; 3 Oct 2017 22:47:33 +0000 Original-Received: from localhost ([127.0.0.1]:46980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzVyL-0003E5-5Z for submit@debbugs.gnu.org; Tue, 03 Oct 2017 18:47:33 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:41960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzVyF-0003Dm-SA for 28597@debbugs.gnu.org; Tue, 03 Oct 2017 18:47:28 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0BA65160D98; Tue, 3 Oct 2017 15:47:18 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 76gcz7_85LL7; Tue, 3 Oct 2017 15:47:16 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E8C6C160E11; Tue, 3 Oct 2017 15:47:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ze0H1D4ZYsnS; Tue, 3 Oct 2017 15:47:15 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id C73CE160D98; Tue, 3 Oct 2017 15:47:15 -0700 (PDT) In-Reply-To: <87vajwvej8.fsf@gmail.com> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137864 Archived-At: This is a multi-part message in MIME format. --------------38EC9992997778A45D891A50 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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. --------------38EC9992997778A45D891A50 Content-Type: text/x-patch; name="0001-Warn-if-without-pop-is-now-the-default.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Warn-if-without-pop-is-now-the-default.patch" >From bbc889f07fa1cc516480d5958ece89997c87cdeb Mon Sep 17 00:00:00 2001 From: Paul Eggert 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 . 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 - and $emacs_fix_movemail";; + and $emacs_fix_movemail";; esac AC_MSG_NOTICE([You might want to $emacs_fix_movemail.]);; esac -- 2.13.6 --------------38EC9992997778A45D891A50--