diff options
author | taca <taca> | 2008-10-25 16:21:30 +0000 |
---|---|---|
committer | taca <taca> | 2008-10-25 16:21:30 +0000 |
commit | 7d86f1cadf58e26806c9d535ee25354d76ebeb92 (patch) | |
tree | a258eedfbbf70e4d15fc8d62435fea2064b59ad3 /www | |
parent | 7bfa3bb41cd7643184d4755955b990328599d16d (diff) | |
download | pkgsrc-7d86f1cadf58e26806c9d535ee25354d76ebeb92.tar.gz |
Update zope211 package to 2.11.2.
Zope 2.11.2 (2008/10/24)
Bugs Fixed
* Ensure that response header values cannot embed CRLF pairs,
which violate the HTTP spec (RFC 2616).
* Launchpad #282677: fixed implementation of guarded_map and provided
tests and implementation for guarded_zip (RestrictedPython).
* updated to ZODB 3.8.1
* Lauchpad #143736,#271395: fixed AttributeError' on _ltid in TempStorage
* AccessControl.ZopeGuards.guarded_import mapped some Unauthorized
exceptions onto ImportErrors: don't do that! Also, removed mutable
defaults from argument list, improved tests.
* LP #281156: AccessControl.SecurityInfo.secureModule dropped
ModuleSecurity for failed imports, obscuring later attempts to import
the same broken module.
* DateTime conversion of datetime objects with non-pytz
tzinfo. Timezones() returns a copy of the timezone list (allows tests
to run). (Backport of r89373 from trunk).
* LP #253362: better dealing with malformed HTTP_ACCEPT_CHARSET headers
* integrated Hotfix-2008-08-12
* Launchpad #267545: DateTime(DateTime()) now preserves the correct hour
* Launchpad #262313: respect the Expand macros when editing flag when
editing a page template through the ZMI
Diffstat (limited to 'www')
-rw-r--r-- | www/zope211/Makefile | 3 | ||||
-rw-r--r-- | www/zope211/PLIST | 10 | ||||
-rw-r--r-- | www/zope211/distinfo | 10 | ||||
-rw-r--r-- | www/zope211/patches/patch-aj | 19 | ||||
-rw-r--r-- | www/zope211/patches/patch-ak | 109 |
5 files changed, 14 insertions, 137 deletions
diff --git a/www/zope211/Makefile b/www/zope211/Makefile index b3e5421c722..8b41f06ac36 100644 --- a/www/zope211/Makefile +++ b/www/zope211/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2008/08/17 15:13:23 taca Exp $ +# $NetBSD: Makefile,v 1.4 2008/10/25 16:21:30 taca Exp $ # DISTNAME= Zope-${ZOPE211_VERSION}-final PKGNAME= ${ZOPE_PKG_PREFIX}-${ZOPE211_VERSION} -PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= http://www.zope.org/Products/Zope/${ZOPE211_VERSION}/ EXTRACT_SUFX= .tgz diff --git a/www/zope211/PLIST b/www/zope211/PLIST index b786fd57021..8ac1d590ca1 100644 --- a/www/zope211/PLIST +++ b/www/zope211/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2008/07/20 02:14:23 taca Exp $ +@comment $NetBSD: PLIST,v 1.3 2008/10/25 16:21:30 taca Exp $ ${ZOPE_DOC_BASE}/zeo/README.txt ${ZOPE_DOC_BASE}/zeo/ZopeREADME.txt ${ZOPE_DOC_BASE}/zeo/cache.txt @@ -397,6 +397,8 @@ ${ZOPE_BASE}/lib/python/BTrees/tests/testBTreesUnicode.py ${ZOPE_BASE}/lib/python/BTrees/tests/testBTreesUnicode.pyc ${ZOPE_BASE}/lib/python/BTrees/tests/testConflict.py ${ZOPE_BASE}/lib/python/BTrees/tests/testConflict.pyc +${ZOPE_BASE}/lib/python/BTrees/tests/testLength.py +${ZOPE_BASE}/lib/python/BTrees/tests/testLength.pyc ${ZOPE_BASE}/lib/python/BTrees/tests/testSetOps.py ${ZOPE_BASE}/lib/python/BTrees/tests/testSetOps.pyc ${ZOPE_BASE}/lib/python/BTrees/tests/test_btreesubclass.py @@ -1731,6 +1733,8 @@ ${ZOPE_BASE}/lib/python/Products/PythonScripts/help/standard.py ${ZOPE_BASE}/lib/python/Products/PythonScripts/help/standard.pyc ${ZOPE_BASE}/lib/python/Products/PythonScripts/module_access_examples.py ${ZOPE_BASE}/lib/python/Products/PythonScripts/module_access_examples.pyc +${ZOPE_BASE}/lib/python/Products/PythonScripts/patches.py +${ZOPE_BASE}/lib/python/Products/PythonScripts/patches.pyc ${ZOPE_BASE}/lib/python/Products/PythonScripts/standard.py ${ZOPE_BASE}/lib/python/Products/PythonScripts/standard.pyc ${ZOPE_BASE}/lib/python/Products/PythonScripts/tests/__init__.py @@ -2841,6 +2845,7 @@ ${ZOPE_BASE}/lib/python/ZEO/tests/deadlock.py ${ZOPE_BASE}/lib/python/ZEO/tests/deadlock.pyc ${ZOPE_BASE}/lib/python/ZEO/tests/forker.py ${ZOPE_BASE}/lib/python/ZEO/tests/forker.pyc +${ZOPE_BASE}/lib/python/ZEO/tests/invalidations_while_connecting.test ${ZOPE_BASE}/lib/python/ZEO/tests/multi.py ${ZOPE_BASE}/lib/python/ZEO/tests/multi.pyc ${ZOPE_BASE}/lib/python/ZEO/tests/registerDB.test @@ -2990,6 +2995,8 @@ ${ZOPE_BASE}/lib/python/ZODB/scripts/manual_tests/testzeopack.py ${ZOPE_BASE}/lib/python/ZODB/scripts/manual_tests/testzeopack.pyc ${ZOPE_BASE}/lib/python/ZODB/scripts/migrate.py ${ZOPE_BASE}/lib/python/ZODB/scripts/migrate.pyc +${ZOPE_BASE}/lib/python/ZODB/scripts/migrateblobs.py +${ZOPE_BASE}/lib/python/ZODB/scripts/migrateblobs.pyc ${ZOPE_BASE}/lib/python/ZODB/scripts/netspace.py ${ZOPE_BASE}/lib/python/ZODB/scripts/netspace.pyc ${ZOPE_BASE}/lib/python/ZODB/scripts/referrers.py @@ -3053,6 +3060,7 @@ ${ZOPE_BASE}/lib/python/ZODB/tests/blob_basic.txt ${ZOPE_BASE}/lib/python/ZODB/tests/blob_connection.txt ${ZOPE_BASE}/lib/python/ZODB/tests/blob_consume.txt ${ZOPE_BASE}/lib/python/ZODB/tests/blob_importexport.txt +${ZOPE_BASE}/lib/python/ZODB/tests/blob_layout.txt ${ZOPE_BASE}/lib/python/ZODB/tests/blob_packing.txt ${ZOPE_BASE}/lib/python/ZODB/tests/blob_tempdir.txt ${ZOPE_BASE}/lib/python/ZODB/tests/blob_transaction.txt diff --git a/www/zope211/distinfo b/www/zope211/distinfo index df9188c1732..ebcb34b9cf2 100644 --- a/www/zope211/distinfo +++ b/www/zope211/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2008/08/17 15:13:23 taca Exp $ +$NetBSD: distinfo,v 1.4 2008/10/25 16:21:30 taca Exp $ -SHA1 (Zope-2.11.1-final.tgz) = ab9058a4cdb2a18716d8f53f048d98380b1c560b -RMD160 (Zope-2.11.1-final.tgz) = 4ba17ff14b49ca480bef59775c0decfcce2b6a05 -Size (Zope-2.11.1-final.tgz) = 7146859 bytes +SHA1 (Zope-2.11.2-final.tgz) = 68967f1428a59299d5a81f07c3019338dd4cf6e2 +RMD160 (Zope-2.11.2-final.tgz) = 8bd8fdf7d7ae079c3fac91c4f7549c1286339ec4 +Size (Zope-2.11.2-final.tgz) = 7161224 bytes SHA1 (patch-aa) = 85124be8493036eb8b835c5050cac98d8e808aff SHA1 (patch-ab) = fb9da4fcf47fa1ec0119ff94f9e3124135016d2d SHA1 (patch-ac) = 62f2bcbaeb6bd064cbcbea2e2fa0d36a2c8bbf48 @@ -12,5 +12,3 @@ SHA1 (patch-af) = 3b352c8bd6cc8f7360025d3d27267a0319cd6b17 SHA1 (patch-ag) = dffc88b9d087e01bf853441c4a9064a9184a310f SHA1 (patch-ah) = 360c8f69e1f23a9f0dec666d509e03e4ef55d93b SHA1 (patch-ai) = d7987483068b677aeab5ceb59dd8261e204065d7 -SHA1 (patch-aj) = a69e08c7f9a705056d13c5c7bff0dbfef1d53da6 -SHA1 (patch-ak) = 95633060bc99be604b75ac49e37e6483168bc362 diff --git a/www/zope211/patches/patch-aj b/www/zope211/patches/patch-aj deleted file mode 100644 index b99650b141b..00000000000 --- a/www/zope211/patches/patch-aj +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-aj,v 1.1 2008/08/17 15:13:23 taca Exp $ - -Patch #1 corresponding to security advisory 2008-08-12. - ---- lib/python/Products/PythonScripts/PythonScript.py.orig 2008-07-17 00:42:18.000000000 +0900 -+++ lib/python/Products/PythonScripts/PythonScript.py -@@ -324,7 +324,11 @@ class PythonScript(Script, Historical, C - g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath() - f = new.function(fcode, g, None, fadefs) - -- result = f(*args, **kw) -+ try: -+ result = f(*args, **kw) -+ except SystemExit: -+ raise ValueError('SystemExit cannot be raised within a PythonScript') -+ - if keyset is not None: - # Store the result in the cache. - self.ZCacheable_set(result, keywords=keyset) diff --git a/www/zope211/patches/patch-ak b/www/zope211/patches/patch-ak deleted file mode 100644 index 330fa185658..00000000000 --- a/www/zope211/patches/patch-ak +++ /dev/null @@ -1,109 +0,0 @@ -$NetBSD: patch-ak,v 1.1 2008/08/17 15:13:23 taca Exp $ - -Patch #2 corresponding to security advisory 2008-08-12. - ---- lib/python/Products/PythonScripts/__init__.py.orig 2008-05-10 15:35:03.000000000 +0900 -+++ lib/python/Products/PythonScripts/__init__.py -@@ -61,3 +61,102 @@ def recompile(self): - if names: - return 'The following Scripts were recompiled:\n' + '\n'.join(names) - return 'No Scripts were found that required recompilation.' -+ -+ -+# Monkey patch for LP #257276 -+ -+# This code is taken from the encodings module of Python 2.4. -+# Note that this code is originally (C) CNRI and it is possibly not compatible -+# with the ZPL and therefore should not live within svn.zope.org. However this -+# checkin is blessed by Jim Fulton for now. The fix is no longer required with -+# Python 2.5 and hopefully fixed in Python 2.4.6 release. -+ -+ -+# Written by Marc-Andre Lemburg (mal@lemburg.com). -+# (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. -+ -+def search_function(encoding): -+ -+ # Cache lookup -+ entry = _cache.get(encoding, _unknown) -+ if entry is not _unknown: -+ return entry -+ -+ # Import the module: -+ # -+ # First try to find an alias for the normalized encoding -+ # name and lookup the module using the aliased name, then try to -+ # lookup the module using the standard import scheme, i.e. first -+ # try in the encodings package, then at top-level. -+ # -+ norm_encoding = normalize_encoding(encoding) -+ aliased_encoding = _aliases.get(norm_encoding) or \ -+ _aliases.get(norm_encoding.replace('.', '_')) -+ if aliased_encoding is not None: -+ modnames = [aliased_encoding, -+ norm_encoding] -+ else: -+ modnames = [norm_encoding] -+ for modname in modnames: -+ -+ if not modname or '.' in modname: -+ continue -+ -+ try: -+ mod = __import__(modname, -+ globals(), locals(), _import_tail) -+ if not mod.__name__.startswith('encodings.'): -+ continue -+ -+ except ImportError: -+ pass -+ else: -+ break -+ else: -+ mod = None -+ -+ try: -+ getregentry = mod.getregentry -+ except AttributeError: -+ # Not a codec module -+ mod = None -+ -+ if mod is None: -+ # Cache misses -+ _cache[encoding] = None -+ return None -+ -+ # Now ask the module for the registry entry -+ entry = tuple(getregentry()) -+ if len(entry) != 4: -+ raise CodecRegistryError,\ -+ 'module "%s" (%s) failed to register' % \ -+ (mod.__name__, mod.__file__) -+ for obj in entry: -+ if not callable(obj): -+ raise CodecRegistryError,\ -+ 'incompatible codecs in module "%s" (%s)' % \ -+ (mod.__name__, mod.__file__) -+ -+ # Cache the codec registry entry -+ _cache[encoding] = entry -+ -+ # Register its aliases (without overwriting previously registered -+ # aliases) -+ try: -+ codecaliases = mod.getaliases() -+ except AttributeError: -+ pass -+ else: -+ for alias in codecaliases: -+ if not _aliases.has_key(alias): -+ _aliases[alias] = modname -+ -+ # Return the registry entry -+ return entry -+ -+ -+# MONKEY -+ -+import encodings -+encodings.search_function.func_code = search_function.func_code |