diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2008-11-10 19:29:15 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2008-11-10 19:29:15 +0000 |
commit | 89cc511cb3aba9c8018f33e0e3e517deeea80767 (patch) | |
tree | 285281dbb5eb019b5cc3006fed8ae83f4897f6cf /net-zope/zope | |
parent | Move ChangeLog creation to ESVN_BOOTSTRAP, this makes it work with current sv... (diff) | |
download | gentoo-2-89cc511cb3aba9c8018f33e0e3e517deeea80767.tar.gz gentoo-2-89cc511cb3aba9c8018f33e0e3e517deeea80767.tar.bz2 gentoo-2-89cc511cb3aba9c8018f33e0e3e517deeea80767.zip |
Version bump to 2.9.10 and 2.10.7
(Portage version: 2.1.4.5)
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 9 | ||||
-rw-r--r-- | net-zope/zope/zope-2.10.7.ebuild | 77 | ||||
-rw-r--r-- | net-zope/zope/zope-2.9.10.ebuild | 76 |
3 files changed, 161 insertions, 1 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index 042637d77d71..757d86d030b2 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-zope/zope # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.146 2008/10/26 12:38:39 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.147 2008/11/10 19:29:15 tupone Exp $ + +*zope-2.10.7 (10 Nov 2008) +*zope-2.9.10 (10 Nov 2008) + + 10 Nov 2008; Tupone Alfredo <tupone@gentoo.org> +zope-2.9.10.ebuild, + +zope-2.10.7.ebuild: + Version bump to 2.9.10 and 2.10.7. 26 Oct 2008; Raúl Porcel <armin76@gentoo.org> zope-2.10.6.ebuild: alpha stable wrt #243270 diff --git a/net-zope/zope/zope-2.10.7.ebuild b/net-zope/zope/zope-2.10.7.ebuild new file mode 100644 index 000000000000..4281159b5002 --- /dev/null +++ b/net-zope/zope/zope-2.10.7.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.7.ebuild,v 1.1 2008/11/10 19:29:15 tupone Exp $ + +inherit eutils multilib + +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}-final.tgz" + +LICENSE="ZPL" +SLOT="${PV}" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="=dev-lang/python-2.4*" + +S="${WORKDIR}/Zope-${PV}-final" +ZUID=zope +ZGID=zope +ZS_DIR=${ROOT%/}/usr/$(get_libdir) +ZSERVDIR=${ZS_DIR}/${P} + +# 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' 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} + +src_compile() { + ./configure --prefix="${D}${ZSERVDIR}" --with-python=/usr/bin/python2.4 || die "Failed to execute ./configure ..." + emake || die "Failed to compile." +} + +src_install() { + dodoc README.txt + dodoc doc/*.txt + docinto PLATFORMS ; dodoc doc/PLATFORMS/* + docinto ZEO ; dodoc doc/ZEO/* + + make install prefix="${D}${ZSERVDIR}" || die "Failed to install into ${D}${ZSERVDIR}" + rm -rf "${D}${ZSERVDIR}"/doc + dosym ../../share/doc/${PF} ${ZSERVDIR}/doc + + # copy the init script skeleton to skel directory of our installation + insinto "${ZSERVDIR}"/skel + doins "${FILESDIR}"/zope.initd +} + +src_test() { + einfo "Tests disabled by Gentoo team." +} + +pkg_postinst() { + # create the zope user and group for backward compatibility + enewgroup ${ZGID} 261 + usermod -g ${ZGID} ${ZUID} 2>&1 >/dev/null || \ + enewuser ${ZUID} 261 -1 /var/$(get_libdir)/zope ${ZGID} + + einfo "Be warned that you need at least one zope instance to run zope." + einfo "Please emerge zope-config for futher instance management." +} + +pkg_prerm() { + #Remove old compiled code + rm ${ZSERVDIR}/bin/copyzopeskel.pyc + + #need to remove this symlink because portage keeps links to + #existing targets + rm ${ZSERVDIR}/bin/python +} diff --git a/net-zope/zope/zope-2.9.10.ebuild b/net-zope/zope/zope-2.9.10.ebuild new file mode 100644 index 000000000000..3f52b781cab1 --- /dev/null +++ b/net-zope/zope/zope-2.9.10.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.9.10.ebuild,v 1.1 2008/11/10 19:29:15 tupone Exp $ + +inherit eutils multilib + +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}-final.tgz" + +LICENSE="ZPL" +SLOT="${PV}" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="=dev-lang/python-2.4*" + +S="${WORKDIR}/Zope-${PV}-final" +ZUID=zope +ZGID=zope +ZS_DIR=${ROOT%/}/usr/$(get_libdir) +ZSERVDIR=${ZS_DIR}/${P} + +# 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' 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} + +src_compile() { + ./configure --prefix="${D}${ZSERVDIR}" --with-python=/usr/bin/python2.4 || die "Failed to execute ./configure ..." + emake || die "Failed to compile." +} + +src_install() { + dodoc README.txt + dodoc Zope/doc/*.txt + docinto PLATFORMS ; dodoc Zope/doc/PLATFORMS/* + docinto ZEO ; dodoc Zope/doc/ZEO/* + + make install prefix="${D}"${ZSERVDIR} || die "Failed to install into ${D}${ZSERVDIR}" + rm -rf "${D}"${ZSERVDIR}/doc + dosym ../../share/doc/${PF} ${ZSERVDIR}/doc + + # copy the init script skeleton to skel directory of our installation + cp "${FILESDIR}"/zope.initd "${D}"/${ZSERVDIR}/skel/zope.initd +} + +src_test() { + einfo "Tests disabled by Gentoo team." +} + +pkg_postinst() { + # create the zope user and group for backward compatibility + enewgroup ${ZGID} 261 + usermod -g ${ZGID} ${ZUID} 2>&1 >/dev/null || \ + enewuser ${ZUID} 261 -1 /var/$(get_libdir)/zope ${ZGID} + + einfo "Be warned that you need at least one zope instance to run zope." + einfo "Please emerge zope-config for futher instance management." +} + +pkg_prerm() { + #Remove old compiled code + rm ${ZSERVDIR}/bin/copyzopeskel.pyc + + #need to remove this symlink because portage keeps links to + #existing targets + rm ${ZSERVDIR}/bin/python +} |