Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21186 Details for
Bug 30372
viewcvs needs adjustment to the new apache document root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fixed ebuild for Bug #30372
viewcvs-0.9.2_p20030430.ebuild (text/plain), 2.30 KB, created by
Chris Aniszczyk (RETIRED)
on 2003-11-23 16:54:34 UTC
(
hide
)
Description:
Fixed ebuild for Bug #30372
Filename:
MIME Type:
Creator:
Chris Aniszczyk (RETIRED)
Created:
2003-11-23 16:54:34 UTC
Size:
2.30 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/net-www/viewcvs/viewcvs-0.9.2_p20030430.ebuild,v 1.4 2003/09/06 01:54:09 msterret Exp $ > >SLOT="0" >KEYWORDS="x86" >LICENSE="viewcvs" >PDATE=${PV/0.9.2_p/} >DESCRIPTION="Viewcvs, a web interface to cvs and subversion" >SRC_URI="mirror://gentoo/${PN}-${PDATE}.tar.bz2" >HOMEPAGE="http://viewcvs.sourceforge.net" > >S="${WORKDIR}/${PN}" >WWW="/var/www/localhost/viewcvs" >CONFFILE="/etc/viewcvs/viewcvs.conf" > >DEPEND="" > >RDEPEND=">=app-text/rcs-5.7 > >=dev-util/cvs-1.11 > sys-apps/diffutils > net-www/apache" > >doinstall() { > # start_location=$1 > # end_location=$2 > # mode=$3 > if [ -d $1 ]; then > install -o root -d ${D}/$2 > for f in ${1}/* > do > doinstall ${f} ${f/${1}/${2}} $3 > done > else > sed -e "{ s,\(^#!.*$\),#!/usr/bin/python,; \ > s,\(<VIEWCVS_INSTALL_DIRECTORY>\),${WWW},; \ > s,\(^LIBRARY_DIR\)\(.*\$\),\1 = \"${WWW}/lib\",; \ > s,\(^CONF_PATHNAME\)\(.*\$\),\1 = \"${CONFFILE}\",}" ${1} >${1}.cpy > > install -o root -m $3 ${1}.cpy ${D}/$2 > rm ${1}.cpy > fi >} > >src_install() { > cd ${S} > install -o root -d ${D}/${WWW}/cgi > > doinstall cgi/viewcvs.cgi ${WWW}/cgi/viewcvs.cgi 755 > doinstall cgi/query.cgi ${WWW}/cgi/query.cgi 755 > doinstall standalone.py ${WWW}/standalone.py 755 > mkdir -p ${D}/`dirname ${CONFFILE}` > doinstall cgi/viewcvs.conf.dist ${CONFFILE} 644 > doinstall cgi/cvsgraph.conf.dist `dirname ${CONFFILE}`/cvsgraph.conf 644 > doinstall tools/loginfo-handler ${WWW}/loginfo-handler 755 > doinstall tools/cvsdbadmin ${WWW}/cvsdbadmin 755 > doinstall tools/make-database ${WWW}/make-database 755 > > doinstall lib ${WWW}/lib 644 > doinstall templates `dirname ${CONFFILE}`/templates 644 > > dohtml -r website/* > cat <<EOF >apache.conf >ScriptAlias /viewcvs /home/httpd/viewcvs/cgi/viewcvs.cgi >ScriptAlias /cvsquery /home/httpd/viewcvs/cgi/cvsquery.cgi > ><Directory /home/httpd/viewcvs/cgi> > Options ExecCGI > <IfModule mod_access.c> > Order allow,deny > Allow from all > </IfModule> ></Directory> >EOF > dodoc INSTALL TODO CHANGES README apache.conf >} > >pkg_postinst() { > ewarn "Before using viewcvs make sure you configure it correctly" > einfo "There is a sample apache integration configuration file in the" > einfo "documentation directory named: apache.conf" >}
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 30372
: 21186