diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2007-04-29 18:17:39 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2007-04-29 18:17:39 +0000 |
commit | ea0e2b6b7ebb01d05c8d46c237d009ebdda1b468 (patch) | |
tree | 7e92f775337c1be88a1e1d38116891ae83b8f0fb /net-zope/zope | |
parent | Fix *initd, *confd and *envd calls (#173884, #174266) (diff) | |
download | gentoo-2-ea0e2b6b7ebb01d05c8d46c237d009ebdda1b468.tar.gz gentoo-2-ea0e2b6b7ebb01d05c8d46c237d009ebdda1b468.tar.bz2 gentoo-2-ea0e2b6b7ebb01d05c8d46c237d009ebdda1b468.zip |
Removed old unnecessary versions to unclutter tree.
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 8 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.10.0 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.10.1 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.7.7 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.7.8 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.9.4 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.9.5 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-2.9.6 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-3.1.0 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-3.2.1 | 3 | ||||
-rw-r--r-- | net-zope/zope/files/digest-zope-3.3.0 | 3 | ||||
-rw-r--r-- | net-zope/zope/zope-2.10.0.ebuild | 79 | ||||
-rw-r--r-- | net-zope/zope/zope-2.10.1.ebuild | 79 | ||||
-rw-r--r-- | net-zope/zope/zope-2.7.7.ebuild | 106 | ||||
-rw-r--r-- | net-zope/zope/zope-2.7.8.ebuild | 106 | ||||
-rw-r--r-- | net-zope/zope/zope-2.9.4.ebuild | 81 | ||||
-rw-r--r-- | net-zope/zope/zope-2.9.5.ebuild | 79 | ||||
-rw-r--r-- | net-zope/zope/zope-2.9.6.ebuild | 79 | ||||
-rw-r--r-- | net-zope/zope/zope-3.1.0.ebuild | 117 | ||||
-rw-r--r-- | net-zope/zope/zope-3.2.1.ebuild | 124 | ||||
-rw-r--r-- | net-zope/zope/zope-3.3.0.ebuild | 124 |
21 files changed, 7 insertions, 1005 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index 6c6bc87b0c44..cf40c063ecdd 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,12 @@ # 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.127 2007/04/29 18:02:53 radek Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.128 2007/04/29 18:17:39 radek Exp $ + + 29 Apr 2007; Radoslaw Stachowiak <radek@gentoo.org> -zope-2.7.7.ebuild, + -zope-2.7.8.ebuild, -zope-2.9.4.ebuild, -zope-2.9.5.ebuild, + -zope-2.9.6.ebuild, -zope-2.10.0.ebuild, -zope-2.10.1.ebuild, + -zope-3.1.0.ebuild, -zope-3.2.1.ebuild, -zope-3.3.0.ebuild: + Removed old unnecessary versions to unclutter tree. *zope-3.3.1 (29 Apr 2007) diff --git a/net-zope/zope/files/digest-zope-2.10.0 b/net-zope/zope/files/digest-zope-2.10.0 deleted file mode 100644 index da2811332345..000000000000 --- a/net-zope/zope/files/digest-zope-2.10.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4ff264d6a002e51a7853a096e72aa6d1 Zope-2.10.0-final.tgz 7123131 -RMD160 f3dd52d72d512057f722b822f4f6bfd578229d86 Zope-2.10.0-final.tgz 7123131 -SHA256 4a9f8649390942d7faad3a90c128b4f36c3cbcdce5f06a2d13ab367add458f30 Zope-2.10.0-final.tgz 7123131 diff --git a/net-zope/zope/files/digest-zope-2.10.1 b/net-zope/zope/files/digest-zope-2.10.1 deleted file mode 100644 index ee42c792f71c..000000000000 --- a/net-zope/zope/files/digest-zope-2.10.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 10733d25719535eeb8ca995dd627106f Zope-2.10.1-final.tgz 7128570 -RMD160 b05c2d4c69a9e19d88f38c36ef5bf4846a7d5d0a Zope-2.10.1-final.tgz 7128570 -SHA256 a759dc9312a9e8ebb87d721fbb0124caafd18a1860e5f5bd2186f1459e68c17b Zope-2.10.1-final.tgz 7128570 diff --git a/net-zope/zope/files/digest-zope-2.7.7 b/net-zope/zope/files/digest-zope-2.7.7 deleted file mode 100644 index 6f2ec95a890e..000000000000 --- a/net-zope/zope/files/digest-zope-2.7.7 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 66876823e53fbd0d4a8a7262d7ce251b Zope-2.7.7-final.tgz 2925174 -RMD160 dc3058b0b261f15b881930e91e4be02d80a6e134 Zope-2.7.7-final.tgz 2925174 -SHA256 9605229870b5ab9a8683d5297b47eedd9bb84fea28ecc08774df7d437919296a Zope-2.7.7-final.tgz 2925174 diff --git a/net-zope/zope/files/digest-zope-2.7.8 b/net-zope/zope/files/digest-zope-2.7.8 deleted file mode 100644 index 157df7cca30d..000000000000 --- a/net-zope/zope/files/digest-zope-2.7.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7e0eaefe7e0b9a753f1dee7a73a0aca5 Zope-2.7.8-final.tgz 2952102 -RMD160 2a25b1fbe81c9aec10f35e05f8eaf9522d9cb445 Zope-2.7.8-final.tgz 2952102 -SHA256 06789e7e2bf8415a7e4edf2bd05eada1b4d5dd3a6fa8ca7ab79f8b68006c7bac Zope-2.7.8-final.tgz 2952102 diff --git a/net-zope/zope/files/digest-zope-2.9.4 b/net-zope/zope/files/digest-zope-2.9.4 deleted file mode 100644 index f6a90e199ab4..000000000000 --- a/net-zope/zope/files/digest-zope-2.9.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7d7ffe62eabc84d0c438e450e344c29f Zope-2.9.4-final.tgz 6962298 -RMD160 297254e4ad0a27bdc585c88147a6e42698de485e Zope-2.9.4-final.tgz 6962298 -SHA256 4085dee8a6bd252072ca69f1c2d9e00cbff8d999651da93fd9df5a9db65dba35 Zope-2.9.4-final.tgz 6962298 diff --git a/net-zope/zope/files/digest-zope-2.9.5 b/net-zope/zope/files/digest-zope-2.9.5 deleted file mode 100644 index 19a2b06233fb..000000000000 --- a/net-zope/zope/files/digest-zope-2.9.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b648770c9e3735f88b61b56384942ff8 Zope-2.9.5-final.tgz 6982114 -RMD160 d8e26839618a19fbb6528967c3d8fc0266251a7d Zope-2.9.5-final.tgz 6982114 -SHA256 e4036fa61af22379530b1a42534591d7f19fdbcb3345d20e7a337b3c375a323e Zope-2.9.5-final.tgz 6982114 diff --git a/net-zope/zope/files/digest-zope-2.9.6 b/net-zope/zope/files/digest-zope-2.9.6 deleted file mode 100644 index 8cc829d34d7c..000000000000 --- a/net-zope/zope/files/digest-zope-2.9.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a87008a9e78248072ea5908e1006b269 Zope-2.9.6-final.tgz 6989768 -RMD160 0fc82ae2ee0f2343e6fcd723048f6dfd18dbcd04 Zope-2.9.6-final.tgz 6989768 -SHA256 00ffe561df9ede6543bf5dceeea964048ee005705ba98dd8f8dbfcd8dd64fcc4 Zope-2.9.6-final.tgz 6989768 diff --git a/net-zope/zope/files/digest-zope-3.1.0 b/net-zope/zope/files/digest-zope-3.1.0 deleted file mode 100644 index 4aaa27b511c3..000000000000 --- a/net-zope/zope/files/digest-zope-3.1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7e4c383479753639cddb14e2914582eb Zope-3.1.0.tgz 4048336 -RMD160 c3af6b6172b56ec53691f8f86f3ee14064003602 Zope-3.1.0.tgz 4048336 -SHA256 e102a263f7ceb00744ab503c568482db201557433d9078766846294dd040b445 Zope-3.1.0.tgz 4048336 diff --git a/net-zope/zope/files/digest-zope-3.2.1 b/net-zope/zope/files/digest-zope-3.2.1 deleted file mode 100644 index 57c3851f4d03..000000000000 --- a/net-zope/zope/files/digest-zope-3.2.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 becbc5aba9573c46cf5820ab12720d1d Zope-3.2.1.tgz 6532373 -RMD160 f7aeb56ab5f09e6780d0df787939af4c7815ceba Zope-3.2.1.tgz 6532373 -SHA256 8431984af75054e4ddfe45bf708924240f8b6b02220cd84d090138413ac82341 Zope-3.2.1.tgz 6532373 diff --git a/net-zope/zope/files/digest-zope-3.3.0 b/net-zope/zope/files/digest-zope-3.3.0 deleted file mode 100644 index 8f9ec241aa81..000000000000 --- a/net-zope/zope/files/digest-zope-3.3.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a0c36d7db1e821d12cdd990953c7da8a Zope-3.3.0.tgz 6634834 -RMD160 e8dd6c74d83646d1e9093bb3147450088dcd06e3 Zope-3.3.0.tgz 6634834 -SHA256 a1f9decff79265f487b2ee27c07c9f7a7930a4c7b061f93d110c6fe1f1f02b30 Zope-3.3.0.tgz 6634834 diff --git a/net-zope/zope/zope-2.10.0.ebuild b/net-zope/zope/zope-2.10.0.ebuild deleted file mode 100644 index 6cbe102402b7..000000000000 --- a/net-zope/zope/zope-2.10.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.0.ebuild,v 1.1 2006/10/03 11:53:33 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 -} diff --git a/net-zope/zope/zope-2.10.1.ebuild b/net-zope/zope/zope-2.10.1.ebuild deleted file mode 100644 index 1a4734e5485a..000000000000 --- a/net-zope/zope/zope-2.10.1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.1.ebuild,v 1.1 2006/12/29 00:19:50 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 -} diff --git a/net-zope/zope/zope-2.7.7.ebuild b/net-zope/zope/zope-2.7.7.ebuild deleted file mode 100644 index a4a6fdf77028..000000000000 --- a/net-zope/zope/zope-2.7.7.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.7.ebuild,v 1.6 2006/03/18 19:08:38 radek Exp $ - -inherit eutils - -DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites" -HOMEPAGE="http://www.zope.org" -SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-final.tgz" - -LICENSE="ZPL" -SLOT="${PV}" -KEYWORDS="alpha amd64 ppc sparc x86" -IUSE="unicode" - -RDEPEND="=dev-lang/python-2.3*" -python='python2.3' - -DEPEND="${RDEPEND} -virtual/libc ->=sys-apps/sed-4.0.5" - -S="${WORKDIR}/Zope-${PV}-final" -ZUID=zope -ZGID=zope -ZS_DIR=${ROOT%/}/usr/lib -ZSERVDIR=${ZS_DIR}/${P} - -# Narrow the scope of ownership/permissions. -# Security plan: -# * ZUID is the superuser for all zope instances. -# * ZGID is for a single instance's administration. -# * Other' should not have any access to ${ZSERVDIR}, -# because they can work through the Zope web interface. -# This should protect our code/data better. -# -# UPDATE: ${ZSERVDIR} is a lib directory and should be world readable -# like e.g /usr/lib/python we do not store any user data there, -# currently removed all custom permission stuff, for ${ZSERVDIR} - -src_unpack() { - unpack ${A} - cd ${S} -} - -src_compile() { - ./configure --ignore-largefile --prefix=. --with-python=/usr/bin/python2.3 || die "Failed to configure." - emake || die "Failed to compile." -} - -src_install() { - dodoc README.txt - dodoc doc/*.txt - docinto PLATFORMS ; dodoc doc/PLATFORMS/* - - # Patched StructuredText will accept source text formatted in utf-8 encoding, - # apply all formattings and output utf-8 encoded text. - # if you want to use this option you need to set your - # system python encoding to utf-8 (create the file sitecustomize.py inside - # your site-packages, add the following lines - # import sys - # sys.setdefaultencoding('utf-8') - # If this is a problem, let me know right away. --batlogg@gentoo.org - # I wondering if we need a USE flag for this and wheter we can set the - # sys.encoding automtically - # so i defined a use flag - - if use unicode; then - einfo "Patching structured text" - einfo "make sure you have set the system python encoding to utf-8" - einfo "create the file sitecustomize.py inside your site-packages" - einfo "import sys" - einfo "sys.setdefaultencoding('utf8')" - cd ${S}/lib/python/StructuredText/ - epatch ${FILESDIR}/${PV}/i18n-1.0.0.patch - 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/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.7.8.ebuild b/net-zope/zope/zope-2.7.8.ebuild deleted file mode 100644 index c1f7e70ae6a6..000000000000 --- a/net-zope/zope/zope-2.7.8.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.8.ebuild,v 1.9 2006/03/18 19:08:38 radek Exp $ - -inherit eutils - -DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites" -HOMEPAGE="http://www.zope.org" -SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-final.tgz" - -LICENSE="ZPL" -SLOT="${PV}" -KEYWORDS="alpha amd64 ppc sparc x86" -IUSE="unicode" - -RDEPEND="=dev-lang/python-2.3*" -python='python2.3' - -DEPEND="${RDEPEND} -virtual/libc ->=sys-apps/sed-4.0.5" - -S="${WORKDIR}/Zope-${PV}-final" -ZUID=zope -ZGID=zope -ZS_DIR=${ROOT%/}/usr/lib -ZSERVDIR=${ZS_DIR}/${P} - -# Narrow the scope of ownership/permissions. -# Security plan: -# * ZUID is the superuser for all zope instances. -# * ZGID is for a single instance's administration. -# * Other' should not have any access to ${ZSERVDIR}, -# because they can work through the Zope web interface. -# This should protect our code/data better. -# -# UPDATE: ${ZSERVDIR} is a lib directory and should be world readable -# like e.g /usr/lib/python we do not store any user data there, -# currently removed all custom permission stuff, for ${ZSERVDIR} - -src_unpack() { - unpack ${A} - cd ${S} -} - -src_compile() { - ./configure --ignore-largefile --prefix=. --with-python=/usr/bin/python2.3 || die "Failed to configure." - emake || die "Failed to compile." -} - -src_install() { - dodoc README.txt - dodoc doc/*.txt - docinto PLATFORMS ; dodoc doc/PLATFORMS/* - - # Patched StructuredText will accept source text formatted in utf-8 encoding, - # apply all formattings and output utf-8 encoded text. - # if you want to use this option you need to set your - # system python encoding to utf-8 (create the file sitecustomize.py inside - # your site-packages, add the following lines - # import sys - # sys.setdefaultencoding('utf-8') - # If this is a problem, let me know right away. --batlogg@gentoo.org - # I wondering if we need a USE flag for this and wheter we can set the - # sys.encoding automtically - # so i defined a use flag - - if use unicode; then - einfo "Patching structured text" - einfo "make sure you have set the system python encoding to utf-8" - einfo "create the file sitecustomize.py inside your site-packages" - einfo "import sys" - einfo "sys.setdefaultencoding('utf8')" - cd ${S}/lib/python/StructuredText/ - epatch ${FILESDIR}/${PV}/i18n-1.0.0.patch - 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/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.9.4.ebuild b/net-zope/zope/zope-2.9.4.ebuild deleted file mode 100644 index 9759e7466535..000000000000 --- a/net-zope/zope/zope-2.9.4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.9.4.ebuild,v 1.3 2006/10/03 11:53:33 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 - - epatch ${FILESDIR}/2.9/${P}_logerror.patch -} - -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.9.5.ebuild b/net-zope/zope/zope-2.9.5.ebuild deleted file mode 100644 index 0fbb6a8c09ad..000000000000 --- a/net-zope/zope/zope-2.9.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.9.5.ebuild,v 1.2 2006/10/03 11:53:33 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 -} diff --git a/net-zope/zope/zope-2.9.6.ebuild b/net-zope/zope/zope-2.9.6.ebuild deleted file mode 100644 index 6623b86ebf8b..000000000000 --- a/net-zope/zope/zope-2.9.6.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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.2 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 -} diff --git a/net-zope/zope/zope-3.1.0.ebuild b/net-zope/zope/zope-3.1.0.ebuild deleted file mode 100644 index 0a13560fba5a..000000000000 --- a/net-zope/zope/zope-3.1.0.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-3.1.0.ebuild,v 1.3 2006/01/27 02:51:54 vapier 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}final/Zope-${PV}.tgz" - -LICENSE="ZPL" -SLOT="${PV}" -KEYWORDS="~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/${PN} - -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 but *SIMPLIFIED** instance using the command: " - einfo " emerge --config =${PF}" - einfo "Instance will be named zope, and will use /var/lib/zope/zope as its instance home." - einfo - ewarn "Current gentoo zope gotchas:" - ewarn ".. Zope ${PV} is not yet fully supported by zope-config-0.*" - ewarn ".. We use python2.4 to simplify packages managability" -} - -pkg_prerm() { - - find ${ZSERVDIR}/lib/python -name \*.py[co] -exec rm -f {} \; -} - -pkg_postrm() { - - rmdir /usr/$(get_libdir)/${ZSERVDIR} 2>/dev/null -} - -pkg_config() { - - if [ -f /etc/init.d/${PN} -o -d ${ZINSTDIR} ] - then - ewarn "Default instance already exists, aborting.." - ewarn "Please delete first /etc/init.d/${PN} and ${ZINSTDIR}" - die "Failed to create default instance." - fi - - mkdir -p ${ZINSTDIR} - ${ZSERVDIR}/bin/mkzopeinstance -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/${PN} - chmod 755 /etc/init.d/${PN} - sed -i -e "s|INSTANCE_HOME|${ZINSTDIR}|" /etc/init.d/${PN} - sed -i -e "s|zopectl|zopectl -u ${ZUNAME}|" /etc/init.d/${PN} - - einfo "Default instance created at ${ZINSTDIR}" - einfo "Created default zope user 'admin' with password 'admin'." - einfo "Be warned that this instance is prepared to run as zope user only." - einfo "To start instance (ports 8080,8021,) use: /etc/init.d/${PN} start" -} diff --git a/net-zope/zope/zope-3.2.1.ebuild b/net-zope/zope/zope-3.2.1.ebuild deleted file mode 100644 index 7243b7f48ffb..000000000000 --- a/net-zope/zope/zope-3.2.1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-3.2.1.ebuild,v 1.1 2006/05/27 12:57:45 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="~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 - - # bug in zope - einfo "Patching ${ZINSTDIR}/etc/zdaemon.conf" - sed -i -e 's|daemon on|daemon on\n\n # socket has to be defined inside of instance\n socket-name $INSTANCE/var/zdsock|' ${ZINSTDIR}/etc/zdaemon.conf - - # 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" -} diff --git a/net-zope/zope/zope-3.3.0.ebuild b/net-zope/zope/zope-3.3.0.ebuild deleted file mode 100644 index a349f255bf33..000000000000 --- a/net-zope/zope/zope-3.3.0.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# 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.0.ebuild,v 1.2 2007/04/12 21:53:50 opfer 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 - - # bug in zope - einfo "Patching ${ZINSTDIR}/etc/zdaemon.conf" - sed -i -e 's|daemon on|daemon on\n\n # socket has to be defined inside of instance\n socket-name $INSTANCE/var/zdsock|' ${ZINSTDIR}/etc/zdaemon.conf - - # 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" -} |