Bug 1223712

Summary: Strong dependancy to mod_php and httpd
Product: [Fedora] Fedora Reporter: Lameire Alexis <alexis.lameire>
Component: mediawikiAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 21CC: mike, puiterwijk
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: mediawiki-1.24.2-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-09 15:18:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fix for this bug none

Description Lameire Alexis 2015-05-21 10:01:23 UTC
mediawiki provides a strong dependancy to mod_php and httpd apache.

I would like to use nginx and php_fpm instead. for that, you should replace the http require and php require to :

#for apache config files
requires: httpd-filesystem 
#for php-fpm/php 
requires: php(httpd)
#for the dependancy to a minimum version of php needed to mediawiki
require: php(language) >= 5.3.2 
#for requireing a webserver httpd/nginx/lighttpd/whatever
require: webserver

Comment 1 Lameire Alexis 2015-05-21 12:06:15 UTC
Created attachment 1028111 [details]
fix for this bug

I had just rebuild the package for myself, here the patch.

Comment 2 Michael Cronenworth 2015-05-21 14:12:53 UTC
Thanks. I'm going to fix this in a slightly different way.

You should be aware your patch is malformed. You combined 3 different patches to the same file into one file.

Comment 3 Fedora Update System 2015-05-21 14:32:06 UTC
mediawiki-1.24.2-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mediawiki-1.24.2-2.fc22

Comment 4 Fedora Update System 2015-05-21 14:33:47 UTC
mediawiki-1.24.2-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mediawiki-1.24.2-2.fc21

Comment 5 Fedora Update System 2015-05-22 02:30:53 UTC
Package mediawiki-1.24.2-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mediawiki-1.24.2-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8677/mediawiki-1.24.2-2.fc22
then log in and leave karma (feedback).

Comment 6 Lameire Alexis 2015-05-22 08:48:29 UTC
Sorry for the patch, 
I had just export a "git diff" output.

I just check your patch, and I could say it not totaly good ;).
you don't set the php(httpd) provides so you only depend to the php-common part, that don't provides an http usable php implementation (that are provided into php or php-fpm)

you don't make a dependancy to webserver. the httpd-filesystem only provide the dir where you can pur your configuration.

Comment 7 Fedora Update System 2015-05-26 14:45:54 UTC
mediawiki-1.25.1-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mediawiki-1.25.1-1.fc22

Comment 8 Fedora Update System 2015-06-09 15:18:20 UTC
mediawiki-1.25.1-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-06-09 15:21:15 UTC
mediawiki-1.24.2-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.