summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2005-03-26 02:07:10 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2005-03-26 02:07:10 +0000
commit6d56de35473a94c1f7c253ca1a0c578950aeb095 (patch)
tree08be53b30ab5a7437ce3fc56f7f4caa1f5e33100 /net-zope/zope
parentjikes support disabled, doesnt work: #86655 (diff)
downloadhistorical-6d56de35473a94c1f7c253ca1a0c578950aeb095.tar.gz
historical-6d56de35473a94c1f7c253ca1a0c578950aeb095.tar.bz2
historical-6d56de35473a94c1f7c253ca1a0c578950aeb095.zip
version bump.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-zope/zope')
-rw-r--r--net-zope/zope/ChangeLog7
-rw-r--r--net-zope/zope/Manifest16
-rw-r--r--net-zope/zope/files/digest-zope-2.7.51
-rw-r--r--net-zope/zope/zope-2.7.5.ebuild107
4 files changed, 123 insertions, 8 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index eb49aeded839..cae60d1dcbb1 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-zope/zope
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.63 2005/02/25 01:10:49 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.64 2005/03/26 02:07:10 radek Exp $
+
+*zope-2.7.5 (26 Mar 2005)
+
+ 26 Mar 2005; Radoslaw Stachowiak <radek@gentoo.org> +zope-2.7.5.ebuild:
+ Version bump, downgraded all arches to ~
24 Feb 2005; Jason Wever <weeve@gentoo.org> zope-2.7.4.ebuild:
Stable on sparc.
diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest
index c9f1604b9dd1..970ffbad89a3 100644
--- a/net-zope/zope/Manifest
+++ b/net-zope/zope/Manifest
@@ -1,18 +1,20 @@
-MD5 c19582cb3b72ecd7906c0a80b1699c1f ChangeLog 10870
-MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161
MD5 071e0cbd0de1fce59351895a4fc924cd zope-2.7.3.ebuild 3164
-MD5 3915c7c6ff5f6e5bcd756986202669be zope-2.7.4.ebuild 3320
+MD5 505628882e565050c4bcf8cfddc10f15 zope-2.7.5.ebuild 3341
MD5 f27b4a8235ae5a33c8755ea5e64836c5 zope-2.6.4-r1.ebuild 5622
+MD5 3915c7c6ff5f6e5bcd756986202669be zope-2.7.4.ebuild 3320
+MD5 9be36bb23e9d7fa9d06f272bf09f2913 ChangeLog 11015
+MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161
MD5 4addc802a313920f347129ebe3e75670 zope-2.7.2-r2.ebuild 3219
+MD5 ddddbf81a9803fef7474cb22df00a924 files/digest-zope-2.6.4-r1 64
+MD5 c8b31c146de4f24ffcb5442630034d50 files/digest-zope-2.7.2-r2 62
MD5 5bed447c71046c9266eb31ec4781b314 files/digest-zope-2.7.3 62
MD5 6d06eaf6855a28d450c36882ed56e703 files/digest-zope-2.7.4 62
-MD5 c8b31c146de4f24ffcb5442630034d50 files/digest-zope-2.7.2-r2 62
-MD5 ddddbf81a9803fef7474cb22df00a924 files/digest-zope-2.6.4-r1 64
+MD5 515774f7b0464e0ce8c3283141c676c7 files/digest-zope-2.7.5 66
MD5 037cf91a5b4d60efe166f90210c837ed files/i18n-1.0.0.patch 8080
MD5 28b31acf9b00b4388850af2acd90b2e3 files/zope.initd 1232
+MD5 a18ddd3f2cdcb815cf86f4b9c4bdd6fe files/2.6.4/zope.confd 950
+MD5 4d278d26bb7be7693f7213861a9d3805 files/2.6.4/zope.initd 3791
MD5 e99b9fc903db808c1bbb5aa8b9d0b44f files/2.7.2/zope.initd 1169
MD5 bce3b7d98963ff6f3e3d53557f3b4912 files/2.7.2/gid.patch 460
MD5 998ccd16d3ca461a8d30d2f9a7d46d24 files/2.7.3/zope.initd 1240
-MD5 a18ddd3f2cdcb815cf86f4b9c4bdd6fe files/2.6.4/zope.confd 950
-MD5 4d278d26bb7be7693f7213861a9d3805 files/2.6.4/zope.initd 3791
MD5 c97d6dc27b456ae0fbfdf8ee5627ac1b files/2.7.4/i18n-1.0.0.patch 7630
diff --git a/net-zope/zope/files/digest-zope-2.7.5 b/net-zope/zope/files/digest-zope-2.7.5
new file mode 100644
index 000000000000..2be172ad11b1
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-2.7.5
@@ -0,0 +1 @@
+MD5 5b5c5823c62370d9f7325c6014a49d8b Zope-2.7.5-final.tgz 2885871
diff --git a/net-zope/zope/zope-2.7.5.ebuild b/net-zope/zope/zope-2.7.5.ebuild
new file mode 100644
index 000000000000..40a3e8048dd3
--- /dev/null
+++ b/net-zope/zope/zope-2.7.5.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.5.ebuild,v 1.1 2005/03/26 02:07:10 radek 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}-final.tgz"
+LICENSE="ZPL"
+SLOT="${PV}"
+
+KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64"
+IUSE="unicode"
+
+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/lib
+ZSERVDIR=${ZS_DIR}/${PN}-${PV}
+
+# 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/*
+
+ # 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 sitecustomize.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@gentoo.org
+ # 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 python encoding to utf-8"
+ einfo "create the file sitecustomize.py inside your site-packages"
+ einfo "import sys"
+ einfo "sys.setdefaultencoding('utf8')"
+ cd ${S}/lib/python/StructuredText/
+ epatch ${FILESDIR}/2.7.4/i18n-1.0.0.patch
+ sleep 15
+ cd ${S}
+ fi
+
+ 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 /bin/false /var/lib/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
+}
+