Summary: | www-apps/b2evolution version bump to 4.0.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | T Sorensen <torben.sorensen> |
Component: | New packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darkside, fedux, ian, jaervosz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | b2evolution-4.0.3.ebuild |
Description
T Sorensen
2009-08-26 19:38:38 UTC
Hello, After copying the existing ebuild b2evolution-2.4.0_rc2.ebuild and calling it b2evolution-3.3.1.ebuild and making these changes, I was able to upgrade it my installation properly, with two issues remaining (as noted below). # diff /usr/portage/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild /usr/portage/www-apps/b2evolution/b2evolution-3.3.1.ebuild 7c7 < MY_EXT="2008-01-23" --- > MY_EXT="stable-2009-08-08" 47,48c47,48 < webapp_serverowned "${MY_HTDOCSDIR}"/conf/_basic_config.php < webapp_configfile "${MY_HTDOCSDIR}"/conf/_{basic_config,advanced,locales,formatting,admin,stats,application}.php --- > webapp_serverowned "${MY_HTDOCSDIR}"/conf/_basic_config.template.php > webapp_configfile "${MY_HTDOCSDIR}"/conf/_{basic_config.template,advanced,locales,formatting,admin,stats,application}.php with only two issues that still need to be addressed (I'm not a webapp-config expert) 1. for an install / upgrade, the existing _basic_config.template.php is meant to be copied to _basic_config.php, OR IF upgrading, merged 2. postinstall / postupgrade NOTE about removing <HOST_DIR>/htdocs/install/ directory AFTER performing the install/upgrade via the URL already mentioned in the current postinstall / postupgrade notes latest available version is 3.3.3 on 2009-12-15. Would much like to see this packaged updated to be current. Created attachment 258462 [details]
b2evolution-4.0.3.ebuild
This is my version of b2evolution-3.3.3.ebuild bumped to 4.0.3. It adds dependencies on curl and ctype for php-5, I haven't checked for older php versions.
Right, I think it is safe to rip out PHP4 code from the ebuild. I have just tested the attached ebuild (b2evolution-4.0.3.ebuild) and it works for me. Any chance of getting this into the portage tree? Version 4.0.5 is available since 2011-03-23 Guys, if somebody of you wishes to maintain this package, and will update current ebuild up to recent version I could proxy commits into the tree for you. The only requirement - be available to fix bugs :) Just pushed 4.1.1 to my personal overlay at https://github.com/jaervosz/portage-overlay/tree/master/www-apps/b2evolution. Comments welcome and we'll see if we can get it into a state where it can enter the portage tree since I still haven't got ebuild commit rights, so a proxy maintainer is needed until (if ever) I complete the ebuild quiz. @Sune Kloppenborg Jeppesen Your ebuild works. I didn't know that you wrote one before I did one myself. https://bugs.gentoo.org/show_bug.cgi?id=417109 In fact it's the same. I added recursive ownership for cache and media folder: webapp_serverowned -R "${MY_HTDOCSDIR}"/{cache,media}/ I've posted a pull request for jaervosz on github: https://github.com/jaervosz/portage-overlay/pull/1 After one month and a successful test install I'll just jump the cliff and commit this. Enjoy and tell me if i broke something :) Sorry for the late reply. Thx Matti for getting this back into the tree. Your fix works here on upgrade to 4.1.5. Which I just pushed to github as well. Note their strange versioning. |