>From 8b194e2ce9850c40f75d8a79aa6fc952971710b7 Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Sun, 30 Aug 2015 11:31:21 -0700 Subject: [PATCH 1/2] Use HTTPS when talking to elpa.gnu.org * emacs-lisp/package.el (package-archive-base): Point to https://elpa.gnu.org. * notes/elpa: Use "https" instead of "http" in full URL. --- admin/notes/elpa | 2 +- etc/NEWS | 2 ++ lisp/emacs-lisp/package.el | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/notes/elpa b/admin/notes/elpa index 3922604..cbd9861 100644 --- a/admin/notes/elpa +++ b/admin/notes/elpa @@ -10,7 +10,7 @@ repository named "elpa", hosted on Savannah. To check it out: Changes to this branch propagate to elpa.gnu.org via a "deployment" script run daily. This script (which is kept in elpa/admin/update-archive.sh) generates -the content visible at http://elpa.gnu.org/packages. +the content visible at https://elpa.gnu.org/packages. A new package is released as soon as the "version number" of that package is changed. So you can use `elpa' to work on a package without fear of releasing diff --git a/etc/NEWS b/etc/NEWS index 408286a..690126c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -398,6 +398,8 @@ packages from `package-selected-packages' which are currently missing. *** New command `package-autoremove' removes all packages which were installed strictly as dependencies but are no longer needed. +*** elpa.gnu.org is now fetched over HTTPS by default. + ** Shell When you invoke `shell' interactively, the *shell* buffer will now diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 7c4f21f..445af4e 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -204,7 +204,7 @@ If VERSION is nil, the package is not loaded (it is \"disabled\")." :risky t :version "24.1") -(defcustom package-archives '(("gnu" . "http://elpa.gnu.org/packages/")) +(defcustom package-archives '(("gnu" . "https://elpa.gnu.org/packages/")) "An alist of archives from which to fetch. The default value points to the GNU Emacs package repository. -- 2.5.1