|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.1.ebuild,v 1.3 2005/08/26 18:39:14 batlogg Exp $ | # $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.8.1.ebuild,v 1.3 2005/08/26 18:39:14 batlogg Exp $ |
| |
inherit eutils |
inherit eutils multilib |
| |
DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites." | DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites." |
HOMEPAGE="http://www.zope.org" | HOMEPAGE="http://www.zope.org" |
|
|
S="${WORKDIR}/Zope-${PV}-final" | S="${WORKDIR}/Zope-${PV}-final" |
ZUID=zope | ZUID=zope |
ZGID=zope | ZGID=zope |
ZS_DIR=${ROOT%/}/usr/lib |
ZS_DIR=${ROOT%/}/usr/$(get_libdir) |
ZSERVDIR=${ZS_DIR}/${P} | ZSERVDIR=${ZS_DIR}/${P} |
| |
# Narrow the scope of ownership/permissions. | # Narrow the scope of ownership/permissions. |
|
|
# create the zope user and group for backward compatibility | # create the zope user and group for backward compatibility |
enewgroup ${ZGID} 261 | enewgroup ${ZGID} 261 |
usermod -g ${ZGID} ${ZUID} 2>&1 >/dev/null || \ | usermod -g ${ZGID} ${ZUID} 2>&1 >/dev/null || \ |
enewuser ${ZUID} 261 -1 /var/lib/zope ${ZGID} |
enewuser ${ZUID} 261 -1 /var/$(get_libdir)/zope ${ZGID} |
| |
einfo "Be warned that you need at least one zope instance to run zope." | einfo "Be warned that you need at least one zope instance to run zope." |
einfo "Please emerge zope-config for futher instance management." | einfo "Please emerge zope-config for futher instance management." |