Accepting request 331663 from server:php:applications

1

OBS-URL: https://build.opensuse.org/request/show/331663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/phpMyAdmin?expand=0&rev=113
This commit is contained in:
Stephan Kulow 2015-09-19 04:55:17 +00:00 committed by Git OBS Bridge
commit 24dc5df315
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 17 09:41:30 UTC 2015 - ecsos@opensuse.org
- boo#945999 enable required apache modules in spec at install
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 11 09:55:59 UTC 2015 - ecsos@opensuse.org Fri Sep 11 09:55:59 UTC 2015 - ecsos@opensuse.org

View File

@ -164,6 +164,11 @@ popd
# set PmaAbsoluteUri ### generate blowfish secret # set PmaAbsoluteUri ### generate blowfish secret
sed -i -e "s,@FQDN@,$(cat %{_sysconfdir}/HOSTNAME)," \ sed -i -e "s,@FQDN@,$(cat %{_sysconfdir}/HOSTNAME)," \
-e "s/\\\$cfg\['blowfish_secret'\] = ''/\$cfg['blowfish_secret'] = '`pwgen -s -1 46`'/" %{pma_config} -e "s/\\\$cfg\['blowfish_secret'\] = ''/\$cfg['blowfish_secret'] = '`pwgen -s -1 46`'/" %{pma_config}
# enable required apache modules
if [ -x /usr/sbin/a2enmod ]; then
a2enmod -q php5 || a2enmod php5
a2enmod -q version || a2enmod version
fi
%if 0%{?suse_version} < 1310 %if 0%{?suse_version} < 1310
%restart_on_update apache2 %restart_on_update apache2
#%%else #%%else