diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2005-10-19 20:47:01 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2005-10-19 20:47:01 +0000 |
commit | b5648fe163e6e2112ed7b43374c25c6aa49133d4 (patch) | |
tree | 830eca02d9c8b6db9426b64c88616863553e5c71 /net-zope | |
parent | Version bump and fixed to work with eselect-1.0_rc1. (diff) | |
download | historical-b5648fe163e6e2112ed7b43374c25c6aa49133d4.tar.gz historical-b5648fe163e6e2112ed7b43374c25c6aa49133d4.tar.bz2 historical-b5648fe163e6e2112ed7b43374c25c6aa49133d4.zip |
version bump, closes bug #109087
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 7 | ||||
-rw-r--r-- | net-zope/zope/Manifest | 46 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.8.3 | 1 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.3.ebuild | 110 |
4 files changed, 136 insertions, 28 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index 109ca0b83337..b455dff5d9b3 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.83 2005/10/18 22:23:11 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.84 2005/10/19 20:47:01 radek Exp $ + +*zope-2.8.3 (19 Oct 2005) + + 19 Oct 2005; Radoslaw Stachowiak <radek@gentoo.org> +zope-2.8.3.ebuild: + version bump, closes bug #109087 18 Oct 2005; Bryan Ăstergaard <kloeri@gentoo.org> zope-2.7.8.ebuild: Stable on alpha, bug 109087. diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest index e4d1dae3442e..463552f4a9cb 100644 --- a/net-zope/zope/Manifest +++ b/net-zope/zope/Manifest @@ -1,14 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 69a68a5312675fcca893699f6fbcc230 ChangeLog 13430 -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 -MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.7.6/i18n-1.0.0.patch 7634 -MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.7.7/i18n-1.0.0.patch 7634 -MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.7.8/i18n-1.0.0.patch 7634 -MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.8.1/i18n-1.0.0.patch 7634 +MD5 f9ce140b51256a557d2aebdcfd3ab4b8 zope-2.7.8.ebuild 3332 +MD5 a51712c4e56687605942d3c914c60d31 zope-2.8.1.ebuild 3512 +MD5 42625ed029875b4d13c9af34f02aa7ed zope-2.7.5.ebuild 3334 +MD5 0ce3afe5cd3f944a3fa984afa74a43af zope-2.8.3.ebuild 3512 +MD5 5416407eff85546578bb4e7c61f45d5e zope-2.6.4-r1.ebuild 5629 +MD5 8664a857f90291f6bd82968b54b23e0d zope-2.7.7.ebuild 3332 +MD5 03dd7525a3392e245889fba308edc438 zope-2.8.0.ebuild 3362 +MD5 6e4ba5b7bd92b20ad3f28cb7e3158deb zope-2.8.2.ebuild 3515 +MD5 6faf21f7e38c016ecc1ec0738d4bf12f ChangeLog 13566 +MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161 +MD5 e3ebbd463da7c5b7f7cacd4d79323c46 zope-2.7.6.ebuild 3335 MD5 ddddbf81a9803fef7474cb22df00a924 files/digest-zope-2.6.4-r1 64 MD5 515774f7b0464e0ce8c3283141c676c7 files/digest-zope-2.7.5 66 MD5 8bf817c4c3e6ad2b06e92a95c6ffd7e0 files/digest-zope-2.7.6 66 @@ -17,21 +17,13 @@ MD5 dd38699498b0cab29b7eb5df48c4674a files/digest-zope-2.7.8 66 MD5 17edb3696d5d99b37864d9bb7cc23d21 files/digest-zope-2.8.0 69 MD5 47255f0bd3319908dc8ee081f6c8cf17 files/digest-zope-2.8.1 66 MD5 e1516616e08b645a062860a4903fa4fe files/digest-zope-2.8.2 69 +MD5 f26477bbd15c975a265ea05f285e728e files/digest-zope-2.8.3 66 MD5 037cf91a5b4d60efe166f90210c837ed files/i18n-1.0.0.patch 8080 MD5 28b31acf9b00b4388850af2acd90b2e3 files/zope.initd 1232 -MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161 -MD5 5416407eff85546578bb4e7c61f45d5e zope-2.6.4-r1.ebuild 5629 -MD5 42625ed029875b4d13c9af34f02aa7ed zope-2.7.5.ebuild 3334 -MD5 e3ebbd463da7c5b7f7cacd4d79323c46 zope-2.7.6.ebuild 3335 -MD5 8664a857f90291f6bd82968b54b23e0d zope-2.7.7.ebuild 3332 -MD5 f9ce140b51256a557d2aebdcfd3ab4b8 zope-2.7.8.ebuild 3332 -MD5 03dd7525a3392e245889fba308edc438 zope-2.8.0.ebuild 3362 -MD5 a51712c4e56687605942d3c914c60d31 zope-2.8.1.ebuild 3512 -MD5 6e4ba5b7bd92b20ad3f28cb7e3158deb zope-2.8.2.ebuild 3515 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDVXYVKf2g/qXtneoRAlvmAKCSgq69LlE1pV5Ss6iA6Arpn5+JOwCfbNZV -9mZ1SnYbj86IYGqus1k7vq8= -=ntbt ------END PGP SIGNATURE----- +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 +MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.7.6/i18n-1.0.0.patch 7634 +MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.7.7/i18n-1.0.0.patch 7634 +MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.7.8/i18n-1.0.0.patch 7634 +MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.8.1/i18n-1.0.0.patch 7634 diff --git a/net-zope/zope/files/digest-zope-2.8.3 b/net-zope/zope/files/digest-zope-2.8.3 new file mode 100644 index 000000000000..724e4512aa73 --- /dev/null +++ b/net-zope/zope/files/digest-zope-2.8.3 @@ -0,0 +1 @@ +MD5 49fd128fde4f3201d12821782bcfc211 Zope-2.8.3-final.tgz 8235294 diff --git a/net-zope/zope/zope-2.8.3.ebuild b/net-zope/zope/zope-2.8.3.ebuild new file mode 100644 index 000000000000..a9a86cd0e04b --- /dev/null +++ b/net-zope/zope/zope-2.8.3.ebuild @@ -0,0 +1,110 @@ +# 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.8.3.ebuild,v 1.1 2005/10/19 20:47:01 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="~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/$(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/* + + # 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')" + # stx i18n support borked. --batlogg@gentoo.org + ewarn "sorry, the Structured Text patch doesn't work yet for zope-2.8." + #cd ${S}/lib/python/StructuredText/ + #epatch ${FILESDIR}/${PV}/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 -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 +} + |