Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46427 Details for
Bug 75037
bump www-apache/mod_survey
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mod_survey-3.2.1.ebuild
mod_survey-3.2.1.ebuild (text/plain), 2.06 KB, created by
Joel Palmius
on 2004-12-20 05:20:07 UTC
(
hide
)
Description:
mod_survey-3.2.1.ebuild
Filename:
MIME Type:
Creator:
Joel Palmius
Created:
2004-12-20 05:20:07 UTC
Size:
2.06 KB
patch
obsolete
># simply a copy of the 3.2.0 ebuild, with some comments added > >inherit webapp > >DESCRIPTION="XML-defined web questionnaires as a plug-in module for Apache" >HOMEPAGE="http://gathering.itm.mh.se/modsurvey/" > ># As this is a mod_perl script it will likely work on any platform supporting ># apache and mod_perl. >KEYWORDS="~x86 ~ppc ~amd64" > >IUSE="apache2 postgres mysql" >MY_P=${P/mod_survey/modsurvey} >S=${WORKDIR}/${MY_P} >SRC_URI="http://gathering.itm.mh.se/modsurvey/download/${MY_P}.tar.gz" > ># Apache2 is preferred, but the script works with Apache1. >DEPEND=">=dev-lang/perl-5.6.1" >RDEPEND="${DEPEND} > apache2? ( >=net-www/apache-2 >=dev-perl/mod_perl-1.99 ) > !apache2? ( >=net-www/apache-1 >=dev-perl/mod_perl-1.27 ) > postgres? ( >=dev-perl/DBI-1.38 dev-perl/DBD-Pg ) > mysql? ( >=dev-perl/DBI-1.38 dev-perl/DBD-mysql ) > >=dev-perl/CGI-3.0.0" >LICENSE="GPL-2" > >src_unpack() { > webapp_pkg_setup > unpack ${A} > cd ${S} > sed -i "s|/usr/local/mod_survey/|${D}/usr/lib/mod_survey/|g" installer.pl >} > >src_compile() { > :; >} > >src_install() { > webapp_src_preinst > dodir /usr/lib/mod_survey > dodir /var/lib/mod_survey/data > > rm -f docs/LICENSE.txt > dodoc README.txt docs/* > rm -rf README.txt docs/ > > # With apache 2, use default answers on all questions the installer asks, > # with apache 1, we need to change the setting of PerlSendHeader > if use apache2; then > perl installer.pl < /dev/null > /dev/null 2>&1 > dosed /usr/lib/mod_survey/survey.conf > else > echo -e "\n\n\n\n\n\n\nyes\n\n" > out > perl installer.pl < out > /dev/null 2>&1 > rm -f out > dosed /usr/lib/mod_survey/survey.conf > fi > > # Place data under /var rather than in the same folder as the modules > sed -i "s|\/usr\/lib\/mod_survey\/data\/|\/var\/lib\/mod_survey\/data\/|" ${D}/usr/lib/mod_survey/survey.conf > > # install webroot using webapp.eclass > # webroot should not go into MY_HTDOCSDIR b/c that throws off Alias > rm -rf ${D}/usr/lib/mod_survey/webroot ${D}/usr/lib/mod_survey/data > cp -R webroot ${D}/${MY_HOSTROOTDIR} > webapp_hook_script ${FILESDIR}/reconfig > webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt > webapp_src_install >}
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 75037
:
46427
|
46481
|
46482