summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2007-04-06 21:27:06 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2007-04-06 21:27:06 +0000
commite6c9a3768ec01d09789f86ca51dc39c72bded93c (patch)
tree5cce03c469e2858dfd5047ff76af98f18dc7f296 /net-zope
parentVersion bump. (diff)
downloadgentoo-2-e6c9a3768ec01d09789f86ca51dc39c72bded93c.tar.gz
gentoo-2-e6c9a3768ec01d09789f86ca51dc39c72bded93c.tar.bz2
gentoo-2-e6c9a3768ec01d09789f86ca51dc39c72bded93c.zip
Fixes #171797
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zope/ChangeLog8
-rw-r--r--net-zope/zope/files/digest-zope-2.8.9.13
-rw-r--r--net-zope/zope/zope-2.10.3.ebuild6
-rw-r--r--net-zope/zope/zope-2.8.9.1.ebuild87
-rw-r--r--net-zope/zope/zope-2.8.9.ebuild6
-rw-r--r--net-zope/zope/zope-2.9.7.ebuild6
6 files changed, 112 insertions, 4 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 70e6c66f31b0..49ed84e6cdc7 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,12 @@
# 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.119 2007/03/25 15:29:14 radek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.120 2007/04/06 21:27:06 radek Exp $
+
+*zope-2.8.9.1 (06 Apr 2007)
+
+ 06 Apr 2007; Radoslaw Stachowiak <radek@gentoo.org> zope-2.8.9.ebuild,
+ +zope-2.8.9.1.ebuild, zope-2.9.7.ebuild, zope-2.10.3.ebuild:
+ Fixes #171797
*zope-2.10.3 (25 Mar 2007)
*zope-2.9.7 (25 Mar 2007)
diff --git a/net-zope/zope/files/digest-zope-2.8.9.1 b/net-zope/zope/files/digest-zope-2.8.9.1
new file mode 100644
index 000000000000..bf6b4ce24974
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-2.8.9.1
@@ -0,0 +1,3 @@
+MD5 091e96f14c9a8aadcad3f6da74cc38c1 Zope-2.8.9.1-final.tgz 5367889
+RMD160 3ef6db5284fc54fd05d95b475e2bd000d7e1e9d4 Zope-2.8.9.1-final.tgz 5367889
+SHA256 81220396961097478261341099d3aff4e93fb4e41b2e2da27f450b79d5a2ed81 Zope-2.8.9.1-final.tgz 5367889
diff --git a/net-zope/zope/zope-2.10.3.ebuild b/net-zope/zope/zope-2.10.3.ebuild
index fe6625a4df74..efd793f267ee 100644
--- a/net-zope/zope/zope-2.10.3.ebuild
+++ b/net-zope/zope/zope-2.10.3.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.3.ebuild,v 1.2 2007/04/06 21:27:06 radek Exp $
inherit eutils multilib
@@ -61,6 +61,10 @@ src_install() {
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
diff --git a/net-zope/zope/zope-2.8.9.1.ebuild b/net-zope/zope/zope-2.8.9.1.ebuild
new file mode 100644
index 000000000000..f4dedf37ff18
--- /dev/null
+++ b/net-zope/zope/zope-2.8.9.1.ebuild
@@ -0,0 +1,87 @@
+# 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.1.ebuild,v 1.1 2007/04/06 21:27:06 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="2.8.9"
+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
+}
+
+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() {
+
+ #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
index 687ca489c010..0134a0e42e29 100644
--- a/net-zope/zope/zope-2.8.9.ebuild
+++ b/net-zope/zope/zope-2.8.9.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.9.ebuild,v 1.2 2007/04/06 21:27:06 radek Exp $
inherit eutils multilib
@@ -64,6 +64,10 @@ src_install() {
cp ${FILESDIR}/zope.initd ${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
diff --git a/net-zope/zope/zope-2.9.7.ebuild b/net-zope/zope/zope-2.9.7.ebuild
index 84c3f00d9408..9513b0b1de14 100644
--- a/net-zope/zope/zope-2.9.7.ebuild
+++ b/net-zope/zope/zope-2.9.7.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.9.7.ebuild,v 1.2 2007/04/06 21:27:06 radek Exp $
inherit eutils multilib
@@ -61,6 +61,10 @@ src_install() {
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