Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354549 - www-apps/dokuwiki ebuild update to version 20101107a
Summary: www-apps/dokuwiki ebuild update to version 20101107a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 23:43 UTC by Julen Landa Alustiza
Modified: 2011-02-28 02:57 UTC (History)
3 users (show)

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


Attachments
new ebuild (dokuwiki-20101107a.ebuild,1.47 KB, text/plain)
2011-02-12 12:26 UTC, Philippe Chaintreuil
Details
dokuwiki-20101107a.ebuild (dokuwiki-20101107a.ebuild,1.41 KB, text/plain)
2011-02-25 08:03 UTC, Azamat H. Hackimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julen Landa Alustiza 2011-02-11 23:43:46 UTC
Update for dokuwiki ebuild to last version (20101107a)
It's an important update since this minor update fixes a privilege scalation exploit in the XMLRPC interface.

Release note: http://bugs.dokuwiki.org/index.php?do=details&task_id=2136



Reproducible: Always




Unfortunately, I lack proper .ebuild writing knowledge and there is a partially hardcoded string to manage ${S} rewrite of the ebuild.

I don't know how to get the 'a' from version name using ${PV} variable or similar. I googled looking for it but I can't see the light.

If someone can help my with this I'll appreciatte it :)

The issue itslef is at line 25.
Comment 1 Philippe Chaintreuil 2011-02-12 12:26:34 UTC
Created attachment 262229 [details]
new ebuild

Unlike they're previous releases, dokuwiki made the untar folder have the letter extension, so I don't know if ${MY_BASE_PV} is necessary anymore, but I figured I'd leave it in until we're sure they did it on purpose, and it's not just a happy accident.

Anyway, the attached ebuild works for me.
Comment 2 Azamat H. Hackimov 2011-02-25 08:03:35 UTC
Created attachment 263761 [details]
dokuwiki-20101107a.ebuild

Here EAPI=2 ebuild. Since in portage nomore php-4, so I removed this stale dependency.
Comment 3 Azamat H. Hackimov 2011-02-25 08:05:34 UTC
I forgot to remove debug command on string 34, feel free to remove it from ebuild.
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2011-02-28 02:57:35 UTC
(In reply to comment #3)
> I forgot to remove debug command on string 34, feel free to remove it from
> ebuild.
> 

Thanks for contributing the version bump ebuild. I had been trying to find time to make those changes but you did it for me :).

Pushed to the tree.