summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2007-04-29 18:02:53 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2007-04-29 18:02:53 +0000
commit6d5ffe987900f5d72d9b5d662362a888ba521ab4 (patch)
tree28df44c37a7a9f86069c29d3246f11def67e6c1b /net-zope
parentFix cabal deps so that you actually can install the packages once ghc-6.6 get... (diff)
downloadgentoo-2-6d5ffe987900f5d72d9b5d662362a888ba521ab4.tar.gz
gentoo-2-6d5ffe987900f5d72d9b5d662362a888ba521ab4.tar.bz2
gentoo-2-6d5ffe987900f5d72d9b5d662362a888ba521ab4.zip
Fixed digest of 2.10.3 and 2.9.7 #174225 and #176478. Also new 3.3.1 release
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zope/ChangeLog7
-rw-r--r--net-zope/zope/files/digest-zope-2.10.36
-rw-r--r--net-zope/zope/files/digest-zope-2.9.76
-rw-r--r--net-zope/zope/files/digest-zope-3.3.13
-rw-r--r--net-zope/zope/zope-3.3.1.ebuild120
5 files changed, 135 insertions, 7 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 1d8fc015a789..6c6bc87b0c44 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,11 @@
# 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.126 2007/04/12 21:53:50 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.127 2007/04/29 18:02:53 radek Exp $
+
+*zope-3.3.1 (29 Apr 2007)
+
+ 29 Apr 2007; Radoslaw Stachowiak <radek@gentoo.org> +zope-3.3.1.ebuild:
+ Fixed digest of 2.10.3 and 2.9.7 #174225 and #176478. Also new 3.3.1 release
12 Apr 2007; Christian Faulhammer <opfer@gentoo.org> zope-3.3.0.ebuild:
keyworded ~amd64, bug 152547
diff --git a/net-zope/zope/files/digest-zope-2.10.3 b/net-zope/zope/files/digest-zope-2.10.3
index 080007943031..f4a599c333bb 100644
--- a/net-zope/zope/files/digest-zope-2.10.3
+++ b/net-zope/zope/files/digest-zope-2.10.3
@@ -1,3 +1,3 @@
-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
+MD5 60cedefc1589cdb2dd91e6e85f31b9b7 Zope-2.10.3-final.tgz 7094367
+RMD160 70835b3c510b95a61174050a8ffe68a58114f02a Zope-2.10.3-final.tgz 7094367
+SHA256 79233c797c77edf447f1903c93a2accbb227b3af2159a99d731607aa2e274350 Zope-2.10.3-final.tgz 7094367
diff --git a/net-zope/zope/files/digest-zope-2.9.7 b/net-zope/zope/files/digest-zope-2.9.7
index d046259a3606..4057c7e6f7bf 100644
--- a/net-zope/zope/files/digest-zope-2.9.7
+++ b/net-zope/zope/files/digest-zope-2.9.7
@@ -1,3 +1,3 @@
-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
+MD5 f7d900c00fe95d4cce0bc5854bc842b4 Zope-2.9.7-final.tgz 6945646
+RMD160 a7237959d43031459423c700f5224f999d2ad050 Zope-2.9.7-final.tgz 6945646
+SHA256 736a5a883e0ed5c57787ae33b71878761ce9abf6184b30fdb1585985b167e617 Zope-2.9.7-final.tgz 6945646
diff --git a/net-zope/zope/files/digest-zope-3.3.1 b/net-zope/zope/files/digest-zope-3.3.1
new file mode 100644
index 000000000000..47d1fb0dff28
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-3.3.1
@@ -0,0 +1,3 @@
+MD5 3c28888c51cc0a9e853c0f3032370bf9 Zope-3.3.1.tgz 6594248
+RMD160 11bf3b8c899518a5965f21a4a372912a4bc1438d Zope-3.3.1.tgz 6594248
+SHA256 6189999de3190e4b0d5110490567d9f7ef92379ea555f738fc741d49d0807be3 Zope-3.3.1.tgz 6594248
diff --git a/net-zope/zope/zope-3.3.1.ebuild b/net-zope/zope/zope-3.3.1.ebuild
new file mode 100644
index 000000000000..11549af4df8b
--- /dev/null
+++ b/net-zope/zope/zope-3.3.1.ebuild
@@ -0,0 +1,120 @@
+# 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-3.3.1.ebuild,v 1.1 2007/04/29 18:02:53 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/Zope3/${PV}/Zope-${PV}.tgz"
+
+LICENSE="ZPL"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="=dev-lang/python-2.4*"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-2.0
+ >=sys-apps/sed-4.0.5"
+
+S=${WORKDIR}/Zope-${PV}
+
+ZUNAME=zope
+ZGNAME=zope
+
+ZS_DIR=${ROOT%/}/usr/$(get_libdir)
+ZSERVDIR=${ZS_DIR}/${P}
+ZSKELDIR=${ZSERVDIR}/zopeskel
+ZINSTDIR=/var/lib/zope/${P}
+
+src_compile() {
+
+ cd ${S}
+
+ ./configure --prefix=${D}${ZSERVDIR} --with-python=/usr/bin/python2.4 || die "Failed to configure."
+ emake || die "Failed to compile."
+}
+
+src_install() {
+
+ cd ${S}
+
+ dodoc README.txt
+ dodoc Zope/doc/*.txt
+ for DIR in schema security skins style zcml zsync
+ do
+ docinto ${DIR}
+ dodoc Zope/doc/${DIR}/*
+ done
+
+ make install prefix=${D}${ZSERVDIR}
+
+ dosym ../../share/doc/${PF} ${ZSERVDIR}/doc
+
+ # copy the init script skeleton to zopeskel directory of our installation
+ cp ${FILESDIR}/zope.initd ${D}${ZSKELDIR}/zope.initd
+}
+
+pkg_postinst() {
+ # create the zope user and group for backward compatibility
+ enewgroup ${ZGNAME} 261
+ usermod -g ${ZGNAME} -c "Zope Admin User" -d /var/lib/zope -s /bin/bash ${ZUNAME} 2>&1 >/dev/null || \
+ enewuser ${ZUNAME} 261 /bin/bash /var/lib/zope ${ZGNAME} -c "Zope Admin User"
+
+ einfo "This release can create a default instance using the command: "
+ einfo " emerge --config =${PF}"
+ einfo "Instance (${P}) will be created in ${ZINSTDIR} as its home."
+ einfo "System uid/gid for instance will be: ${ZUNAME}:${ZGNAME}"
+}
+
+pkg_prerm() {
+
+ find ${ZSERVDIR}/lib/python -name \*.py[co] -exec rm -f {} \;
+}
+
+pkg_postrm() {
+
+ rmdir /usr/$(get_libdir)/${ZSERVDIR} 2>/dev/null
+ ewarn "Instances created for this package are NOT automaticaly deleted!"
+ ewarn "Inspect these locations and manually remove them (if needed):"
+ ewarn " /etc/init.d/${P}"
+ ewarn " ${ZINSTDIR}"
+}
+
+pkg_config() {
+
+ if [ -f /etc/init.d/${P} -o -d ${ZINSTDIR} ]
+ then
+ ewarn "Default instance already exists, aborting.."
+ ewarn "Please delete first /etc/init.d/${P} and ${ZINSTDIR}"
+ die "Failed to create default instance."
+ fi
+
+ mkdir -p ${ZINSTDIR}
+ einfo "Instance ${P} creation, calling mkzopeinstance.."
+ ${ZSERVDIR}/bin/mkzopeinstance --non-interactive -d ${ZINSTDIR} -u admin:admin
+
+ # remove unnecessary zope.initd
+ rm -f ${ZINSTDIR}/zope.initd
+
+ # log symlink
+ rm -rf ${ZINSTDIR}/log
+ mkdir -p /var/log/zope/${PN}
+ ln -s /var/log/zope/${PN} ${ZINSTDIR}/log
+
+ # permissions changes
+ chmod go-rwx -R ${ZINSTDIR}
+ chown ${ZUNAME}:${ZGNAME} -R ${ZINSTDIR} /var/log/zope/${PN}
+
+ cp ${ZSKELDIR}/zope.initd /etc/init.d/${P}
+ chmod 755 /etc/init.d/${P}
+ sed -i -e "s|INSTANCE_HOME|${ZINSTDIR}|" /etc/init.d/${P}
+ sed -i -e "s|zopectl|zopectl -u ${ZUNAME}|" /etc/init.d/${P}
+
+ einfo "Default instance created at ${ZINSTDIR}"
+ einfo "Created default zope user 'admin' with password 'admin'."
+ einfo "System uid/gid for instance is: ${ZUNAME}:${ZGNAME}."
+ einfo "To start instance (default ports 8080,8021) use: /etc/init.d/${P} start"
+ einfo "To start instance on every restart use: rc-update -a ${P} default"
+}