diff options
author | 2004-03-26 22:42:49 +0000 | |
---|---|---|
committer | 2004-03-26 22:42:49 +0000 | |
commit | ae4d1c6a033f0b0aacbc2d5b5d04669205cdb6f2 (patch) | |
tree | a23c24508c5895479773bee3c9b29ccf7b65f3d8 /net-zope/zope | |
parent | Stable on sparc wrt bug #44859. (diff) | |
download | historical-ae4d1c6a033f0b0aacbc2d5b5d04669205cdb6f2.tar.gz historical-ae4d1c6a033f0b0aacbc2d5b5d04669205cdb6f2.tar.bz2 historical-ae4d1c6a033f0b0aacbc2d5b5d04669205cdb6f2.zip |
zope 2.6.3 is known to be buggy. it's better to take it out of portage
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 4 | ||||
-rw-r--r-- | net-zope/zope/Manifest | 3 | ||||
-rw-r--r-- | net-zope/zope/zope-2.6.3.ebuild | 155 |
3 files changed, 3 insertions, 159 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index 8e1aee39c53e..62a6e41c1a97 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,8 +1,8 @@ # ChangeLog for net-zope/zope # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.20 2004/03/26 22:38:27 batlogg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.21 2004/03/26 22:42:49 batlogg Exp $ - 26 Mar 2004; Jodok Batlogg <batlogg@gentoo.org>; : + 26 Mar 2004; Jodok Batlogg <batlogg@gentoo.org>; zope-2.6.3.ebuild: zope 2.6.3 is known to be buggy. it's better to take it out of portage 15 Mar 2004; David Holm <dholm@gentoo.org> zope-2.6.4-r1.ebuild: diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest index ada24639e5e4..b98f1071a87c 100644 --- a/net-zope/zope/Manifest +++ b/net-zope/zope/Manifest @@ -2,9 +2,8 @@ MD5 445c27d961897aadd719c7d7d55abae8 zope-2.4.0-r6.ebuild 2653 MD5 fe113b568060f9089f69b75e4848f897 zope-2.5.1.ebuild 2617 MD5 1143c4ce70e3e777b06326566a9c9921 zope-2.6.4.ebuild 4381 MD5 07076bd947132faeb8c86081f86f1eca zope-2.6.4-r1.ebuild 5342 -MD5 a951ae4f098aa16c32fe369bbdd46d6c ChangeLog 5205 +MD5 02a86eb4fb99d4addaba081362da3a39 ChangeLog 5222 MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161 -MD5 dcc157ad792206e2d516ab9b18aa72fe zope-2.6.3.ebuild 4360 MD5 e13da78ee330353cc967bea9589d1043 files/zope 5577 MD5 111f2aacb074731c923a5eb93a53f6af files/zctl.py 9455 MD5 ddde0a17fff53b39fee88852f3a5e2d7 files/zope.rc6 5559 diff --git a/net-zope/zope/zope-2.6.3.ebuild b/net-zope/zope/zope-2.6.3.ebuild deleted file mode 100644 index d91d38732bde..000000000000 --- a/net-zope/zope/zope-2.6.3.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.3.ebuild,v 1.2 2004/01/21 21:21:49 lanius Exp $ - -inherit eutils - -S="${WORKDIR}/Zope-${PV}-src" - -DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites." -HOMEPAGE="http://www.zope.org" -SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-src.tgz" -LICENSE="ZPL" -SLOT="${PV}" - -KEYWORDS="x86 ~sparc" - -# This is for developers that wish to test Zope with virtual/python. -# If this is a problem, let me know right away. --kutsuya@gentoo.org -# I wondering if we need a USE flag for this. But I'm planning to have -# a private environmental variable called PYTHON_SLOT_VERSION set in -# ebuilds to build extensions for python2.1. - -if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then - RDEPEND="virtual/python" - python='python' -elif [ "${PYTHON_SLOT_VERSION}" != '' ] ; then - RDEPEND="=dev-lang/python-${PYTHON_SLOT_VERSION}*" - python="python${PYTHON_SLOT_VERSION}" -else - RDEPEND="=dev-lang/python-2.1.3*" - python='python2.1' -fi - -RDEPEND="${RDEPEND} - !net-zope/verbosesecurity" - -DEPEND="${RDEPEND} - virtual/glibc - >=sys-apps/sed-4.0.5 - >=app-admin/zope-config-0.3" - -ZUID=zope -ZGID=$(echo ${P} |sed -e "s:\.:_:g") -ZS_DIR=${ROOT}/usr/share/zope/ -ZI_DIR=${ROOT}/var/lib/zope/ -ZSERVDIR=${ZS_DIR}/${PF}/ -ZINSTDIR=${ZI_DIR}/${ZGID} -CONFDIR=${ROOT}/etc/conf.d/ -RCNAME=zope.initd - -# Narrow the scope of ownership/permissions. -# Security plan: -# * ZUID is the superuser for all zope instances. -# * ZGID is for a single instance's administration. -# * Other's should not have any access to ${ZSERVDIR}, -# because they can work through the Zope web interface. -# This should protect our code/data better. - -# Parameters: -# $1 = instance directory -# $2 = group - -setup_security() { - chown -R ${ZUID}:${2} ${1} - chmod -R g+u ${1} - chmod -R o-rwx ${1} -} - -install_help() { - einfo "Need to setup an inituser (admin) before executing zope:" - einfo "\tzope-config --zpasswd" - einfo "To execute default Zope instance:" - einfo "\t/etc/init.d/${ZGID} start" -} - -pkg_setup() { - if [ "${PYTHON_SLOT_VERSION}" != '' ] ; then - ewarn "WARNING: You set PYTHON_SLOT_VERSION=${PYTHON_SLOT_VERSION}." - if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then - ewarn "So this ebuild will use virtual/python." - else - ewarn "So this ebuild will use python-${PYTHON_SLOT_VERSION}*." - fi - ewarn "Zope Corp. only recommends using python-2.1.3 " - ewarn "with this version of zope. Emerge at your own risk." - ewarn "Python-2.3 is known NOT to work." - sleep 12 - fi - enewgroup ${ZGID} - enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID} -} - -src_compile() { - $python wo_pcgi.py || die "Failed to compile." -} - -src_install() { - dodoc LICENSE.txt README.txt - docinto doc ; dodoc doc/*.txt - docinto doc/PLATFORMS ; dodoc doc/PLATFORMS/* - docinto doc/changenotes ; dodoc doc/changenotes/* - - # using '/etc/init.d/zope' - rm -Rf start stop LICENSE.txt README.txt doc/ - - # Need to rip out the zinstance stuff out - # but save as templates - mkdir -p .templates/import - cp import/README.txt .templates/import/ - mv -f Extensions/ .templates/ - mv -f var/ .templates/ - - # Add conf.d script. - dodir /etc/conf.d - echo "ZOPE_OPTS=\"-u zope\"" | \ - cat - ${FILESDIR}/2.6.1/zope.envd > .templates/zope.confd - - # Fill in environmental variables - sed -i -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \ - -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \ - .templates/zope.confd - - # Add rc-script. - #!! TODO: fill in $python in zope-r2.initd - sed -e "/python=/ c\\python=\"${python}\"\\ " ${FILESDIR}/2.6.1/${RCNAME} \ - > .templates/zope.initd - - # Copy the remaining contents of ${S} into the ${D}. - dodir ${ZSERVDIR} - cp -a . ${D}${ZSERVDIR} - - setup_security ${D}${ZSERVDIR} ${ZGID} -} - -pkg_postinst() { - # Here we add our default zope instance. - /usr/sbin/zope-config --zserv=${ZSERVDIR} --zinst=${ZINSTDIR} \ - --zgid=${ZGID} - install_help -} - -pkg_postrm() { - # rcscripts and conf.d files will remain. i.e. /etc protection. - - # Delete .default if this ebuild is the default. zprod-manager will - # have to handle a missing default; - local VERSION_DEF="$(zope-config --zidef-get)" - if [ "${ZGID}" = "$VERSION_DEF" ] ; then - rm -f ${ZI_DIR}/.default - fi -} - -pkg_config() { - install_help -} |