From nobody Thu May 15 04:24:56 2025
Delivered-To: importer@patchew.org
Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28
as permitted sender) client-ip=209.132.183.28;
envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com;
Authentication-Results: mx.zohomail.com;
spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as
permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com
Return-Path:
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by
mx.zohomail.com
with SMTPS id 1507908974995317.11049768549697;
Fri, 13 Oct 2017 08:36:14 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com
[10.5.11.11])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 924F77F409;
Fri, 13 Oct 2017 15:36:13 +0000 (UTC)
Received: from colo-mx.corp.redhat.com
(colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 638BD6047F;
Fri, 13 Oct 2017 15:36:13 +0000 (UTC)
Received: from lists01.pubmisc.prod.ext.phx2.redhat.com
(lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33])
by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2747418355DC;
Fri, 13 Oct 2017 15:36:13 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com
[10.5.11.11])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id v9DFWlT1021739 for ;
Fri, 13 Oct 2017 11:32:47 -0400
Received: by smtp.corp.redhat.com (Postfix)
id B75A219EF6; Fri, 13 Oct 2017 15:32:47 +0000 (UTC)
Received: from localhost.localdomain.com (unknown [10.42.22.189])
by smtp.corp.redhat.com (Postfix) with ESMTP id 7E7186047F;
Fri, 13 Oct 2017 15:32:46 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 924F77F409
Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com;
dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com;
spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com
From: "Daniel P. Berrange"
To: libvir-list@redhat.com
Date: Fri, 13 Oct 2017 16:32:44 +0100
Message-Id: <20171013153244.12868-1-berrange@redhat.com>
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-loop: libvir-list@redhat.com
Subject: [libvirt] [PATCH] Use https:// links for most sites
X-BeenThere: libvir-list@redhat.com
X-Mailman-Version: 2.1.12
Precedence: junk
List-Id: Development discussions about the libvirt library & tools
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Sender: libvir-list-bounces@redhat.com
Errors-To: libvir-list-bounces@redhat.com
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted,
not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]);
Fri, 13 Oct 2017 15:36:14 +0000 (UTC)
X-ZohoMail: RSF_0 Z_629925259 SPT_0
Content-Type: text/plain; charset="utf-8"
This adds a rule to require https links for the libvirt, qemu
and kvm websites.
Signed-off-by: Daniel P. Berrange
Reviewed-by: Eric Blake
---
cfg.mk | 20 +++++++++
configure.ac | 2 +-
daemon/libvirtd.conf | 2 +-
daemon/libvirtd.init.in | 4 +-
daemon/libvirtd.pod | 6 +--
daemon/libvirtd.service.in | 2 +-
daemon/virt-guest-shutdown.target | 2 +-
docs/404.html.in | 2 +-
docs/aclpolkit.html.in | 2 +-
docs/api_extension.html.in | 2 +-
docs/apps.html.in | 2 +-
docs/bindings.html.in | 10 ++---
docs/csharp.html.in | 6 +--
docs/devguide.html.in | 14 +++---
docs/devhelp/html.xsl | 4 +-
docs/docs.html.in | 4 +-
docs/downloads.html.in | 92 +++++++++++++++++++----------------=
----
docs/drvlxc.html.in | 2 +-
docs/drvqemu.html.in | 8 ++--
docs/formatdomain.html.in | 2 +-
docs/hacking.html.in | 2 +-
docs/internals/eventloop.html.in | 4 +-
docs/java.html.in | 12 ++---
docs/news-2005.html.in | 2 +-
docs/news-2006.html.in | 2 +-
docs/news-2007.html.in | 4 +-
docs/news-2008.html.in | 2 +-
docs/news-2009.html.in | 2 +-
docs/news-2010.html.in | 2 +-
docs/news-2011.html.in | 2 +-
docs/news-2012.html.in | 2 +-
docs/news-2013.html.in | 2 +-
docs/news-2014.html.in | 2 +-
docs/news-2015.html.in | 2 +-
docs/news-2016.html.in | 2 +-
docs/news-html.xsl | 2 +-
docs/php.html.in | 6 +--
docs/securityprocess.html.in | 2 +-
docs/testapi.html.in | 4 +-
docs/testsuites.html.in | 4 +-
docs/testtck.html.in | 2 +-
docs/virshcmdref.html.in | 24 +++++-----
docs/windows.html.in | 2 +-
src/access/genpolkit.pl | 2 +-
src/libvirt.c | 6 +--
src/locking/virtlockd.pod | 6 +--
src/locking/virtlockd.service.in | 2 +-
src/logging/virtlogd.pod | 6 +--
src/logging/virtlogd.service.in | 2 +-
src/qemu/qemu_command.c | 2 +-
src/util/virstoragefile.c | 2 +-
tests/virconfdata/libvirtd.conf | 2 +-
tests/virconfdata/libvirtd.out | 2 +-
tools/libvirt-guests.init.in | 4 +-
tools/libvirt-guests.service.in | 2 +-
tools/virsh.c | 2 +-
tools/virsh.pod | 40 ++++++++---------
tools/virt-admin.c | 2 +-
tools/virt-admin.pod | 8 ++--
tools/virt-host-validate.pod | 4 +-
tools/virt-login-shell.pod | 6 +--
tools/virt-pki-validate.in | 10 ++---
tools/virt-pki-validate.pod | 6 +--
tools/virt-sanlock-cleanup.pod | 6 +--
tools/virt-xml-validate.pod | 6 +--
tools/wireshark/README.md | 2 +-
66 files changed, 214 insertions(+), 194 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index 0f4065b98a..e0e52a0786 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -1020,6 +1020,26 @@ sc_prohibit_obj_free_apis_in_virsh:
halt=3D'avoid using virDomain(Snapshot)Free in virsh, use virsh-prefixed =
wrappers instead' \
$(_sc_search_regexp)
=20
+https_sites =3D www.libvirt.org
+https_sites +=3D libvirt.org
+https_sites +=3D security.libvirt.org
+https_sites +=3D qemu.org
+https_sites +=3D www.qemu.org
+https_sites +=3D wiki.qemu.org
+https_sites +=3D linux-kvm.org
+https_sites +=3D www.linux-kvm.org
+
+https_re=3D ($(subst $(space),|,$(https_sites)))
+
+foo:
+ echo "$(https_re)"
+
+sc_prohibit_http_urls:
+ @prohibit=3D'http://$(https_re)' \
+ exclude=3D"/schemas/" \
+ halt=3D'Links must use https:// protocol' \
+ $(_sc_search_regexp)
+
# We don't use this feature of maint.mk.
prev_version_file =3D /dev/null
=20
diff --git a/configure.ac b/configure.ac
index 4f420cf8d9..ebe3318e07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU Lesser Gen=
eral Public
dnl License along with this library. If not, see
dnl .
=20
-AC_INIT([libvirt], [3.9.0], [libvir-list@redhat.com], [], [http://libvirt.=
org])
+AC_INIT([libvirt], [3.9.0], [libvir-list@redhat.com], [], [https://libvirt=
.org])
AC_CONFIG_SRCDIR([src/libvirt.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
diff --git a/daemon/libvirtd.conf b/daemon/libvirtd.conf
index 8a1b3a92db..8e0c0d96d2 100644
--- a/daemon/libvirtd.conf
+++ b/daemon/libvirtd.conf
@@ -1,6 +1,6 @@
# Master libvirt daemon configuration file
#
-# For further information consult http://libvirt.org/format.html
+# For further information consult https://libvirt.org/format.html
#
# NOTE: the tests/daemon-conf regression test script requires
# that each "PARAMETER =3D VALUE" line in this file have the parameter
diff --git a/daemon/libvirtd.init.in b/daemon/libvirtd.init.in
index 164732905d..d81dca6f2e 100644
--- a/daemon/libvirtd.init.in
+++ b/daemon/libvirtd.init.in
@@ -14,7 +14,7 @@
# Short-Description: daemon for libvirt virtualization API
# Description: This is a daemon for managing guest instances
# and libvirt virtual networks
-# See http://libvirt.org
+# See https://libvirt.org
### END INIT INFO
=20
# the following is chkconfig init header
@@ -24,7 +24,7 @@
# chkconfig: 345 97 03
# description: This is a daemon for managing guest instances \
# and libvirt virtual networks \
-# See http://libvirt.org
+# See https://libvirt.org
#
# processname: libvirtd
# pidfile: @localstatedir@/run/libvirtd.pid
diff --git a/daemon/libvirtd.pod b/daemon/libvirtd.pod
index 8d3fbd13d2..4721e0f4ec 100644
--- a/daemon/libvirtd.pod
+++ b/daemon/libvirtd.pod
@@ -166,7 +166,7 @@ Please report all bugs you discover. This should be do=
ne via either:
=20
=3Ditem a) the mailing list
=20
-L
+L
=20
=3Ditem or,
=20
@@ -174,7 +174,7 @@ B<>
=20
=3Ditem b) the bug tracker
=20
-L
+L
=20
=3Ditem Alternatively, you may report bugs to your software distributor / =
vendor.
=20
@@ -199,6 +199,6 @@ PURPOSE
=3Dhead1 SEE ALSO
=20
L, L, L, L,
-L, L
+L, L
=20
=3Dcut
diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in
index fbaf02f3bf..c189f5e653 100644
--- a/daemon/libvirtd.service.in
+++ b/daemon/libvirtd.service.in
@@ -15,7 +15,7 @@ After=3Dapparmor.service
After=3Dlocal-fs.target
After=3Dremote-fs.target
Documentation=3Dman:libvirtd(8)
-Documentation=3Dhttp://libvirt.org
+Documentation=3Dhttps://libvirt.org
=20
[Service]
Type=3Dnotify
diff --git a/daemon/virt-guest-shutdown.target b/daemon/virt-guest-shutdown=
.target
index bf876527b5..25d4aaa267 100644
--- a/daemon/virt-guest-shutdown.target
+++ b/daemon/virt-guest-shutdown.target
@@ -1,3 +1,3 @@
[Unit]
Description=3DLibvirt guests shutdown
-Documentation=3Dhttp://libvirt.org
+Documentation=3Dhttps://libvirt.org
diff --git a/docs/404.html.in b/docs/404.html.in
index bdffff601b..0ac76f125a 100644
--- a/docs/404.html.in
+++ b/docs/404.html.in
@@ -9,7 +9,7 @@
page you were looking for. You might want to try
- - going back to the home page =
to find
+
- going back to the home page=
to find
a collection of links to interesting pages on this site
- using the search box at the top right corner of the screen to
locate the content on this site or mailing list archives
diff --git a/docs/aclpolkit.html.in b/docs/aclpolkit.html.in
index 05e3b88150..0e3c8e971f 100644
--- a/docs/aclpolkit.html.in
+++ b/docs/aclpolkit.html.in
@@ -354,7 +354,7 @@ polkit.addRule(function(action, subject) {
=20
See
- source code
+ source code
for a more complex example.
=20
diff --git a/docs/api_extension.html.in b/docs/api_extension.html.in
index 3b37e7bec6..9beec07602 100644
--- a/docs/api_extension.html.in
+++ b/docs/api_extension.html.in
@@ -44,7 +44,7 @@
=20
- http://libvirt.org/dow=
nloads.html
+ https://libvirt.org/d=
ownloads.html
=20
diff --git a/docs/apps.html.in b/docs/apps.html.in
index df473636ea..60edeb3af4 100644
--- a/docs/apps.html.in
+++ b/docs/apps.html.in
@@ -327,7 +327,7 @@
Allows using simple ruby objects to manipulate
hypervisors, guests, storage, network etc. It is
based on top of
- the native ruby bindings.
+ the native ruby bindings.
=20
diff --git a/docs/bindings.html.in b/docs/bindings.html.in
index 203934b6aa..733c89bc20 100644
--- a/docs/bindings.html.in
+++ b/docs/bindings.html.in
@@ -24,7 +24,7 @@
-
OCaml: Richard Jones develops
- OCaml bindings.
+ OCaml bindings.
-
Perl: Daniel Berrange develops
@@ -33,7 +33,7 @@
-
PHP: Radek Hladik started developing
- PHP bindings in 2010.
+ PHP bindings in 2010.
In February 2011 the binding development has been moved to the l=
ibvirt.org website as
@@ -43,13 +43,13 @@
The project is now maintained by Michal Novotny and it's heavily=
based
on Radek's version. For more information, including
information on posting patches to libvirt-php, please refer
- to the PHP bindings site.
+ to the PHP bindings site.
-
Python: Libvirt's python bindings are split to a
- separate package
+ separate package
since version 1.2.0, older versions came with direct support for=
the
Python language.
@@ -70,7 +70,7 @@
-
Ruby: Chris Lalancette develops
- Ruby bindings.
+ Ruby bindings.
=20
diff --git a/docs/csharp.html.in b/docs/csharp.html.in
index 2f85fd2b7b..fcca255072 100644
--- a/docs/csharp.html.in
+++ b/docs/csharp.html.in
@@ -38,7 +38,7 @@
=20
-->
=20
@@ -46,7 +46,7 @@
The C# bindings source code is maintained in a git repository available on
- libvirt.org:
+ libvirt.org:
=20
@@ -58,7 +58,7 @@ git clone git://libvirt.org/libvirt-csharp.git
=20
-htt=
p://libvirt.org/git/?p=3Dlibvirt-csharp.git;a=3Dsummary
+ht=
tps://libvirt.org/git/?p=3Dlibvirt-csharp.git;a=3Dsummary
=20
diff --git a/docs/devguide.html.in b/docs/devguide.html.in
index b949f04a16..f460f1dd58 100644
--- a/docs/devguide.html.in
+++ b/docs/devguide.html.in
@@ -12,10 +12,10 @@
=20
=20
Contributing content
@@ -29,13 +29,13 @@
=20
# C language
-$ git clone git://libvirt.org/libvirt-appdev-guide.git
+$ git clone git://libvirt.org/libvirt-appdev-guide.git
=20
# Python language
-$ git clone git://libvirt.org/libvirt-appdev-guide-python.git
+$ git clone git://libvirt.org/libvirt-appdev-guide-python.git
=20
# Publican Style/Theme
-$ git clone g=
it://libvirt.org/libvirt-publican.git
+$ git clone =
git://libvirt.org/libvirt-publican.git
=20