ZP-985 Packages for Red Hat Software collections make actually no use of them....

ZP-985 Packages for Red Hat Software collections make actually no use of them. Released under the Affero GNU General Public License (AGPL) version 3.

make use of the same php-mapi packages as webapp does on scl distributions
change shebang of php cli script to make use of env (the php binary is in a different location for these distributions as well)
parent 1b69b73d
......@@ -13,7 +13,11 @@ BuildRoot: %_tmppath/%name-%version-build
%if 0%{?suse_version}
%define apache_dir %_sysconfdir/apache2
%else
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
%define apache_dir /opt/rh/httpd24/root/etc/httpd/
%else
%define apache_dir %_sysconfdir/httpd
%endif
%endif
%description
......@@ -96,7 +100,11 @@ Backend for Z-Push, that adds the ability to connect to a ldap server
Summary: Z-Push Kopano backend
Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version}
Requires: php-mapi-webapp
%else
Requires: php-mapi
%endif
Provides: %name-backend
%description -n %name-backend-kopano
......@@ -459,7 +467,7 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \
%dir %zpush_dir/backend/ipcsharedmemory/
%zpush_dir/backend/ipcsharedmemory
# IPCMEMCACHED
# IPC-MEMCACHED
%files -n %name-ipc-memcached
%defattr(-, root, root)
%dir %zpush_dir/backend
......
#!/usr/bin/php
#!/usr/bin/env php
<?php
/***********************************************
* File : z-push-admin.php
......
#!/usr/bin/php
#!/usr/bin/env php
<?php
/***********************************************
* File : z-push-top.php
......
#!/usr/bin/php
#!/usr/bin/env php
<?php
/***********************************************
* File : gab-sync.php
......
#!/usr/bin/php
#!/usr/bin/env php
<?php
/**********************************************************
* File : migrate-filestates-to-db.php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment