summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-07-08 06:22:27 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-07-08 06:22:27 +0000
commit1793dacd1a89b3293274ecb2e2d1421c7a0ba2a1 (patch)
treebd69a139c6c70e2aef096b37eb01de7bc0d7d911 /net-zope/plone
parentx86 stable, bug 230816 (diff)
downloadgentoo-2-1793dacd1a89b3293274ecb2e2d1421c7a0ba2a1.tar.gz
gentoo-2-1793dacd1a89b3293274ecb2e2d1421c7a0ba2a1.tar.bz2
gentoo-2-1793dacd1a89b3293274ecb2e2d1421c7a0ba2a1.zip
Removing old version depending on dev-lang/python-2.3. Bug #222037
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-zope/plone')
-rw-r--r--net-zope/plone/ChangeLog8
-rw-r--r--net-zope/plone/files/plone-2.0.5-portrait_security.patch127
-rw-r--r--net-zope/plone/plone-1.0.5.ebuild32
-rw-r--r--net-zope/plone/plone-1.0.6.ebuild32
-rw-r--r--net-zope/plone/plone-2.0.5-r2.ebuild38
-rw-r--r--net-zope/plone/plone-2.1.4.ebuild76
6 files changed, 7 insertions, 306 deletions
diff --git a/net-zope/plone/ChangeLog b/net-zope/plone/ChangeLog
index c70cd2ab7fd0..15375653d6d9 100644
--- a/net-zope/plone/ChangeLog
+++ b/net-zope/plone/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-zope/plone
# Copyright 2003-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/plone/ChangeLog,v 1.53 2008/06/18 09:12:52 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/plone/ChangeLog,v 1.54 2008/07/08 06:22:26 tupone Exp $
+
+ 08 Jul 2008; Tupone Alfredo <tupone@gentoo.org>
+ -files/plone-2.0.5-portrait_security.patch, -plone-1.0.5.ebuild,
+ -plone-1.0.6.ebuild, -plone-2.0.5-r2.ebuild, -plone-2.1.4.ebuild:
+ Removing old version depending on dev-lang/python-2.3.
+ Bug #222037 by Ali Polatel <hawking@gentoo.org>
*plone-3.1.2 (18 Jun 2008)
diff --git a/net-zope/plone/files/plone-2.0.5-portrait_security.patch b/net-zope/plone/files/plone-2.0.5-portrait_security.patch
deleted file mode 100644
index 83efe6cb6c68..000000000000
--- a/net-zope/plone/files/plone-2.0.5-portrait_security.patch
+++ /dev/null
@@ -1,127 +0,0 @@
---- CMFPlone/MembershipTool.py 2004-12-01 15:54:09.000000000 +0100
-+++ CMFPlone/MembershipTool.py 2006-04-17 15:11:56.000000000 +0200
-@@ -1,5 +1,5 @@
--from Products.CMFCore.CMFCorePermissions import SetOwnPassword
- from Products.CMFCore.utils import getToolByName
-+from Products.CMFCore.utils import _checkPermission
- from Products.CMFDefault.MembershipTool import MembershipTool as BaseTool
- from Products.CMFPlone import ToolNames
- from Products.CMFPlone.PloneUtilities import translate
-@@ -8,6 +8,9 @@
- from AccessControl import ClassSecurityInfo, getSecurityManager
- from Globals import InitializeClass
- from Acquisition import aq_base, aq_parent, aq_inner
-+from Products.CMFCore.CMFCorePermissions import ManagePortal
-+from Products.CMFCore.CMFCorePermissions import SetOwnProperties
-+from Products.CMFCore.CMFCorePermissions import SetOwnPassword
- from Products.CMFCore.CMFCorePermissions import View
- from Products.CMFPlone.PloneBaseTool import PloneBaseTool
-
-@@ -39,6 +42,7 @@
- # in CMFCore.MembershipTool - but in Plone we are not so anal ;-)
- security.declareProtected(View, 'getPortalRoles')
-
-+ security.declarePublic('getAuthenticatedMember')
- def getAuthenticatedMember(self):
- """ """
- _user=self.REQUEST.get('_portaluser', None)
-@@ -51,28 +55,30 @@
- self.REQUEST.set('_portaluser', _user)
- return _user
-
-+ security.declarePublic('getPersonalPortrait')
- def getPersonalPortrait(self, member_id = None, verifyPermission=0):
- """
- returns the Portait for a member_id
- """
- membertool = getToolByName(self, 'portal_memberdata')
-
-- # what are we doing with that
-- #if verifyPermission and not _checkPermission('View', portrait):
-- # return None
- if not member_id:
- member_id = self.getAuthenticatedMember().getUserName()
-
- portrait = membertool._getPortrait(member_id)
- if type(portrait) == type(''):
- portrait = None
-- #portrait = None
-+ if portrait is not None:
-+ if verifyPermission and not _checkPermission(View, portrait):
-+ # Don't return the portrait if the user can't get to it
-+ portrait = None
- if portrait is None:
- portal = getToolByName(self, 'portal_url').getPortalObject()
- portrait = getattr(portal, default_portrait)
-
- return portrait
-
-+ security.declareProtected(SetOwnProperties, 'deletePersonalPortrait')
- def deletePersonalPortrait(self, member_id = None):
- """
- deletes the Portait of member_id
-@@ -84,6 +90,7 @@
-
- membertool._deletePortrait(member_id)
-
-+ security.declarePublic('getPersonalFolder')
- def getPersonalFolder(self, member_id=None):
- """
- returns the Personal Item folder for a member
-@@ -97,6 +104,7 @@
- , None )
- return personal
-
-+ security.declareProtected(SetOwnProperties, 'changeMemberPortrait')
- def changeMemberPortrait(self, portrait, member_id=None):
- """
- given a portrait we will modify the users portrait
-@@ -111,6 +119,7 @@
- membertool = getToolByName(self, 'portal_memberdata')
- membertool._setPortrait(portrait, member_id)
-
-+ security.declarePublic('createMemberarea')
- def createMemberarea(self, member_id=None, minimal=0):
- """
- Create a member area for 'member_id' or the authenticated user.
-@@ -241,6 +250,7 @@
- security.declarePublic('createMemberArea')
- createMemberArea = createMemberarea
-
-+ security.declareProtected(ManagePortal, 'listMembers')
- def listMembers(self):
- '''Gets the list of all members.
- '''
-@@ -250,6 +260,7 @@
- else:
- return BaseTool.listMembers(self)
-
-+ security.declareProtected(ManagePortal, 'listMemberIds')
- def listMemberIds(self):
- '''Lists the ids of all members. This may eventually be
- replaced with a set of methods for querying pieces of the
-@@ -262,7 +273,7 @@
- return self.__getPUS().getUserNames()
-
- # this should probably be in MemberDataTool.py
-- #security.declarePublic( 'searchForMembers' )
-+ security.declarePublic('searchForMembers')
- def searchForMembers( self, REQUEST=None, **kw ):
- """ """
- if REQUEST:
-@@ -318,12 +329,12 @@
- res.append(member)
- return res
-
-- def testCurrentPassword(self, password, username=None):
-+ security.declareProtected(SetOwnPassword, 'testCurrentPassword')
-+ def testCurrentPassword(self, password):
- """ test to see if password is current """
- portal=getToolByName(self, 'portal_url').getPortalObject()
- REQUEST=getattr(self, 'REQUEST', {})
-- if username is None:
-- username=self.getAuthenticatedMember().getUserName()
-+ username=self.getAuthenticatedMember().getUserName()
- acl_users = self._findUsersAclHome(username)
- if not acl_users:
- return 0
diff --git a/net-zope/plone/plone-1.0.5.ebuild b/net-zope/plone/plone-1.0.5.ebuild
deleted file mode 100644
index 94cf6bb209fe..000000000000
--- a/net-zope/plone/plone-1.0.5.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/plone/plone-1.0.5.ebuild,v 1.9 2006/12/29 01:58:28 radek Exp $
-
-inherit zproduct
-
-DESCRIPTION="A Zope Content Management System, based on Zope CMF"
-HOMEPAGE="http://plone.org"
-SRC_URI="mirror://sourceforge/plone/CMFPlone${PV}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~ppc x86"
-
-RDEPEND=">=net-zope/cmf-1.3
- >=net-zope/formulator-1.2.0"
-
-S=${WORKDIR}/CMFPlone-${PV}
-
-ZPROD_LIST="CMFPlone DCWorkflow"
-MYDOC="docs/NavigationTool.txt docs/SiteTypes.txt ${MYDOC}"
-
-src_install() {
- rm -R Formulator/
- zproduct_src_install all
-}
-
-# Since i18n isn't a product folder, leaving it in $ZP_DIR/$PF.
-
-pkg_postinst() {
- zproduct_pkg_postinst
- einfo "---> NOTE: i18n folder location: ${ZP_DIR}/${PF}"
-}
diff --git a/net-zope/plone/plone-1.0.6.ebuild b/net-zope/plone/plone-1.0.6.ebuild
deleted file mode 100644
index 0879609434a8..000000000000
--- a/net-zope/plone/plone-1.0.6.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/plone/plone-1.0.6.ebuild,v 1.3 2006/12/29 01:58:28 radek Exp $
-
-inherit zproduct
-
-DESCRIPTION="A Zope Content Management System, based on Zope CMF"
-HOMEPAGE="http://plone.org"
-SRC_URI="mirror://sourceforge/plone/Plone-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86"
-
-RDEPEND=">=net-zope/cmf-1.3
- >=net-zope/formulator-1.2.0"
-
-S=${WORKDIR}/CMFPlone-${PV}
-
-ZPROD_LIST="CMFPlone DCWorkflow"
-MYDOC="docs/NavigationTool.txt docs/SiteTypes.txt ${MYDOC}"
-
-src_install() {
- rm -R Formulator/
- zproduct_src_install all
-}
-
-# Since i18n isn't a product folder, leaving it in $ZP_DIR/$PF.
-
-pkg_postinst() {
- zproduct_pkg_postinst
- einfo "---> NOTE: i18n folder location: ${ZP_DIR}/${PF}"
-}
diff --git a/net-zope/plone/plone-2.0.5-r2.ebuild b/net-zope/plone/plone-2.0.5-r2.ebuild
deleted file mode 100644
index 52d5678f7966..000000000000
--- a/net-zope/plone/plone-2.0.5-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/plone/plone-2.0.5-r2.ebuild,v 1.4 2007/07/15 06:09:10 mr_bones_ Exp $
-
-inherit zproduct eutils
-
-DESCRIPTION="A Zope Content Management System, based on Zope CMF"
-HOMEPAGE="http://plone.org"
-SRC_URI="mirror://sourceforge/plone/PloneBase-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="2.0"
-KEYWORDS="~amd64 ppc ~sparc x86"
-
-RDEPEND="=net-zope/cmf-1.4*
- =net-zope/zope-2.7*
- >=net-zope/btreefolder2-1.0.1
- >=net-zope/cmfactionicons-0.9
- >=net-zope/cmfformcontroller-1.0.2
- >=net-zope/cmfquickinstallertool-1.5.0
- >=net-zope/formulator-1.6.2
- >=net-zope/groupuserfolder-2.0.1
- >=net-zope/placelesstranslationservice-fork-1.0_rc7
- >=net-zope/ploneerrorreporting-0.11
- >=net-zope/plonetranslations-0.5
- >=net-zope/archetypes-1.2.5_rc5
- >=net-zope/portaltransforms-1.0.4
- >=net-zope/externaleditor-0.8
- >=net-zope/epoz-0.8.2
- >=app-admin/zope-config-0.5
- >=dev-lang/python-2.3"
-
-ZPROD_LIST="CMFPlone"
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}"/${P}-portrait_security.patch
-}
diff --git a/net-zope/plone/plone-2.1.4.ebuild b/net-zope/plone/plone-2.1.4.ebuild
deleted file mode 100644
index e8ee8537955b..000000000000
--- a/net-zope/plone/plone-2.1.4.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/plone/plone-2.1.4.ebuild,v 1.1 2006/09/24 20:04:39 radek Exp $
-
-inherit zproduct
-
-MY_P="Plone-2.1.4"
-DESCRIPTION="A Zope Content Management System, based on Zope CMF."
-HOMEPAGE="http://plone.org"
-SRC_URI="mirror://sourceforge/plone/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="2.1"
-KEYWORDS="~x86 ~sparc ~ppc ~amd64"
-IUSE=""
-
-DEPEND="app-admin/zope-config"
-RDEPEND="
- >=dev-python/imaging-1.1.5
- >=www-client/lynx-2.8.5
- || (
- =net-zope/zope-2.7*
- =net-zope/zope-2.8*
- )
- "
-
-S="${WORKDIR}/${MY_P}"
-
-ZPROD_LIST="
- ATContentTypes
- ATReferenceBrowserWidget
- Archetypes
- BTreeFolder2
- CMFActionIcons
- CMFCalendar
- CMFCore
- CMFDefault
- CMFDynamicViewFTI
- CMFFormController
- CMFPlone
- CMFQuickInstallerTool
- CMFSetup
- CMFTopic
- CMFUid
- DCWorkflow
- ExtendedPathIndex
- ExternalEditor
- GroupUserFolder
- MimetypesRegistry
- PlacelessTranslationService
- PloneErrorReporting
- PloneLanguageTool
- PloneTranslations
- PortalTransforms
- ResourceRegistries
- SecureMailHost
- generator
- kupu
- validation
- "
-
-pkg_postinst() {
- einfo
- einfo "This Plone version is a bundled version = contains all necessary zope products"
- einfo "You should carefully manage Your zope instance manually(!) with zprod-manager tool"
- einfo "If You have simple installation (just zope and plone) you should safely ;)"
- einfo "run 'zprod-manager add' and mark ${P} as [X] to be added to your instance."
- einfo "Consult http://bugs.gentoo.org/show_bug.cgi?id=105187#c84 for more info."
- einfo
- ewarn "Please do not forget that for python-2.3 (required for zope <2.9) you should:"
- ewarn " export PYTHON_SLOT_VERSION=2.3"
- ewarn " emerge imaging"
- ewarn "This will emerge imaging installing it for python-2.3 instead of python-2.4"
- ewarn "You can use this trick also for other python-2.3 packages."
- ewarn
-}