Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 64825 Details for
Bug 65318
Ebuild for web-cyradm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for web-cyradm
web-cyradm-0.5.4.1.ebuild (text/plain), 3.12 KB, created by
Gunnar Wrobel (RETIRED)
on 2005-07-31 14:23:52 UTC
(
hide
)
Description:
Ebuild for web-cyradm
Filename:
MIME Type:
Creator:
Gunnar Wrobel (RETIRED)
Created:
2005-07-31 14:23:52 UTC
Size:
3.12 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils webapp > >IUSE="mysql postgres" > >MY_PV="0.5.4-1" >DESCRIPTION="Web-based that glues topnotch mailing technologies like cyrus-imap and postfix together." >SRC_URI="http://www.web-cyradm.org/${PN}-${MY_PV}.tar.gz" >HOMEPAGE="http://www.web-cyradm.org/" > >LICENSE="GPL-2" >KEYWORDS="~x86" > >DEPEND="mysql? ( >=dev-db/mysql-3.23.51 ) > postgres? ( >=dev-db/postgresql-7.1 ) > virtual/php" > >RDEPEND="${DEPEND} > >=mail-mta/postfix-2.0.11 > >=net-mail/cyrus-imapd-2.1.12 > mysql? ( >=sys-auth/pam_mysql-0.5 )" > >S=${WORKDIR}/${PN}-${MY_PV} > >src_unpack() { > unpack ${A} > cd ${S} > > # Remove .cvs* files and CVS directories > find ${S} -name .cvs\* -or \( -type d -name CVS -prune \) -exec rm -rf {} \; > > # Rename the config file > mv -f config/conf.php.dist config/conf.php >} > >src_install() { > webapp_src_preinst > > local docs="COPYRIGHT ChangeLog README README.translations TO-BE-DONE doc/Postfix-Cyrus-Web-cyradm-HOWTO.txt" > > # handle documentation files > # > # NOTE that doc files go into /usr/share/doc as normal; they do NOT > # get installed per vhost! > dodoc ${docs} > dohtml doc/html/* > > # install the SQL scripts available to us > # > if use mysql; then > # Because of limitations in the webapp ECLASS we need to merge the > # insertuser SQL scripts into one file > # SQL Scripts: > # create_mysql.sql > # insertuser_mysql.sql > # upgrade-0.5.2-to-0.5.3_mysql.sql > # upgrade-0.5.3-to-0.5.4_mysql.sql > cp ${S}/scripts/insertuser_mysql.sql ${T}/merged_mysql.sql > echo >>${T}/merged_mysql.sql > sed -n "s/^create database/USE/gIp" ${S}/scripts/insertuser_mysql.sql >>${T}/merged_mysql.sql > echo >>${T}/merged_mysql.sql > cat ${S}/scripts/create_mysql.sql >>${T}/merged_mysql.sql > webapp_sqlscript mysql ${T}/merged_mysql.sql > webapp_sqlscript mysql ${S}/scripts/upgrade-0.5.3-to-0.5.4_mysql.sql 0.5.3 > elif use postgres; then > # Because of limitations in the webapp ECLASS we need to merge the > # insertuser SQL scripts into one file. > # SQL Scripts: > # create_pgsql.sql > # insertuser_pgsql.sql > # upgrade-0.5.3-to-0.5.4_pgsql.sql > cp ${S}/scripts/insertuser_pgsql.sql ${T}/merged_pgsql.sql > echo >>${T}/merged_pgsql.sql > sed -n "s/^create database/USE/gIp" ${S}/scripts/insertuser_pgsql.sql >>${T}/merged_pgsql.sql > echo >>${T}/merged_pgsql.sql > cat ${S}/scripts/create_pgsql.sql >>${T}/merged_pgsql.sql > webapp_sqlscript pgsql ${T}/merged_pgsql.sql > webapp_sqlscript pgsql ${S}/scripts/upgrade-0.5.3-to-0.5.4_pgsql.sql 0.5.3 > fi > > # copy the app's main files > # > einfo "Installing main files" > cp *.php ${D}${MY_HTDOCSDIR} > cp -R css ${D}${MY_HTDOCSDIR} > cp -R images ${D}${MY_HTDOCSDIR} > cp -R lib ${D}${MY_HTDOCSDIR} > cp -R locale ${D}${MY_HTDOCSDIR} > cp -R config ${D}${MY_HTDOCSDIR} > > # Identify the configuration files that this app uses > # > webapp_configfile ${MY_HTDOCSDIR}/config/conf.php > > # add the post-installation instructions > # > webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt > > # all done > # > # now we let the eclass strut its stuff ;-) > # > 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 65318
:
40393
|
40394
|
43602
|
43603
| 64825 |
73342
|
73365
|
73367