Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 4891 Details for
Bug 9474
net-www/zope-2.6.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for zope 2.6.0 source
zope-2.6.0.ebuild (text/plain), 2.54 KB, created by
Jason Shoemaker (RETIRED)
on 2002-10-22 03:38:08 UTC
(
hide
)
Description:
Ebuild for zope 2.6.0 source
Filename:
MIME Type:
Creator:
Jason Shoemaker (RETIRED)
Created:
2002-10-22 03:38:08 UTC
Size:
2.54 KB
patch
obsolete
># Zope ebuild script for Gentoo Linux ># Copyright 2002 by Jason Shoemaker ># Distributed under the terms of the GNU General Public License v2 and later. ># $Header: $ > >S="${WORKDIR}/Zope-${PV}-src" > >DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites." >HOMEPAGE="http://www.zope.org" >SRC_URI="${HOMEPAGE}/Products/Zope/${PV}/Zope-${PV}-src.tgz" > ># Should be 'zope' or 'zpl' , but neither are in /usr/portage/licenses/. >LICENSE="ZPL" > >SLOT="0" > ># TODO: needs to be confirmed on other platforms. >KEYWORDS="x86" > >DEPEND="virtual/glibc =dev-lang/python-2.1.3*" >ZOPEDIR="${DESTTREE}/share/zope/${PV}/" > ># > >src_compile() { > python2.1 w_pcgi.py || die >} > ># > >src_install() { > INITD_DIR=etc/init.d/ > ENVD_DIR=etc/env.d/ > CONFD_DIR=etc/conf.d/ > ZOPEDOC=${DESTTREE}/share/doc/zope/${PV}/${DOCDESTTREE}/ > > # move the main docs and compress them. > dodir ${ZOPEDOC} > cp -a LICENSE.txt README.txt ${D}${ZOPEDOC} > cp -a doc/ ${D}${ZOPEDOC} > > # Not sure if I should move all documention(*.txt) to ZOPEDOC. > # So leaving the other *.txt files alone for now. > > rm -fr LICENSE.txt README.txt doc/ > prepalldocs > > # patch some paths. > sed -e "s:${S}:${ZOPEDIR}:" Zope.cgi > Zope.cgi.tmp > mv Zope.cgi.tmp Zope.cgi > chmod 755 Zope.cgi # restoring permissions > > # using '/etc/init.d/zope' instead > rm -f start stop > > # Keep others from overwritting PID files > chmod o+t var/ > > # copy the remaining contents of ${S} into the ${D}. > dodir ${ZOPEDIR} > cp -a . ${D}${ZOPEDIR} > > # Add a rc-script. > dodir ${INITD_DIR} > cp ${FILESDIR}/${PV}/zope.initd ${D}${INITD_DIR}zope > chmod a+x ${D}${INITD_DIR}zope > > # Add a env.d script. > dodir ${ENVD_DIR} > cp ${FILESDIR}/${PV}/zope.envd ${D}${ENVD_DIR}zope > > # Fill in an env.d variable. > sed -e "/ZOPE_HOME/ c\\ZOPE_HOME=${ZOPEDIR}\\" ${D}${ENVD_DIR}zope \ > > ${D}${ENVD_DIR}zope.tmp > mv ${D}${ENVD_DIR}zope.tmp ${D}${ENVD_DIR}50zope > > # Add a conf.d script. > dodir ${CONFD_DIR} > echo -e "ZOPE_OPTS='-u root'\nZOPE_HOME=${ZOPEDIR}" > ${D}${CONFD_DIR}zope >} > ># > >pkg_postinst() { > # Some reminders of what needs to be done to get zope up and running. > einfo ">>> Execute the following to run:" > einfo "\tsource /etc/profile" > einfo "\tebuild /var/db/pkg/net-www/${PF}/${P}.ebuild config" > einfo "\trc-update add zope default" > einfo "\t/etc/init.d/zope start\n" >} > ># > >pkg_config() { > einfo ">>> Create inital user...${ROOT}\n" > python2.1 ${ROOT}${ZOPEDIR}zpasswd.py ${ROOT}${ZOPEDIR}inituser >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9474
: 4891 |
4892
|
4893