Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55316 - mambo CMS ebuild request
Summary: mambo CMS ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Web-apps project
URL: http://www.mamboserver.com/
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-06-27 03:25 UTC by Donnie Berkholz (RETIRED)
Modified: 2004-09-22 01:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mambo-4.5.ebuild (mambo-4.5.ebuild,1.42 KB, text/plain)
2004-07-17 14:50 UTC, Renat Lumpau (RETIRED)
Details
files/postinstall-en.txt (postinstall-en.txt,906 bytes, text/plain)
2004-07-17 14:51 UTC, Renat Lumpau (RETIRED)
Details
files/reconfig (reconfig,2.08 KB, text/plain)
2004-07-17 14:52 UTC, Renat Lumpau (RETIRED)
Details
mambo-4.5.ebuild (mambo-4.5.ebuild,1.43 KB, text/plain)
2004-07-22 07:46 UTC, Renat Lumpau (RETIRED)
Details
mambo-4.5.ebuild (mambo-4.5.ebuild,1.43 KB, text/plain)
2004-07-22 07:50 UTC, Renat Lumpau (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donnie Berkholz (RETIRED) gentoo-dev 2004-06-27 03:25:20 UTC
<spyderous> Stuart: i was just looking at a neat cms called mambo, you should add an ebuild for it =)
<Stuart> spyderous: sure, file a bug and I'll pass it on to our volunteers
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-06-27 03:27:11 UTC
Anyone feel like taking a crack at this?

Best regards,
Stu
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2004-07-16 23:48:47 UTC
I'll give it a shot
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2004-07-17 14:50:05 UTC
Created attachment 35650 [details]
mambo-4.5.ebuild

spyderous and Stuart:

Here we go. Pretty simple stuff here, most of the work is actually done by
their web installer. 

- Their version numbers and tarball names are slightly insane. SRC_URI is thus
hardcoded (ok'd by Stuart), and the ebuild is 4.5 instead of 4.5.0, although
their unstable version is 4.5.1. 
- The web installer checks for PHP version, but I wasn't quite sure how to
handle that with virtual/php. 
- There is a bit of a snafu with the config file: there's a
configuration.php-dist, and the installer generates configuration.php after the
installation is done. Now, if that doesn't exist, the installer complains, but
you can proceed. If the file exists (either blank or with <?php> in it),
Firefox goes into what seems to be a recursion loop, and Opera and IE still
complain that it's non-writeable. So, I provide instructions on how to create
it manually, just check the reconfig hook.

Oh, and this was written over ssh across half the globe. Fun.

That's about it. Comments/questions/more requests are welcome.
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2004-07-17 14:51:33 UTC
Created attachment 35651 [details]
files/postinstall-en.txt
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2004-07-17 14:52:29 UTC
Created attachment 35652 [details]
files/reconfig
Comment 6 Renat Lumpau (RETIRED) gentoo-dev 2004-07-22 07:46:35 UTC
Created attachment 35947 [details]
mambo-4.5.ebuild

small bugs
Comment 7 Renat Lumpau (RETIRED) gentoo-dev 2004-07-22 07:50:46 UTC
Created attachment 35948 [details]
mambo-4.5.ebuild

more silly bugs
Comment 8 Renat Lumpau (RETIRED) gentoo-dev 2004-08-18 11:17:20 UTC
In CVS
Comment 9 Anno v. Heimburg 2004-09-16 06:35:25 UTC
Just wanted to remark that while it took me a while to figure out that user and database had to be present in mysql prior to installing mambo (else db setup would bork), everything went fine.

Regarding the config file: Couldn't you just do 'touch configuration.php; chgrp apache configuration.php; chmod 664 configuration.php' in the postinst-script? Or what is the problem?
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2004-09-16 10:54:41 UTC
Anno,

Thanks for the feedback. I'll add the db reminder to the instructions. 
Re config file---I wrote this ebuild before I figured out what webapp_configfile does, so i'll see if i can use that. Probably won't happen for a bit, as I'm swamped, so reopening for now as a reminder
Comment 11 Renat Lumpau (RETIRED) gentoo-dev 2004-09-22 01:17:24 UTC
In CVS. see my comments above re configfile.