pkgsrc/www/zope/zopeversion.mk
taca 27023d95c0 Update zope211 package to 2.11.8 (Zope 2.11.8)
Zope 2.11.8 (2011/02/04)

    Bugs fixed

      - Prevent publication of acquired attributes, where the acquired
        object does not have a docstring.
        https://bugs.launchpad.net/zope2/+bug/713253/

  Zope 2.11.7 (2010/09/01)

    Bugs Fixed

      - Prevent uncaught exceptions from killing ZServer worker threads.
        https://bugs.launchpad.net/zope2/+bug/627988

      - Ensure that mailhosts which share a queue directory do not double-
        deliver mails, by sharing the thread which processes emails for
        that directory.  https://bugs.launchpad.net/zope2/+bug/574286

      - Process "evil" JSON cookies which contain double quotes in violation
        of RFC 2965 / 2616.  https://bugs.launchpad.net/zope2/+bug/563229

      - Ensure that Acquistion wrapper classes always have a ``__getnewargs__``
        method, even if it is not provided by the underlying ExtensionClass.

      - Fix the ``tp_name`` of the ImplicitAcquisitionWrapper and
        ExplicitAcquisitionWrapper to match their Python visible names and thus
        have a correct ``__name__``.

      - Expand the ``tp_name`` of Acquisition's extension types to hold the
        fully qualified name. This ensures classes have their ``__module__``
        set correctly.

      - Updated 'pytz' external to point to '2010b' version.

      - Protect ZCTextIndex's clear method against storing Acquisition wrappers.

      - LP #195761: fixed ZMI XML export / import.

      - MailHost should fall back to HELO when EHLO fails.

  Zope 2.11.6 (2010/01/12)

    Bugs Fixed

      - LP #491224: proper escaping of rendered error message

      - Also look for ZEXP imports within the clienthome directory. This
        provides a place to put imports that won't be clobbered by buildout
        in a buildout-based Zope instance.

      - LP #143444: add labels to checkboxes / radio buttons on import
        / export form.

      - Fixed improper handling of IF_MODIFIED_SINCE header
        inside Five/browser/resource.py

  Zope 2.11.5 (2009/12/22)

    Bugs Fixed

      - LP #490514:  preserve tainting when calling into DTML from ZPT.

      - LP #360761 (backported from Acquisition trunk): fix iteration proxy
        to pass `self` acquisition-wrapped into `__iter__` and `__getitem__`.

      - LP #414757 (backported from Zope trunk): don't emit a IEndRequestEvent
        when clearing a cloned request.

      - updated to ZODB 3.8.4

  Zope 2.11.4 (2009/08/06)

    Restructuring

      - Moved exception MountedStorageError from ZODB.POSExceptions
        to Products.TemporaryFolder.mount (now its only client).

      - LP #253362:  Moved Zope2-specific module, ZODB/Mount.py, to
        Products/TemporaryFolder/mount.py (its only client is
        Products/TemporaryFolder/TemporaryFolder.py).

      - Removed spurious import-time dependencies from
        Products/ZODBMountPoint/MountedObject.py.

    Bugs Fixed

      - Fixed vulnerabilities in the ZEO network protocol
        affecting ZEO storage servers.

  Zope 2.11.3 (2009/05/04)

    Features added

      - SiteErrorLog now includes the entry id in the information copied to
        the event log. This allowes you to correlate a user error report with
        the event log after a restart, or let's you find the REQUEST
        information in the SiteErrorLog when looking at a traceback in the
        event log.

    Restructuring

      - Updated to match all new versions from the yet-unreleased Zope 3.4.1
        release (`http://svn.zope.org/zope.release/branches/3.4/
        releases/controlled-packages.cfg?rev=99659`).

      - Updated to include all new versions from the final Zope 3.4.0 release
        (http://download.zope.org/zope3.4/3.4.0/).

      - Added 'InitializeClass' alias in 'App.class_init' to ease migration.
        In Zope 2.12 it will be recommended to import 'InitializeClass' from
        'App.class_init' instead of 'Globals'.

      - Moved 'ApplicationDefaultPermissions' from 'App.class_init' to
        'AccessControl.Permissions', in order to break an import cycle
        in third-party code which avoids imports from 'Globals.'  Left
        the class importable from its old location without deprecation.

      - configure script: setting ZOPE_VERS to '2.11'

      - Products.PluginIndexes.PathIndex:  backported doc fixes /
        optimizations from trunk (and ExtendedPathIndex).

      - Updated 'pytz' from '2007f' to '2008i'.

      - Moved svn:externals for 'mechanize', 'ClientPath', and 'pytz' to
        versions managed outside the Zope3 trunk.

      - Testing.ZopeTestCase: Remove quota argument from DemoStorage calls in
        preparation for ZODB 3.9.

    Bugs Fixed

      - Launchpad #373299: Removed bogus string exception in OFS.CopySupport.

      - ZPublisher response.setBody: don't append Accept-Encoding to Vary
        header if it is already present - this can make cache configuration
        difficult. (merged 99493)

      - Launchpad #267834: proper separation of HTTP header fields
        using CRLF as requested by RFC 2616. (merged 90980, 92625)

      - Launchpad #348223: optimize catalog query by breaking out early from
        loop over indexes if the result set is already empty.

      - "Permission tab": correct wrong form parameter for
        the user-permission report

      - Launchpad #290254, DateTime/DateTime.py:
        added '__setstate__' to cope with old pickles missing a '_micros'
        attribute;  Python's pickling support was creating a new instance,
        *with* a '_micros' attribute, but not clearing that attribute before
        updating the instance dict with the unpickled state.

      - Launchpad #332168, Shared/DC/RDBMS/Connection.py:
        do not expose DB connection strings through exceptions

      - Launchpad #324876: tighened regex for detecting the charset
        from a meta-equiv header

      - Launchpad #174705:  ensure that the error info object exposed to a
        'tal:on_error' handler has attributes visible to restricted code.

      - Acquisition wrappers now correctly proxy __iter__.
2011-05-14 02:58:08 +00:00

200 lines
5.5 KiB
Makefile

# $NetBSD: zopeversion.mk,v 1.16 2011/05/14 02:58:08 taca Exp $
#
.if !defined(_ZOPEVERSION_MK)
_ZOPEVERSION_MK= # defined
.include "../../mk/bsd.prefs.mk"
# The following variables may be set by the pkgsrc user in mk.conf:
#
# ZOPE_VERSION_DEFAULT
# The preferred Zope version to use.
# Possible value: (all)
#
# ZOPE_VERSION_ACCEPTED
# The Zope version that are acceptable for the package.
# The order of the entries matters.
#
# ZOPE_VERSION_REQD
# The specific Zope version that are acceptable for the package.
#
# ZOPE_USER
# Default Zope running user.
#
# ZOPE_GROUP
# Default Zope running group.
#
# The following variables may not be set by the pkgsrc user in mk.conf:
#
# ZOPE_VERSION_SUPPORTED
# Known Zope release which we support.
#
# ZOPE_PKG
# Short name for each Zope major release; zope29, zope210 and
# hopefully zope3.
#
# ZOPE_USE_PYPKGPREFIX
# Bool variable which enable prefix Zope based package with
# ${ZOPE_PKG}. (Experimental)
#
# ZOPE_COMMON
# Basename of directory to install Zope.
#
# ZOPE_PRODUCTS_BASE
# Basename of directory for Zope extention packages.
#
# ZOPE_DOC_BASE
# Documentation directory for Zope packages.
#
#
ZOPE_VERSION_SUPPORTED= 29 210 211
ZOPE_VERSION_DEFAULT?= 29
ZOPE_VERSION_ACCEPTED?= ${ZOPE_VERSION_SUPPORTED}
# current Zope version
ZOPE29_VERSION= 2.9.12
ZOPE210_VERSION= 2.10.13
ZOPE211_VERSION= 2.11.8
#ZOPE212_VERSION= 2.12.18
#ZOPE213_VERSION= 2.13.7 # py26 py27
ZOPE_USER?= zope
ZOPE_GROUP?= zope
ZOPE_USE_PYPKGPREFIX?= no
.if !empty(ZOPE_USE_PYPKGPREFIX:M[Yy][Ee][Ss])
BUILDLINK_API_DEPENDS.zope29?= ${PYPKGPREFIX}-zope29>=${ZOPE29_VERSION}
BUILDLINK_API_DEPENDS.zope210?= ${PYPKGPREFIX}-zope210>=${ZOPE210_VERSION}
BUILDLINK_API_DEPENDS.zope211?= ${PYPKGPREFIX}-zope211>=${ZOPE211_VERSION}
BUILDLINK_API_DEPENDS.zope212?= ${PYPKGPREFIX}-zope211>=${ZOPE212_VERSION}
BUILDLINK_API_DEPENDS.zope213?= ${PYPKGPREFIX}-zope211>=${ZOPE213_VERSION}
.else
BUILDLINK_API_DEPENDS.zope29?= zope29>=${ZOPE29_VERSION}
BUILDLINK_API_DEPENDS.zope210?= zope210>=${ZOPE210_VERSION}
BUILDLINK_API_DEPENDS.zope211?= zope210>=${ZOPE211_VERSION}
BUILDLINK_API_DEPENDS.zope212?= zope210>=${ZOPE212_VERSION}
BUILDLINK_API_DEPENDS.zope213?= zope210>=${ZOPE213_VERSION}
.endif
ZOPE_COMMON?= zope
ZOPE_BASE= ${ZOPE_COMMON}/${ZOPE_PKG}
ZOPE_DOC_BASE?= share/doc/${ZOPE_PKG}
ZOPE_PRODUCTS_BASE= ${ZOPE_BASE}/Products
ZOPE_DIR= ${PREFIX}/${ZOPE_BASE}
ZOPE_DOC_DIR= ${PREFIX}/${ZOPE_DOC_BASE}
ZOPE_PRODUCTS_DIR= ${PREFIX}/${ZOPE_PRODUCTS_BASE}
# transform the list into individual variables
.for zv in ${ZOPE_VERSION_ACCEPTED}
_ZOPE_VERSION_${zv}_OK= yes
.endfor
# check what is installed
.for zv in ${ZOPE_VERSION_SUPPORTED}
.if exists(${LOCALBASE}/${ZOPE_COMMON}/zope${zv})
_ZOPE_VERSION_${zv}_INSTALLED= yes
.endif
.endfor
# if a version is explicitly required, take it
.if defined(ZOPE_VERSION_REQD)
_ZOPE_VERSION= ${ZOPE_VERSION_REQD}
.endif
#if a default is already installed, it is first choice
.if !defined(_ZOPE_VERSION)
.if defined(_ZOPE_VERSION_${ZOPE_VERSION_DEFAULT}_OK)
.if defined(_ZOPE_VERSION_${ZOPE_VERSION_DEFAULT}_INSTALLED)
_ZOPE_VERSION= ${ZOPE_VERSION_DEFAULT}
.endif
.endif
.endif
# prefer an already installed version, in order of "accepted"
.if !defined(_ZOPE_VERSION)
.for zv in ${ZOPE_VERSION_ACCEPTED}
.if defined(_ZOPE_VERSION_${zv}_INSTALLED)
_ZOPE_VERSION?= ${zv}
.else
# keep information as last resort - see below
_ZOPE_VERSION_FIRSTACCEPTED?= ${zv}
.endif
.endfor
.endif
# if the default is OK for the addon pkg, take this
.if !defined(_ZOPE_VERSION)
.if defined(_ZOPE_VERSION_${ZOPE_VERSION_DEFAULT}_OK)
_ZOPE_VERSION= ${ZOPE_VERSION_DEFAULT}
.endif
.endif
# take the first one accepted by the package
.if !defined(_ZOPE_VERSION)
_ZOPE_VERSION= ${_ZOPE_VERSION_FIRSTACCEPTED}
.endif
#
ZOPE_VERSION?= ${_ZOPE_VERSION}
ZOPE_PKG:= zope${ZOPE_VERSION}
# force the selected ZOPE version for recursive builds
ZOPE_VERSION_REQD:= ${ZOPE_VERSION}
ZOPE_PKGSRC_DIR= ../../www/${ZOPE_PKG}
.if !empty(ZOPE_USE_PYPKGPREFIX:M[Yy][Ee][Ss])
ZOPE_PKG_PREFIX= ${PYPKGPREFIX}-${ZOPE_PKG}
.else
ZOPE_PKG_PREFIX= ${ZOPE_PKG}
.endif
.if ${_ZOPE_VERSION} == "29"
ZOPE_FULL_VERSION= ${ZOPE29_VERSION}
ZOPE_DEPENDENCY= ${BUILDLINK_API_DEPENDS.zope29}:${ZOPE_PKGSRC_DIR}
EVAL_PREFIX+= BUILDLINK_PREFIX.zope29=${ZOPE_PKG}
BUILDLINK_PREFIX.zope29_DEFAULT= ${LOCALBASE}
.elif ${_ZOPE_VERSION} == "210"
ZOPE_FULL_VERSION= ${ZOPE210_VERSION}
ZOPE_DEPENDENCY= ${BUILDLINK_API_DEPENDS.zope210}:${ZOPE_PKGSRC_DIR}
EVAL_PREFIX+= BUILDLINK_PREFIX.zope210=${ZOPE_PKG}
BUILDLINK_PREFIX.zope211_DEFAULT= ${LOCALBASE}
.elif ${_ZOPE_VERSION} == "211"
ZOPE_FULL_VERSION= ${ZOPE211_VERSION}
ZOPE_DEPENDENCY= ${BUILDLINK_API_DEPENDS.zope211}:${ZOPE_PKGSRC_DIR}
EVAL_PREFIX+= BUILDLINK_PREFIX.zope211=${ZOPE_PKG}
BUILDLINK_PREFIX.zope211_DEFAULT= ${LOCALBASE}
.else
PKG_SKIP_REASON+= "No valid Zope version"
.endif
BUILD_DEFS+= ZOPE_VERSION
BUILD_DEFS_EFFECTS+= ZOPE_PKG
FILES_SUBST+= ZOPE_PKG=${ZOPE_PKG} ZOPE_VERSION=${ZOPE_VERSION} \
ZOPE_FULL_VERSION=${ZOPE_FULL_VERSION}
MESSAGE_SUBST+= ZOPE_VERSION=${ZOPE_VERSION} \
ZOPE_COMMON=${ZOPE_COMMON} \
ZOPE_PKG=${ZOPE_PKG} \
ZOPE_DIR=${ZOPE_DIR} \
ZOPE_PRODUCTS_DIR=${ZOPE_PRODUCTS_DIR} \
ZOPE_GROUP=${ZOPE_GROUP:Q} \
ZOPE_USER=${ZOPE_USER:Q}
PLIST_SUBST+= ZOPE_VERSION=${ZOPE_VERSION} \
ZOPE_BASE=${ZOPE_BASE} \
ZOPE_COMMON=${ZOPE_COMMON} \
ZOPE_DOC_BASE=${ZOPE_DOC_BASE} \
ZOPE_PRODUCTS_BASE=${ZOPE_PRODUCTS_BASE}
PRINT_PLIST_AWK+= /^${ZOPE_BASE:S|/|\\/|g}/ \
{ gsub(/${ZOPE_BASE:S|/|\\/|g}/, "$${ZOPE_BASE}"); \
print; next; }
#
ZOPE_PY_COMPILE= ${PYTHONBIN} ${ZOPE_DIR}/bin/compilezpy.py
.endif