Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58292 Details for
Bug 28376
Ebuild for geeklog, a weblog powered by PHP and MySQL.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
First cut geeklog ebuild using webapp
geeklog-1.3.11.ebuild (text/plain), 2.71 KB, created by
Nathan Horter
on 2005-05-07 12:14:14 UTC
(
hide
)
Description:
First cut geeklog ebuild using webapp
Filename:
MIME Type:
Creator:
Nathan Horter
Created:
2005-05-07 12:14:14 UTC
Size:
2.71 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: $ > >inherit webapp > >DESCRIPTION="Geeklog is a weblog powered by PHP and MySQL" >SRC_URI="http://www.geeklog.net/filemgmt/upload_dir/${PN}-${PV}.tar.gz" >HOMEPAGE="http://www.geeklog.net" > >LICENSE="GPL-2" >KEYWORDS="~x86 ~ppc" >RESTRICT="nomirror" > >DEPEND="net-www/apache > dev-db/mysql > >=dev-php/mod_php-4.1.0 > " > >S=${WORKDIR}/${PN}-${PV} > >src_unpack() { > unpack ${A} > cd ${S} >} > >src_install() { > webapp_src_preinst > > local docs="INSTALL readme" > > # handle documentation files > dodoc ${docs} > for doc in ${docs} INSTALL; do > rm -f ${doc} > done > > # Copy the app's main files. This isn't very elegant > > cp -r ./public_html/* ${D}${MY_HTDOCSDIR} > > dodir ${MY_HOSTROOTDIR}/${PN}/ > insinto ${MY_HOSTROOTDIR}/${PN}/ > doins config.php > doins emailgeeklogstories > dodir ${MY_HOSTROOTDIR}/${PN}/backups > insinto ${MY_HOSTROOTDIR}/${PN}/backups > doins backups/* > dodir ${MY_HOSTROOTDIR}/${PN}/data > insinto ${MY_HOSTROOTDIR}/${PN}/data > doins data/* > dodir ${MY_HOSTROOTDIR}/${PN}/language > insinto ${MY_HOSTROOTDIR}/${PN}/language > doins language > dodir ${MY_HOSTROOTDIR}/${PN}/plugins > insinto ${MY_HOSTROOTDIR}/${PN}/plugins > doins plugins/* > dodir ${MY_HOSTROOTDIR}/${PN}/sql > insinto ${MY_HOSTROOTDIR}/${PN}/sql > doins sql/* > dodir ${MY_HOSTROOTDIR}/${PN}/logs > insinto ${MY_HOSTROOTDIR}/${PN}/logs > doins logs/* > dodir ${MY_HOSTROOTDIR}/${PN}/system > insinto ${MY_HOSTROOTDIR}/${PN}/system > doins system/* > > # Identify the configuration files that this app uses > > webapp_configfile ${MY_HOSTROOTDIR}/${PN}/config.php > > # these need to be owned by the web server > > webapp_serverowned ${MY_HTDOCSDIR}/backend > webapp_serverowned ${MY_HTDOCSDIR}/images/articles > webapp_serverowned ${MY_HTDOCSDIR}/images/userphotos > webapp_serverowned ${MY_HOSTROOTDIR}/${PN}/data; > webapp_serverowned ${MY_HOSTROOTDIR}/${PN}/logs; > > webapp_src_install >} > >pkg_postinst() { > einfo > einfo Create an empty MySQL database you want Geeklog to reside in. > einfo Edit /path/to/hostroot/${PN}/config.php with the appropriate settings for your server. > einfo Edit /path/to/host/htdocs/${PN}/lib-common.php and change the require_once\(\) at the top to point to the location of your config.php file. > einfo > einfo Use http://yourgeeklogsite/admin/install/install.php to configure your new install of geeklog. > einfo When you are finished, please delete the admin/install directory. > einfo > > webapp_pkg_postinst >}
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 28376
:
17455
|
19392
|
27677
| 58292