Projects
Kolab:3.4:Updates
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 31
View file
debian.rules
Changed
@@ -18,7 +18,6 @@ find debian/kolab-syncroton/usr/share/kolab-syncroton/lib -type f -name "*php" -perm +1 -print0 | xargs -r0 chmod -x # The apache configuration file is incorrectly named .conf mv debian/kolab-syncroton/etc/apache2/sites-available/kolab-syncroton.conf debian/kolab-syncroton/etc/apache2/sites-available/kolab-syncroton - cp docs/SQL/mysql.initial.sql debian/kolab-syncroton/usr/share/dbconfig-common/data/kolab-syncroton/install/mysql override_dh_compress: dh_compress -X.sql
View file
debian.tar.gz/SQL
Deleted
-(directory)
View file
debian.tar.gz/SQL/2.1
Deleted
@@ -1,88 +0,0 @@ -DELIMITER // - -DROP FUNCTION IF EXISTS ColumnExists; - -CREATE FUNCTION ColumnExists(_table_name CHAR(100), _column_name CHAR(100)) -RETURNS BOOL -BEGIN - DECLARE _exists BOOL; - - SELECT count(*) - INTO _exists - FROM information_schema.columns - WHERE - column_name = _column_name - AND table_name = _table_name; - - RETURN _exists; -END // - -DROP PROCEDURE IF EXISTS Upgrade_2013011600; - -CREATE PROCEDURE Upgrade_2013011600() -BEGIN - IF !ColumnExists('syncroton_device', 'lastsynccollection') - THEN - ALTER TABLE `syncroton_device` ADD `lastsynccollection` longblob DEFAULT NULL; - END IF; - - IF !ColumnExists('syncroton_folder', 'supportedfields') - THEN - ALTER TABLE `syncroton_folder` ADD `supportedfields` longblob DEFAULT NULL; - END IF; - - IF ColumnExists('syncroton_data', 'type') - THEN - ALTER TABLE `syncroton_data` CHANGE `type` `class` varchar(40) NOT NULL; - END IF; - - CREATE TABLE IF NOT EXISTS `syncroton_data_folder` ( - `id` varchar(40) NOT NULL, - `type` int(11) NOT NULL, - `name` varchar(255) NOT NULL, - `owner_id` varchar(40) NOT NULL, - `parent_id` varchar(40) DEFAULT NULL, - PRIMARY KEY (`id`) - ) ENGINE=InnoDB; - - IF EXISTS (SELECT NULL - FROM information_schema.TABLE_CONSTRAINTS - WHERE CONSTRAINT_SCHEMA = DATABASE() - AND TABLE_NAME = 'syncroton_content' - AND CONSTRAINT_NAME = 'device_id--folder_id--contentid') - THEN - ALTER TABLE `syncroton_content` DROP KEY `device_id--folder_id--contentid`; - END IF; - - ALTER TABLE `syncroton_content` MODIFY `contentid` varchar(128) DEFAULT NULL; - - ALTER TABLE `syncroton_content` ADD UNIQUE KEY `device_id--folder_id--contentid` (`device_id`(40),`folder_id`(40),`contentid`(128)); - - CREATE TABLE IF NOT EXISTS `syncroton_modseq` ( - `device_id` varchar(40) NOT NULL, - `folder_id` varchar(40) NOT NULL, - `synctime` varchar(14) NOT NULL, - `data` longblob, - PRIMARY KEY (`device_id`,`folder_id`,`synctime`), - 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; - - 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 */; - - IF EXISTS (SELECT NULL FROM `system` WHERE `name` = 'syncroton-version') - THEN - UPDATE `system` SET `value` = '2013011600' WHERE `name` = 'syncroton-version'; - ELSE - INSERT INTO `system` (`name`, `value`) VALUES ('syncroton-version', '2013011600'); - END IF; -END // - -DELIMITER ; - -CALL Upgrade_2013011600(); -
View file
debian.tar.gz/dirs
Changed
@@ -1,2 +1,1 @@ -usr/share/dbconfig-common/data/kolab-syncroton/install -usr/share/dbconfig-common/data/kolab-syncroton/upgrade/mysql +usr/share/kolab-syncroton/config
View file
debian.tar.gz/install
Changed
@@ -1,8 +1,4 @@ index.php usr/share/kolab-syncroton/ -config usr/share/kolab-syncroton/ lib usr/share/kolab-syncroton/ logs usr/share/kolab-syncroton/ docs/kolab-syncroton.conf etc/apache2/sites-available/ -docs/SQL/mysql/*.sql usr/share/doc/kolab-syncroton/ -docs/SQL/mysql.initial.sql usr/share/doc/kolab-syncroton/ -debian/SQL/2.1 usr/share/dbconfig-common/data/kolab-syncroton/upgrade/mysql/
View file
debian.tar.gz/links
Added
@@ -0,0 +1,5 @@ +usr/share/kolab-syncroton/config/config.inc.php /etc/roundcubemail/config.inc.php +usr/share/kolab-syncroton/config/defaults.inc.php /etc/roundcubemail/defaults.inc.php +usr/share/kolab-syncroton/plugins/kolab_auth/config.inc.php /etc/roundcubemail/kolab_auth.inc.php +usr/share/kolab-syncroton/plugins/kolab_folders/config.inc.php /etc/roundcubemail/kolab_folders.inc.php +usr/share/kolab-syncroton/plugins/libkolab/config.inc.php /etc/roundcubemail/libkolab.inc.php
View file
debian.tar.gz/postinst
Changed
@@ -14,44 +14,16 @@ fi } - -plugin_config() -{ - if [ ! -e /usr/share/kolab-syncroton/lib/plugins/$1/config.inc.php ] && \ - [ ! -L /usr/share/kolab-syncroton/lib/plugins/$1/config.inc.php ]; then - ln -s /etc/roundcubemail/$1.inc.php /usr/share/kolab-syncroton/lib/plugins/$1/config.inc.php - fi -} - -# source debconf stuff -. /usr/share/debconf/confmodule -# source dbconfig-common stuff -. /usr/share/dbconfig-common/dpkg/postinst.mysql - -dbc_first_version="2.1" - -dbc_go kolab-syncroton $@ - case "$1" in configure) a2ensite kolab-syncroton > /dev/null || true -# reload_apache graceful-stop -# reload_apache start - - - if [ ! -e /usr/share/kolab-syncroton/config/main.inc.php ] && \ - [ ! -L /usr/share/kolab-syncroton/config/main.inc.php ]; then - ln -s /etc/roundcubemail/main.inc.php /usr/share/kolab-syncroton/config/ - fi + reload_apache restart - if [ ! -e /usr/share/kolab-syncroton/config/db.inc.php ] && \ - [ ! -L /usr/share/kolab-syncroton/config/db.inc.php ]; then - ln -s /etc/roundcubemail/db.inc.php /usr/share/kolab-syncroton/config/ - fi + /usr/share/roundcubemail/bin/updatedb.sh \ + --dir /usr/share/doc/kolab-syncroton/SQL/ \ + --package syncroton \ + >/dev/null 2>&1 || : - plugin_config kolab_auth - plugin_config kolab_folders - plugin_config libkolab ;; esac
View file
debian.tar.gz/prerm
Changed
@@ -18,12 +18,11 @@ case "$1" in remove) a2dissite kolab-syncroton > /dev/null || true - reload_apache stop - reload_apache start + reload_apache restart # Now remove the symlinks we created upon installation - rm -f /usr/share/kolab-syncroton/config/main.inc.php - rm -f /usr/share/kolab-syncroton/config/db.inc.php + rm -f /usr/share/kolab-syncroton/config/config.inc.php + rm -f /usr/share/kolab-syncroton/config/defaults.inc.php rm -f /usr/share/kolab-syncroton/lib/plugins/kolab_auth/config.inc.php rm -f /usr/share/kolab-syncroton/lib/plugins/kolab_folders/config.inc.php rm -f /usr/share/kolab-syncroton/lib/plugins/libkolab/config.inc.php
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
.