summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2007-03-25 15:29:14 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2007-03-25 15:29:14 +0000
commitbb5e45d84f3eb0b88bac1febec28f388e1c6bfa6 (patch)
tree55e17c7d021a95eddf9f55540de94397922a7795 /net-zope
parentUncomment CHOST setting in make.defaults. (diff)
downloadgentoo-2-bb5e45d84f3eb0b88bac1febec28f388e1c6bfa6.tar.gz
gentoo-2-bb5e45d84f3eb0b88bac1febec28f388e1c6bfa6.tar.bz2
gentoo-2-bb5e45d84f3eb0b88bac1febec28f388e1c6bfa6.zip
Version bumps to solve security #171797
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zope/ChangeLog10
-rw-r--r--net-zope/zope/files/digest-zope-2.10.33
-rw-r--r--net-zope/zope/files/digest-zope-2.8.93
-rw-r--r--net-zope/zope/files/digest-zope-2.9.73
-rw-r--r--net-zope/zope/zope-2.10.3.ebuild79
-rw-r--r--net-zope/zope/zope-2.8.9.ebuild83
-rw-r--r--net-zope/zope/zope-2.9.6.ebuild4
-rw-r--r--net-zope/zope/zope-2.9.7.ebuild79
8 files changed, 261 insertions, 3 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 5c311ed6de45..70e6c66f31b0 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,14 @@
# 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.118 2007/02/22 01:52:38 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.119 2007/03/25 15:29:14 radek Exp $
+
+*zope-2.10.3 (25 Mar 2007)
+*zope-2.9.7 (25 Mar 2007)
+*zope-2.8.9 (25 Mar 2007)
+
+ 25 Mar 2007; Radoslaw Stachowiak <radek@gentoo.org> +zope-2.8.9.ebuild,
+ +zope-2.9.7.ebuild, +zope-2.10.3.ebuild:
+ Version bumps to solve security #171797
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/net-zope/zope/files/digest-zope-2.10.3 b/net-zope/zope/files/digest-zope-2.10.3
new file mode 100644
index 000000000000..080007943031
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-2.10.3
@@ -0,0 +1,3 @@
+MD5 16333e8a14837466de10cd497643a967 Zope-2.10.3-final.tgz 7094321
+RMD160 f5f2c49d175d81add3b7eb62abd366c5375562d0 Zope-2.10.3-final.tgz 7094321
+SHA256 af0913d732d35b41a3d9350976610fb1446c874b9a9306bce9a2240217e2e9bb Zope-2.10.3-final.tgz 7094321
diff --git a/net-zope/zope/files/digest-zope-2.8.9 b/net-zope/zope/files/digest-zope-2.8.9
new file mode 100644
index 000000000000..85dd4882686c
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-2.8.9
@@ -0,0 +1,3 @@
+MD5 afe67f446ed602fa7ae0137e05d095cb Zope-2.8.9-final.tgz 5329489
+RMD160 b5b47d8b1a0e24cf7b7d1d48b732ca93f1b2586d Zope-2.8.9-final.tgz 5329489
+SHA256 98f2b70d6b8987ab7035b6047b9d5e5fc75b0a11cf18c15a26d671bbb939fca5 Zope-2.8.9-final.tgz 5329489
diff --git a/net-zope/zope/files/digest-zope-2.9.7 b/net-zope/zope/files/digest-zope-2.9.7
new file mode 100644
index 000000000000..d046259a3606
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-2.9.7
@@ -0,0 +1,3 @@
+MD5 46c4319107c2a47e5d2cf42fabe6af1d Zope-2.9.7-final.tgz 6945526
+RMD160 a9b6e568145e6cd723a72ad9ec387f11fd9aedfb Zope-2.9.7-final.tgz 6945526
+SHA256 f930366a9a98df34d1cb26e3a06f7cd232890328835905592527b71c8164a98e Zope-2.9.7-final.tgz 6945526
diff --git a/net-zope/zope/zope-2.10.3.ebuild b/net-zope/zope/zope-2.10.3.ebuild
new file mode 100644
index 000000000000..fe6625a4df74
--- /dev/null
+++ b/net-zope/zope/zope-2.10.3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.3.ebuild,v 1.1 2007/03/25 15:29:14 radek 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=""
+
+RDEPEND="=dev-lang/python-2.4*"
+
+DEPEND="${RDEPEND}
+virtual/libc
+>=sys-apps/sed-4.0.5"
+
+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_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+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
+}
+
+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() {
+
+ #need to remove this symlink because portage keeps links to
+ #existing targets
+ rm ${ZSERVDIR}/bin/python
+}
diff --git a/net-zope/zope/zope-2.8.9.ebuild b/net-zope/zope/zope-2.8.9.ebuild
new file mode 100644
index 000000000000..687ca489c010
--- /dev/null
+++ b/net-zope/zope/zope-2.8.9.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.9.ebuild,v 1.1 2007/03/25 15:29:14 radek 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=""
+
+RDEPEND="=dev-lang/python-2.3*"
+python='python2.3'
+
+DEPEND="${RDEPEND}
+virtual/libc
+>=sys-apps/sed-4.0.5"
+
+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_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_compile() {
+ ./configure --ignore-largefile --prefix=. --with-python=/usr/bin/python2.3 || die "Failed to 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}
+ rm -rf ${D}${ZSERVDIR}/doc
+ dosym ../../share/doc/${PF} ${ZSERVDIR}/doc
+ # copy the init script skeleton to skel directory of our installation
+ skel=${D}${ZSERVDIR}/skel
+ # <radek@gentoo.org> from 2.7.4 release i think that we can use the same
+ # file for every one, and not separate it by PV
+ cp ${FILESDIR}/zope.initd ${skel}/zope.initd
+}
+
+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() {
+
+ #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.6.ebuild b/net-zope/zope/zope-2.9.6.ebuild
index f26241b2780c..6623b86ebf8b 100644
--- a/net-zope/zope/zope-2.9.6.ebuild
+++ b/net-zope/zope/zope-2.9.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.9.6.ebuild,v 1.1 2006/12/29 00:19:50 radek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.9.6.ebuild,v 1.2 2007/03/25 15:29:14 radek Exp $
inherit eutils multilib
diff --git a/net-zope/zope/zope-2.9.7.ebuild b/net-zope/zope/zope-2.9.7.ebuild
new file mode 100644
index 000000000000..84c3f00d9408
--- /dev/null
+++ b/net-zope/zope/zope-2.9.7.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.9.7.ebuild,v 1.1 2007/03/25 15:29:14 radek 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=""
+
+RDEPEND="=dev-lang/python-2.4*"
+
+DEPEND="${RDEPEND}
+virtual/libc
+>=sys-apps/sed-4.0.5"
+
+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_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+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
+}
+
+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() {
+
+ #need to remove this symlink because portage keeps links to
+ #existing targets
+ rm ${ZSERVDIR}/bin/python
+}