mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/fedmsg: Added at version 0.18.0
Configuration optimised for making anitya (https://release-monitoring.org) work out of the box: This includes disabling verification by default, as its currently impossible to get x509 verification working on Python 3.5 People who want signature verification enabled are encouraged to install for python 2.7, and RDEPEND is configured to automatically pull in m2crypto if you opt to build for python 2.7 However, getting it working will still require m2ext being added to tree somewhere, which is dubious given m2ext hasn't been touched since 2012 Package-Manager: portage-2.3.2
This commit is contained in:
39
dev-python/fedmsg/files/0.18.0-endpoints.patch
Normal file
39
dev-python/fedmsg/files/0.18.0-endpoints.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
From 8bc5cbaa977b8de962f68ef84f6c8fadcb369c85 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentfredric@gmail.com>
|
||||
Date: Sun, 13 Nov 2016 09:12:20 +1300
|
||||
Subject: [PATCH 1/2] Adjust endpoints to be more suited to gentoo users
|
||||
|
||||
---
|
||||
fedmsg.d/endpoints.py | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/fedmsg.d/endpoints.py b/fedmsg.d/endpoints.py
|
||||
index 72c182a..c4eab16 100644
|
||||
--- a/fedmsg.d/endpoints.py
|
||||
+++ b/fedmsg.d/endpoints.py
|
||||
@@ -24,15 +24,15 @@ config = dict(
|
||||
endpoints={
|
||||
# These are here so your local box can listen to the upstream
|
||||
# infrastructure's bus. Cool, right? :)
|
||||
- "fedora-infrastructure": [
|
||||
- "tcp://hub.fedoraproject.org:9940",
|
||||
- #"tcp://stg.fedoraproject.org:9940",
|
||||
- ],
|
||||
+ #"fedora-infrastructure": [
|
||||
+ # "tcp://hub.fedoraproject.org:9940",
|
||||
+ # #"tcp://stg.fedoraproject.org:9940",
|
||||
+ #],
|
||||
#"debian-infrastructure": [
|
||||
# "tcp://fedmsg.olasd.eu:9940",
|
||||
#],
|
||||
- #"anitya-public-relay": [
|
||||
- # "tcp://release-monitoring.org:9940",
|
||||
- #],
|
||||
+ "anitya-public-relay": [
|
||||
+ "tcp://release-monitoring.org:9940",
|
||||
+ ],
|
||||
},
|
||||
)
|
||||
--
|
||||
2.10.2
|
||||
|
||||
29
dev-python/fedmsg/files/0.18.0-no_signatures.patch
Normal file
29
dev-python/fedmsg/files/0.18.0-no_signatures.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From 8f61441ba94f7f0bd2b2a1c900e20db038b7085f Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentfredric@gmail.com>
|
||||
Date: Sun, 13 Nov 2016 09:23:58 +1300
|
||||
Subject: [PATCH 2/2] Disable signature validation
|
||||
|
||||
Signature validation currently requires M2Crypto and M2Ext,
|
||||
which are *only* available on Python2
|
||||
|
||||
Python3 Implementations of Signature Validation appear currently broken
|
||||
---
|
||||
fedmsg.d/ssl.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/fedmsg.d/ssl.py b/fedmsg.d/ssl.py
|
||||
index c148667..f635ffb 100644
|
||||
--- a/fedmsg.d/ssl.py
|
||||
+++ b/fedmsg.d/ssl.py
|
||||
@@ -25,7 +25,7 @@ here = os.getcwd()
|
||||
|
||||
config = dict(
|
||||
sign_messages=False,
|
||||
- validate_signatures=True,
|
||||
+ validate_signatures=False,
|
||||
|
||||
# Use these implementations to sign and validate messages
|
||||
crypto_backend='x509',
|
||||
--
|
||||
2.10.2
|
||||
|
||||
Reference in New Issue
Block a user