diff options
author | Jodok Batlogg <batlogg@gentoo.org> | 2005-08-23 19:48:57 +0000 |
---|---|---|
committer | Jodok Batlogg <batlogg@gentoo.org> | 2005-08-23 19:48:57 +0000 |
commit | eda7b0176f16e75aa242d7ad9e9a283a4891cb99 (patch) | |
tree | 7ae01b4c2bd422be3504ad6946c7df1a5a45ff28 /net-zope/zope | |
parent | Add inherit eutils. (diff) | |
download | gentoo-2-eda7b0176f16e75aa242d7ad9e9a283a4891cb99.tar.gz gentoo-2-eda7b0176f16e75aa242d7ad9e9a283a4891cb99.tar.bz2 gentoo-2-eda7b0176f16e75aa242d7ad9e9a283a4891cb99.zip |
version bump (2.7.7, 2.8.1), QA #103421
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 8 | ||||
-rw-r--r-- | net-zope/zope/Manifest | 38 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.7.7 | 1 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.8.1 | 1 | ||||
-rw-r--r-- | net-zope/zope/zope-2.7.7.ebuild | 107 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.0.ebuild | 4 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.1.ebuild | 108 |
7 files changed, 242 insertions, 25 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index abd9537872ac..69a451ab6683 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,12 @@ # 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.70 2005/06/14 02:52:25 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.71 2005/08/23 19:48:57 batlogg Exp $ + +*zope-2.8.1 (23 Aug 2005) + + 23 Aug 2005; Jodok Batlogg <batlogg@gentoo.org>; +zope-2.7.7.ebuild, + zope-2.8.0.ebuild, +zope-2.8.1.ebuild: + version bump (2.7.7, 2.8.1), QA #103421 14 Jun 2005; Jason Wever <weeve@gentoo.org> zope-2.7.6.ebuild: Stable on SPARC. diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest index 2d7f18601ef7..69b0f81a0cd9 100644 --- a/net-zope/zope/Manifest +++ b/net-zope/zope/Manifest @@ -1,30 +1,24 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 efb4c677e4206a7a3716dae799ec37e0 zope-2.8.1.ebuild 3360 +MD5 42625ed029875b4d13c9af34f02aa7ed zope-2.7.5.ebuild 3334 +MD5 5416407eff85546578bb4e7c61f45d5e zope-2.6.4-r1.ebuild 5629 +MD5 e3ebbd463da7c5b7f7cacd4d79323c46 zope-2.7.7.ebuild 3335 +MD5 132272bd46b375b0d9770d96bdc254fe zope-2.8.0.ebuild 3363 MD5 ac8e5d0217f2378ed91fa66222aa5737 ChangeLog 11867 -MD5 a18ddd3f2cdcb815cf86f4b9c4bdd6fe files/2.6.4/zope.confd 950 -MD5 4d278d26bb7be7693f7213861a9d3805 files/2.6.4/zope.initd 3791 -MD5 bce3b7d98963ff6f3e3d53557f3b4912 files/2.7.2/gid.patch 460 -MD5 e99b9fc903db808c1bbb5aa8b9d0b44f files/2.7.2/zope.initd 1169 -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 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161 +MD5 0a5e41adc4e26168061146ca2697ebf0 zope-2.7.2-r2.ebuild 3214 +MD5 e3ebbd463da7c5b7f7cacd4d79323c46 zope-2.7.6.ebuild 3335 MD5 ddddbf81a9803fef7474cb22df00a924 files/digest-zope-2.6.4-r1 64 MD5 c8b31c146de4f24ffcb5442630034d50 files/digest-zope-2.7.2-r2 62 MD5 515774f7b0464e0ce8c3283141c676c7 files/digest-zope-2.7.5 66 MD5 8bf817c4c3e6ad2b06e92a95c6ffd7e0 files/digest-zope-2.7.6 66 +MD5 5d8e83203542dfc8d07354dcdd682134 files/digest-zope-2.7.7 66 MD5 17edb3696d5d99b37864d9bb7cc23d21 files/digest-zope-2.8.0 69 +MD5 47255f0bd3319908dc8ee081f6c8cf17 files/digest-zope-2.8.1 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 0a5e41adc4e26168061146ca2697ebf0 zope-2.7.2-r2.ebuild 3214 -MD5 42625ed029875b4d13c9af34f02aa7ed zope-2.7.5.ebuild 3334 -MD5 e3ebbd463da7c5b7f7cacd4d79323c46 zope-2.7.6.ebuild 3335 -MD5 9c741d4c9260c508968be3894de4a5ea zope-2.8.0.ebuild 3371 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCz/YvI1lqEGTUzyQRApH7AJ90HCxKOXo5+c9beN3KGs+J2FaptQCg3ahs -gq2gjVNqX1QZ92zyCyadLzc= -=VJki ------END PGP SIGNATURE----- +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 c97d6dc27b456ae0fbfdf8ee5627ac1b files/2.7.4/i18n-1.0.0.patch 7630 +MD5 adfe59eaafb05edb1c4a445563b04c08 files/2.7.6/i18n-1.0.0.patch 7634 diff --git a/net-zope/zope/files/digest-zope-2.7.7 b/net-zope/zope/files/digest-zope-2.7.7 new file mode 100644 index 000000000000..7d9d7907fb67 --- /dev/null +++ b/net-zope/zope/files/digest-zope-2.7.7 @@ -0,0 +1 @@ +MD5 66876823e53fbd0d4a8a7262d7ce251b Zope-2.7.7-final.tgz 2925174 diff --git a/net-zope/zope/files/digest-zope-2.8.1 b/net-zope/zope/files/digest-zope-2.8.1 new file mode 100644 index 000000000000..c6943a72a415 --- /dev/null +++ b/net-zope/zope/files/digest-zope-2.8.1 @@ -0,0 +1 @@ +MD5 0ec441a35175bb8d8c557b7d3c63f6f6 Zope-2.8.1-final.tgz 5343921 diff --git a/net-zope/zope/zope-2.7.7.ebuild b/net-zope/zope/zope-2.7.7.ebuild new file mode 100644 index 000000000000..78a8f58cbb44 --- /dev/null +++ b/net-zope/zope/zope-2.7.7.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.7.ebuild,v 1.1 2005/08/23 19:48:57 batlogg 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="~alpha ~amd64 ~ppc sparc x86" +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}/${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/* + + # 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}/${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 /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 +} + diff --git a/net-zope/zope/zope-2.8.0.ebuild b/net-zope/zope/zope-2.8.0.ebuild index d627df9c4d75..dc02e5cb7f22 100644 --- a/net-zope/zope/zope-2.8.0.ebuild +++ b/net-zope/zope/zope-2.8.0.ebuild @@ -1,6 +1,6 @@ # 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.0.ebuild,v 1.2 2005/07/09 16:06:46 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.0.ebuild,v 1.3 2005/08/23 19:48:57 batlogg Exp $ inherit eutils @@ -92,7 +92,7 @@ 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} + enewuser ${ZUID} 261 -1 /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." diff --git a/net-zope/zope/zope-2.8.1.ebuild b/net-zope/zope/zope-2.8.1.ebuild new file mode 100644 index 000000000000..4acf80802503 --- /dev/null +++ b/net-zope/zope/zope-2.8.1.ebuild @@ -0,0 +1,108 @@ +# 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.1.ebuild,v 1.1 2005/08/23 19:48:57 batlogg 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}/${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')" + cd ${S}/lib/python/StructuredText/ + epatch ${FILESDIR}/2.7.6/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/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 +} + |