remove requirement for hhvm [release 1.22.5-2mamba;Wed May 21 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 07:02:55 +01:00
parent 839769493a
commit dc4b7d6a76
2 changed files with 32 additions and 14 deletions

View File

@ -1,7 +1,7 @@
diff -Nru mediawiki-1.21.2.orig/includes/DefaultSettings.php mediawiki-1.21.2/includes/DefaultSettings.php diff -Nru mediawiki-1.22.2.orig/includes/DefaultSettings.php mediawiki-1.22.2/includes/DefaultSettings.php
--- mediawiki-1.21.2.orig/includes/DefaultSettings.php 2013-09-03 20:56:39.000000000 +0200 --- mediawiki-1.22.2.orig/includes/DefaultSettings.php 2014-01-28 01:06:33.000000000 +0100
+++ mediawiki-1.21.2/includes/DefaultSettings.php 2013-09-16 15:05:04.329722387 +0200 +++ mediawiki-1.22.2/includes/DefaultSettings.php 2014-02-22 17:36:12.352426268 +0100
@@ -3914,7 +3914,7 @@ @@ -4141,7 +4141,7 @@
* Should editors be required to have a validated e-mail * Should editors be required to have a validated e-mail
* address before being allowed to edit? * address before being allowed to edit?
*/ */
@ -10,7 +10,7 @@ diff -Nru mediawiki-1.21.2.orig/includes/DefaultSettings.php mediawiki-1.21.2/in
/** /**
* Permission keys given to users in each group. * Permission keys given to users in each group.
@@ -3946,14 +3946,14 @@ @@ -4173,9 +4173,9 @@
// Implicit group for all visitors // Implicit group for all visitors
$wgGroupPermissions['*']['createaccount'] = true; $wgGroupPermissions['*']['createaccount'] = true;
$wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['read'] = true;
@ -21,6 +21,9 @@ diff -Nru mediawiki-1.21.2.orig/includes/DefaultSettings.php mediawiki-1.21.2/in
+$wgGroupPermissions['*']['createpage'] = false; +$wgGroupPermissions['*']['createpage'] = false;
+$wgGroupPermissions['*']['createtalk'] = false; +$wgGroupPermissions['*']['createtalk'] = false;
$wgGroupPermissions['*']['writeapi'] = true; $wgGroupPermissions['*']['writeapi'] = true;
$wgGroupPermissions['*']['editmyusercss'] = true;
$wgGroupPermissions['*']['editmyuserjs'] = true;
@@ -4187,7 +4187,7 @@
#$wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled #$wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
// Implicit group for all logged-in accounts // Implicit group for all logged-in accounts

View File

@ -10,8 +10,8 @@
%endif %endif
Name: %{?sitename:%sitename-}mediawiki%{?lang:-%lang} Name: %{?sitename:%sitename-}mediawiki%{?lang:-%lang}
Version: 1.21.2 Version: 1.22.5
Release: 1mamba Release: 2mamba
Summary: A collaborative editing software that runs Wikipedia and other projects Summary: A collaborative editing software that runs Wikipedia and other projects
Group: Applications/Web Group: Applications/Web
Vendor: openmamba Vendor: openmamba
@ -24,10 +24,11 @@ Source2: mediawiki-AuthPress_LocalSettings.php
Source3: mediawiki-theme-openmamba-%{openmamba_theme_ver}.tar.bz2 Source3: mediawiki-theme-openmamba-%{openmamba_theme_ver}.tar.bz2
Source4: mediawiki-PasswordHash.php Source4: mediawiki-PasswordHash.php
Source5: http://mediawiki.narod.ru/QPoll_0.7.0.tgz Source5: http://mediawiki.narod.ru/QPoll_0.7.0.tgz
Patch0: mediawiki-1.21.2-DefaultSettings.patch Patch0: mediawiki-1.22.2-DefaultSettings.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: apache-mod_php >= 5 Requires: apache-mod_php >= 5
Requires: php-apc
Requires: mysql >= 4 Requires: mysql >= 4
Requires: php-mysql Requires: php-mysql
Requires: diffutils Requires: diffutils
@ -53,7 +54,7 @@ This package contains the openmamba theme.
%prep %prep
%setup -q -n mediawiki-%{version} -a3 %setup -q -n mediawiki-%{version} -a3
%patch0 -p1 #%patch0 -p1
%build %build
# FIXME: ocaml missing # FIXME: ocaml missing
@ -78,6 +79,8 @@ chmod 770 %{buildroot}%{installdir}/mw-config
chmod 775 %{buildroot}%{installdir}/images chmod 775 %{buildroot}%{installdir}/images
#chmod 640 %{buildroot}%{installdir}/AdminSettings.sample #chmod 640 %{buildroot}%{installdir}/AdminSettings.sample
chmod -x %{buildroot}%{installdir}/maintenance/hiphop/run-server
install -d %{buildroot}%{_sysconfdir}/httpd/httpd.d install -d %{buildroot}%{_sysconfdir}/httpd/httpd.d
cat > %{buildroot}%{_sysconfdir}/httpd/httpd.d/%{name}.conf << EOF cat > %{buildroot}%{_sysconfdir}/httpd/httpd.d/%{name}.conf << EOF
Alias /wiki%{?lang:-%lang} %{installdir} Alias /wiki%{?lang:-%lang} %{installdir}
@ -121,12 +124,13 @@ fi
%dir %{installdir} %dir %{installdir}
#%{installdir}/AdminSettings.sample #%{installdir}/AdminSettings.sample
#%{installdir}/Makefile #%{installdir}/Makefile
%attr(-,root,nobody) %{installdir}/mw-config %attr(-,root,nobody) %dir %{installdir}/mw-config
%{installdir}/mw-config/*
%attr(-,root,nobody) %{installdir}/images %attr(-,root,nobody) %{installdir}/images
#%{installdir}/bin #%{installdir}/bin
%{installdir}/CREDITS %{installdir}/CREDITS
%{installdir}/cache/.htaccess %{installdir}/cache/.htaccess
%{installdir}/composer.json %{installdir}/composer-example.json
%{installdir}/docs %{installdir}/docs
%{installdir}/extensions %{installdir}/extensions
%{installdir}/includes %{installdir}/includes
@ -134,14 +138,13 @@ fi
#%{installdir}/locale #%{installdir}/locale
%{installdir}/maintenance %{installdir}/maintenance
#%{installdir}/math #%{installdir}/math
%{installdir}/mw-config
%{installdir}/resources %{installdir}/resources
%{installdir}/skins %{installdir}/skins
%{installdir}/serialized %{installdir}/serialized
#%{installdir}/install-utils.inc #%{installdir}/install-utils.inc
%{installdir}/*.php %{installdir}/*.php
%{installdir}/*.php5 %{installdir}/*.php5
%{installdir}/redirect.phtml #%{installdir}/redirect.phtml
%{installdir}/StartProfiler.sample %{installdir}/StartProfiler.sample
%{installdir}/wiki.phtml %{installdir}/wiki.phtml
%{installdir}/README.mediawiki %{installdir}/README.mediawiki
@ -156,6 +159,18 @@ fi
%dir %{installdir}/skins/openmamba/* %dir %{installdir}/skins/openmamba/*
%changelog %changelog
* Wed May 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.5-2mamba
- remove requirement for hhvm
* Mon Mar 31 2014 Automatic Build System <autodist@mambasoft.it> 1.22.5-1mamba
- automatic version update by autodist
* Sun Mar 23 2014 Automatic Build System <autodist@mambasoft.it> 1.22.3-1mamba
- automatic version update by autodist
* Sun Feb 23 2014 Automatic Build System <autodist@mambasoft.it> 1.22.2-1mamba
- automatic version update by autodist
* Tue Sep 17 2013 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba * Tue Sep 17 2013 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba
- automatic version update by autodist - automatic version update by autodist