summaryrefslogtreecommitdiff
path: root/www/py-moin
diff options
context:
space:
mode:
authorwiz <wiz>2012-06-03 22:49:50 +0000
committerwiz <wiz>2012-06-03 22:49:50 +0000
commitce6bcd472420c2df9340e1abd02e8e3d2fe98c0c (patch)
treef08de2e0d23d312521ad3eec54269ffe61da0c6f /www/py-moin
parent975be76fa0ae302d35c9348459495f25cb3f3e15 (diff)
downloadpkgsrc-ce6bcd472420c2df9340e1abd02e8e3d2fe98c0c.tar.gz
Remove patches that are not needed after 1.9.4 update.
Diffstat (limited to 'www/py-moin')
-rw-r--r--www/py-moin/patches/patch-MoinMoin_parser_text__rst.py17
-rw-r--r--www/py-moin/patches/patch-MoinMoin_support_werkzeug_templates.py15
2 files changed, 0 insertions, 32 deletions
diff --git a/www/py-moin/patches/patch-MoinMoin_parser_text__rst.py b/www/py-moin/patches/patch-MoinMoin_parser_text__rst.py
deleted file mode 100644
index 695af4db8d5..00000000000
--- a/www/py-moin/patches/patch-MoinMoin_parser_text__rst.py
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-MoinMoin_parser_text__rst.py,v 1.1 2011/03/07 20:51:41 gls Exp $
-
-Security fix: XSS issue in rst parser CVE-2011-1058
-http://hg.moinmo.in/moin/1.9/rev/97208f67798f
-
---- MoinMoin/parser/text_rst.py.orig 2010-06-26 21:46:42.000000000 +0000
-+++ MoinMoin/parser/text_rst.py
-@@ -391,6 +391,9 @@ class MoinTranslator(html4css1.HTMLTrans
- # for images with targets).
- if not [i for i in node.children if i.__class__ == docutils.nodes.image]:
- node['classes'].append('interwiki')
-+ elif prefix == 'javascript':
-+ # is someone trying to do XSS with javascript?
-+ node['refuri'] = 'javascript:alert("it does not work")'
- elif prefix != '':
- # Some link scheme (http, file, https, mailto, etc.), add class
- # information if the reference doesn't have a child image (don't
diff --git a/www/py-moin/patches/patch-MoinMoin_support_werkzeug_templates.py b/www/py-moin/patches/patch-MoinMoin_support_werkzeug_templates.py
deleted file mode 100644
index e2116658094..00000000000
--- a/www/py-moin/patches/patch-MoinMoin_support_werkzeug_templates.py
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-MoinMoin_support_werkzeug_templates.py,v 1.1 2012/01/27 05:52:40 obache Exp $
-
-fix for python 2.7
- * http://hg.moinmo.in/moin/1.9/rev/a4a7f275b7b3
-
---- MoinMoin/support/werkzeug/templates.py.orig 2010-06-26 21:46:44.000000000 +0000
-+++ MoinMoin/support/werkzeug/templates.py
-@@ -12,7 +12,6 @@ import sys
- import re
- import __builtin__ as builtins
- from compiler import ast, parse
--from compiler.consts import SC_LOCAL, SC_GLOBAL, SC_FREE, SC_CELL
- from compiler.pycodegen import ModuleCodeGenerator
- from tokenize import PseudoToken
- from werkzeug import utils