diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2008-07-08 06:30:52 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2008-07-08 06:30:52 +0000 |
commit | 2818da7610db8a8a2c83cdc979d12e408118386f (patch) | |
tree | 53b3d61dc585c30eeb1b4e523170d8fe37ba1ae6 /net-zope/zope | |
parent | stable x86, bug 229953 (diff) | |
download | historical-2818da7610db8a8a2c83cdc979d12e408118386f.tar.gz historical-2818da7610db8a8a2c83cdc979d12e408118386f.tar.bz2 historical-2818da7610db8a8a2c83cdc979d12e408118386f.zip |
Dropped old zope versions depending on python-2.3. Bug #222037
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 11 | ||||
-rw-r--r-- | net-zope/zope/Manifest | 27 | ||||
-rw-r--r-- | net-zope/zope/files/2.6.4/zope.confd | 77 | ||||
-rw-r--r-- | net-zope/zope/files/2.6.4/zope.initd | 178 | ||||
-rw-r--r-- | net-zope/zope/files/2.7.7/i18n-1.0.0.patch | 176 | ||||
-rw-r--r-- | net-zope/zope/files/2.7.8/i18n-1.0.0.patch | 176 | ||||
-rw-r--r-- | net-zope/zope/zope-2.7.9.ebuild | 106 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.4.ebuild | 104 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.6.ebuild | 104 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.7.ebuild | 104 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.8.ebuild | 84 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.9.1.ebuild | 82 | ||||
-rw-r--r-- | net-zope/zope/zope-2.8.9.ebuild | 82 |
13 files changed, 14 insertions, 1297 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index 3adbfebc7375..77c2dbf7ca63 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-zope/zope # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.140 2008/06/05 22:08:35 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.141 2008/07/08 06:30:50 tupone Exp $ + + 08 Jul 2008; Tupone Alfredo <tupone@gentoo.org> + -files/2.7.8/i18n-1.0.0.patch, -files/2.6.4/zope.confd, + -files/2.6.4/zope.initd, -files/2.7.7/i18n-1.0.0.patch, + -zope-2.7.9.ebuild, -zope-2.8.4.ebuild, -zope-2.8.6.ebuild, + -zope-2.8.7.ebuild, -zope-2.8.8.ebuild, -zope-2.8.9.ebuild, + -zope-2.8.9.1.ebuild: + Dropped old zope versions depending on python-2.3 + Bug #222037 by Ali Polatel <hawking@gentoo.org> *zope-2.9.9 (05 Jun 2008) diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest index beb7a72230ce..444a4d957cd6 100644 --- a/net-zope/zope/Manifest +++ b/net-zope/zope/Manifest @@ -1,25 +1,13 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 2.6.4/zope.confd 950 RMD160 781db816bfba64d21c43f0fc4527f8a1baa3a4cf SHA1 548f21a0f309f2a19cbeb8d9564c120ba8737f86 SHA256 5f99492bd867b66f6baf58ee4cf000b9f1bb6073e567ee320badbbe60e1ab6be -AUX 2.6.4/zope.initd 3791 RMD160 b08b1204bfd4cac3b1e21279412a405a5814dcba SHA1 aac8145edb7b304e9759f657b2bf82c432111237 SHA256 60e812951073ecaf606b80fad54eab007257c8a671f42506e337566b4defc43b -AUX 2.7.7/i18n-1.0.0.patch 7634 RMD160 237e25b32b595fbdbb536c5291131263146a2f49 SHA1 9fa3a2d8025ac7d495cdc49ff6ff49553f3415a7 SHA256 d955e75c29482e04a369dcd3be0ba064169287a42c13af7e5d752cb8b52ecbc7 -AUX 2.7.8/i18n-1.0.0.patch 7634 RMD160 237e25b32b595fbdbb536c5291131263146a2f49 SHA1 9fa3a2d8025ac7d495cdc49ff6ff49553f3415a7 SHA256 d955e75c29482e04a369dcd3be0ba064169287a42c13af7e5d752cb8b52ecbc7 AUX 2.9/zope-2.9.4_logerror.patch 3323 RMD160 789e17da8df910db6a7382cacf480754f0f320f6 SHA1 ee8696b545d36290fb9cb9fbbf3d32bbacd2fa81 SHA256 be6a0c7a8a2ae73938f75e07013c96f18df5dbde1f380049a54c61b62959b70d AUX i18n-1.0.0.patch 8080 RMD160 f35b6d3ce90be84c66c8bd1fd5a85d6a8bf87ac3 SHA1 589964578f903b33b51db66fe33db886bcb3ad16 SHA256 8c90ef9363d6334a329aa2b476b37cc74e8471fb9985088db05221caf34edd74 AUX zope.initd 1317 RMD160 39fa98ed8cbc703cd77238d345328430e39bddd4 SHA1 6215743f7d108fa3e668cf24d748ad19d68faeab SHA256 1a3a03ef186fbdfd566023cf3fbb311f03214c51021b3af628b3233704838506 -DIST Hotfix_20060821.tar.gz 1050 RMD160 83479de3200711dd1cff306030f0181674862b51 SHA1 3f7eb3c66443a3317c235f6fc708928c3dca7e13 SHA256 6ba5f717cc7443c6182c5b829f2a4228e7c56667d07e2b6fad8323ab1ec850af DIST Zope-2.10.3-final.tgz 7094367 RMD160 70835b3c510b95a61174050a8ffe68a58114f02a SHA1 a5bdf04ac3ca5ee8c9d437347d956487e172cfd2 SHA256 79233c797c77edf447f1903c93a2accbb227b3af2159a99d731607aa2e274350 DIST Zope-2.10.4-final.tgz 7231146 RMD160 8985bf9006fedc87cdfcf5032239890b2950988e SHA1 a1a4f8c664765489d6c4e588ea928a53230e0894 SHA256 5d0174e3a1c84f2ccef5fb0979c041eeea0e2fda8f21b35a37b1a382870ff89f DIST Zope-2.10.5-final.tgz 7236917 RMD160 028656274059c385d7f6f1b5e6ff09017696c440 SHA1 e23b9bdce30c799a91ef375759e11dff43b796b8 SHA256 4ffabdf2decdf993b0ac46a2363982fb6d2233e09135e9f30cfcd2b114e35f95 DIST Zope-2.10.6-final.tgz 7277894 RMD160 f0f62d8e4e23041c3fc77179310561678a4458cc SHA1 d0689fd3a0eac8fbb0f44a81c3c1427660f4c76d SHA256 3946b72e53ea86c54a50499dd526b5408f1bacd06d7434e77e708fa89931b190 -DIST Zope-2.7.9-final.tgz 2993519 RMD160 644e7e815945478b04d68af05beeccf428a82391 SHA1 c114f3644ec4ca71fb7c7d8485d546dbd6486532 SHA256 b3982421dded26e95c8a5a7272365224ba399d552a143a9d457509f11b9d94ab -DIST Zope-2.8.4-final.tgz 5447275 RMD160 39433af4f6d6766bffce53f81f24716be2a562b9 SHA1 a3e21c8ac1613fde5f46b925c6250c62daddc463 SHA256 3e6ac902de1052c408cfc531b169e78b350b43ba93ee14e586901ff1b47e193e -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.8.9.1-final.tgz 5367889 RMD160 3ef6db5284fc54fd05d95b475e2bd000d7e1e9d4 SHA1 60b3cdda20fd6d7255df756f2f9bed6b9aab5db2 SHA256 81220396961097478261341099d3aff4e93fb4e41b2e2da27f450b79d5a2ed81 DIST Zope-2.9.3.tgz 8010113 RMD160 a4aa2303400efa17ec0d225b501c5282c454705b SHA1 c852139f8060bef7592e6c877e1dd0e90b95837b SHA256 2c60f25266663d676c1c8c2c6864a038a1b675ff8879cec40fbc72f72efc0bfa DIST Zope-2.9.7-final.tgz 6945646 RMD160 a7237959d43031459423c700f5224f999d2ad050 SHA1 1bfb73201389b7c7f099b12777ab7d855722db21 SHA256 736a5a883e0ed5c57787ae33b71878761ce9abf6184b30fdb1585985b167e617 DIST Zope-2.9.8-final.tgz 7006672 RMD160 90c2bd0621445d6bcbf02335338b40e42ea65841 SHA1 98aa743751fb7c411c3f5157a0c31242ac9cb3bb SHA256 75ea88e30233363fccd5f8ecbce7d889daf017d6e731f209827b9a453e2548bc @@ -30,25 +18,18 @@ EBUILD zope-2.10.3.ebuild 2393 RMD160 90aec40395507bd93ac9e28d25b40001860aa5ce S EBUILD zope-2.10.4.ebuild 2393 RMD160 5d4efa3b05ff745e70db5653a688d3e4a4ca1a11 SHA1 a18a9c2e0369da195ae354375b0943c3e5073f3d SHA256 88f0581cdca7f77099aa57bb72fec07ead4801a36f9bd66dd09121d416a99191 EBUILD zope-2.10.5.ebuild 2318 RMD160 2a93b25247d1d3dec4aed65fc17a8af7dcc2ba16 SHA1 124623d0eb8d5c9ca089e5ac26d63753b0fd6864 SHA256 953f669d27fb3ab552122369ad6f8ad5667934e29a2b1a881f5e9c669774fb8c EBUILD zope-2.10.6.ebuild 2317 RMD160 2a778fffe6efc5511ae534ed32eb217bfb8053b1 SHA1 c4f1d2c07b105b393d0e9030b5a8f79fa2a6623c SHA256 80eb1850d3747fe2096872a0c5b9589fcbeafda94ac30d1f4a8287433366874b -EBUILD zope-2.7.9.ebuild 3527 RMD160 9200d8a3e9eaf4c173838498db3b92d3349af37c SHA1 3a65c2f6e341d6268cceb87bc98bd0a0ff79f767 SHA256 1a00fe9993569baee1d16eaba0299272b0238303f771b721a71cb56da144ee16 -EBUILD zope-2.8.4.ebuild 3477 RMD160 5d189337b2c15c3c7cc2ccb9c7f8cf5d055f7544 SHA1 b3adaa2912409d975b2edce574ceb02e2ac60d91 SHA256 eb7f9a5881f971c0104a2ee3254fe8cd8cb83dd45404114bfcbe01ebc5e63632 -EBUILD zope-2.8.6.ebuild 3481 RMD160 5b1ef9feac58039d06b76d20dd61a432a67b8f75 SHA1 869cb6718e1d75e792e00c04bdcfd2f66af69334 SHA256 dc8acb018627356d4ae4e2f0a4174af746fd69d1a6e775a7f99e591340e957a5 -EBUILD zope-2.8.7.ebuild 3481 RMD160 f559244fdab2325d11fb92d572591882afd3bf5d SHA1 efc813da755b35841dff44597d76b121b8476bf0 SHA256 0792c23d8eb8cc89fd85fc99e4b4aabf4b8a85843c1921d82cdd6fffadc33dac -EBUILD zope-2.8.8.ebuild 2641 RMD160 e9677248766ce09fb3143dd3f4dbdab29337364b SHA1 339b6535b59537d081e9db4415f0fdbb56dcddb2 SHA256 1c1ae665b43f63534dbd9134f614caabf43e8efe015dce928968ae30f544bea1 -EBUILD zope-2.8.9.1.ebuild 2470 RMD160 e83b8d94fd7e29c9b13e9be740db1b4d02470680 SHA1 0f2d3303f21fea2f36c9719ea8613be461c5005b SHA256 07a8f8ab63783531f1ba26715056f4cc7f52cabd16d1b385b43f06e462ee520b -EBUILD zope-2.8.9.ebuild 2473 RMD160 3af4fcfe4899a217674426bb741202fcee8e5008 SHA1 f788cdd8a2cd987c94658055641ea7bbf517c62b SHA256 35f57888be62d64d80839d13e74b8deb574dfb423ec637ad8d2ffd47ed4c8c8e EBUILD zope-2.9.3.ebuild 2268 RMD160 fbe0f1bd82111047367bfe5fefbd197db4e0c13b SHA1 59c06cabf0740754ce79a4117dfd50667f7526cc SHA256 6bd7481cfef883cb783c070c30a4a56290d4a3bcec995ac691218d6fed0a04a0 EBUILD zope-2.9.7.ebuild 2392 RMD160 d3d920a0a4ad53fba7215844da2ab4d0e846f8af SHA1 833d9b0a034e7529ee5e7e63d73803f64abf3c57 SHA256 8e58d357e2b082faedd21b2732954bdc1f1263c890968467e528d9bf9ef5b43f EBUILD zope-2.9.8.ebuild 2387 RMD160 8b1225983f3ffce48cd2a7ad59093f6104e5146f SHA1 13573bcdfff81b91aefe0e358361cec71146f321 SHA256 3a4f9a5c9b1d3bdf8980e7edcef22f13bb31d64c4268b51113e1db75ccc3bb3c EBUILD zope-2.9.9.ebuild 2392 RMD160 cc5f1ec9ec87ea5748117c7007c348d05d80f491 SHA1 4ba3d7d08b437b05a310b6688e3cc0d0d46f918e SHA256 d47ac758908ceaac383989f47e04547183c3a0f5735f3edda953717ee664da83 EBUILD zope-3.2.2.ebuild 3624 RMD160 e74adaedc41a265b71fd583d87b6f33b34448c0a SHA1 5632e19dc545b80c4ebe734119d81c39fe2b101e SHA256 82e0e16be113e8e2c7f4ca11ef1fa3dc24b96ca4a65161909c4c58999779d57d EBUILD zope-3.3.1.ebuild 3421 RMD160 8b926f994115b5d7ab47cf5388105ab28865b134 SHA1 2a393f55fc0aa58b22fbb49034df9eb8d7c1e249 SHA256 f2c54158bfd1bc1104dfd33b7128827b56057bfa0bd97f4843415d600190dbda -MISC ChangeLog 21674 RMD160 529ef25b95fbebdf11658882d9109e3147e3d88d SHA1 10779af1e14189379e482aad86a6d657d6724ddf SHA256 161b0daaec75791306a74e45fc3113b70ec6cd2036832284a6a0ad00c952b841 +MISC ChangeLog 22091 RMD160 d594ba992c47feab2f035ac462b4fd77ea7335d6 SHA1 3d382388a3d38ecbe2685e936bb4c118286033c6 SHA256 8b6a40357659e1629381103bb48f5f30f5321b35105a6c06831cf40a677d9182 MISC metadata.xml 161 RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 SHA1 9755179a2dee0511818b1f6738ded28e335e1b9a SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345bbf50ccf00d1158a1c97cc5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkhIY+4ACgkQVrx5UrvSjsfdPACePEPwMzF+TgKIlZfRoNy/Az9q -mNQAn318MeXvpO7ki4H0b574Ir7JOVlv -=P4X9 +iEYEARECAAYFAkhzCaAACgkQVrx5UrvSjsd1sACdG2k85U3cL6mjgATb2RdMimGs +G/kAoJbVcNEB/tPEJJAgSl98P8vwBR1E +=7OXq -----END PGP SIGNATURE----- diff --git a/net-zope/zope/files/2.6.4/zope.confd b/net-zope/zope/files/2.6.4/zope.confd deleted file mode 100644 index 58204174555c..000000000000 --- a/net-zope/zope/files/2.6.4/zope.confd +++ /dev/null @@ -1,77 +0,0 @@ -#-- startup options - -#ZOPE_OPTS= - -#-- Zope installation - -#INSTANCE_HOME= -#SOFTWARE_HOME= -#ZOPE_HOME= -#FORCE_PRODUCT_LOAD= - -#-- Profiling - -#PROFILE_PUBLISHER= - -#-- SiteAccess - -#SUPPRESS_ACCESSRULE= -#SUPPRESS_SITEROOT= - -#-- ZEO - -#CLIENT_HOME= -#ZEO_CLIENT= - -#-- Debugging and Logging - -#EVENT_LOG_FORMAT= -#EVENT_LOG_FILE= -#EVENT_LOG_SEVERITY= -#ZSYSLOG= -#ZSYSLOG_FACILITY= -#ZSYSLOG_SERVER= -#ZSYSLOG_ACCESS= -#ZSYSLOG_ACCESS_FACILITY= -#ZSYSLOG_ACCESS_SERVER= -#Z_DEBUG_MODE= - -#-- Misc. - -#Z_REALM - -#-- Security related - -#NO_SECURITY= -#ZOPE_SECURITY_POLICY= -#ZSP_OWNEROUS_SKIP= -#ZSP_AUTHENTICATED_SKIP= -#DISALLOW_LOCAL_PRODUCTS= - -#-- ZODB related - -#ZOPE_DATABASE_QUOTA= -#ZOPE_READ_ONLY= - -#-- Session related - -#ZSESSION_ADD_NOTIFY= -#ZSESSION_DEL_NOTIFY= -#ZSESSION_TIMEOUT_MINS= -#ZSESSION_OBJECT_LIMIT= - -#-- WebDAV - -#WEBDAV_SOURCE_PORT_CLIENTS= - -#-- Structured Text - -#STX_DEFAULT_LEVEL= - -#-- DTML - -#ZOPE_DTML_REQUEST_AUTOQUOTE= - -#-- Esoteric - -#Z_MAX_STACK_SIZE= diff --git a/net-zope/zope/files/2.6.4/zope.initd b/net-zope/zope/files/2.6.4/zope.initd deleted file mode 100644 index 8e41b197e06f..000000000000 --- a/net-zope/zope/files/2.6.4/zope.initd +++ /dev/null @@ -1,178 +0,0 @@ -#!/sbin/runscript -# Zope rc-script for Gentoo Linux -# Copyright 2002-2003 by Jason Shoemaker -# Distributed under the terms of the GNU General Public License, v2 or later. -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.6.4/zope.initd,v 1.3 2004/07/18 04:31:00 dragonheart Exp $ - -python= - -depend() -{ - need net -} - -# Since zope doesn't delete its .pid file when done, we have to determine its -# status. Zope can be shutdown from a browser...this bypasses init.d. - -# Need to export these conf.d variables so that (env) can use them - -setup_exports() -{ -local EXPORT_LST="INSTANCE_HOME SOFTWARE_HOME ZOPE_HOME FORCE_PRODUCT_LOAD \ -PROFILE_PUBLISHER SUPPRESS_ACCESSRULE SUPPRESS_SITEROOT CLIENT_HOME \ -ZEO_CLIENT EVENT_LOG_FORMAT EVENT_LOG_FILE EVENT_LOG_SEVERITY ZSYSLOG \ -ZSYSLOG_FACILITY ZSYSLOG_SERVER ZSYSLOG_ACCESS ZSYSLOG_ACCESS_FACILITY \ -ZSYSLOG_ACCESS_SERVER Z_DEBUG_MODE Z_REALM NO_SECURITY ZOPE_SECURITY_POLICY \ -ZSP_OWNEROUS_SKIP ZSP_AUTHENTICATED_SKIP DISALLOW_LOCAL_PRODUCTS \ -ZOPE_DATABASE_QUOTA ZOPE_READ_ONLY ZSESSION_ADD_NOTIFY ZSESSION_DEL_NOTIFY \ -ZSESSION_TIMEOUT_MINS ZSESSION_OBJECT_LIMIT WEBDAV_SOURCE_PORT_CLIENTS \ -STX_DEFAULT_LEVEL ZOPE_DTML_REQUEST_AUTOQUOTE Z_MAX_STACK_SIZE \ -FORCE_PRODUCT_RELOAD" - -for N in $EXPORT_LST ; do - if [ -n "${N}" ] ; then export ${N} ; fi -done -} - -# Check if the file exist. then send file to stdout. -# Parameters: -# $1 = /path/to/pid.file -# Outputs: - -read_pid() -{ - if [ -f "${1}" ] ; then - cat ${1} - fi -} - -# Check if we have a living PID, if not delete the PID FILE -# Parameters: -# $1 = /path/to/pid.file -# Returns: -# 0 if alive pid file remains -# 1 if dead pid file removed -# 2 if no pid file found - -check_pid_status() -{ - local RESULT=2 # assume no pid file will be found - local PID=$(read_pid ${1}) - - if [ -n "${PID}" ] ; then - ps --no-headers ${PID} > /dev/null 2>&1 - if [ "${?}" -eq 0 ] ; then - RESULT=0 - else - rm -f ${1} - RESULT=1 - fi - fi - - return ${RESULT} -} - -# Parameters: -# None -# Returns: -# 0 true -# 1 false and echos /pathname/to/pid/file - -is_zope_dead() -{ - local RESULT= - - if [ -n "${INSTANCE_HOME}" ] ; then - loc=${INSTANCE_HOME} - else - loc=${ZOPE_HOME} - fi - - check_pid_status ${loc}/var/Z2.pid - RESULT=${?} - if [ "${RESULT}" -eq 0 ] ; then - echo "${loc}" - RESULT=10 - break # found a live pid - fi - - if [ "${RESULT}" -eq 10 ] ; then - RESULT=1 - else - RESULT=0 - fi - - return ${RESULT} -} - -status() -{ - - if is_zope_dead ; then - eerror "--> Zope is dead." - else - einfo "--> Zope is alive." - fi - - return ${?} -} - -# If Zope is dead, remove PID file and start zope. -# The idea with 'env' is that a environment snapshot -# (current vars + /etc/conf.d/zope?) is created for zope to use. - -start_zope() -{ - local RESULT= - - is_zope_dead >/dev/null - RESULT=${?} - if [ "${RESULT}" -eq 0 ] ; then - setup_exports - umask 077 # Recommended by Zope - # "normal" logfile: e.g. /var/log/zope/zope-2_6_4, - # startup log: /var/log/zope/zope-2_6_4.log - env /usr/bin/${python} ${ZOPE_HOME}z2.py ${ZOPE_OPTS} > \ - ${EVENT_LOG_FILE}.log 2>&1 & - RESULT=${?} - else - echo 'Zope is running independant of RC management.' - echo 'We are going to try and kill it.' - stop_zope - if [ "${?}" -eq 0 ] ; then - echo 'Successfully killed zope. Try to start zope again' - fi - fi - - return ${RESULT} -} - -# If Zope is alive, kill it. - -stop_zope() -{ - local PID=$(is_zope_dead) - - if [ -n "${PID}" ] ; then - kill $(cat ${PID}/var/Z2.pid) # Not sure if kill always succeeds, so not removeing .pid file. - fi - return $? -} - -# - -start() -{ - ebegin "Starting zope" - start_zope - eend $? "Failed to start zope" -} - -# - -stop() -{ - ebegin "Stopping zope" - stop_zope - eend $? "Failed to stop zope" -} diff --git a/net-zope/zope/files/2.7.7/i18n-1.0.0.patch b/net-zope/zope/files/2.7.7/i18n-1.0.0.patch deleted file mode 100644 index f901451fce0c..000000000000 --- a/net-zope/zope/files/2.7.7/i18n-1.0.0.patch +++ /dev/null @@ -1,176 +0,0 @@ -? encode.diff -? i18n-0.9.9.patch -? i18n-1.0.0.patch -? i18n.patch -? run_tests -? test.diff -Index: ClassicStructuredText.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/ClassicStructuredText.py,v -retrieving revision 1.1.1.2 -retrieving revision 1.1.1.1.2.1 -diff -u -r1.1.1.2 -r1.1.1.1.2.1 -Index: DocumentClass.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/DocumentClass.py,v -retrieving revision 1.1.1.1 -diff -u -r1.1.1.1 DocumentClass.py ---- DocumentClass.py 15 Apr 2003 15:13:52 -0000 1.1.1.1 -+++ DocumentClass.py 9 Nov 2003 18:02:30 -0000 -@@ -789,7 +789,7 @@ - - def doc_literal( - self, s, -- expr = re.compile(r"(\W+|^)'([%s%s%s\s]+)'([%s]+|$)" % (letters, digits, literal_punc, phrase_delimiters)).search,): -+ expr = re.compile(r"(\W+|^)'((?:\w|[%s%s\s])+)'([%s]+|$)" % (digits, literal_punc, phrase_delimiters), re.U).search,): - - # old expr... failed to cross newlines. - # expr=re.compile( -@@ -807,7 +807,9 @@ - - def doc_emphasize( - self, s, -- expr = re.compile(r'\*([%s%s%s\s]+?)\*' % (letters, digits, strongem_punc)).search -+ # i18nal variant -+ expr = re.compile(r'\*((?:\w|[%s\s])+?)\*' % (strongem_punc), re.U).search -+ #expr = re.compile(r'\*([%s%s%s\s]+?)\*' % (letters, digits, strongem_punc)).search - #expr = re.compile(r'\s*\*([ \n\r%s0-9.:/;,\'\"\?\-\_\/\=\-\>\<\(\)]+)\*(?!\*|-)' % letters).search # old expr, inconsistent punctuation - ): - -@@ -853,7 +855,7 @@ - - def doc_underline(self, - s, -- expr=re.compile(r'_([%s%s%s\s]+)_([\s%s]|$)' % (letters, digits, under_punc,phrase_delimiters)).search): -+ expr=re.compile(r'_((?:\w|[%s\s])+)_([\s%s]|$)' % (under_punc,phrase_delimiters), re.U).search): - - result = expr(s) - if result: -@@ -867,7 +869,7 @@ - - def doc_strong(self, - s, -- expr = re.compile(r'\*\*([%s%s%s\s]+?)\*\*' % (letters, digits, strongem_punc)).search -+ expr = re.compile(r'\*\*((?:\w|[%s%s\s])+?)\*\*' % (digits, strongem_punc), re.U).search - #expr = re.compile(r'\s*\*\*([ \n\r%s0-9.:/;,\'\"\?\-\_\/\=\-\>\<\(\)]+)\*\*(?!\*|-)' % letters).search, # old expr, inconsistent punc, failed to cross newlines. - ): - -@@ -879,7 +881,7 @@ - return None - - ## Some constants to make the doc_href() regex easier to read. -- _DQUOTEDTEXT = r'("[ %s0-9\n\r%s]+")' % (letters,dbl_quoted_punc) ## double quoted text -+ _DQUOTEDTEXT = r'("[^"]+")' - _ABSOLUTE_URL=r'((http|https|ftp|mailto|file|about)[:/]+?[%s0-9_\@\.\,\?\!\/\:\;\-\#\~\=\&\%%\+]+)' % letters - _ABS_AND_RELATIVE_URL=r'([%s0-9_\@\.\,\?\!\/\:\;\-\#\~\=\&\%%\+]+)' % letters - -@@ -887,12 +889,12 @@ - - - def doc_href1(self, s, -- expr=re.compile(_DQUOTEDTEXT + "(:)" + _ABS_AND_RELATIVE_URL + _SPACES).search -+ expr=re.compile(_DQUOTEDTEXT + "(:)" + _ABS_AND_RELATIVE_URL + _SPACES, re.U).search - ): - return self.doc_href(s, expr) - - def doc_href2(self, s, -- expr=re.compile(_DQUOTEDTEXT + r'(\,\s+)' + _ABSOLUTE_URL + _SPACES).search -+ expr=re.compile(_DQUOTEDTEXT + r'(\,\s+)' + _ABSOLUTE_URL + _SPACES, re.U).search - ): - return self.doc_href(s, expr) - -Index: DocumentWithImages.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/DocumentWithImages.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.2 ---- DocumentWithImages.py 2005-01-14 21:34:31.789944304 +0100 -+++ DocumentWithImages.py 2005-01-14 21:33:58.362026120 +0100 -@@ -30,7 +30,7 @@ - - def doc_img( - self, s, -- expr1=re.compile('\"([ _a-zA-Z0-9*.:/;,\-\n\~]+)\":img:([a-zA-Z0-9%\_\-.:/\?=;,\n\~]+)').search, -+ expr1=re.compile('\"((?:\w|[ *.:/;,\-\n\~])+)\":img:([a-zA-Z0-9\_\-.:/;,\n\~]+)', re.U).search, - ): - - -Index: HTMLClass.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/HTMLClass.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.2.2.2 -diff -u -r1.1.1.1 -r1.2.2.2 -Index: ST.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/ST.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.2 -diff -u -r1.1.1.1 -r1.2 ---- ST.py 15 Apr 2003 15:13:53 -0000 1.1.1.1 -+++ ST.py 15 Apr 2003 15:16:25 -0000 1.2 -@@ -115,6 +115,9 @@ - Structure => [paragraph,[sub-paragraphs]] - """ - -+ if type(paragraphs) == type(''): -+ paragraphs = unicode(paragraphs, 'utf-8') -+ - currentlevel = 0 - currentindent = 0 - levels = {0:0} -Index: Zwiki.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/Zwiki.py,v -retrieving revision 1.1.1.2 -retrieving revision 1.1.1.1.2.1 -diff -u -r1.1.1.2 -r1.1.1.1.2.1 -Index: test.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/test.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.1.2.1 -diff -u -r1.1.1.1 -r1.1.2.1 -Index: tests/__init__.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/tests/__init__.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.1.2.1 -diff -u -r1.1.1.1 -r1.1.2.1 -Index: tests/testStructuredText.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/tests/testStructuredText.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.1.1.1.2.3 -diff -u -r1.1.1.1 -r1.1.1.1.2.3 ---- tests/testStructuredText.py 15 Apr 2003 15:13:56 -0000 1.1.1.1 -+++ tests/testStructuredText.py 7 Nov 2003 12:12:32 -0000 1.1.1.1.2.3 -@@ -210,13 +210,22 @@ - '<code>"literal":http://www.zope.org/.</code>') - - -- def XXXtestUnicodeContent(self): -- # This fails because ST uses the default locale to get "letters" -- # whereas it should use \w+ and re.U if the string is Unicode. -- #self._test(u"h\xe9 **y\xe9** xx", -- # u"h\xe9 <strong>y\xe9</strong> xx") -- pass -+ def testUnicodeContent(self): -+ self._test(u"h\xe9 **y\xe9** xx", -+ u"h\xe9 <strong>y\xe9</strong> xx") -+ self._test(u"h\xe9 *y\xe9* xx", -+ u"h\xe9 <em>y\xe9</em> xx") -+ self._test(u"h\xe9 _y\xe9_ xx", -+ u"h\xe9 <u>y\xe9</u> xx") -+ self._test(u"h\xe9 'y\xe9' xx", -+ u"h\xe9 <code>y\xe9</code> xx") -+ self._test(u"h\xe9 \"y\xe9\":http://zope.org xx", -+ u"h\xe9 <a href=\"http://zope.org\">y\xe9</a> xx") - -+ def testDoNotHang(self): -+ raw_str = 'UAB "Vita Baltic International" produkcijos asortiment\u0105 papild\u0117 dar trys specifines nedegumo savybes turin\u010dios porolono ru\u0161ys. \nSpalio m\u0117nes\u012f buvo gauti tarptautiniai sertifikatai, liudijantys, kad porolonai CV 3037, CV 3538 ir CV 2533 atitinka degumo standart\u0173 BS 5852:Part 2: 1982 reikalavimus. Tai labai gera \u017einia bald\u0173 gamintojams, gaminantiems baldus ir \u010diu\u017einius,\nkuri\u0173 gaminiams keliami ypatingi importuotoj\u0173 reikalavimai.' -+ res_txt = raw_str -+ self._test(raw_str, res_txt) - - def test_suite(): - suite = unittest.TestSuite() diff --git a/net-zope/zope/files/2.7.8/i18n-1.0.0.patch b/net-zope/zope/files/2.7.8/i18n-1.0.0.patch deleted file mode 100644 index f901451fce0c..000000000000 --- a/net-zope/zope/files/2.7.8/i18n-1.0.0.patch +++ /dev/null @@ -1,176 +0,0 @@ -? encode.diff -? i18n-0.9.9.patch -? i18n-1.0.0.patch -? i18n.patch -? run_tests -? test.diff -Index: ClassicStructuredText.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/ClassicStructuredText.py,v -retrieving revision 1.1.1.2 -retrieving revision 1.1.1.1.2.1 -diff -u -r1.1.1.2 -r1.1.1.1.2.1 -Index: DocumentClass.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/DocumentClass.py,v -retrieving revision 1.1.1.1 -diff -u -r1.1.1.1 DocumentClass.py ---- DocumentClass.py 15 Apr 2003 15:13:52 -0000 1.1.1.1 -+++ DocumentClass.py 9 Nov 2003 18:02:30 -0000 -@@ -789,7 +789,7 @@ - - def doc_literal( - self, s, -- expr = re.compile(r"(\W+|^)'([%s%s%s\s]+)'([%s]+|$)" % (letters, digits, literal_punc, phrase_delimiters)).search,): -+ expr = re.compile(r"(\W+|^)'((?:\w|[%s%s\s])+)'([%s]+|$)" % (digits, literal_punc, phrase_delimiters), re.U).search,): - - # old expr... failed to cross newlines. - # expr=re.compile( -@@ -807,7 +807,9 @@ - - def doc_emphasize( - self, s, -- expr = re.compile(r'\*([%s%s%s\s]+?)\*' % (letters, digits, strongem_punc)).search -+ # i18nal variant -+ expr = re.compile(r'\*((?:\w|[%s\s])+?)\*' % (strongem_punc), re.U).search -+ #expr = re.compile(r'\*([%s%s%s\s]+?)\*' % (letters, digits, strongem_punc)).search - #expr = re.compile(r'\s*\*([ \n\r%s0-9.:/;,\'\"\?\-\_\/\=\-\>\<\(\)]+)\*(?!\*|-)' % letters).search # old expr, inconsistent punctuation - ): - -@@ -853,7 +855,7 @@ - - def doc_underline(self, - s, -- expr=re.compile(r'_([%s%s%s\s]+)_([\s%s]|$)' % (letters, digits, under_punc,phrase_delimiters)).search): -+ expr=re.compile(r'_((?:\w|[%s\s])+)_([\s%s]|$)' % (under_punc,phrase_delimiters), re.U).search): - - result = expr(s) - if result: -@@ -867,7 +869,7 @@ - - def doc_strong(self, - s, -- expr = re.compile(r'\*\*([%s%s%s\s]+?)\*\*' % (letters, digits, strongem_punc)).search -+ expr = re.compile(r'\*\*((?:\w|[%s%s\s])+?)\*\*' % (digits, strongem_punc), re.U).search - #expr = re.compile(r'\s*\*\*([ \n\r%s0-9.:/;,\'\"\?\-\_\/\=\-\>\<\(\)]+)\*\*(?!\*|-)' % letters).search, # old expr, inconsistent punc, failed to cross newlines. - ): - -@@ -879,7 +881,7 @@ - return None - - ## Some constants to make the doc_href() regex easier to read. -- _DQUOTEDTEXT = r'("[ %s0-9\n\r%s]+")' % (letters,dbl_quoted_punc) ## double quoted text -+ _DQUOTEDTEXT = r'("[^"]+")' - _ABSOLUTE_URL=r'((http|https|ftp|mailto|file|about)[:/]+?[%s0-9_\@\.\,\?\!\/\:\;\-\#\~\=\&\%%\+]+)' % letters - _ABS_AND_RELATIVE_URL=r'([%s0-9_\@\.\,\?\!\/\:\;\-\#\~\=\&\%%\+]+)' % letters - -@@ -887,12 +889,12 @@ - - - def doc_href1(self, s, -- expr=re.compile(_DQUOTEDTEXT + "(:)" + _ABS_AND_RELATIVE_URL + _SPACES).search -+ expr=re.compile(_DQUOTEDTEXT + "(:)" + _ABS_AND_RELATIVE_URL + _SPACES, re.U).search - ): - return self.doc_href(s, expr) - - def doc_href2(self, s, -- expr=re.compile(_DQUOTEDTEXT + r'(\,\s+)' + _ABSOLUTE_URL + _SPACES).search -+ expr=re.compile(_DQUOTEDTEXT + r'(\,\s+)' + _ABSOLUTE_URL + _SPACES, re.U).search - ): - return self.doc_href(s, expr) - -Index: DocumentWithImages.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/DocumentWithImages.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.2 ---- DocumentWithImages.py 2005-01-14 21:34:31.789944304 +0100 -+++ DocumentWithImages.py 2005-01-14 21:33:58.362026120 +0100 -@@ -30,7 +30,7 @@ - - def doc_img( - self, s, -- expr1=re.compile('\"([ _a-zA-Z0-9*.:/;,\-\n\~]+)\":img:([a-zA-Z0-9%\_\-.:/\?=;,\n\~]+)').search, -+ expr1=re.compile('\"((?:\w|[ *.:/;,\-\n\~])+)\":img:([a-zA-Z0-9\_\-.:/;,\n\~]+)', re.U).search, - ): - - -Index: HTMLClass.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/HTMLClass.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.2.2.2 -diff -u -r1.1.1.1 -r1.2.2.2 -Index: ST.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/ST.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.2 -diff -u -r1.1.1.1 -r1.2 ---- ST.py 15 Apr 2003 15:13:53 -0000 1.1.1.1 -+++ ST.py 15 Apr 2003 15:16:25 -0000 1.2 -@@ -115,6 +115,9 @@ - Structure => [paragraph,[sub-paragraphs]] - """ - -+ if type(paragraphs) == type(''): -+ paragraphs = unicode(paragraphs, 'utf-8') -+ - currentlevel = 0 - currentindent = 0 - levels = {0:0} -Index: Zwiki.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/Zwiki.py,v -retrieving revision 1.1.1.2 -retrieving revision 1.1.1.1.2.1 -diff -u -r1.1.1.2 -r1.1.1.1.2.1 -Index: test.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/test.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.1.2.1 -diff -u -r1.1.1.1 -r1.1.2.1 -Index: tests/__init__.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/tests/__init__.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.1.2.1 -diff -u -r1.1.1.1 -r1.1.2.1 -Index: tests/testStructuredText.py -=================================================================== -RCS file: /var/lib/cvs/nkm/zope/StructuredText/tests/testStructuredText.py,v -retrieving revision 1.1.1.1 -retrieving revision 1.1.1.1.2.3 -diff -u -r1.1.1.1 -r1.1.1.1.2.3 ---- tests/testStructuredText.py 15 Apr 2003 15:13:56 -0000 1.1.1.1 -+++ tests/testStructuredText.py 7 Nov 2003 12:12:32 -0000 1.1.1.1.2.3 -@@ -210,13 +210,22 @@ - '<code>"literal":http://www.zope.org/.</code>') - - -- def XXXtestUnicodeContent(self): -- # This fails because ST uses the default locale to get "letters" -- # whereas it should use \w+ and re.U if the string is Unicode. -- #self._test(u"h\xe9 **y\xe9** xx", -- # u"h\xe9 <strong>y\xe9</strong> xx") -- pass -+ def testUnicodeContent(self): -+ self._test(u"h\xe9 **y\xe9** xx", -+ u"h\xe9 <strong>y\xe9</strong> xx") -+ self._test(u"h\xe9 *y\xe9* xx", -+ u"h\xe9 <em>y\xe9</em> xx") -+ self._test(u"h\xe9 _y\xe9_ xx", -+ u"h\xe9 <u>y\xe9</u> xx") -+ self._test(u"h\xe9 'y\xe9' xx", -+ u"h\xe9 <code>y\xe9</code> xx") -+ self._test(u"h\xe9 \"y\xe9\":http://zope.org xx", -+ u"h\xe9 <a href=\"http://zope.org\">y\xe9</a> xx") - -+ def testDoNotHang(self): -+ raw_str = 'UAB "Vita Baltic International" produkcijos asortiment\u0105 papild\u0117 dar trys specifines nedegumo savybes turin\u010dios porolono ru\u0161ys. \nSpalio m\u0117nes\u012f buvo gauti tarptautiniai sertifikatai, liudijantys, kad porolonai CV 3037, CV 3538 ir CV 2533 atitinka degumo standart\u0173 BS 5852:Part 2: 1982 reikalavimus. Tai labai gera \u017einia bald\u0173 gamintojams, gaminantiems baldus ir \u010diu\u017einius,\nkuri\u0173 gaminiams keliami ypatingi importuotoj\u0173 reikalavimai.' -+ res_txt = raw_str -+ self._test(raw_str, res_txt) - - def test_suite(): - suite = unittest.TestSuite() diff --git a/net-zope/zope/zope-2.7.9.ebuild b/net-zope/zope/zope-2.7.9.ebuild deleted file mode 100644 index 804305e2ade2..000000000000 --- a/net-zope/zope/zope-2.7.9.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.9.ebuild,v 1.8 2008/05/27 20:59:50 tupone Exp $ - -inherit eutils - -DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites" -HOMEPAGE="http://www.zope.org" -HOTFIXES_URI="http://www.zope.org/Products/Zope/Hotfix-2006-08-21/Hotfix-20060821/Hotfix_20060821.tar.gz" -SRC_URI="http://www.zope.org/Products/Zope/Zope-${PV}/Zope-${PV}-final.tgz - ${HOTFIXES_URI}" - -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_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.8/i18n-1.0.0.patch - epause 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 - - # hotfixes to be applied - cp -a "${WORKDIR}"/Hotfix_20060821/ "${D}"${ZSERVDIR}/lib/python/Products/ -} - -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 -} diff --git a/net-zope/zope/zope-2.8.4.ebuild b/net-zope/zope/zope-2.8.4.ebuild deleted file mode 100644 index a1346aeb850f..000000000000 --- a/net-zope/zope/zope-2.8.4.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.4.ebuild,v 1.9 2008/05/27 20:59:50 tupone 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="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_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 - epause 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 -} diff --git a/net-zope/zope/zope-2.8.6.ebuild b/net-zope/zope/zope-2.8.6.ebuild deleted file mode 100644 index 65b6bd4bfcce..000000000000 --- a/net-zope/zope/zope-2.8.6.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.6.ebuild,v 1.4 2008/05/27 20:59:50 tupone 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="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_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 - epause 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 -} diff --git a/net-zope/zope/zope-2.8.7.ebuild b/net-zope/zope/zope-2.8.7.ebuild deleted file mode 100644 index d0cfee31e35a..000000000000 --- a/net-zope/zope/zope-2.8.7.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.7.ebuild,v 1.3 2008/05/27 20:59:50 tupone 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="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_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 - epause 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 -} diff --git a/net-zope/zope/zope-2.8.8.ebuild b/net-zope/zope/zope-2.8.8.ebuild deleted file mode 100644 index 5df803cdfc44..000000000000 --- a/net-zope/zope/zope-2.8.8.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.8.ebuild,v 1.7 2008/05/27 20:59:50 tupone Exp $ - -inherit eutils multilib - -DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites" -HOMEPAGE="http://www.zope.org" -HOTFIXES_URI="http://www.zope.org/Products/Zope/Hotfix-2006-08-21/Hotfix-20060821/Hotfix_20060821.tar.gz" -SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-final.tgz - ${HOTFIXES_URI}" - -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_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 - - # hotfixes to be applied - cp -a "${WORKDIR}"/Hotfix_20060821/ "${D}"${ZSERVDIR}/lib/python/Products/ - -} - -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.1.ebuild b/net-zope/zope/zope-2.8.9.1.ebuild deleted file mode 100644 index 292cb0056e3f..000000000000 --- a/net-zope/zope/zope-2.8.9.1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2008 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.7 2008/05/27 20:59:50 tupone 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_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 deleted file mode 100644 index a69aa3e70496..000000000000 --- a/net-zope/zope/zope-2.8.9.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2008 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.3 2008/05/27 20:59:50 tupone 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_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 -} |