# 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
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 2.6.4/zope.confd 950 RMD160 781db816bfba64d21c43f0fc4527f8a1baa3a4cf SHA1 548f21a0f309f2a19cbeb8d9564c120ba8737f86 SHA256 5f99492bd867b66f6baf58ee4cf000b9f1bb6073e567ee320badbbe60e1ab6be
MD5 a18ddd3f2cdcb815cf86f4b9c4bdd6fe files/2.6.4/zope.confd 950
RMD160 781db816bfba64d21c43f0fc4527f8a1baa3a4cf files/2.6.4/zope.confd 950
DIST Hotfix_20060821.tar.gz 1050 RMD160 83479de3200711dd1cff306030f0181674862b51 SHA1 3f7eb3c66443a3317c235f6fc708928c3dca7e13 SHA256 6ba5f717cc7443c6182c5b829f2a4228e7c56667d07e2b6fad8323ab1ec850af
DIST Zope-2.10.0-final.tgz 7123131 RMD160 f3dd52d72d512057f722b822f4f6bfd578229d86 SHA1 6b2c537d1fa900e270e5ae042db41628476d7354 SHA256 4a9f8649390942d7faad3a90c128b4f36c3cbcdce5f06a2d13ab367add458f30
DIST Zope-2.10.1-final.tgz 7128570 RMD160 b05c2d4c69a9e19d88f38c36ef5bf4846a7d5d0a SHA1 0342afea89b0582edfdd9acffd10501d18e08ee0 SHA256 a759dc9312a9e8ebb87d721fbb0124caafd18a1860e5f5bd2186f1459e68c17b
+DIST Zope-2.10.3-final.tgz 7094321 RMD160 f5f2c49d175d81add3b7eb62abd366c5375562d0 SHA1 81910a4215460a231da9e285ad2bfdaca2e4188a SHA256 af0913d732d35b41a3d9350976610fb1446c874b9a9306bce9a2240217e2e9bb
DIST Zope-2.6.4-src.tgz 2401115 RMD160 33b46814c9db37d661cb0eb374fa53873397a0eb SHA1 3dd4210d5c3c702b95dbb9651ccac320f966f95b SHA256 368a2a922b9b5fbc3cbe70831701adb88c75ee6cb62b56773487518c85fb143f
DIST Zope-2.7.7-final.tgz 2925174 RMD160 dc3058b0b261f15b881930e91e4be02d80a6e134 SHA1 2039d018b8bf00251ac285968632ac6c374098cb SHA256 9605229870b5ab9a8683d5297b47eedd9bb84fea28ecc08774df7d437919296a
DIST Zope-2.7.8-final.tgz 2952102 RMD160 2a25b1fbe81c9aec10f35e05f8eaf9522d9cb445 SHA1 742a43825084425a2d2a722534ce1563178299c5 SHA256 06789e7e2bf8415a7e4edf2bd05eada1b4d5dd3a6fa8ca7ab79f8b68006c7bac
DIST Zope-2.8.6-final.tgz 5378968 RMD160 c73d8b2a1405f68864fb96e1476eede3d1ecc8da SHA1 d1192ccc6d2f15b0dc359a3ecc0e8ce9c00e09eb SHA256 b113e56895986c969a42dc037f19cef78ebb920e84d50d4d0d648f38b7bbffe2
DIST Zope-2.8.7-final.tgz 5383233 RMD160 55589919eca978786ff2b50e7718299b2af1f8f4 SHA1 9d8da00c85f93e7b3fa5afc211277fb744ac1f31 SHA256 d426ccc6e69455759a405f1f4bae2b1231f3ba9a313ad920f404911ca467a1ce
DIST Zope-2.8.8-final.tgz 5394023 RMD160 e1f06d80f9b1943f32316086690b0eb015cf611a SHA1 fc12c4f888d184c12068615827f415e505981814 SHA256 94a6ad1fe0fdc28c0ea5c3a501976b96b16a4110a3290a80e4897bd3f145c856
+DIST Zope-2.8.9-final.tgz 5329489 RMD160 b5b47d8b1a0e24cf7b7d1d48b732ca93f1b2586d SHA1 0a83b05aa89edfa4d406c663dadfee8ef0f257ee SHA256 98f2b70d6b8987ab7035b6047b9d5e5fc75b0a11cf18c15a26d671bbb939fca5
DIST Zope-2.9.3.tgz 8010113 RMD160 a4aa2303400efa17ec0d225b501c5282c454705b SHA1 c852139f8060bef7592e6c877e1dd0e90b95837b SHA256 2c60f25266663d676c1c8c2c6864a038a1b675ff8879cec40fbc72f72efc0bfa
DIST Zope-2.9.4-final.tgz 6962298 RMD160 297254e4ad0a27bdc585c88147a6e42698de485e SHA1 37e525b662de5f878d4da39b6578c1d9f15e2669 SHA256 4085dee8a6bd252072ca69f1c2d9e00cbff8d999651da93fd9df5a9db65dba35
DIST Zope-2.9.5-final.tgz 6982114 RMD160 d8e26839618a19fbb6528967c3d8fc0266251a7d SHA1 066e31068f5265a95d89729076195ae62d14410d SHA256 e4036fa61af22379530b1a42534591d7f19fdbcb3345d20e7a337b3c375a323e
DIST Zope-2.9.6-final.tgz 6989768 RMD160 0fc82ae2ee0f2343e6fcd723048f6dfd18dbcd04 SHA1 4a8aaafd54e5841f53f269e130bd214b55d08c39 SHA256 00ffe561df9ede6543bf5dceeea964048ee005705ba98dd8f8dbfcd8dd64fcc4
+DIST Zope-2.9.7-final.tgz 6945526 RMD160 a9b6e568145e6cd723a72ad9ec387f11fd9aedfb SHA1 0b6e13c29532f3ab13d63002f8622de32aea4db7 SHA256 f930366a9a98df34d1cb26e3a06f7cd232890328835905592527b71c8164a98e
DIST Zope-3.1.0.tgz 4048336 RMD160 c3af6b6172b56ec53691f8f86f3ee14064003602 SHA1 ee44bb56094fa96b7c5403322e2fb0a37b013167 SHA256 e102a263f7ceb00744ab503c568482db201557433d9078766846294dd040b445
DIST Zope-3.2.1.tgz 6532373 RMD160 f7aeb56ab5f09e6780d0df787939af4c7815ceba SHA1 cb45ab704e3a60376e3025e169b782f2c3968074 SHA256 8431984af75054e4ddfe45bf708924240f8b6b02220cd84d090138413ac82341
DIST Zope-3.2.2.tgz 6544087 RMD160 1e7e08e1178f449bf120d7fc2caa6259fde1a0cf SHA1 9bd3c099fc77f981a8b803770aca168eb813e260 SHA256 c6f6d49d8b910bc35a32b848c6296b7ad61cb64f83974b52dd3623169f141ba4
MD5 86981b5babd9afc8d57dcd1e4dbdf007 zope-2.10.1.ebuild 2368
RMD160 0418b69a70680b03605052a8876b669da248174e zope-2.10.1.ebuild 2368
SHA256 d71c76370e72435b485d80b6caad2d14f15b4a7d024181b95975ca1e8aa94392 zope-2.10.1.ebuild 2368
+EBUILD zope-2.10.3.ebuild 2368 RMD160 3aed1b67ed925d67aee5d4e258bd6da940751b68 SHA1 f52f7fb93b8b96c7c3a87f7406acc77607debca3 SHA256 75108fb571b70f5273a2d462fac03876cfcb404bb512f9abda894e7a15b3004f
+MD5 ddd339ad5663dddd1946525e81300652 zope-2.10.3.ebuild 2368
+RMD160 3aed1b67ed925d67aee5d4e258bd6da940751b68 zope-2.10.3.ebuild 2368
+SHA256 75108fb571b70f5273a2d462fac03876cfcb404bb512f9abda894e7a15b3004f zope-2.10.3.ebuild 2368
EBUILD zope-2.6.4-r1.ebuild 5614 RMD160 15e40be7fe484775cc6cef71e5e0f180508b39a1 SHA1 3030357b2470817b82b12b05fbaa1a5c0aac1edf SHA256 4bb98e1170826dd3f12e095aa0d1eb8d480aad577a481c38f69c8e4bec1b0ee1
MD5 53952dbbbddf6f222578897b1286953f zope-2.6.4-r1.ebuild 5614
RMD160 15e40be7fe484775cc6cef71e5e0f180508b39a1 zope-2.6.4-r1.ebuild 5614
MD5 a6184a830a0db401e53e7d0f255bda67 zope-2.8.8.ebuild 2668
RMD160 959a301a374127c742a840e61d7dcd699d643219 zope-2.8.8.ebuild 2668
SHA256 46f0dde60f0b8c48f0a4898a714b81ef204d0bb3d83cf54d9cbeb408986e5888 zope-2.8.8.ebuild 2668
+EBUILD zope-2.8.9.ebuild 2448 RMD160 d07ef072d746ac0e83f6bbb42d6aa27f3f8ef814 SHA1 dc72396930bc1568b98c8584d0bb590f2ef2398e SHA256 4bfa13e684ff4c73a8219b6655a7ad2222bc2becfd00d9c69d09cc19dcdaab88
+MD5 53708031558d9db2dc4f8c8c63053ae1 zope-2.8.9.ebuild 2448
+RMD160 d07ef072d746ac0e83f6bbb42d6aa27f3f8ef814 zope-2.8.9.ebuild 2448
+SHA256 4bfa13e684ff4c73a8219b6655a7ad2222bc2becfd00d9c69d09cc19dcdaab88 zope-2.8.9.ebuild 2448
EBUILD zope-2.9.3.ebuild 2299 RMD160 b495b688e5fbe961bd8491d71a5fa9d57ad00506 SHA1 fe87a58d00fcc1d44d58e3fa87d2c37a9f336601 SHA256 18b4264f190d13375a25f5a18888f91b3bb050a5eece7e08482899016a270c49
MD5 46c6d7a49a1289c0229f20320f42c605 zope-2.9.3.ebuild 2299
RMD160 b495b688e5fbe961bd8491d71a5fa9d57ad00506 zope-2.9.3.ebuild 2299
MD5 a42199c58fdbbc36222944166c19d5fc zope-2.9.5.ebuild 2367
RMD160 b1f39489673e4f626fe0f3aab5f761688294ab10 zope-2.9.5.ebuild 2367
SHA256 fd6d6b80d5d0b1b68567344e876963b7998b197e2b570f9773e02c82288b9acc zope-2.9.5.ebuild 2367
-EBUILD zope-2.9.6.ebuild 2367 RMD160 e465b493be4258ba391798f954630d05ffe49176 SHA1 558d6ef0a9b476eb0c002015956eb5c13e1c378c SHA256 03ec32b68301a071d4eef73a81d10d29e0a66063939a71ad84ba1a48e4346d3b
-MD5 494b6f5651a7d69de80c1cf0f038e22f zope-2.9.6.ebuild 2367
-RMD160 e465b493be4258ba391798f954630d05ffe49176 zope-2.9.6.ebuild 2367
-SHA256 03ec32b68301a071d4eef73a81d10d29e0a66063939a71ad84ba1a48e4346d3b zope-2.9.6.ebuild 2367
+EBUILD zope-2.9.6.ebuild 2367 RMD160 daccab7dfedca7211a1ddbefc72b9b71aec3f24b SHA1 242cc79b6a7b40e2ed0b4abafdc96420a6d6df6c SHA256 ace6bb81d54f4f053d8aabfd802170393fdd1daade91e3b732d80c692daf732b
+MD5 3ceaca40f008b11926a5dd9d1166c493 zope-2.9.6.ebuild 2367
+RMD160 daccab7dfedca7211a1ddbefc72b9b71aec3f24b zope-2.9.6.ebuild 2367
+SHA256 ace6bb81d54f4f053d8aabfd802170393fdd1daade91e3b732d80c692daf732b zope-2.9.6.ebuild 2367
+EBUILD zope-2.9.7.ebuild 2367 RMD160 a592c5d8d554ca34a051c8e68eb6778b300c59fb SHA1 15db8ee89fe66daf219e408bced3e8e0c0bca902 SHA256 d9b412bdeb754335e316247f336ce6b3019874f67909843b188de965ce5c817b
+MD5 23537f9ac5ac39f72307e1c389c0e408 zope-2.9.7.ebuild 2367
+RMD160 a592c5d8d554ca34a051c8e68eb6778b300c59fb zope-2.9.7.ebuild 2367
+SHA256 d9b412bdeb754335e316247f336ce6b3019874f67909843b188de965ce5c817b zope-2.9.7.ebuild 2367
EBUILD zope-3.1.0.ebuild 3235 RMD160 ab35ddfe1f67d8a2e8388f858bc889e5fdc859d5 SHA1 3572a8655d00010861b76d5d0c573b0264b262ed SHA256 a83b24625be677358e3f22a3356fc4297b958e5f52e58724e3bcd724b434f8ed
MD5 a351702850c91a8d80f6a5454aaeb8ee zope-3.1.0.ebuild 3235
RMD160 ab35ddfe1f67d8a2e8388f858bc889e5fdc859d5 zope-3.1.0.ebuild 3235
MD5 bef0bb96f60d45d9432824dd16553ace zope-3.3.0.ebuild 3635
RMD160 517218165419b87b4d66e4bf2b65961826cf22b8 zope-3.3.0.ebuild 3635
SHA256 46e3c5872183b211b56caa15a1f878e7be0a25fadd084a95c42875a51a3e8abc zope-3.3.0.ebuild 3635
-MISC ChangeLog 18474 RMD160 aa24eb51aafb786858b8d4ef159839b0ef704af1 SHA1 7fe5f5fa23346ba5798ae58b943af077f7b72ef0 SHA256 b1c56ece42b11e5bc0c7d0ebc2d4cffc406e2f1efa06989ca8c3e6c1be582d9d
-MD5 2262259d76a22b6fa94875a5c13d0069 ChangeLog 18474
-RMD160 aa24eb51aafb786858b8d4ef159839b0ef704af1 ChangeLog 18474
-SHA256 b1c56ece42b11e5bc0c7d0ebc2d4cffc406e2f1efa06989ca8c3e6c1be582d9d ChangeLog 18474
+MISC ChangeLog 18714 RMD160 7cbb4081199a10d5b3bcbb26d8ece36ec1746a3d SHA1 cd2c21affde71eb3ab0813bb7e157925bc1ffbe8 SHA256 8be206daa2c6b02012355eb9a10a9ea9f78d40a958640b432b959bd8836cbd0a
+MD5 c414904d68a7edd76aaeccd5696169d8 ChangeLog 18714
+RMD160 7cbb4081199a10d5b3bcbb26d8ece36ec1746a3d ChangeLog 18714
+SHA256 8be206daa2c6b02012355eb9a10a9ea9f78d40a958640b432b959bd8836cbd0a ChangeLog 18714
MISC metadata.xml 161 RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 SHA1 9755179a2dee0511818b1f6738ded28e335e1b9a SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345bbf50ccf00d1158a1c97cc5
MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161
RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 metadata.xml 161
MD5 03716cf6133578b14903f6d674aed148 files/digest-zope-2.10.1 247
RMD160 2b2eee6fd70e25a0f80db63414981c19bf6ceb60 files/digest-zope-2.10.1 247
SHA256 9f56424dbf4137b0c1d5e8e576f00da7a6c8b9186951168c33e73e15c84c5764 files/digest-zope-2.10.1 247
+MD5 4796a3d9d55c250dda2ff286d4c279d1 files/digest-zope-2.10.3 247
+RMD160 c1dc9a87c01f474d1d9c377c3b53b924465c77cd files/digest-zope-2.10.3 247
+SHA256 220466edac4f74f7b1a86a4008af453d78c85780f38d6e75ef834e84562e9db9 files/digest-zope-2.10.3 247
MD5 123a2246c454fdd66488a9f3c8c20918 files/digest-zope-2.6.4-r1 238
RMD160 880d3eb05f1955cf58a9827e2295b4fd574fcf70 files/digest-zope-2.6.4-r1 238
SHA256 b2afc924aa7b7cc4d4d8954f97f4d22d5c73e462add4d0106e6f81d9c658f2d6 files/digest-zope-2.6.4-r1 238
MD5 c655aba0a499d8a0fa3899ecb4fded8a files/digest-zope-2.8.8 485
RMD160 e61493d8fb751632022d9c576be84cafdce7722a files/digest-zope-2.8.8 485
SHA256 c9142f259a1ef1331f8ca768042325fe80f9d076341097dbb39ac7731dd875ba files/digest-zope-2.8.8 485
+MD5 2dceb434dc97eefef0fbf3d998c0575f files/digest-zope-2.8.9 244
+RMD160 4bce63dec681253eec044bc7861ff1f25d2cdc6f files/digest-zope-2.8.9 244
+SHA256 56535cdafc148608573b549cf5eab1067013caae40544828f80ec5c118c17490 files/digest-zope-2.8.9 244
MD5 d0a0bcda024915c809a8480183102e1b files/digest-zope-2.9.3 226
RMD160 a1aeaaf1ec85cb8ac02e48c9b8b568c510ccc34a files/digest-zope-2.9.3 226
SHA256 d6106937d77ecdb893a6d5fa6b89f0c7d22eac8ae3a7935fead078ea3f82be0c files/digest-zope-2.9.3 226
MD5 9162d91abbde16c4c8c2a8e8212483bc files/digest-zope-2.9.6 244
RMD160 3cccf4da3ab6a21eff36b7098f4e9709ead51319 files/digest-zope-2.9.6 244
SHA256 50433122457c6972202abb674266437825bd7f00c66929ece5d28d5d05a61c51 files/digest-zope-2.9.6 244
+MD5 109997cf457ca11aa927a4038d7c4c70 files/digest-zope-2.9.7 244
+RMD160 c66b02c7e0b57d2af5b5dc83bb0d90c7c0d11318 files/digest-zope-2.9.7 244
+SHA256 0d0aa1782d08c2c38e24c10d3e10659a2c94f241b0c77665bb758f1a3019df98 files/digest-zope-2.9.7 244
MD5 8eee3e0c656adbcd9917c6d6d768128d files/digest-zope-3.1.0 226
RMD160 25b5d0d6098722a3cdad57f93078258d8f5e0df9 files/digest-zope-3.1.0 226
SHA256 b22e04ad037d3d6a332e9eb07dee874961908946bb07c5941e9f08cb979fb079 files/digest-zope-3.1.0 226
MD5 50db5e1898d328dfd254c0ab6f43c6ac files/digest-zope-3.3.0 226
RMD160 d15a8e89b7a912a0306110c224194527ead5d458 files/digest-zope-3.3.0 226
SHA256 effb9ac4b1dd82fba6236d6d56d1f157faf147da2004fb9fcfc30eab9f57de26 files/digest-zope-3.3.0 226
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFF3PcEz974XjDVpbkRAuv+AKCc3mtlIz9Gzbp3Ua4xQxWKLd5vJwCgrwv8
-7Yv4ZGDT/jgUsOF1ojg2VPc=
-=OJ2c
------END PGP SIGNATURE-----
--- /dev/null
+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
--- /dev/null
+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
--- /dev/null
+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
--- /dev/null
+# 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
+}
--- /dev/null
+# 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
+}
-# 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
--- /dev/null
+# 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
+}