diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2007-05-11 18:25:29 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2007-05-11 18:25:29 +0000 |
commit | 2b5b035888a0755f9cdf394e17021e8184e8972b (patch) | |
tree | 62d246b838e9860c279b2e2b25622a6a7122bd57 /net-zope | |
parent | add metadata.xml (diff) | |
download | gentoo-2-2b5b035888a0755f9cdf394e17021e8184e8972b.tar.gz gentoo-2-2b5b035888a0755f9cdf394e17021e8184e8972b.tar.bz2 gentoo-2-2b5b035888a0755f9cdf394e17021e8184e8972b.zip |
Masked for a year and finally going away due to <python-2.3 being removed.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 5 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.6.4-r1 | 3 | ||||
-rw-r--r-- | net-zope/zope/zope-2.6.4-r1.ebuild | 189 |
3 files changed, 4 insertions, 193 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index cf40c063ecdd..8939a64959e1 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-zope/zope # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.128 2007/04/29 18:17:39 radek Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.129 2007/05/11 18:25:29 kloeri Exp $ + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> -zope-2.6.4-r1.ebuild: + Masked for a year and finally going away due to <python-2.3 being removed. 29 Apr 2007; Radoslaw Stachowiak <radek@gentoo.org> -zope-2.7.7.ebuild, -zope-2.7.8.ebuild, -zope-2.9.4.ebuild, -zope-2.9.5.ebuild, diff --git a/net-zope/zope/files/digest-zope-2.6.4-r1 b/net-zope/zope/files/digest-zope-2.6.4-r1 deleted file mode 100644 index eb9cd667b0cc..000000000000 --- a/net-zope/zope/files/digest-zope-2.6.4-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4ad8ca2a1ba278881e55312d385f39f1 Zope-2.6.4-src.tgz 2401115 -RMD160 33b46814c9db37d661cb0eb374fa53873397a0eb Zope-2.6.4-src.tgz 2401115 -SHA256 368a2a922b9b5fbc3cbe70831701adb88c75ee6cb62b56773487518c85fb143f Zope-2.6.4-src.tgz 2401115 diff --git a/net-zope/zope/zope-2.6.4-r1.ebuild b/net-zope/zope/zope-2.6.4-r1.ebuild deleted file mode 100644 index 2b797136e95f..000000000000 --- a/net-zope/zope/zope-2.6.4-r1.ebuild +++ /dev/null @@ -1,189 +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/zope/zope-2.6.4-r1.ebuild,v 1.16 2006/01/27 02:51:54 vapier Exp $ - -inherit eutils - -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="~alpha ppc sparc x86" -IUSE="unicode" - -# 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/libc ->=sys-apps/sed-4.0.5 ->=app-admin/zope-config-0.3" - -S="${WORKDIR}/Zope-${PV}-src" - -ZUID=zope -ZGID=${P//./_} -ZS_DIR=${ROOT}/usr/share/zope/ -ZI_DIR=${ROOT}/var/lib/zope/ -ZSERVDIR=${ZS_DIR}/${PF}/ -ZINSTDIR=${ZI_DIR}/${ZGID} -ZOPEOPTS="\"-u zope\"" -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. -# -# UPDATE: ${ZSERVDIR} is a lib directory and should be world readable -# like e.g /usr/lib/python we do not store any user data there, -# currently removed all custom permission stuff, for ${ZSERVDIR} - -# Parameters: -# $1 = instance directory -# $2 = group - -setup_security() { - chown -R ${ZUID}:${2} ${1} - chmod -R g+u ${1} - # 20040926 <radek@gentoo.org> changed, due to errors in ebuild and policy - chmod -R go+rX ${1} -} - -install_help() { - einfo "Be warned that you need at least one zope instance to run zope." - einfo "Please emerge zope-config for futher instance management." -} - -pkg_preinst() { - enewgroup ${ZGID} - enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID} -} - -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." - epause 12 - fi -} - -src_compile() { - ${python} wo_pcgi.py || die "Failed to compile." -} - -src_install() { - dodoc README.txt - docinto doc ; dodoc doc/*.txt - docinto doc/PLATFORMS ; dodoc doc/PLATFORMS/* - docinto doc/changenotes ; dodoc doc/changenotes/* - - # Patched StructuredText will accept source text formatted in utf-8 encoding, - # apply all formattings and output utf-8 encoded text. - # if you want to use this option you need to set your - # system python encoding to utf-8 (create the file sitecusomize.py inside - # your site-packages, add the following lines - # import sys - # sys.setdefaultencoding('utf-8') - # If this is a problem, let me know right away. --batlogg@solution2u.net - # I wondering if we need a USE flag for this and wheter we can set the - # sys.encoding automtically - # so i defined a use flag - - if use unicode; then - einfo "Patching structured text" - einfo "make sure you have set the system pythong encoding to utf-8" - einfo "create the file sitecusomize.py inside your site-packages" - einfo "import sys" - einfo "sys.setdefaultencoding('utf8')" - cd ${S}/lib/python/StructuredText/ - epatch ${FILESDIR}/i18n-1.0.0.patch - cd ${S} - fi - - - # 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 - cp ${FILESDIR}/${PV}/zope.confd .templates/zope.confd - - # Fill in environmental variables - sed -i \ - -e "/ZOPE_OPTS=/ c\\ZOPE_OPTS=${ZOPEOPTS}\\ " \ - -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \ - -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \ - .templates/zope.confd - - # Add conf.d script. - dodir /etc/init.d - cp ${FILESDIR}/${PV}/zope.initd .templates/zope.initd - # Fill in rc-script. - sed -i -e "/python=/ c\\python=\"${python}\"\\ " \ - .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. - # UPDATE 20040925: disabled due to zope-config, errors - #/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 -} |