summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-09-08 06:02:11 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-09-08 06:02:11 +0000
commitf8c56988591e1d069980f6f1dbd7b8bc4de06208 (patch)
treeb096844b3e2f20c96f2fc961934be7ff3a51fe8c /net-zope/zope
parentdistribution fix (diff)
downloadgentoo-2-f8c56988591e1d069980f6f1dbd7b8bc4de06208.tar.gz
gentoo-2-f8c56988591e1d069980f6f1dbd7b8bc4de06208.tar.bz2
gentoo-2-f8c56988591e1d069980f6f1dbd7b8bc4de06208.zip
repoman: fix leading whitespace
Diffstat (limited to 'net-zope/zope')
-rw-r--r--net-zope/zope/Manifest14
-rw-r--r--net-zope/zope/zope-2.4.0-r6.ebuild176
-rw-r--r--net-zope/zope/zope-2.5.1.ebuild176
-rw-r--r--net-zope/zope/zope-2.6.0-r1.ebuild4
-rw-r--r--net-zope/zope/zope-2.6.0-r2.ebuild48
-rw-r--r--net-zope/zope/zope-2.6.0-r3.ebuild48
-rw-r--r--net-zope/zope/zope-2.6.0.ebuild4
-rw-r--r--net-zope/zope/zope-2.6.1.ebuild48
8 files changed, 259 insertions, 259 deletions
diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest
index 1912669f442d..64243423b424 100644
--- a/net-zope/zope/Manifest
+++ b/net-zope/zope/Manifest
@@ -1,11 +1,11 @@
MD5 a6f61086c90454f6398c78203219e237 ChangeLog 2784
-MD5 4ced3a479b539f7007197faf15d5f86c zope-2.4.0-r6.ebuild 2956
-MD5 e3479c35b77bf9bdc9ead89b6d6a5c4f zope-2.5.1.ebuild 2918
-MD5 437d4a5cb301a6ccab04878ac302c64b zope-2.6.0-r1.ebuild 1850
-MD5 e04f872344599f40aec20c0202966c12 zope-2.6.0-r2.ebuild 3198
-MD5 523ab26102837a703bd6afc964d7af9e zope-2.6.0-r3.ebuild 4617
-MD5 2e88256ee33be7fe10cb69812d1db1e8 zope-2.6.0.ebuild 2073
-MD5 672a3b7d82970a43c9321fbe26557896 zope-2.6.1.ebuild 4250
+MD5 5ffe5f1c282765ea906351c2006cb06e zope-2.4.0-r6.ebuild 2692
+MD5 d9a1226ae74be28d26f866aa0e99d4f6 zope-2.5.1.ebuild 2654
+MD5 b43b117f73d8b7e5ae9a0a08ce60a703 zope-2.6.0-r1.ebuild 1848
+MD5 ecd9e9cfc6d60826de5918d4bf79788a zope-2.6.0-r2.ebuild 3126
+MD5 4dc866736bee478d2271c3ab74dd3077 zope-2.6.0-r3.ebuild 4545
+MD5 820e1dc4802458b7925583e715dfc441 zope-2.6.0.ebuild 2071
+MD5 222c7b7ea3d77a668e9bfa391339897e zope-2.6.1.ebuild 4178
MD5 c8f695d11a964dd2410a3b200a71cf2f files/custom_zodb.py 219
MD5 24d816c631ba0677864f4f72264bb8de files/digest-zope-2.4.0-r6 121
MD5 45724a3c339e9be0f9c0dec39b477c38 files/digest-zope-2.5.1 119
diff --git a/net-zope/zope/zope-2.4.0-r6.ebuild b/net-zope/zope/zope-2.4.0-r6.ebuild
index 36994c8231b5..068b2e055560 100644
--- a/net-zope/zope/zope-2.4.0-r6.ebuild
+++ b/net-zope/zope/zope-2.4.0-r6.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.4.0-r6.ebuild,v 1.2 2003/09/07 00:21:34 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.4.0-r6.ebuild,v 1.3 2003/09/08 06:02:05 msterret Exp $
A="Zope-${PV}-src.tgz ZEO-1.0b3.tgz"
S=${WORKDIR}/Zope-${PV}-src
DESCRIPTION="Zope is web application platform used for building high-performance, dynamic web sites."
SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-src.tgz
- http://www.zope.org/Products/ZEO/ZEO-1.0b3.tgz"
+ http://www.zope.org/Products/ZEO/ZEO-1.0b3.tgz"
HOMEPAGE="http://www.zope.org"
DEPEND="virtual/glibc
- =dev-lang/python-2.1*"
+ =dev-lang/python-2.1*"
RDEPEND="=dev-lang/python-2.1*"
KEYWORDS="x86 ppc sparc "
SLOT="0"
@@ -18,100 +18,100 @@ LICENSE="as-is"
src_unpack() {
- unpack Zope-${PV}-src.tgz
+ unpack Zope-${PV}-src.tgz
- if [ "`use zeo`" ]; then
- cd ${S}/lib/python
- unpack ZEO-1.0b3.tgz
- mv ZEO-1.0b3/ZEO ${S}/lib/python
- rm -rf ZEO-1.0b3
- fi
+ if [ "`use zeo`" ]; then
+ cd ${S}/lib/python
+ unpack ZEO-1.0b3.tgz
+ mv ZEO-1.0b3/ZEO ${S}/lib/python
+ rm -rf ZEO-1.0b3
+ fi
}
src_compile() {
- python2.1 w_pcgi.py || die
+ python2.1 w_pcgi.py || die
}
src_install () {
- ZDIR=/usr/share/zope
- ZVAR=/var/lib/zope
-
-
- dodir ${ZDIR}/var
- insinto ${ZDIR}
- doins w_pcgi.py wo_pcgi.py
-
- dodir ${ZDIR}/lib
- cp -a lib/* ${D}${ZDIR}/lib/
- cp -a ZServer utilities ${D}${ZDIR}
- rm ${D}${ZDIR}/ZServer/*.txt
- exeinto ${ZDIR}/pcgi
- doexe pcgi/pcgi-wrapper pcgi/pcgi_publisher.py
-
- dodir ${ZDIR}/inst
- cp -a inst/* ${D}${ZDIR}/inst
-
- dodir ${ZDIR}/pcgi
- cp -a pcgi/* ${D}${ZDIR}/pcgi
-
- cd ${S}
- fperms a+x ${ZDIR}/lib/python/zdaemon.py
- fperms a+x ${ZDIR}/lib/python/StructuredText/StructuredText.py
- fperms a+x ${ZDIR}/lib/python/ZPublisher/Client.py
-
- dodir ${ZVAR}
- insinto ${ZVAR}
- doins z2.py
- insinto ${ZVAR}/var
- insopts -m644
- doins var/Data.fs.in
- dodir ${ZVAR}/Extensions
- dodir ${ZVAR}/import
- dodir ${ZVAR}/Products
-
- if [ "`use zeo`" ]; then
- insinto ${ZVAR}
- doins ${FILESDIR}/zctl.py ${FILESDIR}/zope ${FILESDIR}/zope.conf ${FILESDIR}/custom_zodb.py
- fi
-
- exeinto ${ZDIR}
- doexe zpasswd.py Zope.cgi
-
- cd ${D}${ZDIR}
- sed -e "s:${WORKDIR}:${ZDIR}:g" Zope.cgi > Zope.cgi.tmp
- mv Zope.cgi.tmp Zope.cgi
- sed -e "s:${WORKDIR}:${ZVAR}:g" stop > stop.tmp
- mv stop.tmp stop
-
- dodir /etc/init.d
- exeinto /etc/init.d
- newexe ${FILESDIR}/zope.rc6 zope
- chown nobody.users ${ZVAR}/var/*
+ ZDIR=/usr/share/zope
+ ZVAR=/var/lib/zope
+
+
+ dodir ${ZDIR}/var
+ insinto ${ZDIR}
+ doins w_pcgi.py wo_pcgi.py
+
+ dodir ${ZDIR}/lib
+ cp -a lib/* ${D}${ZDIR}/lib/
+ cp -a ZServer utilities ${D}${ZDIR}
+ rm ${D}${ZDIR}/ZServer/*.txt
+ exeinto ${ZDIR}/pcgi
+ doexe pcgi/pcgi-wrapper pcgi/pcgi_publisher.py
+
+ dodir ${ZDIR}/inst
+ cp -a inst/* ${D}${ZDIR}/inst
+
+ dodir ${ZDIR}/pcgi
+ cp -a pcgi/* ${D}${ZDIR}/pcgi
+
+ cd ${S}
+ fperms a+x ${ZDIR}/lib/python/zdaemon.py
+ fperms a+x ${ZDIR}/lib/python/StructuredText/StructuredText.py
+ fperms a+x ${ZDIR}/lib/python/ZPublisher/Client.py
+
+ dodir ${ZVAR}
+ insinto ${ZVAR}
+ doins z2.py
+ insinto ${ZVAR}/var
+ insopts -m644
+ doins var/Data.fs.in
+ dodir ${ZVAR}/Extensions
+ dodir ${ZVAR}/import
+ dodir ${ZVAR}/Products
+
+ if [ "`use zeo`" ]; then
+ insinto ${ZVAR}
+ doins ${FILESDIR}/zctl.py ${FILESDIR}/zope ${FILESDIR}/zope.conf ${FILESDIR}/custom_zodb.py
+ fi
+
+ exeinto ${ZDIR}
+ doexe zpasswd.py Zope.cgi
+
+ cd ${D}${ZDIR}
+ sed -e "s:${WORKDIR}:${ZDIR}:g" Zope.cgi > Zope.cgi.tmp
+ mv Zope.cgi.tmp Zope.cgi
+ sed -e "s:${WORKDIR}:${ZVAR}:g" stop > stop.tmp
+ mv stop.tmp stop
+
+ dodir /etc/init.d
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/zope.rc6 zope
+ chown nobody.users ${ZVAR}/var/*
}
pkg_postinst() {
- if [ ! -f ${ROOT}/var/lib/zope/var/Data.fs ]
- then
- echo "Installing Data.fs from template..."
- cd ${ROOT}/var/lib/zope/var
- cp Data.fs.in Data.fs
- echo
- echo "Fixing permissions..."
- chown nobody.nogroup -R ${ROOT}/var/lib/zope/var
- chmod 600 ${ROOT}/var/lib/zope/var/Data.fs
- echo
- fi
- if [ ! -f ${ROOT}/var/lib/zope/access ]
- then
- echo "You must run"
- echo
- echo /usr/share/zope/zpasswd.py /var/lib/zope/inituser
- if [ "`use zeo`" ]; then
- echo and edit /var/lib/zope/zope.conf
- fi
-
- echo
- echo before you can start zope
- fi
+ if [ ! -f ${ROOT}/var/lib/zope/var/Data.fs ]
+ then
+ echo "Installing Data.fs from template..."
+ cd ${ROOT}/var/lib/zope/var
+ cp Data.fs.in Data.fs
+ echo
+ echo "Fixing permissions..."
+ chown nobody.nogroup -R ${ROOT}/var/lib/zope/var
+ chmod 600 ${ROOT}/var/lib/zope/var/Data.fs
+ echo
+ fi
+ if [ ! -f ${ROOT}/var/lib/zope/access ]
+ then
+ echo "You must run"
+ echo
+ echo /usr/share/zope/zpasswd.py /var/lib/zope/inituser
+ if [ "`use zeo`" ]; then
+ echo and edit /var/lib/zope/zope.conf
+ fi
+
+ echo
+ echo before you can start zope
+ fi
}
diff --git a/net-zope/zope/zope-2.5.1.ebuild b/net-zope/zope/zope-2.5.1.ebuild
index a1325c0be24a..47bf9b24ae86 100644
--- a/net-zope/zope/zope-2.5.1.ebuild
+++ b/net-zope/zope/zope-2.5.1.ebuild
@@ -1,116 +1,116 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.5.1.ebuild,v 1.2 2003/09/07 00:21:34 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.5.1.ebuild,v 1.3 2003/09/08 06:02:05 msterret Exp $
A="Zope-${PV}-src.tgz ZEO-1.0.tgz"
S=${WORKDIR}/Zope-${PV}-src
DESCRIPTION="Zope is web application platform used for building high-performance, dynamic web sites."
SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-src.tgz
- http://www.zope.org/Products/ZEO/ZEO-1.0.tgz"
+ http://www.zope.org/Products/ZEO/ZEO-1.0.tgz"
HOMEPAGE="http://www.zope.org"
DEPEND="virtual/glibc
- =dev-lang/python-2.1.3*"
+ =dev-lang/python-2.1.3*"
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ppc sparc "
src_unpack() {
- unpack Zope-${PV}-src.tgz
+ unpack Zope-${PV}-src.tgz
- if [ "`use zeo`" ]; then
- cd ${S}/lib/python
- unpack ZEO-1.0.tgz
- mv ZEO-1.0/ZEO ${S}/lib/python
- rm -rf ZEO-1.0
- fi
+ if [ "`use zeo`" ]; then
+ cd ${S}/lib/python
+ unpack ZEO-1.0.tgz
+ mv ZEO-1.0/ZEO ${S}/lib/python
+ rm -rf ZEO-1.0
+ fi
}
src_compile() {
- python2.1 w_pcgi.py || die
+ python2.1 w_pcgi.py || die
}
src_install () {
- ZDIR=/usr/share/zope
- ZVAR=/var/lib/zope
-
-
- dodir ${ZDIR}/var
- insinto ${ZDIR}
- doins w_pcgi.py wo_pcgi.py
-
- dodir ${ZDIR}/lib
- cp -a lib/* ${D}${ZDIR}/lib/
- cp -a ZServer utilities ${D}${ZDIR}
- rm ${D}${ZDIR}/ZServer/*.txt
- exeinto ${ZDIR}/pcgi
- doexe pcgi/pcgi-wrapper pcgi/pcgi_publisher.py
-
- dodir ${ZDIR}/inst
- cp -a inst/* ${D}${ZDIR}/inst
-
- dodir ${ZDIR}/pcgi
- cp -a pcgi/* ${D}${ZDIR}/pcgi
-
- cd ${S}
- fperms a+x ${ZDIR}/lib/python/zdaemon.py
- fperms a+x ${ZDIR}/lib/python/StructuredText/StructuredText.py
- fperms a+x ${ZDIR}/lib/python/ZPublisher/Client.py
-
- dodir ${ZVAR}
- insinto ${ZVAR}
- doins z2.py
- insinto ${ZVAR}/var
- insopts -m644
- doins var/Data.fs.in
- dodir ${ZVAR}/Extensions
- dodir ${ZVAR}/import
- dodir ${ZVAR}/Products
-
- if [ "`use zeo`" ]; then
- insinto ${ZVAR}
- doins ${FILESDIR}/zctl.py ${FILESDIR}/zope ${FILESDIR}/zope.conf ${FILESDIR}/custom_zodb.py
- fi
-
- exeinto ${ZDIR}
- doexe zpasswd.py Zope.cgi
-
- cd ${D}${ZDIR}
- sed -e "s:${WORKDIR}:${ZDIR}:g" Zope.cgi > Zope.cgi.tmp
- mv Zope.cgi.tmp Zope.cgi
- sed -e "s:${WORKDIR}:${ZVAR}:g" stop > stop.tmp
- mv stop.tmp stop
-
- dodir /etc/init.d
- exeinto /etc/init.d
- newexe ${FILESDIR}/zope.rc6 zope
- chown nobody.users ${D}/${ZVAR}/var/*
+ ZDIR=/usr/share/zope
+ ZVAR=/var/lib/zope
+
+
+ dodir ${ZDIR}/var
+ insinto ${ZDIR}
+ doins w_pcgi.py wo_pcgi.py
+
+ dodir ${ZDIR}/lib
+ cp -a lib/* ${D}${ZDIR}/lib/
+ cp -a ZServer utilities ${D}${ZDIR}
+ rm ${D}${ZDIR}/ZServer/*.txt
+ exeinto ${ZDIR}/pcgi
+ doexe pcgi/pcgi-wrapper pcgi/pcgi_publisher.py
+
+ dodir ${ZDIR}/inst
+ cp -a inst/* ${D}${ZDIR}/inst
+
+ dodir ${ZDIR}/pcgi
+ cp -a pcgi/* ${D}${ZDIR}/pcgi
+
+ cd ${S}
+ fperms a+x ${ZDIR}/lib/python/zdaemon.py
+ fperms a+x ${ZDIR}/lib/python/StructuredText/StructuredText.py
+ fperms a+x ${ZDIR}/lib/python/ZPublisher/Client.py
+
+ dodir ${ZVAR}
+ insinto ${ZVAR}
+ doins z2.py
+ insinto ${ZVAR}/var
+ insopts -m644
+ doins var/Data.fs.in
+ dodir ${ZVAR}/Extensions
+ dodir ${ZVAR}/import
+ dodir ${ZVAR}/Products
+
+ if [ "`use zeo`" ]; then
+ insinto ${ZVAR}
+ doins ${FILESDIR}/zctl.py ${FILESDIR}/zope ${FILESDIR}/zope.conf ${FILESDIR}/custom_zodb.py
+ fi
+
+ exeinto ${ZDIR}
+ doexe zpasswd.py Zope.cgi
+
+ cd ${D}${ZDIR}
+ sed -e "s:${WORKDIR}:${ZDIR}:g" Zope.cgi > Zope.cgi.tmp
+ mv Zope.cgi.tmp Zope.cgi
+ sed -e "s:${WORKDIR}:${ZVAR}:g" stop > stop.tmp
+ mv stop.tmp stop
+
+ dodir /etc/init.d
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/zope.rc6 zope
+ chown nobody.users ${D}/${ZVAR}/var/*
}
pkg_postinst() {
- if [ ! -f ${ROOT}/var/lib/zope/var/Data.fs ]
- then
- echo "Installing Data.fs from template..."
- cd ${ROOT}/var/lib/zope/var
- cp Data.fs.in Data.fs
- echo
- echo "Fixing permissions..."
- chown nobody.nogroup -R ${ROOT}/var/lib/zope/var
- chmod 600 ${ROOT}/var/lib/zope/var/Data.fs
- echo
- fi
- if [ ! -f ${ROOT}/var/lib/zope/access ]
- then
- echo "You must run"
- echo
- echo /usr/share/zope/zpasswd.py /var/lib/zope/inituser
- if [ "`use zeo`" ]; then
- echo and edit /var/lib/zope/zope.conf
- fi
-
- echo
- echo before you can start zope
- fi
+ if [ ! -f ${ROOT}/var/lib/zope/var/Data.fs ]
+ then
+ echo "Installing Data.fs from template..."
+ cd ${ROOT}/var/lib/zope/var
+ cp Data.fs.in Data.fs
+ echo
+ echo "Fixing permissions..."
+ chown nobody.nogroup -R ${ROOT}/var/lib/zope/var
+ chmod 600 ${ROOT}/var/lib/zope/var/Data.fs
+ echo
+ fi
+ if [ ! -f ${ROOT}/var/lib/zope/access ]
+ then
+ echo "You must run"
+ echo
+ echo /usr/share/zope/zpasswd.py /var/lib/zope/inituser
+ if [ "`use zeo`" ]; then
+ echo and edit /var/lib/zope/zope.conf
+ fi
+
+ echo
+ echo before you can start zope
+ fi
}
diff --git a/net-zope/zope/zope-2.6.0-r1.ebuild b/net-zope/zope/zope-2.6.0-r1.ebuild
index 7d4f0caf06dc..5f3605043a9a 100644
--- a/net-zope/zope/zope-2.6.0-r1.ebuild
+++ b/net-zope/zope/zope-2.6.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0-r1.ebuild,v 1.3 2003/06/09 22:05:10 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0-r1.ebuild,v 1.4 2003/09/08 06:02:05 msterret Exp $
S="${WORKDIR}/Zope-${PV}-src"
@@ -24,7 +24,7 @@ src_compile() {
src_install() {
- dodoc LICENSE.txt README.txt
+ dodoc LICENSE.txt README.txt
docinto doc ; dodoc doc/*.txt
docinto doc/PLATFORMS ; dodoc doc/PLATFORMS/*
docinto doc/changenotes ; dodoc doc/changenotes/*
diff --git a/net-zope/zope/zope-2.6.0-r2.ebuild b/net-zope/zope/zope-2.6.0-r2.ebuild
index b2127a43fd26..ac6ea9f51576 100644
--- a/net-zope/zope/zope-2.6.0-r2.ebuild
+++ b/net-zope/zope/zope-2.6.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 2002-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0-r2.ebuild,v 1.2 2003/09/07 00:21:34 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0-r2.ebuild,v 1.3 2003/09/08 06:02:05 msterret Exp $
S="${WORKDIR}/Zope-${PV}-src"
@@ -38,27 +38,27 @@ CONFDIR="/etc/conf.d/"
setup_security()
{
- chown -R ${ZUID}:${2} ${1}
- chmod -R g+u ${1}
- chmod -R o-rwx ${1}
+ chown -R ${ZUID}:${2} ${1}
+ chmod -R g+u ${1}
+ chmod -R o-rwx ${1}
}
install_help()
{
einfo "Need to setup an inituser (admin) before executing zope:"
einfo "\tzope-config --zpasswd"
- einfo "To execute default Zope instance:"
+ einfo "To execute default Zope instance:"
einfo "\t/etc/init.d/${ZGID} start"
}
pkg_setup() {
- if ! groupmod ${ZGID} > /dev/null 2>&1 ; then
+ if ! groupmod ${ZGID} > /dev/null 2>&1 ; then
groupadd ${ZGID} || die "Can not add ${ZGID} group!"
- fi
- if ! id ${ZUID} > /dev/null 2>&1 ; then
+ fi
+ if ! id ${ZUID} > /dev/null 2>&1 ; then
useradd -d ${ZSERVDIR} -c "Zope dedicatedr-user" ${ZUID} \
|| die "Can not add ${ZUID} user!"
- fi
+ fi
}
src_unpack()
@@ -71,7 +71,7 @@ src_unpack()
}
src_compile() {
- python2.1 wo_pcgi.py || die "Failed to compile."
+ python2.1 wo_pcgi.py || die "Failed to compile."
}
src_install() {
@@ -80,32 +80,32 @@ src_install() {
docinto doc/PLATFORMS ; dodoc doc/PLATFORMS/*
docinto doc/changenotes ; dodoc doc/changenotes/*
- # using '/etc/init.d/zope'
+ # using '/etc/init.d/zope'
rm -Rf start stop LICENSE.txt README.txt doc/
# Need to rip out the zinstance stuff out
- # but save as templates
+ # but save as templates
mkdir .templates
mv -f Extensions/ .templates/
mv -f import/ .templates/
mv -f var/ .templates/
- # Add conf.d script.
- dodir /etc/conf.d
- echo "ZOPE_OPTS=\"-u zope\"" | \
- cat - ${FILESDIR}/${PV}/zope.envd > .templates/zope.confd
+ # Add conf.d script.
+ dodir /etc/conf.d
+ echo "ZOPE_OPTS=\"-u zope\"" | \
+ cat - ${FILESDIR}/${PV}/zope.envd > .templates/zope.confd
- # Fill in environmental variables
- sed -i -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \
- -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \
+ # Fill in environmental variables
+ sed -i -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \
+ -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \
.templates/zope.confd
- # Add rc-script.
- cp ${FILESDIR}/${PV}/zope-r1.initd .templates/zope.initd
+ # Add rc-script.
+ cp ${FILESDIR}/${PV}/zope-r1.initd .templates/zope.initd
- # Copy the remaining contents of ${S} into the ${D}.
- dodir ${ZSERVDIR}
- cp -a . ${D}${ZSERVDIR}
+ # Copy the remaining contents of ${S} into the ${D}.
+ dodir ${ZSERVDIR}
+ cp -a . ${D}${ZSERVDIR}
setup_security ${D}${ZSERVDIR} ${ZGID}
}
diff --git a/net-zope/zope/zope-2.6.0-r3.ebuild b/net-zope/zope/zope-2.6.0-r3.ebuild
index 237dd5a6b1b0..774c3aad18c5 100644
--- a/net-zope/zope/zope-2.6.0-r3.ebuild
+++ b/net-zope/zope/zope-2.6.0-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0-r3.ebuild,v 1.2 2003/09/07 00:21:34 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0-r3.ebuild,v 1.3 2003/09/08 06:02:05 msterret Exp $
S="${WORKDIR}/Zope-${PV}-src"
@@ -56,9 +56,9 @@ RCNAME=zope-r2.initd
setup_security()
{
- chown -R ${ZUID}:${2} ${1}
- chmod -R g+u ${1}
- chmod -R o-rwx ${1}
+ chown -R ${ZUID}:${2} ${1}
+ chmod -R g+u ${1}
+ chmod -R o-rwx ${1}
}
#
@@ -67,7 +67,7 @@ install_help()
{
einfo "Need to setup an inituser \(admin\) before executing zope:"
einfo "\tzope-config --zpasswd"
- einfo "To execute default Zope instance:"
+ einfo "To execute default Zope instance:"
einfo "\t/etc/conf.d/${ZGID} start"
}
@@ -81,13 +81,13 @@ pkg_setup()
ewarn "with this version of zope. Emerge at your own risk."
sleep 12
fi
- if ! groupmod ${ZGID} > /dev/null 2>&1 ; then
+ if ! groupmod ${ZGID} > /dev/null 2>&1 ; then
groupadd ${ZGID} || die "Can not add ${ZGID} group!"
- fi
- if ! id ${ZUID} > /dev/null 2>&1 ; then
+ fi
+ if ! id ${ZUID} > /dev/null 2>&1 ; then
useradd -d ${ZS_DIR} -c "Zope root user" -u 261 ${ZUID} \
|| die "Can not add ${ZUID} user!"
- fi
+ fi
}
#
@@ -104,7 +104,7 @@ src_unpack()
#
src_compile() {
- $python wo_pcgi.py || die "Failed to compile."
+ $python wo_pcgi.py || die "Failed to compile."
}
#
@@ -115,34 +115,34 @@ src_install() {
docinto doc/PLATFORMS ; dodoc doc/PLATFORMS/*
docinto doc/changenotes ; dodoc doc/changenotes/*
- # using '/etc/init.d/zope'
+ # using '/etc/init.d/zope'
rm -Rf start stop LICENSE.txt README.txt doc/
# Need to rip out the zinstance stuff out
- # but save as templates
+ # but save as templates
mkdir -p .templates/import
cp import/README.txt .templates/import/
mv -f Extensions/ .templates/
mv -f var/ .templates/
- # Add conf.d script.
- dodir /etc/conf.d
- echo "ZOPE_OPTS=\"-u zope\"" | \
- cat - ${FILESDIR}/${PV}/zope.envd > .templates/zope.confd
+ # Add conf.d script.
+ dodir /etc/conf.d
+ echo "ZOPE_OPTS=\"-u zope\"" | \
+ cat - ${FILESDIR}/${PV}/zope.envd > .templates/zope.confd
- # Fill in environmental variables
- sed -i -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \
- -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \
+ # Fill in environmental variables
+ sed -i -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \
+ -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \
.templates/zope.confd
- # Add rc-script.
+ # Add rc-script.
#!! TODO: fill in $python in zope-r2.initd
- sed -e "/python=/ c\\python=\"${python}\"\\ " ${FILESDIR}/${PV}/${RCNAME} \
+ sed -e "/python=/ c\\python=\"${python}\"\\ " ${FILESDIR}/${PV}/${RCNAME} \
> .templates/zope.initd
- # Copy the remaining contents of ${S} into the ${D}.
- dodir ${ZSERVDIR}
- cp -a . ${D}${ZSERVDIR}
+ # Copy the remaining contents of ${S} into the ${D}.
+ dodir ${ZSERVDIR}
+ cp -a . ${D}${ZSERVDIR}
setup_security ${D}${ZSERVDIR} ${ZGID}
}
diff --git a/net-zope/zope/zope-2.6.0.ebuild b/net-zope/zope/zope-2.6.0.ebuild
index 8e11cf4fe55e..e757c393c06b 100644
--- a/net-zope/zope/zope-2.6.0.ebuild
+++ b/net-zope/zope/zope-2.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0.ebuild,v 1.2 2003/09/07 00:21:34 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.0.ebuild,v 1.3 2003/09/08 06:02:05 msterret Exp $
S="${WORKDIR}/Zope-${PV}-src"
@@ -27,7 +27,7 @@ src_install() {
CONFD_DIR=etc/conf.d/
# move the main docs and compress them.
- dodoc LICENSE.txt README.txt
+ dodoc LICENSE.txt README.txt
docinto doc
dodoc doc/*.txt
diff --git a/net-zope/zope/zope-2.6.1.ebuild b/net-zope/zope/zope-2.6.1.ebuild
index 1fc05db034e0..100167b46efd 100644
--- a/net-zope/zope/zope-2.6.1.ebuild
+++ b/net-zope/zope/zope-2.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.1.ebuild,v 1.4 2003/09/07 00:21:34 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.1.ebuild,v 1.5 2003/09/08 06:02:05 msterret Exp $
S="${WORKDIR}/Zope-${PV}-src"
@@ -56,9 +56,9 @@ RCNAME=zope.initd
setup_security()
{
- chown -R ${ZUID}:${2} ${1}
- chmod -R g+u ${1}
- chmod -R o-rwx ${1}
+ chown -R ${ZUID}:${2} ${1}
+ chmod -R g+u ${1}
+ chmod -R o-rwx ${1}
}
#
@@ -67,7 +67,7 @@ install_help()
{
einfo "Need to setup an inituser (admin) before executing zope:"
einfo "\tzope-config --zpasswd"
- einfo "To execute default Zope instance:"
+ einfo "To execute default Zope instance:"
einfo "\t/etc/init.d/${ZGID} start"
}
@@ -81,19 +81,19 @@ pkg_setup()
ewarn "with this version of zope. Emerge at your own risk."
sleep 12
fi
- if ! groupmod ${ZGID} > /dev/null 2>&1 ; then
+ if ! groupmod ${ZGID} > /dev/null 2>&1 ; then
groupadd ${ZGID} || die "Can not add ${ZGID} group!"
- fi
- if ! id ${ZUID} > /dev/null 2>&1 ; then
+ fi
+ if ! id ${ZUID} > /dev/null 2>&1 ; then
useradd -d ${ZS_DIR} -c "Zope root user" -u 261 ${ZUID} \
|| die "Can not add ${ZUID} user!"
- fi
+ fi
}
#
src_compile() {
- $python wo_pcgi.py || die "Failed to compile."
+ $python wo_pcgi.py || die "Failed to compile."
}
#
@@ -104,34 +104,34 @@ src_install() {
docinto doc/PLATFORMS ; dodoc doc/PLATFORMS/*
docinto doc/changenotes ; dodoc doc/changenotes/*
- # using '/etc/init.d/zope'
+ # using '/etc/init.d/zope'
rm -Rf start stop LICENSE.txt README.txt doc/
# Need to rip out the zinstance stuff out
- # but save as templates
+ # but save as templates
mkdir -p .templates/import
cp import/README.txt .templates/import/
mv -f Extensions/ .templates/
mv -f var/ .templates/
- # Add conf.d script.
- dodir /etc/conf.d
- echo "ZOPE_OPTS=\"-u zope\"" | \
- cat - ${FILESDIR}/${PV}/zope.envd > .templates/zope.confd
+ # Add conf.d script.
+ dodir /etc/conf.d
+ echo "ZOPE_OPTS=\"-u zope\"" | \
+ cat - ${FILESDIR}/${PV}/zope.envd > .templates/zope.confd
- # Fill in environmental variables
- sed -i -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \
- -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \
+ # Fill in environmental variables
+ sed -i -e "/ZOPE_HOME=/ c\\ZOPE_HOME=${ZSERVDIR}\\ " \
+ -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \
.templates/zope.confd
- # Add rc-script.
+ # Add rc-script.
#!! TODO: fill in $python in zope-r2.initd
- sed -e "/python=/ c\\python=\"${python}\"\\ " ${FILESDIR}/${PV}/${RCNAME} \
+ sed -e "/python=/ c\\python=\"${python}\"\\ " ${FILESDIR}/${PV}/${RCNAME} \
> .templates/zope.initd
- # Copy the remaining contents of ${S} into the ${D}.
- dodir ${ZSERVDIR}
- cp -a . ${D}${ZSERVDIR}
+ # Copy the remaining contents of ${S} into the ${D}.
+ dodir ${ZSERVDIR}
+ cp -a . ${D}${ZSERVDIR}
setup_security ${D}${ZSERVDIR} ${ZGID}
}