Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236872 - www-apps/mediawiki-1.13.00 missing access_restrict.patch
Summary: www-apps/mediawiki-1.13.00 missing access_restrict.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-06 15:35 UTC by Michael Mair-Keimberger
Modified: 2008-09-29 06:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger 2008-09-06 15:35:48 UTC
emerge mediawiki 1.13.00 with the "restrict" use-flag isn't possible because the patch which is needed for the "restrict" flag isn't available.


Reproducible: Always

Steps to Reproduce:
1. USE="restrict" emerge -av mediawiki
2.
3.

Actual Results:  
* Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/www-apps/mediawiki/files/access_restrict_1.13.0.patch
 *   ( access_restrict_1.13.0.patch )
 * 
 * ERROR: www-apps/mediawiki-1.13.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3137:  Called epatch 'src_unpack'
 *             environment, line 1255:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-apps/mediawiki-1.13.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/mediawiki-1.13.0/temp/environment'.

Expected Results:  
mediawiki compile should work with the restrict use-flag

Following patches are in the /files dir.
access_restrict_1.12.0.patch
access_restrict.patch
but no access_restrict_1.13.0.patch which is needed by the ebuild:

	if use restrict ; then
		epatch "${FILESDIR}/access_restrict_${PV}.patch"
	fi
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-06 20:12:35 UTC
Yes, looks like there is no such file in cvs (not just a mirror problem).
Assigning to maintainers.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-09-29 06:41:14 UTC
Thank you for report. This bug is fixed in mediawiki-1.13.1.

I dropped this patch for the moment as:

1. This functionality should be configured by administrator and it's hard to predict what administrator wishes to restrict
2. Assumption that all people in the world use English version of mediawiki is wrong ;)