Projects
Kolab:3.4
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
kolab-syncroton.spec
Added
@@ -0,0 +1,143 @@ +Name: kolab-syncroton +Version: 2.1.0 +Release: 1%{?dist} +Summary: ActiveSync for Kolab Groupware + +Group: Applications/Internet +License: LGPLv2 +URL: http://www.syncroton.org + +Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz + +Source1: kolab-syncroton.logrotate + +Patch1: rcube-imap-murder-quoting.patch + +BuildArch: noarch + +Requires: roundcubemail +Requires: roundcubemail-plugins-kolab +Requires: php-kolabformat + +Requires: php-pear-Auth-SASL +Requires: php-pear-MDB2 +Requires: php-pear-MDB2-Driver-mysqli +Requires: php-pear-Net-IDNA2 +Requires: php-pear-Net-SMTP +Requires: php-pear-Net-Socket +Requires: php-ZendFramework + +%description +Kolab Groupware provides ActiveSync for Calendars, Address Books +and Tasks though this package - based on Syncroton technology. + +%prep +%setup -q -n %{name}-%{version} + +%patch1 -p1 + +rm -rf \ + lib/ext/Auth/ \ + lib/ext/MDB2/ \ + lib/ext/MDB2.php \ + lib/ext/Net/IDNA2/ \ + lib/ext/Net/IDNA2.php \ + lib/ext/Net/SMTP.php \ + lib/ext/Net/Socket.php \ + lib/ext/Zend/ + +%build + +%install +mkdir -p \ + %{buildroot}/%{_datadir}/%{name} \ + %{buildroot}/%{_sysconfdir}/httpd/conf.d/ \ + %{buildroot}/%{_sysconfdir}/%{name} \ + %{buildroot}/%{_var}/log/%{name} + +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d +cp -pr %SOURCE1 %{buildroot}%{_sysconfdir}/logrotate.d/kolab-syncroton + +cp -a lib %{buildroot}/%{_datadir}/%{name}/. +cp -a index.php %{buildroot}/%{_datadir}/%{name}/. + +pushd %{buildroot}/%{_datadir}/%{name} +ln -s ../../..%{_sysconfdir}/roundcubemail config +ln -s ../../..%{_var}/log/%{name} logs +popd + +# Kolab Authentication plugin +pushd %{buildroot}/%{_datadir}/%{name}/lib/plugins/kolab_auth +rm -rf config.inc.php.dist +ln -s ../../../../../..%{_sysconfdir}/roundcubemail/kolab_auth.inc.php config.inc.php +popd + +# Kolab Folders plugin +pushd %{buildroot}/%{_datadir}/%{name}/lib/plugins/kolab_folders +rm -rf config.inc.php.dist +ln -s ../../../../../..%{_sysconfdir}/roundcubemail/kolab_folders.inc.php config.inc.php +popd + +# Libkolab plugin +pushd %{buildroot}/%{_datadir}/%{name}/lib/plugins/libkolab +rm -rf config.inc.php.dist +ln -s ../../../../../..%{_sysconfdir}/roundcubemail/kolab.inc.php config.inc.php +popd + +cp -a docs/kolab-syncroton.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/ + +%post +if [ -f "%{php_inidir}/apc.ini" ]; then + if [ ! -z "`grep ^apc.enabled=1 %{php_inidir}/apc.ini`" ]; then +%if 0%{?fedora} > 15 + /sbin/systemctl condrestart httpd.service +%else + /sbin/service httpd condrestart +%endif + fi +fi + +/usr/share/roundcubemail/bin/updatedb.sh \ + --dir /usr/share/doc/kolab-syncroton-%{version}/SQL/ \ + --package syncroton \ + >/dev/null 2>&1 || : + +exit 0 + +%files +%doc docs/* +%config(noreplace) %{_sysconfdir}/httpd/conf.d/ +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} +%{_prefix}/share/%{name} +%attr(0770,apache,apache) %{_var}/log/%{name} + +%changelog +* Wed Sep 3 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.1.0-1 +- Bug fixes for #1658, and attachment sending + +* Tue Mar 12 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.1-0.2.rc2 +- New upstream release + +* Tue Feb 12 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.1-0.1.rc1 +- Check in new release 2.1-rc1 + +* Sun Dec 9 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.0.0-0.2 +- Pull in the required configuration + +* Tue Nov 27 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.0.0-0.1 +- New snapshot that fixes SMTP Auth (#1380) + +* Thu Sep 27 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.1-2 +- Apply fix for authentication failing + +* Fri Sep 21 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.1-1 +- New upstream release + +* Wed Sep 19 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0-0.1 +- On the road to version 1.0, distribute a snapshot + +* Wed Aug 1 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-0.2 +- New git master snapshot + +* Wed Jul 25 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-0.1 +- This is a package, too
View file
add-system-table.patch
Added
@@ -0,0 +1,19 @@ +Roundcube core table should exist if we're using the same database + +--- a/docs/SQL/mysql/2013011600.sql ++++ b/docs/SQL/mysql/2013011600.sql +@@ -7,3 +7,14 @@ + KEY `syncroton_modseq::device_id` (`device_id`), + CONSTRAINT `syncroton_modseq::device_id--syncroton_device::id` FOREIGN KEY (`device_id`) REFERENCES `syncroton_device` (`id`) ON DELETE CASCADE ON UPDATE CASCADE + ) ENGINE=InnoDB; ++ ++-- Roundcube core table should exist if we're using the same database ++ ++CREATE TABLE IF NOT EXISTS `system` ( ++ `name` varchar(64) NOT NULL, ++ `value` mediumtext, ++ PRIMARY KEY(`name`) ++) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; ++ ++INSERT INTO `system` (`name`, `value`) VALUES ('syncroton-version', '2013011600'); ++
View file
rcube-imap-murder-quoting.patch
Added
@@ -0,0 +1,37 @@ +diff -ur kolab-syncroton.orig/lib/ext/Roundcube/rcube_imap_generic.php kolab-syncroton/lib/ext/Roundcube/rcube_imap_generic.php +--- kolab-syncroton.orig/lib/ext/Roundcube/rcube_imap_generic.php 2012-11-26 04:58:14.000000000 -0600 ++++ kolab-syncroton/lib/ext/Roundcube/rcube_imap_generic.php 2013-02-12 08:58:03.000000000 -0600 +@@ -52,6 +52,8 @@ + '*' => '\\*', + ); + ++ public static $mupdate; ++ + private $fp; + private $host; + private $logged = false; +@@ -3071,6 +3073,12 @@ + } + + foreach ($data as $entry) { ++ // If we are running in a murder topology, the entry[2] string needs ++ // to be escaped. ++ if (self::$mupdate) { ++ $entry[2] = addcslashes($entry[2], '\\"'); ++ } ++ + // ANNOTATEMORE drafts before version 08 require quoted parameters + $entries[] = sprintf('%s (%s %s)', $this->escape($entry[0], true), + $this->escape($entry[1], true), $this->escape($entry[2], true)); +@@ -3620,6 +3628,10 @@ + $this->prefs['literal+'] = true; + } + ++ if (preg_match('/(\[| )MUPDATE=.*/', $str)) { ++ self::$mupdate = true; ++ } ++ + if ($trusted) { + $this->capability_readed = true; + } +
View file
debian.series
Added
@@ -0,0 +1,2 @@ +rcube-imap-murder-quoting.patch -p1 +add-system-table.patch -p1
View file
debian.tar.gz/patches
Deleted
-(directory)
View file
debian.tar.gz/patches/add-system-table.patch
Deleted
@@ -1,19 +0,0 @@ -Roundcube core table should exist if we're using the same database - ---- a/docs/SQL/mysql/2013011600.sql -+++ b/docs/SQL/mysql/2013011600.sql -@@ -7,3 +7,14 @@ - KEY `syncroton_modseq::device_id` (`device_id`), - CONSTRAINT `syncroton_modseq::device_id--syncroton_device::id` FOREIGN KEY (`device_id`) REFERENCES `syncroton_device` (`id`) ON DELETE CASCADE ON UPDATE CASCADE - ) ENGINE=InnoDB; -+ -+-- Roundcube core table should exist if we're using the same database -+ -+CREATE TABLE IF NOT EXISTS `system` ( -+ `name` varchar(64) NOT NULL, -+ `value` mediumtext, -+ PRIMARY KEY(`name`) -+) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; -+ -+INSERT INTO `system` (`name`, `value`) VALUES ('syncroton-version', '2013011600'); -+
View file
debian.tar.gz/patches/series
Deleted
@@ -1,1 +0,0 @@ -add-system-table.patch
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
.