<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
Anyone feel like taking a crack at this? Best regards, Stu
I'll give it a shot
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.
Created attachment 35651 [details] files/postinstall-en.txt
Created attachment 35652 [details] files/reconfig
Created attachment 35947 [details] mambo-4.5.ebuild small bugs
Created attachment 35948 [details] mambo-4.5.ebuild more silly bugs
In CVS
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?
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
In CVS. see my comments above re configfile.