pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/zope3 Update to 3.2.0, from wip/zope3-unstable, pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55cfc604a00f
branches:  trunk
changeset: 505774:55cfc604a00f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 07 13:13:28 2006 +0000

description:
Update to 3.2.0, from wip/zope3-unstable, provided by Yoshito Komatsu.
Closes PR 32465.

Most Important Changes Since 3.1

     * The ZServer has been replaced with the Twisted server. The Twisted
       server supports all that the ZServer supporting has well
       has HTTP over SSL natively and SFTP (disabled for now because of
       error handling problems). Also in the future it brings a
       better chance of other non-HTTP related protocols from being
       implemented for Zope3, like SMTP-in and IMAP.

       ZServer is still supported and will be used if you use the --zserver
       when you run mkzopeinstance.

     * Added a test browser. The test browser simulates a real Web browser
       as much as possible as a Python object. This allows us to
       write functional tests the same way the site would be
       experienced by the user. This greatly simplifies functional tests,
       makes documentation better and even helps analyzing usability. And
       of course, it can be used in functional doctests.

     * Changed the way returning large results is handled. The
       response.write method is no longer supported. Applications can now
       simply return files to the publisher.

     * Implemented the password managers proposal.  Main idea
       beside the proposal is a standard way to implement password
       encoders/checkers, see
       zope.app.authentication.interfaces.IPasswordManager for
       details.

       + Added basic password managers: Plain Text, MD5, SHA1.

       + Support for password managers added for ZCML principals
         and principals saved in local PrincipalFolers.

       + Added bin/zpasswd command line script which helps to create ZCML
         principals.

       + Password managers support integrated into bin/mkzopeinstance.

       + New database generation created for convert local principals to
         new format.

     * Implemented the language namespace proposal. Now you can
       override the browser preferred language through the URL,
       like this:

       http://site.org/++lang++ru/path

       Note: If you want to use a custom IUserPreferredLanguages
       adapter and the ++lang++ feature together you should use
       zope.app.publisher.browser.CacheableBrowserLanguages adapter as a
       base class or at least as example.

     * Implemented a new object introspector. Instead of just
       providing information of the object's class, the new
       introspector focuses on providing information that is specific to
       the instance, such as directly provided interfaces and data, for
       example attribute values and annotation values.

     * Implemented the `devmode` switch for `zope.conf`. When turned on a
       ZCML feature called `devmode` is provided. Packages can then
       register functionality based on this feature. In Zope 3
       itself, the devmode is used to only load the API doc is
       devmode; turning off the devmode thus closes a potential
       security hole and increases the start time by more than a
       second.

     * addMenuItem directive supports a `layer` attribute.

     * Added a re-implementation of i18n message IDs (now simply
       called ``Message``) that is immutable and thus can be treated like
       unicode strings with respect to security proxying. This
       implementation will replace the old one in upcoming versions.

    * Added "test" message catalog for testing i18n. If you specify
      ++lang++test in a URL, then all translated strings will be
      translated to [[domain][message_id], as in "[[zope][Preview]]". Text
      without the domain marker isn't translated.

   For a complete list of changes see the CHANGES.txt file.

diffstat:

 www/zope3/MESSAGE          |    11 +-
 www/zope3/Makefile         |    38 +-
 www/zope3/Makefile.common  |    12 +
 www/zope3/PLIST            |  3198 +++++++++++++++++++++++++++++++++++++++++++-
 www/zope3/distinfo         |    16 +-
 www/zope3/files/zope3.sh   |     2 +-
 www/zope3/files/zss3.sh    |     2 +-
 www/zope3/package.mk       |    13 +
 www/zope3/patches/patch-aa |    18 +-
 www/zope3/patches/patch-ab |    18 +-
 www/zope3/patches/patch-ac |    11 +-
 www/zope3/patches/patch-ad |    11 +-
 12 files changed, 3245 insertions(+), 105 deletions(-)

diffs (truncated from 4096 to 300 lines):

diff -r ba900963359a -r 55cfc604a00f www/zope3/MESSAGE
--- a/www/zope3/MESSAGE Sat Jan 07 12:54:15 2006 +0000
+++ b/www/zope3/MESSAGE Sat Jan 07 13:13:28 2006 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2005/10/24 02:25:20 minskim Exp $
+$NetBSD: MESSAGE,v 1.2 2006/01/07 13:13:28 wiz Exp $
 
 To run Zope, you need to make a new Zope instance home.
 
@@ -8,6 +8,9 @@
 
     ${PREFIX}/bin/mkzopeinstance --dir=${VARBASE}/zope3
 
+    Additionally, you need to edit ${VARBASE}/zope3/etc/zope.conf
+    if you want to run ZEO client.
+
   2) If you want to run ZEO storage server,
      please run the following command:
 
@@ -29,4 +32,10 @@
     chown -R ${ZOPE3_USER}:${ZOPE3_GROUP} ${VARBASE}/zss3
     echo 'zss3_user="${ZOPE3_USER}"' >> /etc/rc.conf
 
+If you want to run Zope with following protocols, you need to
+install corresponding packages.
+
+  HTTPS: security/py-OpsnSSL
+  SFTP: security/py-amkCrypto
+
 ===========================================================================
diff -r ba900963359a -r 55cfc604a00f www/zope3/Makefile
--- a/www/zope3/Makefile        Sat Jan 07 12:54:15 2006 +0000
+++ b/www/zope3/Makefile        Sat Jan 07 13:13:28 2006 +0000
@@ -1,56 +1,52 @@
-# $NetBSD: Makefile,v 1.5 2005/12/29 06:22:25 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2006/01/07 13:13:28 wiz Exp $
 #
 
-DISTNAME=              Zope-3.1.0
-PKGNAME=               zope3-3.1.0
+DISTNAME=              Zope-3.2.0
+PKGNAME=               zope3-3.2.0
 CATEGORIES=            www
-MASTER_SITES=          http://www.zope.org/Products/Zope3/3.1.0final/
+MASTER_SITES=          http://www.zope.org/Products/Zope3/3.2.0final/
 EXTRACT_SUFX=          .tgz
 
 MAINTAINER=            ykomatsu%akaumigame.org@localhost
 HOMEPAGE=              http://dev.zope.org/Zope3/
 COMMENT=               Zope 3 Application Server
 
-DEPENDS+=              ${PYPKGPREFIX}-xml>=0.8.3nb1:../../textproc/py-xml
+DEPENDS+=              ${PYPKGPREFIX}-xml>=0.8.4:../../textproc/py-xml
+
+.include "Makefile.common"
+.include "../../mk/bsd.prefs.mk"
 
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-python ${PYTHONBIN} \
-                       --prefix ${PREFIX}/share/zope3 \
+                       --prefix ${ZOPE3_DIR} \
                        --force
 
-.include "../../mk/bsd.prefs.mk"
-
 .if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*)
 EXTRACT_USING=         gtar
 .endif
 
 BUILD_TARGET=          build
 
+#USE_PKGINSTALL=               yes
 RCD_SCRIPTS=           zope3 zss3
-ZOPE3_GROUP?=          zope3
-ZOPE3_USER?=           zope3
 PKG_GROUPS=            ${ZOPE3_GROUP}
 PKG_USERS=             ${ZOPE3_USER}:${ZOPE3_GROUP}::Zope3\ user
 
-PYTHON_VERSIONS_ACCEPTED=      24 23
-
-MESSAGE_SUBST+=                ZOPE3_USER=${ZOPE3_USER} ZOPE3_GROUP=${ZOPE3_GROUP} \
-                       VARBASE=${VARBASE}
-
-ZOPE3_DOCDIR=          ${PREFIX}/share/doc/zope3
-
-.include "../../lang/python/application.mk"
+MESSAGE_SUBST+=                ZOPE3_USER=${ZOPE3_USER:Q} \
+                       ZOPE3_GROUP=${ZOPE3_GROUP:Q} \
+                       VARBASE=${VARBASE:Q}
 
 pre-install:
        ${FIND} ${WRKSRC} -name "*.orig" -type f -print | ${XARGS} ${RM} -f
 
 post-install:
-       ${LN} -s ${PREFIX}/share/zope3/bin/mkzeoinstance ${PREFIX}/bin
-       ${LN} -s ${PREFIX}/share/zope3/bin/mkzopeinstance ${PREFIX}/bin
-       ${LN} -s ${PREFIX}/share/zope3/bin/zopetest ${PREFIX}/bin
+       ${LN} -s ${ZOPE3_DIR}/bin/mkzeoinstance ${PREFIX}/bin
+       ${LN} -s ${ZOPE3_DIR}/bin/mkzopeinstance ${PREFIX}/bin
+       ${LN} -s ${ZOPE3_DIR}/bin/zopetest ${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${ZOPE3_DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/Zope/LICENSES.txt ${ZOPE3_DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/Zope/ZopePublicLicense.txt ${ZOPE3_DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/Zope/doc/*.txt ${ZOPE3_DOCDIR}
 
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ba900963359a -r 55cfc604a00f www/zope3/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/zope3/Makefile.common Sat Jan 07 13:13:28 2006 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile.common,v 1.1 2006/01/07 13:13:28 wiz Exp $
+#
+
+PYTHON_VERSIONS_ACCEPTED=      24
+
+ZOPE3_DIR=             ${PREFIX}/share/zope3
+ZOPE3_DOCDIR=          ${PREFIX}/share/doc/zope3
+
+ZOPE3_GROUP?=          zope3
+ZOPE3_USER?=           zope3
+
+.include "../../lang/python/application.mk"
diff -r ba900963359a -r 55cfc604a00f www/zope3/PLIST
--- a/www/zope3/PLIST   Sat Jan 07 12:54:15 2006 +0000
+++ b/www/zope3/PLIST   Sat Jan 07 13:13:28 2006 +0000
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/24 02:25:29 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/01/07 13:13:28 wiz Exp $
 bin/mkzeoinstance
 bin/mkzopeinstance
 bin/zopetest
-share/doc/zope3/ANNOUNCEMENT.txt
 share/doc/zope3/CHANGES.txt
 share/doc/zope3/CREDITS.txt
 share/doc/zope3/DEBUG.txt
@@ -31,6 +30,7 @@
 share/zope3/include/python/persistent/ring.h
 share/zope3/include/python/zope.proxy/proxy.h
 share/zope3/lib/python/BTrees/DEPENDENCIES.cfg
+share/zope3/lib/python/BTrees/Development.txt
 share/zope3/lib/python/BTrees/IFBTree.py
 share/zope3/lib/python/BTrees/IFBTree.pyc
 share/zope3/lib/python/BTrees/IFBTree.pyo
@@ -46,7 +46,6 @@
 share/zope3/lib/python/BTrees/Length.py
 share/zope3/lib/python/BTrees/Length.pyc
 share/zope3/lib/python/BTrees/Length.pyo
-share/zope3/lib/python/BTrees/Maintainer.txt
 share/zope3/lib/python/BTrees/OIBTree.py
 share/zope3/lib/python/BTrees/OIBTree.pyc
 share/zope3/lib/python/BTrees/OIBTree.pyo
@@ -90,6 +89,48 @@
 share/zope3/lib/python/BTrees/tests/test_compare.py
 share/zope3/lib/python/BTrees/tests/test_compare.pyc
 share/zope3/lib/python/BTrees/tests/test_compare.pyo
+share/zope3/lib/python/ClientCookie/_BSDDBCookieJar.py
+share/zope3/lib/python/ClientCookie/_BSDDBCookieJar.pyc
+share/zope3/lib/python/ClientCookie/_BSDDBCookieJar.pyo
+share/zope3/lib/python/ClientCookie/_ClientCookie.py
+share/zope3/lib/python/ClientCookie/_ClientCookie.pyc
+share/zope3/lib/python/ClientCookie/_ClientCookie.pyo
+share/zope3/lib/python/ClientCookie/_ConnCache.py
+share/zope3/lib/python/ClientCookie/_ConnCache.pyc
+share/zope3/lib/python/ClientCookie/_ConnCache.pyo
+share/zope3/lib/python/ClientCookie/_Debug.py
+share/zope3/lib/python/ClientCookie/_Debug.pyc
+share/zope3/lib/python/ClientCookie/_Debug.pyo
+share/zope3/lib/python/ClientCookie/_HeadersUtil.py
+share/zope3/lib/python/ClientCookie/_HeadersUtil.pyc
+share/zope3/lib/python/ClientCookie/_HeadersUtil.pyo
+share/zope3/lib/python/ClientCookie/_LWPCookieJar.py
+share/zope3/lib/python/ClientCookie/_LWPCookieJar.pyc
+share/zope3/lib/python/ClientCookie/_LWPCookieJar.pyo
+share/zope3/lib/python/ClientCookie/_MSIECookieJar.py
+share/zope3/lib/python/ClientCookie/_MSIECookieJar.pyc
+share/zope3/lib/python/ClientCookie/_MSIECookieJar.pyo
+share/zope3/lib/python/ClientCookie/_MSIEDBCookieJar.py
+share/zope3/lib/python/ClientCookie/_MSIEDBCookieJar.pyc
+share/zope3/lib/python/ClientCookie/_MSIEDBCookieJar.pyo
+share/zope3/lib/python/ClientCookie/_MozillaCookieJar.py
+share/zope3/lib/python/ClientCookie/_MozillaCookieJar.pyc
+share/zope3/lib/python/ClientCookie/_MozillaCookieJar.pyo
+share/zope3/lib/python/ClientCookie/_Opener.py
+share/zope3/lib/python/ClientCookie/_Opener.pyc
+share/zope3/lib/python/ClientCookie/_Opener.pyo
+share/zope3/lib/python/ClientCookie/_Request.py
+share/zope3/lib/python/ClientCookie/_Request.pyc
+share/zope3/lib/python/ClientCookie/_Request.pyo
+share/zope3/lib/python/ClientCookie/_Util.py
+share/zope3/lib/python/ClientCookie/_Util.pyc
+share/zope3/lib/python/ClientCookie/_Util.pyo
+share/zope3/lib/python/ClientCookie/__init__.py
+share/zope3/lib/python/ClientCookie/__init__.pyc
+share/zope3/lib/python/ClientCookie/__init__.pyo
+share/zope3/lib/python/ClientCookie/_urllib2_support.py
+share/zope3/lib/python/ClientCookie/_urllib2_support.pyc
+share/zope3/lib/python/ClientCookie/_urllib2_support.pyo
 share/zope3/lib/python/RestrictedPython/Eval.py
 share/zope3/lib/python/RestrictedPython/Eval.pyc
 share/zope3/lib/python/RestrictedPython/Eval.pyo
@@ -961,6 +1002,15 @@
 share/zope3/lib/python/docutils/writers/pseudoxml.py
 share/zope3/lib/python/docutils/writers/pseudoxml.pyc
 share/zope3/lib/python/docutils/writers/pseudoxml.pyo
+share/zope3/lib/python/mechanize/__init__.py
+share/zope3/lib/python/mechanize/__init__.pyc
+share/zope3/lib/python/mechanize/__init__.pyo
+share/zope3/lib/python/mechanize/_mechanize.py
+share/zope3/lib/python/mechanize/_mechanize.pyc
+share/zope3/lib/python/mechanize/_mechanize.pyo
+share/zope3/lib/python/mechanize/_useragent.py
+share/zope3/lib/python/mechanize/_useragent.pyc
+share/zope3/lib/python/mechanize/_useragent.pyo
 share/zope3/lib/python/persistent/DEPENDENCIES.cfg
 share/zope3/lib/python/persistent/README.txt
 share/zope3/lib/python/persistent/SETUP.cfg
@@ -998,6 +1048,9 @@
 share/zope3/lib/python/persistent/tests/test_list.py
 share/zope3/lib/python/persistent/tests/test_list.pyc
 share/zope3/lib/python/persistent/tests/test_list.pyo
+share/zope3/lib/python/persistent/tests/test_mapping.py
+share/zope3/lib/python/persistent/tests/test_mapping.pyc
+share/zope3/lib/python/persistent/tests/test_mapping.pyo
 share/zope3/lib/python/persistent/tests/test_overriding_attrs.py
 share/zope3/lib/python/persistent/tests/test_overriding_attrs.pyc
 share/zope3/lib/python/persistent/tests/test_overriding_attrs.pyo
@@ -2783,6 +2836,2303 @@
 share/zope3/lib/python/transaction/tests/test_transaction.py
 share/zope3/lib/python/transaction/tests/test_transaction.pyc
 share/zope3/lib/python/transaction/tests/test_transaction.pyo
+share/zope3/lib/python/twisted/__init__.py
+share/zope3/lib/python/twisted/__init__.pyc
+share/zope3/lib/python/twisted/__init__.pyo
+share/zope3/lib/python/twisted/application/__init__.py
+share/zope3/lib/python/twisted/application/__init__.pyc
+share/zope3/lib/python/twisted/application/__init__.pyo
+share/zope3/lib/python/twisted/application/app.py
+share/zope3/lib/python/twisted/application/app.pyc
+share/zope3/lib/python/twisted/application/app.pyo
+share/zope3/lib/python/twisted/application/compat.py
+share/zope3/lib/python/twisted/application/compat.pyc
+share/zope3/lib/python/twisted/application/compat.pyo
+share/zope3/lib/python/twisted/application/internet.py
+share/zope3/lib/python/twisted/application/internet.pyc
+share/zope3/lib/python/twisted/application/internet.pyo
+share/zope3/lib/python/twisted/application/service.py
+share/zope3/lib/python/twisted/application/service.pyc
+share/zope3/lib/python/twisted/application/service.pyo
+share/zope3/lib/python/twisted/application/strports.py
+share/zope3/lib/python/twisted/application/strports.pyc
+share/zope3/lib/python/twisted/application/strports.pyo
+share/zope3/lib/python/twisted/conch/__init__.py
+share/zope3/lib/python/twisted/conch/__init__.pyc
+share/zope3/lib/python/twisted/conch/__init__.pyo
+share/zope3/lib/python/twisted/conch/authorizer.py
+share/zope3/lib/python/twisted/conch/authorizer.pyc
+share/zope3/lib/python/twisted/conch/authorizer.pyo
+share/zope3/lib/python/twisted/conch/avatar.py
+share/zope3/lib/python/twisted/conch/avatar.pyc
+share/zope3/lib/python/twisted/conch/avatar.pyo
+share/zope3/lib/python/twisted/conch/checkers.py
+share/zope3/lib/python/twisted/conch/checkers.pyc
+share/zope3/lib/python/twisted/conch/checkers.pyo
+share/zope3/lib/python/twisted/conch/client/__init__.py
+share/zope3/lib/python/twisted/conch/client/__init__.pyc
+share/zope3/lib/python/twisted/conch/client/__init__.pyo
+share/zope3/lib/python/twisted/conch/client/agent.py
+share/zope3/lib/python/twisted/conch/client/agent.pyc
+share/zope3/lib/python/twisted/conch/client/agent.pyo
+share/zope3/lib/python/twisted/conch/client/connect.py
+share/zope3/lib/python/twisted/conch/client/connect.pyc
+share/zope3/lib/python/twisted/conch/client/connect.pyo
+share/zope3/lib/python/twisted/conch/client/default.py
+share/zope3/lib/python/twisted/conch/client/default.pyc
+share/zope3/lib/python/twisted/conch/client/default.pyo
+share/zope3/lib/python/twisted/conch/client/direct.py
+share/zope3/lib/python/twisted/conch/client/direct.pyc
+share/zope3/lib/python/twisted/conch/client/direct.pyo
+share/zope3/lib/python/twisted/conch/client/options.py
+share/zope3/lib/python/twisted/conch/client/options.pyc
+share/zope3/lib/python/twisted/conch/client/options.pyo
+share/zope3/lib/python/twisted/conch/client/unix.py
+share/zope3/lib/python/twisted/conch/client/unix.pyc
+share/zope3/lib/python/twisted/conch/client/unix.pyo
+share/zope3/lib/python/twisted/conch/error.py
+share/zope3/lib/python/twisted/conch/error.pyc
+share/zope3/lib/python/twisted/conch/error.pyo
+share/zope3/lib/python/twisted/conch/identity.py
+share/zope3/lib/python/twisted/conch/identity.pyc
+share/zope3/lib/python/twisted/conch/identity.pyo
+share/zope3/lib/python/twisted/conch/insults/__init__.py
+share/zope3/lib/python/twisted/conch/insults/__init__.pyc
+share/zope3/lib/python/twisted/conch/insults/__init__.pyo
+share/zope3/lib/python/twisted/conch/insults/client.py
+share/zope3/lib/python/twisted/conch/insults/client.pyc
+share/zope3/lib/python/twisted/conch/insults/client.pyo
+share/zope3/lib/python/twisted/conch/insults/colors.py
+share/zope3/lib/python/twisted/conch/insults/colors.pyc



Home | Main Index | Thread Index | Old Index