Projects
Kolab:16:Testing
kolab-autoconf
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
kolab-autoconf.spec
Changed
@@ -39,9 +39,14 @@ Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz +%if 0%{?rhel} >= 8 +Requires: roundcubemail(core) >= 1.3 +BuildRequires: roundcubemail(core) >= 1.3 +%else %if 0%{?plesk} < 1 Requires: php-kolab-net-ldap3 %endif +%endif Obsoletes: kolab-autodiscover < %{version}-%{release} Provides: kolab-autodiscover = %{version}-%{release} @@ -67,6 +72,12 @@ ln -s ../../..%{_var}/log/%{name} logs popd + +%if 0%{?rhel} >= 8 +rm -rf vendor +ln -s ../roundcubemail/vendor vendor +%endif + %if 0%{?plesk} < 1 %{__install} -pm 644 docs/%{name}.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/%{name}.conf %endif
View file
kolab-autoconf-1.3.4.tar.gz/composer.json
Added
@@ -0,0 +1,17 @@ +{ + "name": "kolab/autoconf", + "description": "The Autoconf Service for Kolab", + "license": "AGPL-3.0+", + "require": { + "php": ">=5.4.0", + "pear/pear-core-minimal": "~1.10.1", + "pear/net_socket": "~1.2.1", + "pear/net_ldap2": "~2.2.0", + "kolab/net_ldap3": "dev-master", + "zf1s/zend-json": "~1.12.20", + "zf1s/zend-log": "~1.12.20" + }, + "require-dev": { + "phpunit/phpunit": "^4.8 || ^5.7 || ^6 || ^7" + } +}
View file
kolab-autoconf-1.3.4.tar.gz/lib/Autodiscover.php
Changed
@@ -233,8 +233,6 @@ $this->_ldap_port = $this->_ldap_scheme == 'ldaps' ? 636 : 389; } - require_once 'Net/LDAP3.php'; - $this->ldap = new Net_LDAP3(array( 'debug' => in_array(strtolower($this->conf->get('autodiscover', 'debug_mode')), array('trace', 'debug')), 'log_hook' => array($this, 'ldap_log'),
View file
kolab-autoconf-1.3.4.tar.gz/public_html/index.php
Changed
@@ -35,6 +35,12 @@ die("Fatal error: ini_set/set_include_path does not work."); } + +// include composer autoloader (if available) +if (@file_exists(INSTALL_PATH . 'vendor/autoload.php')) { + require INSTALL_PATH . 'vendor/autoload.php'; +} + require_once INSTALL_PATH . '/lib/Autodiscover.php'; // Set internal charset
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
.