Projects
Kolab:3.4
roundcubemail
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 32
View file
roundcubemail.spec
Changed
@@ -1382,6 +1382,37 @@ ) >> plugins.files ( + echo "%post plugin-$(basename $plugin)" + echo "if [ -f \"%%{php_inidir}/apc.ini\" ]; then" + echo " if [ ! -z \"\$(grep ^apc.enabled=1 %%{php_inidir}/apc.ini)\" ]; then" + echo "%if 0%%{?with_systemd}" + echo " /bin/systemctl condrestart %%{httpd_name}.service" + echo "%else" + echo " /sbin/service %%{httpd_name} condrestart" + echo "%endif" + echo " fi" + echo "fi" + echo "" + if [ ! -z "$(find ${plugin} -type d -name \"SQL\")" ]; then + echo "for dir in \$(find /usr/share/roundcubemail/plugins/$(basename $plugin)/ -type d -name \"SQL\"); do" + echo " # Skip plugins with multiple drivers and no kolab driver" + echo " if [ ! -z \"\$(echo \$dir | grep driver)\" ]; then" + echo " if [ -z \"\$(echo \$dir | grep kolab)\" ]; then" + echo " continue" + echo " fi" + echo " fi" + echo "" + echo " /usr/share/roundcubemail/bin/updatedb.sh \\" + echo " --dir \$dir \\" + echo " --package $(basename $plugin) \\" + echo " >/dev/null 2>&1 || :" + echo "" + echo "done" + echo "" + fi + ) >> plugins.post + + ( echo "%package plugin-$(basename $plugin)-assets" echo "Summary: Plugin $(basename $plugin) Assets" echo "Group: Applications/Internet" @@ -1933,7 +1964,7 @@ %clean %{__rm} -rf %{buildroot} -%post +%post core # replace default des string in config file for better security function makedesstr () { chars=(0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z A @@ -1970,6 +2001,358 @@ exit 0 +%post plugin-acl +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-additional_message_headers +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-archive +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-attachment_reminder +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-autologon +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-database_attachments +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-debug_logger +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-emoticons +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-enigma +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-example_addressbook +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-filesystem_attachments +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-help +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-hide_blockquote +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else + /sbin/service %{httpd_name} condrestart +%endif + fi +fi + +%post plugin-http_authentication +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then +%if 0%{?with_systemd} + /bin/systemctl condrestart %{httpd_name}.service +%else
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.