summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-11 22:02:18 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-11 22:02:18 +0000
commit3ef56701ee136fd54938c7b5a10da5d51e3bffab (patch)
treed57dc0f09d93caab896c184b01a191dd6f0ff7f9 /net-zope/zope
parentSecurity update -- addresses CVE-2010-2810 (bug #335894) (diff)
downloadhistorical-3ef56701ee136fd54938c7b5a10da5d51e3bffab.tar.gz
historical-3ef56701ee136fd54938c7b5a10da5d51e3bffab.tar.bz2
historical-3ef56701ee136fd54938c7b5a10da5d51e3bffab.zip
Version bump.
Package-Manager: portage-2.2_rc80/cvs/Linux x86_64
Diffstat (limited to 'net-zope/zope')
-rw-r--r--net-zope/zope/ChangeLog8
-rw-r--r--net-zope/zope/Manifest4
-rw-r--r--net-zope/zope/zope-2.12.11.ebuild163
3 files changed, 173 insertions, 2 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 11f5cc7c4803..a60d756ae958 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-zope/zope
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.179 2010/09/11 21:58:55 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.180 2010/09/11 22:02:18 arfrever Exp $
+
+*zope-2.12.11 (11 Sep 2010)
+
+ 11 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +zope-2.12.11.ebuild:
+ Version bump.
*zope-2.12.10 (11 Sep 2010)
diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest
index e48b0a38df70..7d51f29670df 100644
--- a/net-zope/zope/Manifest
+++ b/net-zope/zope/Manifest
@@ -8,6 +8,7 @@ DIST Zope-2.9.12-final.tgz 7088973 RMD160 c5095d988a745b9929a28a816b78a147f858b2
DIST Zope-3.2.2.tgz 6544087 RMD160 1e7e08e1178f449bf120d7fc2caa6259fde1a0cf SHA1 9bd3c099fc77f981a8b803770aca168eb813e260 SHA256 c6f6d49d8b910bc35a32b848c6296b7ad61cb64f83974b52dd3623169f141ba4
DIST Zope-3.3.1.tgz 6594248 RMD160 11bf3b8c899518a5965f21a4a372912a4bc1438d SHA1 4576ac21c3415563d3b0b747e40963a762b63fce SHA256 6189999de3190e4b0d5110490567d9f7ef92379ea555f738fc741d49d0807be3
DIST Zope2-2.12.10.zip 2328845 RMD160 587e572df4099c8fc0535349fbaddddf0cdb555a SHA1 0e751a84455df32f0ca6e0fee2b89d3d6b973746 SHA256 8b6f76c6faded2813c70c9c2ab97136ed2730700092af82de9df067c7278088d
+DIST Zope2-2.12.11.zip 2332965 RMD160 6fc7abb1367187eb6cadb6b73f617baee4dd54e4 SHA1 a3f21ba93f07a4422c45bfb30bda3498f4982e2e SHA256 23f37ac000ba35da329c9bfe921b577834d85f126ea4aa4767e5f67802495b55
DIST Zope2-2.12.5.zip 2447951 RMD160 3598235e5474e2e91f4e068111cf49f17f5ffdaa SHA1 ce4d993686da3d91e659366b4f89f2d934645e24 SHA256 9482efc0a75e42fdbed507cacfaccbd7f33fe39fed612e5857920dd341d149e5
DIST Zope2-2.12.6.zip 2372167 RMD160 0aa80eb090c17ad3531654583a16d9f0d34f642f SHA1 3e8db5af4d79672246c6e5eb9bf95f48a13eaa5e SHA256 f4584cd91d80405dbece5a9ff0d4358cfdea98edc89dbc9e24511c58a24afc1f
DIST Zope2-2.12.7.zip 2377968 RMD160 3501250d35759fa36a4629205378338e9f12a68d SHA1 9a335c49d1710937917d0dc77141b915f24f1322 SHA256 4b1e3413ce6f27d181e91aeecf01d132ba87d434e301514e10f7338b0f0695e3
@@ -18,6 +19,7 @@ EBUILD zope-2.10.7-r1.ebuild 2419 RMD160 a8eacc97fc3ec0d837e130c19b6160c51087054
EBUILD zope-2.10.7.ebuild 2378 RMD160 b5aec5e9ff6fc8081dff21d3ab5049929922712d SHA1 8a7d41e475abb6efd60b1212e8520f862d804f8b SHA256 641c43f253d26a75a926283f5a5c8dadc65797cf605984b5d1b185c1161e8845
EBUILD zope-2.10.9.ebuild 2337 RMD160 7c7c5d215a96ecad33a10810e0d9c8e1d9dd9400 SHA1 b371ad3c5bfac6492b9c2c8483e3a00d60da3d3d SHA256 1dcd78b0751013e7b50fa9364ff2cf362a11046a7b824681c10395444cfc4889
EBUILD zope-2.12.10.ebuild 5199 RMD160 cd64e47530b5d8a2a21a3ad905fcc51c53a3747a SHA1 06f3ca1fe7b56a1aedab7ca79061b09fa8513672 SHA256 47fd5eb7dcaeb9d9664f2c691deda0d925cc8ad1307fa0f9e25dee8e5bf676e8
+EBUILD zope-2.12.11.ebuild 5199 RMD160 81c5d130fbbfd3c285705a2f26c0039c19e0d136 SHA1 eae3a6b2e6e3b51ddb3494180447908b42183f29 SHA256 5692f75b4d4f081e6e9c7023038a179ff0b8b1a033cba172836eba1917c0ca37
EBUILD zope-2.12.5.ebuild 4028 RMD160 501cedaa61e09838f72dab33a6850a73fcff5671 SHA1 4bf8ee12d3206a9eb8584d450306ca5d49c42651 SHA256 58f28b9d65a3150e1c73cb9578ae57f942ab9f617a8db071a9140146481c2497
EBUILD zope-2.12.6.ebuild 4249 RMD160 e69d8989189bd537d3159a74263d319e7a990e8b SHA1 ffeb89cf2dedbac6b5eb0dda4a019dd36fe47d84 SHA256 d194640b4411cbfb29de04f6c43634db6ef09e0db15912f76109070f04a6746f
EBUILD zope-2.12.7.ebuild 4249 RMD160 ba9a6e23b3ad44877e47787fe4fc3c95882d232b SHA1 480d41f212fc4f9c2b7117403fa3cefb40a634e7 SHA256 dc9762134fd7f3342708e13e1817d5ff367c2bcb4a86fa4fc9996a939196de10
@@ -28,5 +30,5 @@ EBUILD zope-2.9.10.ebuild 2397 RMD160 e33501ae1658b572c23e9383492215c2af0cc5b1 S
EBUILD zope-2.9.12.ebuild 2356 RMD160 77459a869dd0925c53572055e901fa1e710128f1 SHA1 2abb52de300d7d67c1f5f13600310cbc37264dfd SHA256 55a08e94da72603b68859f3dd91595fb8d2fc481378e5e0c868265dc396f164d
EBUILD zope-3.2.2.ebuild 3624 RMD160 e74adaedc41a265b71fd583d87b6f33b34448c0a SHA1 5632e19dc545b80c4ebe734119d81c39fe2b101e SHA256 82e0e16be113e8e2c7f4ca11ef1fa3dc24b96ca4a65161909c4c58999779d57d
EBUILD zope-3.3.1.ebuild 3429 RMD160 4951ab3da1c9adc918f0a093a4bfac6deceba2b5 SHA1 5aefef7e3cf1cfc22674510ec6c78b4d8bcc6448 SHA256 7cc2aa03f0e77a65a6fc93aa01755a7eb41de30384366fd963172389606cc139
-MISC ChangeLog 27566 RMD160 6d444690366d26fe1fb546f5e9d635fbbbe50efd SHA1 b5e16df93254b097a55bc64e00b5f9e07d676f4a SHA256 bb6a21c3fb469508e43ec305a59470fa188df352aa14adc7feac9b8ce058ef70
+MISC ChangeLog 27709 RMD160 7af3a148ad5b543f2189f4538e588bcd2c809a43 SHA1 bd2847669741a7097d31a4a80bdd2d3474474668 SHA256 fbe8be4a5ff3d07cfb462405bf81b51cbe964ab44045d894c3c4c0195d0e6ffc
MISC metadata.xml 161 RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 SHA1 9755179a2dee0511818b1f6738ded28e335e1b9a SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345bbf50ccf00d1158a1c97cc5
diff --git a/net-zope/zope/zope-2.12.11.ebuild b/net-zope/zope/zope-2.12.11.ebuild
new file mode 100644
index 000000000000..1705543c42db
--- /dev/null
+++ b/net-zope/zope/zope-2.12.11.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.12.11.ebuild,v 1.1 2010/09/11 22:02:18 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
+
+inherit distutils eutils multilib versionator
+
+MY_PN="Zope2"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Zope 2 application server / web framework"
+HOMEPAGE="http://www.zope.org http://zope2.zope.org http://pypi.python.org/pypi/Zope2"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
+
+LICENSE="ZPL"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~sparc ~x86"
+IUSE="doc"
+RESTRICT="test"
+
+RDEPEND="dev-python/docutils
+ dev-python/restrictedpython
+ dev-python/setuptools
+ net-zope/acquisition
+ net-zope/datetime
+ net-zope/extensionclass
+ net-zope/five-formlib
+ net-zope/initgroups
+ net-zope/missing
+ net-zope/multimapping
+ net-zope/namespaces
+ net-zope/persistence
+ net-zope/record
+ net-zope/tempstorage
+ net-zope/threadlock
+ net-zope/transaction
+ net-zope/zconfig
+ net-zope/zdaemon
+ net-zope/zlog
+ >=net-zope/zodb-3.9
+ net-zope/zope-app-form
+ net-zope/zope-app-publication
+ net-zope/zope-app-publisher
+ net-zope/zope-app-schema
+ net-zope/zope-component
+ net-zope/zope-configuration
+ net-zope/zope-container
+ net-zope/zope-contentprovider
+ net-zope/zope-contenttype
+ net-zope/zope-deferredimport
+ net-zope/zope-event
+ net-zope/zope-exceptions
+ net-zope/zope-formlib
+ net-zope/zope-i18n
+ net-zope/zope-i18nmessageid
+ net-zope/zope-interface
+ net-zope/zope-lifecycleevent
+ net-zope/zope-location
+ net-zope/zope-mkzeoinstance
+ net-zope/zope-pagetemplate
+ net-zope/zope-processlifetime
+ net-zope/zope-proxy
+ net-zope/zope-publisher
+ net-zope/zope-schema
+ net-zope/zope-security
+ <net-zope/zope-sendmail-3.7.0
+ net-zope/zope-sequencesort
+ net-zope/zope-site
+ net-zope/zope-size
+ net-zope/zope-structuredtext
+ net-zope/zope-tales
+ net-zope/zope-testbrowser
+ net-zope/zope-testing
+ net-zope/zope-traversing
+ net-zope/zope-viewlet
+ net-zope/zopeundo"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ doc? ( dev-python/sphinx )"
+PDEPEND="net-zope/zsqlmethods"
+
+S="${WORKDIR}/${MY_P}"
+
+ZOPE_INSTALLATION_DIR="/usr/$(get_libdir)/${PN}-${SLOT}"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed"
+ fi
+}
+
+distutils_src_install_post_hook() {
+ mv "${D}${ZOPE_INSTALLATION_DIR}/lib/python" "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}"
+}
+
+src_install() {
+ distutils_src_install --home="${ZOPE_INSTALLATION_DIR}"
+
+ # Don't install C sources.
+ find "${D}${ZOPE_INSTALLATION_DIR}" -name "*.c" | xargs rm -f
+
+ local file
+ for file in "${D}${ZOPE_INSTALLATION_DIR}/bin/"*; do
+ scripts_preparation() {
+ cp "${file}" "${file}-${PYTHON_ABI}" || return 1
+ python_convert_shebangs -q $(python_get_version) "${file}-${PYTHON_ABI}"
+ sed \
+ -e "/import sys/i import os\nos.environ['PYTHONPATH'] = (os.environ.get('PYTHONPATH') + ':' if os.environ.get('PYTHONPATH') is not None else '') + os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}'))" \
+ -e "/import sys/a sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}')))" \
+ -i "${file}-${PYTHON_ABI}"
+ }
+ python_execute_function -q scripts_preparation
+
+ python_generate_wrapper_scripts -f "${file}"
+ done
+
+ modules_installation() {
+ local module
+ for module in Products Shared Shared/DC; do
+ echo "__import__('pkg_resources').declare_namespace(__name__)" > "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/${module}/__init__.py" || return 1
+ done
+ }
+ python_execute_function -q modules_installation
+
+ skel_preparation() {
+ sed -e "/^ZOPE_RUN=/s/runzope/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/runzope.in" || return 1
+ sed -e "/^ZDCTL=/s/zopectl/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/zopectl.in" || return 1
+ }
+ python_execute_function -q skel_preparation
+
+ if use doc; then
+ pushd build/sphinx/html > /dev/null
+ dodoc _sources/* || die "Installation of documentation failed"
+ docinto html
+ dohtml -r [A-Za-z]* _static || die "Installation of documentation failed"
+ popd > /dev/null
+ fi
+
+ # Copy the init script skeleton to skel directory of our installation.
+ insinto "${ZOPE_INSTALLATION_DIR}/skel"
+ doins "${FILESDIR}/zope.initd" || die "doins failed"
+}
+
+pkg_postinst() {
+# python_mod_optimize --allow-evaluated-non-sitedir-paths "${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}"
+ byte-compilation() {
+ "$(PYTHON)" "$(python_get_libdir)/compileall.py" -q ${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}
+ "$(PYTHON)" -O "$(python_get_libdir)/compileall.py" -q ${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}
+ }
+ python_execute_function -q byte-compilation
+}
+
+pkg_postrm() {
+# python_mod_cleanup --allow-evaluated-non-sitedir-paths "${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}"
+ SUPPORT_PYTHON_ABIS="" python_mod_cleanup ${ZOPE_INSTALLATION_DIR}/lib
+}