Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212554 Details for
Bug 222263
Please add LimeSurvey to the portage tree
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Version bump
limesurvey-1.8.6.ebuild (text/plain), 2.74 KB, created by
Daniel Marmander
on 2009-12-09 16:25:36 UTC
(
hide
)
Description:
Version bump
Filename:
MIME Type:
Creator:
Daniel Marmander
Created:
2009-12-09 16:25:36 UTC
Size:
2.74 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: Exp $ > >inherit webapp depend.php >LS_BUILD="-build7697-20090930" >MY_PV=${PV//./} > >DESCRIPTION="LimeSurvey is a open source survey tool" >HOMEPAGE="http://www.limesurvey.org/" >SRC_URI="mirror://sourceforge/${PN}/${PN}${MY_PV}${LS_BUILD}.tar.gz" >LICENSE="GPL-2" >KEYWORDS="~amd64 ~ppc ~sparc ~x86" >IUSE="mysql postgres" > >need_httpd_cgi >need_php_httpd > >S="${WORKDIR}" > >pkg_setup () { > local my_required_php_features="session pcre" > > if ! use mysql && ! use postgres; then > ewarn > ewarn "You You need at least to enable one database backend. Please stop" > ewarn "this build and enable one of the following USE flag:" > ewarn " - mysql" > ewarn " - postgres" > ewarn > ebeep 5 > epause 10 > die "PHP needs MySQL or PostgreSQL support" > fi > > if use mysql; then > my_required_php_features="${my_required_php_features} mysql" > fi > if use postgres; then > my_required_php_features="${my_required_php_features} postgres" > fi > > webapp_pkg_setup > require_php_with_use ${my_required_php_features} > > if built_with_use virtual/httpd-php gd-external && ! built_with_use media-libs/gd truetype; then > einfo "You have build media-libs/gd without 'truetype' USE flag. If you want" > einfo "captchas to work then you need to enable 'truetype' USE flag for media-libs/gd." > ebeep 5 > epause 10 > elif ! built_with_use virtual/httpd-php gd && ! built_with_use virtual/httpd-php truetype; then > einfo "You have enabled PHP's gd library but not the 'truetype' USE flag. If you want" > einfo "captchas to work then you need to enable 'truetype' USE flag for PHP." > ebeep 5 > epause 10 > fi > if ! built_with_use virtual/httpd-php ldap; then > einfo "If you want to import tokens using LDAP, then consider building PHP with the" > einfo "'ldap' USE flag." > ebeep 5 > epause 10 > fi >} > >src_install () { > cd "${S}"/${PN} > > webapp_src_preinst > > # copy the app's main files > # > einfo "Installing main files" > insinto "${MY_HTDOCSDIR}" > doins -r . > > # set read/write access to certain directories > einfo "Setting read/write permission(s)" > for foo in tmp templates upload; do > webapp_serverowned "${MY_HTDOCSDIR}"/${foo} > cd "${S}"/${PN}/${foo} > for bar in $(find .) ; do > webapp_serverowned "${MY_HTDOCSDIR}"/${foo}/${bar} > done > done > > # set read only access to admin files > einfo "Setting read-only permission(s)" > for foo in admin; do > cd "${S}"/${PN}/${foo} > for bar in $(find . -type f) ; do > fperms u=r,g=r,o=r "${MY_HTDOCSDIR}"/${foo}/${bar} > done > cd "${S}"/${PN} > done > > webapp_configfile "${MY_HTDOCSDIR}"/config.php > webapp_serverowned "${MY_HTDOCSDIR}"/config.php > > 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 222263
:
191541
|
191542
| 212554