Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282828 - www-apps/b2evolution version bump to 4.0.3
Summary: www-apps/b2evolution version bump to 4.0.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-26 19:38 UTC by T Sorensen
Modified: 2012-07-29 21:21 UTC (History)
4 users (show)

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


Attachments
b2evolution-4.0.3.ebuild (b2evolution-4.0.3.ebuild,1.29 KB, text/plain)
2010-12-30 20:05 UTC, Sune Kloppenborg Jeppesen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description T Sorensen 2009-08-26 19:38:38 UTC
The current stable b2evolution version is 3.3.1 - the latest available from portage is 2.4.0_rc2.

Reproducible: Always
Comment 1 T Sorensen 2009-09-13 21:29:48 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

Comment 2 Michael O'Brien 2010-05-29 17:42:12 UTC
latest available version is 3.3.3 on 2009-12-15. Would much like to see this packaged updated to be current.
Comment 3 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2010-12-30 20:05:08 UTC
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.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-12-30 20:10:57 UTC
Right, I think it is safe to rip out PHP4 code from the ebuild.
Comment 5 Ian Pickworth 2011-02-06 13:32:22 UTC
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?
Comment 6 Federico Cuello 2011-06-28 14:46:11 UTC
Version 4.0.5 is available since 2011-03-23
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2011-07-01 13:05:22 UTC
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 :)
Comment 8 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2011-10-26 11:57:34 UTC
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.
Comment 9 Slamp 2012-05-22 15:08:49 UTC
@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}/
Comment 10 Matti Bickel (RETIRED) gentoo-dev 2012-07-27 21:55:46 UTC
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 :)
Comment 11 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2012-07-29 21:21:47 UTC
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.