Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: [gentoo-portage-dev] [PATCH] repoman: change metadata.dtd protocol to https
Date: Sun, 05 Apr 2015 06:31:56
Message-Id: 1428215485-27272-1-git-send-email-zmedico@gentoo.org
1 The old http uri redirects to the new https uri, so use the new https
2 uri directly.
3
4 X-Gentoo-Bug: 469888
5 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=469888
6 ---
7 bin/repoman | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/bin/repoman b/bin/repoman
11 index 7101a00..6074c91 100755
12 --- a/bin/repoman
13 +++ b/bin/repoman
14 @@ -503,7 +503,7 @@ metadata_xml_encoding = 'UTF-8'
15 metadata_xml_declaration = '<?xml version="1.0" encoding="%s"?>' % \
16 (metadata_xml_encoding,)
17 metadata_doctype_name = 'pkgmetadata'
18 -metadata_dtd_uri = 'http://www.gentoo.org/dtd/metadata.dtd'
19 +metadata_dtd_uri = 'https://www.gentoo.org/dtd/metadata.dtd'
20 # force refetch if the local copy creation time is older than this
21 metadata_dtd_ctime_interval = 60 * 60 * 24 * 7 # 7 days
22
23 --
24 2.3.1

Replies