Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 107731 Details for
Bug 163140
[EBUILD] Lyceum, multi-user Wordpress branch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
lyceum-0.34.ebuild
lyceum-0.34.ebuild (text/plain), 3.38 KB, created by
Ed Catmur
on 2007-01-21 22:51:27 UTC
(
hide
)
Description:
lyceum-0.34.ebuild
Filename:
MIME Type:
Creator:
Ed Catmur
Created:
2007-01-21 22:51:27 UTC
Size:
3.38 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit webapp eutils > >DESCRIPTION="Multi-blog derivative of WordPress CMS system." >HOMEPAGE="http://lyceum.ibiblio.org/" >SRC_URI="http://lyceum.ibiblio.org/wp-content/downloads/${P}.tar.gz" > >LICENSE="GPL-2" >KEYWORDS="~x86" >IUSE="" > >RDEPEND="virtual/httpd-php > virtual/mysql" >DEPEND="${DEPEND} ${RDEPEND}" > >src_install() { > webapp_src_preinst > > einfo "Installing main files" > cp -r src ${D}${MY_HTDOCSDIR} > einfo "Done" > > ewarn > ewarn Please make sure you have register_globals = off set in your /etc/apache2/php.ini file > ewarn If this is not an option for your web server and you NEED it set to > on, then insert the following in your Lyceum .htaccess file: > ewarn php_flag register_globals off > ewarn > > ewarn > ewarn You will need to create a table for your Lyceum database. This > ewarn assumes you have some knowledge of MySQL, and already have it > ewarn installed and configured. If not, please refer to > ewarn the Gentoo MySQL guide at the following URL: > ewarn http://www.gentoo.org/doc/en/mysql-howto.xml > ewarn Log in to MySQL, and create a new database called > ewarn "lyceum". From this point, you will need to edit > ewarn your wp-config.php file in $DocumentRoot/lyceum/src/config/ > ewarn and point to your database. Once this is done, you can log in to > ewarn Lyceum at http://localhost/lyceum/src/lyceum/wp-admin/install.php > ewarn For security, delete src/lyceum/wp-admin/install.php after > ewarn installation. > ewarn > ewarn You may need to make the following files and directories writeable > ewarn by the webserver: > ewarn " src/lyceum/" > ewarn " src/lyceum/wp-comments-post.php" > ewarn " src/lyceum/wp-content/blogs/" > ewarn > ewarn You need to enable mod_rewrite and make sure that Lyceum is allowed > ewarn to create rewrite rules in .htaccess; e.g. > ewarn "<Directory /var/www/localhost/htdocs/lyceum/src/lyceum>" > ewarn " AllowOverride FileInfo Options" > ewarn "</Directory>" > ewarn > ewarn If you want a shorter, friendlier URL, use an Alias directive; see > ewarn http://wiki.lyceum.ibiblio.org/index.php/Frequently_Asked_Questions > ewarn before running the installer. > ewarn > ewarn If you want to use subdomains, see > ewarn http://wiki.lyceum.ibiblio.org/index.php/Subdomains_Configuration > ewarn > ewarn Note: The XML-RPC URI to use is > ewarn "http://localhost/lyceum/src/lyceum/xmlrpc.php?b=<BLOG NAME>" > ewarn > > ewarn > ewarn If you are upgrading from a previous version BACK UP your > ewarn database. Once you are done with that, browse to > ewarn http://localhost/lyceum/src/lyceum/wp-admin/upgrade.php and follow > ewarn the instructions on the screen. > ewarn > > # handle documentation files > # > # NOTE that doc files go into /usr/share/doc as normal; they do NOT > # get installed per vhost! > > dodoc doc/* > > # Identify the configuration files that this app uses > # User can want to make changes to these! > webapp_serverowned ${MY_HTDOCSDIR}/src/lyceum/ > webapp_serverowned ${MY_HTDOCSDIR}/src/lyceum/wp-comments-post.php > webapp_serverowned ${MY_HTDOCSDIR}/src/lyceum/wp-content/blogs/ > > # Identify any script files that need #! headers adding to run under > # a CGI script (such as PHP/CGI) > # > # for lyceum, we *assume* that all .php files need to have CGI/BIN > # support added > > # post-install instructions > #webapp_postinst_txt en ${FILESDIR}/1.2/postinstall-en.txt > > # now strut 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 163140
: 107731