summaryrefslogtreecommitdiff
path: root/dev-python/python-report/files/python-report-0.23-kogaion-config.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:54:17 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:54:17 +0200
commit5a01792340999d37435f5000a3f6b8e0f2d11815 (patch)
tree4bcca1f73cc4ab721b3c31ea81585917f909ebc7 /dev-python/python-report/files/python-report-0.23-kogaion-config.patch
parent86c8d1f28bd2b785ccbb28f41c4e0763d062ba2f (diff)
Added the full elimination of sabayon-version
Diffstat (limited to 'dev-python/python-report/files/python-report-0.23-kogaion-config.patch')
-rw-r--r--dev-python/python-report/files/python-report-0.23-kogaion-config.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/python-report/files/python-report-0.23-kogaion-config.patch b/dev-python/python-report/files/python-report-0.23-kogaion-config.patch
new file mode 100644
index 00000000..dcc99773
--- /dev/null
+++ b/dev-python/python-report/files/python-report-0.23-kogaion-config.patch
@@ -0,0 +1,55 @@
+--- a/etc/Makefile.am
++++ b/etc/Makefile.am
+@@ -1,11 +1,9 @@
+ nobase_dist_sysconf_DATA = \
+-report.d/bugzilla.redhat.com.conf \
+-report.d/RHEL-bugzilla.redhat.com.conf \
++report.d/bugs.rogentos.ro.conf \
+ report.conf \
+ report.d/ftp.conf \
+ report.d/scp.conf \
+ report.d/localsave.conf \
+-report.d/strata-test.conf \
+-report.d/RHEL.conf
++report.d/strata-test.conf
+
+ dist_man_MANS = report.conf.5
+--- a/etc/report.d/bugs.rogentos.ro.conf
++++ b/etc/report.d/bugs.rogentos.ro.conf
+@@ -0,0 +1,7 @@
++[bugs.rogentos.ro]
++# plugin
++plugin=bugzilla
++
++# rhbz url
++bugzilla_host=bugs.rogentos.ro
++
+--- a/python/report/plugins/bugzilla/__init__.py
++++ b/python/report/plugins/bugzilla/__init__.py
+@@ -1,5 +1,5 @@
+ """
+- A Report plugin to send a report to bugzilla.redhat.com.
++ A Report plugin to send a report to bugs.rogentos.ro.
+ Copyright (C) 2009 Red Hat, Inc
+
+ Author(s): Gavin Romig-Koch <gavin@redhat.com>
+@@ -54,7 +54,7 @@ def displayURL(optionsDict):
+ def bugURL(optionsDict):
+ if 'bugURL' in optionsDict:
+ return optionsDict["bugURL"]
+- host = "bugzilla.redhat.com"
++ host = "bugs.rogentos.ro"
+ if 'bugzilla_host' in optionsDict:
+ host = optionsDict["bugzilla_host"]
+ return "https://" + host + "/xmlrpc.cgi"
+@@ -149,8 +149,8 @@ def sendToBugzilla(component, signature,
+ else:
+ version = filer.getVersion()
+
+- bzfiler = filer.BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi",
+- "http://bugzilla.redhat.com",
++ bzfiler = filer.BugzillaFiler("https://bugs.rogentos.ro/xmlrpc.cgi",
++ "http://bugs.rogentos.ro",
+ version, product)
+
+ if not bzfiler or not bzfiler.supportsFiling() or not bzfiler.bugUrl: