Mon Jul 26 12:38:42 2010 UTC ()
Update py-Paste to 1.7.4.
While here, set LICENSE=mit.

1.7.4
-----

* Fix XSS bug (security issue) with not found handlers for
  :class:`paste.urlparser.StaticURLParser` and
  :class:`paste.urlmap.URLMap`.  If you ask for a path with
  ``/--><script>...`` that will be inserted in the error page and can
  execute Javascript.  Reported by Tim Wintle.

* Replaced :func:`paste.util.mimeparse.desired_match`

1.7.3.1
-------

* Removed directory name from 404 errors in
  :class:`paste.urlparser.StaticURLParser`.

* Fixed packaging to include Javascript and images for
  :mod:`paste.evalexception`

1.7.3
-----

* I got a fever and the only prescription is more :mod:`paste.cowbell`!

* Fix :mod:`paste.httpserver` on Python 2.6.

* Fix :mod:`paste.auth.cookie`, which would insert newlines for long
  cookies.

* :mod:`paste.util.mimeparse` parses a single ``*`` in Accept headers
  (sent by IE 6).

* Fix some problems with the ``wdg_validate`` middleware.

* Improvements to :mod:`paste.auth.auth_tkt`: add httponly support,
  don't always aggressively set cookies without the
  ``wildcard_cookie`` option.  Also on logout, make cookies expire.

* In :class:`paste.proxy.Proxy` handle Content-Length of -1.

* In :mod:`paste.httpexceptions` avoid some unicode errors.

* In :mod:`paste.httpserver` handle ``.read()`` from 100 Continue
  properly (because of a typo it was doing a readline).

* Update ``paste.util.mimeparse`` from `upstream
  <http://code.google.com/p/mimeparse/>`_.


(obache)
diff -r1.6 -r1.7 pkgsrc/www/py-paste/Makefile
diff -r1.4 -r1.5 pkgsrc/www/py-paste/PLIST
diff -r1.2 -r1.3 pkgsrc/www/py-paste/distinfo

cvs diff -r1.6 -r1.7 pkgsrc/www/py-paste/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-paste/Makefile 2009/11/10 17:08:24 1.6
+++ pkgsrc/www/py-paste/Makefile 2010/07/26 12:38:42 1.7
@@ -1,15 +1,16 @@ @@ -1,15 +1,16 @@
1# $NetBSD: Makefile,v 1.6 2009/11/10 17:08:24 epg Exp $ 1# $NetBSD: Makefile,v 1.7 2010/07/26 12:38:42 obache Exp $
2 2
3DISTNAME= Paste-1.7.2 3DISTNAME= Paste-1.7.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= http://pypi.python.org/packages/source/P/Paste/ 6MASTER_SITES= http://pypi.python.org/packages/source/P/Paste/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://pythonpaste.org/ 9HOMEPAGE= http://pythonpaste.org/
10COMMENT= Middleware for Python WSGI applications 10COMMENT= Middleware for Python WSGI applications
 11LICENSE= mit
11 12
12PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
13 14
14.include "../../lang/python/egg.mk" 15.include "../../lang/python/egg.mk"
15.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/www/py-paste/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-paste/PLIST 2009/06/14 22:00:32 1.4
+++ pkgsrc/www/py-paste/PLIST 2010/07/26 12:38:42 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.4 2009/06/14 22:00:32 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.5 2010/07/26 12:38:42 obache Exp $
2${PYSITELIB}/${EGG_NAME}-nspkg.pth 2${PYSITELIB}/${EGG_NAME}-nspkg.pth
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt 7${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
8${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 8${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
9${PYSITELIB}/${EGG_INFODIR}/requires.txt 9${PYSITELIB}/${EGG_INFODIR}/requires.txt
10${PYSITELIB}/${EGG_INFODIR}/top_level.txt 10${PYSITELIB}/${EGG_INFODIR}/top_level.txt
11${PYSITELIB}/paste/auth/__init__.py 11${PYSITELIB}/paste/auth/__init__.py
12${PYSITELIB}/paste/auth/__init__.pyc 12${PYSITELIB}/paste/auth/__init__.pyc
13${PYSITELIB}/paste/auth/__init__.pyo 13${PYSITELIB}/paste/auth/__init__.pyo
14${PYSITELIB}/paste/auth/auth_tkt.py 14${PYSITELIB}/paste/auth/auth_tkt.py
@@ -40,26 +40,29 @@ ${PYSITELIB}/paste/auth/open_id.pyc @@ -40,26 +40,29 @@ ${PYSITELIB}/paste/auth/open_id.pyc
40${PYSITELIB}/paste/auth/open_id.pyo 40${PYSITELIB}/paste/auth/open_id.pyo
41${PYSITELIB}/paste/cascade.py 41${PYSITELIB}/paste/cascade.py
42${PYSITELIB}/paste/cascade.pyc 42${PYSITELIB}/paste/cascade.pyc
43${PYSITELIB}/paste/cascade.pyo 43${PYSITELIB}/paste/cascade.pyo
44${PYSITELIB}/paste/cgiapp.py 44${PYSITELIB}/paste/cgiapp.py
45${PYSITELIB}/paste/cgiapp.pyc 45${PYSITELIB}/paste/cgiapp.pyc
46${PYSITELIB}/paste/cgiapp.pyo 46${PYSITELIB}/paste/cgiapp.pyo
47${PYSITELIB}/paste/cgitb_catcher.py 47${PYSITELIB}/paste/cgitb_catcher.py
48${PYSITELIB}/paste/cgitb_catcher.pyc 48${PYSITELIB}/paste/cgitb_catcher.pyc
49${PYSITELIB}/paste/cgitb_catcher.pyo 49${PYSITELIB}/paste/cgitb_catcher.pyo
50${PYSITELIB}/paste/config.py 50${PYSITELIB}/paste/config.py
51${PYSITELIB}/paste/config.pyc 51${PYSITELIB}/paste/config.pyc
52${PYSITELIB}/paste/config.pyo 52${PYSITELIB}/paste/config.pyo
 53${PYSITELIB}/paste/cowbell/__init__.py
 54${PYSITELIB}/paste/cowbell/__init__.pyc
 55${PYSITELIB}/paste/cowbell/__init__.pyo
53${PYSITELIB}/paste/debug/__init__.py 56${PYSITELIB}/paste/debug/__init__.py
54${PYSITELIB}/paste/debug/__init__.pyc 57${PYSITELIB}/paste/debug/__init__.pyc
55${PYSITELIB}/paste/debug/__init__.pyo 58${PYSITELIB}/paste/debug/__init__.pyo
56${PYSITELIB}/paste/debug/debugapp.py 59${PYSITELIB}/paste/debug/debugapp.py
57${PYSITELIB}/paste/debug/debugapp.pyc 60${PYSITELIB}/paste/debug/debugapp.pyc
58${PYSITELIB}/paste/debug/debugapp.pyo 61${PYSITELIB}/paste/debug/debugapp.pyo
59${PYSITELIB}/paste/debug/doctest_webapp.py 62${PYSITELIB}/paste/debug/doctest_webapp.py
60${PYSITELIB}/paste/debug/doctest_webapp.pyc 63${PYSITELIB}/paste/debug/doctest_webapp.pyc
61${PYSITELIB}/paste/debug/doctest_webapp.pyo 64${PYSITELIB}/paste/debug/doctest_webapp.pyo
62${PYSITELIB}/paste/debug/fsdiff.py 65${PYSITELIB}/paste/debug/fsdiff.py
63${PYSITELIB}/paste/debug/fsdiff.pyc 66${PYSITELIB}/paste/debug/fsdiff.pyc
64${PYSITELIB}/paste/debug/fsdiff.pyo 67${PYSITELIB}/paste/debug/fsdiff.pyo
65${PYSITELIB}/paste/debug/prints.py 68${PYSITELIB}/paste/debug/prints.py
@@ -76,34 +79,33 @@ ${PYSITELIB}/paste/debug/watchthreads.py @@ -76,34 +79,33 @@ ${PYSITELIB}/paste/debug/watchthreads.py
76${PYSITELIB}/paste/debug/watchthreads.pyo 79${PYSITELIB}/paste/debug/watchthreads.pyo
77${PYSITELIB}/paste/debug/wdg_validate.py 80${PYSITELIB}/paste/debug/wdg_validate.py
78${PYSITELIB}/paste/debug/wdg_validate.pyc 81${PYSITELIB}/paste/debug/wdg_validate.pyc
79${PYSITELIB}/paste/debug/wdg_validate.pyo 82${PYSITELIB}/paste/debug/wdg_validate.pyo
80${PYSITELIB}/paste/errordocument.py 83${PYSITELIB}/paste/errordocument.py
81${PYSITELIB}/paste/errordocument.pyc 84${PYSITELIB}/paste/errordocument.pyc
82${PYSITELIB}/paste/errordocument.pyo 85${PYSITELIB}/paste/errordocument.pyo
83${PYSITELIB}/paste/evalexception/__init__.py 86${PYSITELIB}/paste/evalexception/__init__.py
84${PYSITELIB}/paste/evalexception/__init__.pyc 87${PYSITELIB}/paste/evalexception/__init__.pyc
85${PYSITELIB}/paste/evalexception/__init__.pyo 88${PYSITELIB}/paste/evalexception/__init__.pyo
86${PYSITELIB}/paste/evalexception/evalcontext.py 89${PYSITELIB}/paste/evalexception/evalcontext.py
87${PYSITELIB}/paste/evalexception/evalcontext.pyc 90${PYSITELIB}/paste/evalexception/evalcontext.pyc
88${PYSITELIB}/paste/evalexception/evalcontext.pyo 91${PYSITELIB}/paste/evalexception/evalcontext.pyo
 92${PYSITELIB}/paste/evalexception/media/MochiKit.packed.js
89${PYSITELIB}/paste/evalexception/media/debug.js 93${PYSITELIB}/paste/evalexception/media/debug.js
90${PYSITELIB}/paste/evalexception/media/minus.jpg 94${PYSITELIB}/paste/evalexception/media/minus.jpg
91${PYSITELIB}/paste/evalexception/media/plus.jpg 95${PYSITELIB}/paste/evalexception/media/plus.jpg
92${PYSITELIB}/paste/evalexception/middleware.py 96${PYSITELIB}/paste/evalexception/middleware.py
93${PYSITELIB}/paste/evalexception/middleware.pyc 97${PYSITELIB}/paste/evalexception/middleware.pyc
94${PYSITELIB}/paste/evalexception/middleware.pyo 98${PYSITELIB}/paste/evalexception/middleware.pyo
95${PYSITELIB}/paste/evalexception/mochikit/MochiKit.js 
96${PYSITELIB}/paste/evalexception/mochikit/__package__.js 
97${PYSITELIB}/paste/exceptions/__init__.py 99${PYSITELIB}/paste/exceptions/__init__.py
98${PYSITELIB}/paste/exceptions/__init__.pyc 100${PYSITELIB}/paste/exceptions/__init__.pyc
99${PYSITELIB}/paste/exceptions/__init__.pyo 101${PYSITELIB}/paste/exceptions/__init__.pyo
100${PYSITELIB}/paste/exceptions/collector.py 102${PYSITELIB}/paste/exceptions/collector.py
101${PYSITELIB}/paste/exceptions/collector.pyc 103${PYSITELIB}/paste/exceptions/collector.pyc
102${PYSITELIB}/paste/exceptions/collector.pyo 104${PYSITELIB}/paste/exceptions/collector.pyo
103${PYSITELIB}/paste/exceptions/errormiddleware.py 105${PYSITELIB}/paste/exceptions/errormiddleware.py
104${PYSITELIB}/paste/exceptions/errormiddleware.pyc 106${PYSITELIB}/paste/exceptions/errormiddleware.pyc
105${PYSITELIB}/paste/exceptions/errormiddleware.pyo 107${PYSITELIB}/paste/exceptions/errormiddleware.pyo
106${PYSITELIB}/paste/exceptions/formatter.py 108${PYSITELIB}/paste/exceptions/formatter.py
107${PYSITELIB}/paste/exceptions/formatter.pyc 109${PYSITELIB}/paste/exceptions/formatter.pyc
108${PYSITELIB}/paste/exceptions/formatter.pyo 110${PYSITELIB}/paste/exceptions/formatter.pyo
109${PYSITELIB}/paste/exceptions/reporter.py 111${PYSITELIB}/paste/exceptions/reporter.py

cvs diff -r1.2 -r1.3 pkgsrc/www/py-paste/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-paste/distinfo 2009/11/10 17:08:24 1.2
+++ pkgsrc/www/py-paste/distinfo 2010/07/26 12:38:42 1.3
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.2 2009/11/10 17:08:24 epg Exp $ 1$NetBSD: distinfo,v 1.3 2010/07/26 12:38:42 obache Exp $
2 2
3SHA1 (Paste-1.7.2.tar.gz) = 4c7d6d76ec0fe76d57c525101c6f9ff6ebf4a93c 3SHA1 (Paste-1.7.4.tar.gz) = df6114f419ce5b162a6e6e29d5a824d699448346
4RMD160 (Paste-1.7.2.tar.gz) = 10deddbb5ef3ccd220c6c0cdb594efd35045fdea 4RMD160 (Paste-1.7.4.tar.gz) = 35bf95f00a687f619717a2ba571dbc5aae137429
5Size (Paste-1.7.2.tar.gz) = 373556 bytes 5Size (Paste-1.7.4.tar.gz) = 517556 bytes