Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 15899 Details for
Bug 26395
new ebuild : wakka-0.1.2 wiki engine
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
the ebuild
wakka-0.1.2.ebuild (text/plain), 2.02 KB, created by
Julien Allanos (RETIRED)
on 2003-08-11 06:05:30 UTC
(
hide
)
Description:
the ebuild
Filename:
MIME Type:
Creator:
Julien Allanos (RETIRED)
Created:
2003-08-11 06:05:30 UTC
Size:
2.02 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >MY_P=wakka-${PV} >DESCRIPTION="a lightweight WikiEngine powered by PHP and MySQL" >HOMEPAGE="http://www.wakkawiki.com" >SRC_URI="http://www.wakkawiki.com/files/${MY_P}.tar.gz" >LICENSE="wakka" >SLOT="0" >KEYWORDS="~x86 ~ppc ~alpha ~sparc" >DEPEND=">=net-www/apache-1.3 > >=dev-db/mysql-3.21 <dev-db/mysql-4.1 > >=dev-php/mod_php-3.0.8" >S=${WORKDIR}/${MY_P} > >src_unpack() { > unpack ${A} > cp ${FILESDIR}/htaccess-${PV} ${S}/.htaccess > cp ${FILESDIR}/htaccess-xml-css-${PV} ${S}/xml/.htaccess > cp ${FILESDIR}/htaccess-xml-css-${PV} ${S}/css/.htaccess >} > >src_compile() { > local wakkapass="${RANDOM}${RANDOM}${RANDOM}${RANDOM}" > sed -e "s/@wakkapass@/${wakkapass}/g" \ > ${FILESDIR}/wakka.config.php-${PV} | \ > sed -e "s/@hostname@/${HOSTNAME}/g" \ > > wakka.config.php > sed -e "s/@wakkapass@/${wakkapass}/g" \ > ${FILESDIR}/mysql-setup.sql-${PV} > mysql-setup.sql >} > >src_install() { > local DocumentRoot=/home/httpd/htdocs > local destdir=${DocumentRoot}/wakka > local docs="ChangeLog INSTALL LICENSE README UPGRADE" > > mkdir -p ${D}${destdir} > > dodoc ${docs} > rm ${docs} > > insinto /etc/wakka > insopts -g apache -m 640 > doins wakka.config.php mysql-setup.sql > > rm mysql-setup.sql > > cp -r . ${D}${destdir} > > dosym /etc/wakka/wakka.config.php ${destdir}/wakka.config.php >} > >pkg_postinst() { > einfo > einfo "To complete installation, you must" > einfo "1. Update your configuration files:" > einfo " etc-update" > einfo " Don't forget to load Apache's mod_rewrite if you set 'rewrite_mode' to 1." > einfo "2. Update MySQL's grant tables:" > einfo " ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" > einfo "3. Reload MySQL:" > einfo " /etc/init.d/mysql restart" > einfo > einfo "Finally, point your browser to http://localhost/wakka/." > einfo >} > >pkg_config() { > einfo "Type in your MySQL root password:" > mysql -u root -p < ${ROOT}/etc/wakka/mysql-setup.sql || die > einfo "You need to reload MySQL for the changes to take effect" >}
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 26395
:
15899
|
15900
|
15901
|
15902
|
15903
|
15913
|
15915
|
15938
|
25921