debian/0000775000000000000000000000000012015130270007157 5ustar debian/libcsync0.symbols0000664000000000000000000001157112015127530012471 0ustar libcsync.so.0 libcsync0 #MINVER# c_basename@Base 0.50.8 c_calloc@Base 0.50.8 c_copy@Base 0.50.8 c_dirname@Base 0.50.8 c_free_multibyte@Base 0.50.8 c_free_utf8@Base 0.50.8 c_isdir@Base 0.50.8 c_isfile@Base 0.50.8 c_list_alloc@Base 0.50.8 c_list_append@Base 0.50.8 c_list_find@Base 0.50.8 c_list_find_custom@Base 0.50.8 c_list_first@Base 0.50.8 c_list_free@Base 0.50.8 c_list_insert@Base 0.50.8 c_list_insert_sorted@Base 0.50.8 c_list_last@Base 0.50.8 c_list_length@Base 0.50.8 c_list_next@Base 0.50.8 c_list_position@Base 0.50.8 c_list_prepend@Base 0.50.8 c_list_prev@Base 0.50.8 c_list_remove@Base 0.50.8 c_list_sort@Base 0.50.8 c_lowercase@Base 0.50.8 c_malloc@Base 0.50.8 c_mkdirs@Base 0.50.8 c_multibyte@Base 0.50.8 c_parse_uri@Base 0.50.8 c_rbtree_check_sanity@Base 0.50.8 c_rbtree_create@Base 0.50.8 c_rbtree_dup@Base 0.50.8 c_rbtree_find@Base 0.50.8 c_rbtree_free@Base 0.50.8 c_rbtree_head@Base 0.50.8 c_rbtree_insert@Base 0.50.8 c_rbtree_node_delete@Base 0.50.8 c_rbtree_node_next@Base 0.50.8 c_rbtree_node_prev@Base 0.50.8 c_rbtree_tail@Base 0.50.8 c_rbtree_walk@Base 0.50.8 c_realloc@Base 0.50.8 c_rmdirs@Base 0.50.8 c_secdiff@Base 0.50.8 c_split_path@Base 0.50.8 c_strdup@Base 0.50.8 c_streq@Base 0.50.8 c_strlist_add@Base 0.50.8 c_strlist_destroy@Base 0.50.8 c_strlist_expand@Base 0.50.8 c_strlist_new@Base 0.50.8 c_strndup@Base 0.50.8 c_strreplace@Base 0.50.8 c_tmpname@Base 0.50.8 c_tspecdiff@Base 0.50.8 c_uppercase@Base 0.50.8 c_utf8@Base 0.50.8 c_utimes@Base 0.50.8 csync_add_exclude_list@Base 0.50.8 csync_buffer_md5@Base 0.50.8 csync_config_load@Base 0.50.8 csync_create@Base 0.50.8 csync_create_statedb_hash@Base 0.50.8 csync_destroy@Base 0.50.8 csync_disable_statedb@Base 0.50.8 csync_enable_conflictcopys@Base 0.50.8 csync_enable_statedb@Base 0.50.8 csync_exclude_destroy@Base 0.50.8 csync_exclude_load@Base 0.50.8 csync_excluded@Base 0.50.8 csync_file_md5@Base 0.50.8 csync_fnmatch@Base 0.50.8 csync_ftw@Base 0.50.8 csync_get_auth_callback@Base 0.50.8 csync_get_config_dir@Base 0.50.8 csync_get_error@Base 0.50.8 csync_get_local_only@Base 0.50.8 csync_get_local_username@Base 0.50.8 csync_get_statedb_exists@Base 0.50.8 csync_get_statedb_file@Base 0.50.8 csync_get_status@Base 0.50.8 csync_get_user_home_dir@Base 0.50.8 csync_get_userdata@Base 0.50.8 csync_gettime@Base 0.50.8 csync_init@Base 0.50.8 csync_instruction_str@Base 0.50.8 csync_is_statedb_disabled@Base 0.50.8 csync_lock@Base 0.50.8 csync_lock_remove@Base 0.50.8 csync_log_cb@Base 0.50.8 csync_memstat_check@Base 0.50.8 csync_merge_file_trees@Base 0.50.8 csync_propagate@Base 0.50.8 csync_propagate_files@Base 0.50.8 csync_reconcile@Base 0.50.8 csync_reconcile_updates@Base 0.50.8 csync_set_auth_callback@Base 0.50.8 csync_set_config_dir@Base 0.50.8 csync_set_local_only@Base 0.50.8 csync_set_log_callback@Base 0.50.8 csync_set_statedb_exists@Base 0.50.8 csync_set_status@Base 0.50.8 csync_set_userdata@Base 0.50.8 csync_statedb_close@Base 0.50.8 csync_statedb_create_tables@Base 0.50.8 csync_statedb_drop_tables@Base 0.50.8 csync_statedb_get_stat_by_hash@Base 0.50.8 csync_statedb_get_stat_by_inode@Base 0.50.8 csync_statedb_insert@Base 0.50.8 csync_statedb_insert_metadata@Base 0.50.8 csync_statedb_load@Base 0.50.8 csync_statedb_query@Base 0.50.8 csync_statedb_write@Base 0.50.8 csync_timediff@Base 0.50.8 csync_unix_extensions@Base 0.50.8 csync_update@Base 0.50.8 csync_version@Base 0.50.8 csync_vio_chmod@Base 0.50.8 csync_vio_chown@Base 0.50.8 csync_vio_close@Base 0.50.8 csync_vio_closedir@Base 0.50.8 csync_vio_creat@Base 0.50.8 csync_vio_file_stat_destroy@Base 0.50.8 csync_vio_file_stat_new@Base 0.50.8 csync_vio_handle_destroy@Base 0.50.8 csync_vio_handle_new@Base 0.50.8 csync_vio_init@Base 0.50.8 csync_vio_local_chmod@Base 0.50.8 csync_vio_local_chown@Base 0.50.8 csync_vio_local_close@Base 0.50.8 csync_vio_local_closedir@Base 0.50.8 csync_vio_local_creat@Base 0.50.8 csync_vio_local_lseek@Base 0.50.8 csync_vio_local_mkdir@Base 0.50.8 csync_vio_local_open@Base 0.50.8 csync_vio_local_opendir@Base 0.50.8 csync_vio_local_read@Base 0.50.8 csync_vio_local_readdir@Base 0.50.8 csync_vio_local_rename@Base 0.50.8 csync_vio_local_rmdir@Base 0.50.8 csync_vio_local_stat@Base 0.50.8 csync_vio_local_unlink@Base 0.50.8 csync_vio_local_utimes@Base 0.50.8 csync_vio_local_write@Base 0.50.8 csync_vio_lseek@Base 0.50.8 csync_vio_mkdir@Base 0.50.8 csync_vio_mkdirs@Base 0.50.8 csync_vio_open@Base 0.50.8 csync_vio_opendir@Base 0.50.8 csync_vio_read@Base 0.50.8 csync_vio_readdir@Base 0.50.8 csync_vio_rename@Base 0.50.8 csync_vio_rmdir@Base 0.50.8 csync_vio_shutdown@Base 0.50.8 csync_vio_stat@Base 0.50.8 csync_vio_unlink@Base 0.50.8 csync_vio_utimes@Base 0.50.8 csync_vio_write@Base 0.50.8 csync_walk_local_tree@Base 0.50.8 csync_walk_remote_tree@Base 0.50.8 csync_walker@Base 0.50.8 ini_parse@Base 0.50.8 ini_parse_file@Base 0.50.8 debian/libcsync-plugin-smb.install0000664000000000000000000000003612015126103014427 0ustar usr/lib/csync-0/csync_smb.so debian/libcsync-plugin-sftp.install0000664000000000000000000000003712015126077014635 0ustar usr/lib/csync-0/csync_sftp.so debian/patches/0000775000000000000000000000000012015130166010612 5ustar debian/patches/md5_mhash.patch0000664000000000000000000000473412015130226013505 0ustar Description: Use mhash instead of OpenSSL to calculate MD5 hashes to avoid GPL+OpenSSL license conflicts. Author: Felix Geyer --- csync-owncloud-0.50.8.orig/src/CMakeLists.txt +++ csync-owncloud-0.50.8/src/CMakeLists.txt @@ -3,11 +3,7 @@ project(libcsync C) add_subdirectory(std) find_package(SQLite3 REQUIRED) -if(CMAKE_CROSSCOMPILING) - find_package(OpenSSLCross REQUIRED) -else() - find_package(OpenSSL REQUIRED) -endif() +find_library(MHASH_LIBRARY mhash) set(CSYNC_PUBLIC_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} @@ -31,7 +26,7 @@ set(CSYNC_LINK_LIBRARIES ${CSYNC_LIBRARY} ${CSTDLIB_LIBRARY} ${CSYNC_REQUIRED_LIBRARIES} - ${OPENSSL_LIBRARIES} + ${MHASH_LIBRARY} ${SQLITE3_LIBRARIES} ) --- csync-owncloud-0.50.8.orig/src/csync_util.c +++ csync-owncloud-0.50.8/src/csync_util.c @@ -32,13 +32,7 @@ #include "csync_util.h" #include "vio/csync_vio.h" -#if defined(__APPLE__) -# define COMMON_DIGEST_FOR_OPENSSL -# include -# define SHA1 CC_SHA1 -#else -# include -#endif +#include #define CSYNC_LOG_CATEGORY_NAME "csync.util" #include "csync_log.h" @@ -354,7 +348,7 @@ char* csync_file_md5(const char *filenam { const char *tmpFileName; int fd; - MD5_CTX c; + MHASH c; char buf[ BUF_SIZE+1 ]; unsigned char digest[16]; size_t size; @@ -364,13 +358,13 @@ char* csync_file_md5(const char *filenam if ( (fd = _topen( tmpFileName, O_RDONLY )) < 0) { return NULL; } else { - MD5_Init(&c); + c = mhash_init(MHASH_MD5); while( (size=read(fd, buf, BUF_SIZE )) > 0) { buf[size]='\0'; - MD5_Update(&c, buf, size); + mhash(c, buf, size); } close(fd); - MD5_Final(digest, &c); + mhash_deinit(c, digest); } c_free_multibyte(tmpFileName); @@ -379,22 +373,22 @@ char* csync_file_md5(const char *filenam char* csync_buffer_md5(const char *str, int length) { - MD5_CTX c; + MHASH c; unsigned char digest[16]; - MD5_Init(&c); + c = mhash_init(MHASH_MD5); while (length > 0) { if (length > 512) { - MD5_Update(&c, str, 512); + mhash(c, str, 512); } else { - MD5_Update(&c, str, length); + mhash(c, str, length); } length -= 512; str += 512; } - MD5_Final(digest, &c); + mhash_deinit(c, digest); return digest_to_out(digest); } debian/patches/series0000664000000000000000000000010212015130172012015 0ustar 0001-csync_config-Drop-iniparser-dependency.patch md5_mhash.patch debian/patches/0001-csync_config-Drop-iniparser-dependency.patch0000664000000000000000000003231412012222127021664 0ustar From 89566756bbb98a778b83e3f5c3d57a266ef9dd02 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 28 Apr 2012 20:03:37 +0200 Subject: [PATCH] csync_config: Drop iniparser dependency Instead of using iniparser to parse three settings out of an ini-file, use an embedded copy of inih (http://code.google.com/p/inih/). This has the advantage of trimming the dependencies, and making csync easier to compile on distributions that do not include iniparser, such as Debian. Signed-off-by: Gergely Nagy --- INSTALL | 1 - cmake/Modules/FindIniparser.cmake | 38 ---------- src/CMakeLists.txt | 4 +- src/csync_config.c | 61 +++++++++++---- src/ini.c | 149 +++++++++++++++++++++++++++++++++++++ src/ini.h | 55 ++++++++++++++ 6 files changed, 251 insertions(+), 57 deletions(-) delete mode 100644 cmake/Modules/FindIniparser.cmake create mode 100644 src/ini.c create mode 100644 src/ini.h Index: csync-0.50.8/INSTALL =================================================================== --- csync-0.50.8.orig/INSTALL 2012-08-10 10:40:37.000000000 +0100 +++ csync-0.50.8/INSTALL 2012-08-13 16:58:55.169036587 +0100 @@ -12,7 +12,6 @@ - [log4c](http://log4c.sourceforge.net) >= 1.2 - [sqlite3](http://www.sqlite.org) >= 3.4 -- [libiniparser](http://ndevilla.free.fr/iniparser/) >= 2.10 - [libsmbclient](http://www.samba.org) >= 3.5 - [libssh](http://www.libssh.org) >= 0.5 Index: csync-0.50.8/src/CMakeLists.txt =================================================================== --- csync-0.50.8.orig/src/CMakeLists.txt 2012-08-10 10:42:04.000000000 +0100 +++ csync-0.50.8/src/CMakeLists.txt 2012-08-13 16:59:16.377331452 +0100 @@ -3,7 +3,6 @@ add_subdirectory(std) find_package(SQLite3 REQUIRED) -find_package(Iniparser REQUIRED) if(CMAKE_CROSSCOMPILING) find_package(OpenSSLCross REQUIRED) else() @@ -18,7 +17,6 @@ set(CSYNC_PRIVATE_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIRS} - ${INIPARSER_INCLUDE_DIRS} ${SQLITE3_INCLUDE_DIRS} ${CSTDLIB_PUBLIC_INCLUDE_DIRS} ${CMAKE_BINARY_DIR} @@ -33,7 +31,6 @@ ${CSYNC_LIBRARY} ${CSTDLIB_LIBRARY} ${CSYNC_REQUIRED_LIBRARIES} - ${INIPARSER_LIBRARIES} ${OPENSSL_LIBRARIES} ${SQLITE3_LIBRARIES} ) @@ -45,6 +42,7 @@ set(csync_SRCS csync.c + ini.c csync_config.c csync_exclude.c csync_statedb.c Index: csync-0.50.8/src/csync_config.c =================================================================== --- csync-0.50.8.orig/src/csync_config.c 2012-08-10 10:42:04.000000000 +0100 +++ csync-0.50.8/src/csync_config.c 2012-08-13 16:58:55.169036587 +0100 @@ -20,12 +20,11 @@ #include "config.h" -#include - #include "c_lib.h" #include "c_private.h" #include "csync_private.h" #include "csync_config.h" +#include "ini.h" #define CSYNC_LOG_CATEGORY_NAME "csync.config" #include "csync_log.h" @@ -68,9 +67,47 @@ return re; } -int csync_config_load(CSYNC *ctx, const char *config) { - dictionary *dict; +static int csync_config_handle(void *user_data, const char *section, + const char *name, const char *value) { + CSYNC *ctx = (CSYNC *)user_data; + + if (strcmp(section, "global") != 0) { + return 1; + } + + if (strcmp(name, "max_depth") == 0) { + ctx->options.max_depth = atoi(value); + return 1; + } + + if (strcmp(name, "max_time_difference") == 0) { + ctx->options.max_time_difference = atoi(value); + return 1; + } + + if (strcmp(name, "sync_symbolic_links") == 0) { + switch (value[0]) { + case 'y': + case 'Y': + case 't': + case 'T': + case '1': + ctx->options.sync_symbolic_links = 1; + return 1; + case 'n': + case 'N': + case 'f': + case 'F': + case '0': + ctx->options.sync_symbolic_links = 0; + return 1; + } + } + return 1; +} + +int csync_config_load(CSYNC *ctx, const char *config) { /* copy default config, if no config exists */ if (! c_isfile(config)) { if (_csync_config_copy_default(config) < 0) { @@ -78,27 +115,21 @@ } } - dict = iniparser_load(config); - if (dict == NULL) { + ctx->options.max_depth = MAX_DEPTH; + ctx->options.max_time_difference = MAX_TIME_DIFFERENCE; + ctx->options.sync_symbolic_links = 0; + + if (ini_parse(config, csync_config_handle, (void *)ctx) < 0) { return -1; } - ctx->options.max_depth = iniparser_getint(dict, "global:max_depth", MAX_DEPTH); CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Config: max_depth = %d", ctx->options.max_depth); - - ctx->options.max_time_difference = iniparser_getint(dict, - "global:max_time_difference", MAX_TIME_DIFFERENCE); CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Config: max_time_difference = %d", ctx->options.max_time_difference); - - ctx->options.sync_symbolic_links = iniparser_getboolean(dict, - "global:sync_symbolic_links", 0); CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Config: sync_symbolic_links = %d", ctx->options.sync_symbolic_links); - iniparser_freedict(dict); - return 0; } Index: csync-0.50.8/src/ini.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ csync-0.50.8/src/ini.c 2012-08-13 16:58:55.169036587 +0100 @@ -0,0 +1,149 @@ +/* inih -- simple .INI file parser + +inih is released under the New BSD license (see LICENSE.txt). Go to the project +home page for more info: + +http://code.google.com/p/inih/ + +*/ + +#include +#include +#include + +#include "ini.h" + +#define MAX_LINE 200 +#define MAX_SECTION 50 +#define MAX_NAME 50 + +/* Strip whitespace chars off end of given string, in place. Return s. */ +static char* rstrip(char* s) +{ + char* p = s + strlen(s); + while (p > s && isspace(*--p)) + *p = '\0'; + return s; +} + +/* Return pointer to first non-whitespace char in given string. */ +static char* lskip(const char* s) +{ + while (*s && isspace(*s)) + s++; + return (char*)s; +} + +/* Return pointer to first char c or ';' comment in given string, or pointer to + null at end of string if neither found. ';' must be prefixed by a whitespace + character to register as a comment. */ +static char* find_char_or_comment(const char* s, char c) +{ + int was_whitespace = 0; + while (*s && *s != c && !(was_whitespace && *s == ';')) { + was_whitespace = isspace(*s); + s++; + } + return (char*)s; +} + +/* Version of strncpy that ensures dest (size bytes) is null-terminated. */ +static char* strncpy0(char* dest, const char* src, size_t size) +{ + strncpy(dest, src, size); + dest[size - 1] = '\0'; + return dest; +} + +/* See documentation in header file. */ +int ini_parse_file(FILE* file, + int (*handler)(void*, const char*, const char*, + const char*), + void* user) +{ + /* Uses a fair bit of stack (use heap instead if you need to) */ + char line[MAX_LINE]; + char section[MAX_SECTION] = ""; + char prev_name[MAX_NAME] = ""; + + char* start; + char* end; + char* name; + char* value; + int lineno = 0; + int error = 0; + + /* Scan through file line by line */ + while (fgets(line, sizeof(line), file) != NULL) { + lineno++; + start = lskip(rstrip(line)); + + if (*start == ';' || *start == '#') { + /* Per Python ConfigParser, allow '#' comments at start of line */ + } +#if INI_ALLOW_MULTILINE + else if (*prev_name && *start && start > line) { + /* Non-black line with leading whitespace, treat as continuation + of previous name's value (as per Python ConfigParser). */ + if (!handler(user, section, prev_name, start) && !error) + error = lineno; + } +#endif + else if (*start == '[') { + /* A "[section]" line */ + end = find_char_or_comment(start + 1, ']'); + if (*end == ']') { + *end = '\0'; + strncpy0(section, start + 1, sizeof(section)); + *prev_name = '\0'; + } + else if (!error) { + /* No ']' found on section line */ + error = lineno; + } + } + else if (*start && *start != ';') { + /* Not a comment, must be a name[=:]value pair */ + end = find_char_or_comment(start, '='); + if (*end != '=') { + end = find_char_or_comment(start, ':'); + } + if (*end == '=' || *end == ':') { + *end = '\0'; + name = rstrip(start); + value = lskip(end + 1); + end = find_char_or_comment(value, '\0'); + if (*end == ';') + *end = '\0'; + rstrip(value); + + /* Valid name[=:]value pair found, call handler */ + strncpy0(prev_name, name, sizeof(prev_name)); + if (!handler(user, section, name, value) && !error) + error = lineno; + } + else if (!error) { + /* No '=' or ':' found on name[=:]value line */ + error = lineno; + } + } + } + + return error; +} + +/* See documentation in header file. */ +int ini_parse(const char* filename, + int (*handler)(void*, const char*, const char*, const char*), + void* user) +{ + FILE* file; + int error; + + file = fopen(filename, "r"); + if (!file) + return -1; + error = ini_parse_file(file, handler, user); + fclose(file); + return error; +} Index: csync-0.50.8/src/ini.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ csync-0.50.8/src/ini.h 2012-08-13 16:58:55.169036587 +0100 @@ -0,0 +1,55 @@ +/* inih -- simple .INI file parser + +inih is released under the New BSD license (see LICENSE.txt). Go to the project +home page for more info: + +http://code.google.com/p/inih/ + +*/ + +#ifndef __INI_H__ +#define __INI_H__ + +/* Make this header file easier to include in C++ code */ +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/* Parse given INI-style file. May have [section]s, name=value pairs + (whitespace stripped), and comments starting with ';' (semicolon). Section + is "" if name=value pair parsed before any section heading. name:value + pairs are also supported as a concession to Python's ConfigParser. + + For each name=value pair parsed, call handler function with given user + pointer as well as section, name, and value (data only valid for duration + of handler call). Handler should return nonzero on success, zero on error. + + Returns 0 on success, line number of first error on parse error (doesn't + stop on first error), or -1 on file open error. +*/ +int ini_parse(const char* filename, + int (*handler)(void* user, const char* section, + const char* name, const char* value), + void* user); + +/* Same as ini_parse(), but takes a FILE* instead of filename. This doesn't + close the file when it's finished -- the caller must do that. */ +int ini_parse_file(FILE* file, + int (*handler)(void* user, const char* section, + const char* name, const char* value), + void* user); + +/* Nonzero to allow multi-line value parsing, in the style of Python's + ConfigParser. If allowed, ini_parse() will call the handler with the same + name for each subsequent line parsed. */ +#ifndef INI_ALLOW_MULTILINE +#define INI_ALLOW_MULTILINE 1 +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __INI_H__ */ Index: csync-0.50.8/cmake/Modules/FindIniparser.cmake =================================================================== --- csync-0.50.8.orig/cmake/Modules/FindIniparser.cmake 2012-08-10 10:42:04.000000000 +0100 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,40 +0,0 @@ -# - Try to find Iniparser -# Once done this will define -# -# INIPARSER_FOUND - system has Iniparser -# INIPARSER_INCLUDE_DIRS - the Iniparser include directory -# INIPARSER_LIBRARIES - Link these to use Iniparser -# INIPARSER_DEFINITIONS - Compiler switches required for using Iniparser -# -# Copyright (c) 2007 Andreas Schneider -# (c) 2012 Dominik Schmidt -# -# Redistribution and use is allowed according to the terms of the New -# BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -# - -include(GNUInstallDirs) - -find_path(INIPARSER_INCLUDE_DIRS - NAMES - iniparser.h - HINTS - ${CMAKE_INSTALL_INCLUDEDIR} -) - -find_library(INIPARSER_LIBRARIES - NAMES - iniparser - HINTS - ${CMAKE_INSTALL_PREFIX}/lib - ${CMAKE_INSTALL_PREFIX}/lib64 - ${CMAKE_INSTALL_LIBDIR} -) - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Iniparser - REQUIRED_VARS INIPARSER_LIBRARIES INIPARSER_INCLUDE_DIRS -) - - debian/csync-owncloud.install0000664000000000000000000000014512015127562013530 0ustar usr/bin/csync usr/share/man/man1/csync.1 usr/share/doc/csync/userguide usr/share/doc/csync-owncloud/ debian/control0000664000000000000000000000467512015124216010601 0ustar Source: csync-owncloud Section: net Priority: optional Maintainer: Kubuntu Developers XSBC-Original-Maintainer: Thomas Müller Build-Depends: debhelper (>= 9), cmake, libsqlite3-dev, libneon27-gnutls-dev, libssh-dev, libsmbclient-dev, check, libmhash-dev Standards-Version: 3.9.3 Homepage: http://owncloud.org/dev/sync-clients/linux-build/ Package: csync-owncloud Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libcsync0 (= ${binary:Version}) Description: user level bidirectional client only file synchronizer csync is an implementation of a file synchronizer which provides the feature of roaming home directories for Linux clients. . This is the version of csync used by OwnCloud. Package: libcsync0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libcsync-plugin-smb, libcsync-plugin-sftp Description: library for user level bidirectional client only file synchronizer csync is an implementation of a file synchronizer which provides the feature of roaming home directories for Linux clients. . This is the version of csync used by OwnCloud. Package: libcsync-plugin-smb Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libcsync0 (= ${binary:Version}) Description: SMB plugin for csync This plug-in allows applications using csync to synchronize with a Samba or Windows server. . This is the version of csync used by OwnCloud. Package: libcsync-plugin-sftp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libcsync0 (= ${binary:Version}) Description: SFTP plugin for csync This plug-in allows applications using csync to synchronize with an SFTP server. . This is the version of csync used by OwnCloud. Package: libcsync-plugin-owncloud Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libcsync0 (= ${binary:Version}) Description: OwnCloud plugin for csync This plug-in allows applications using csync to synchronize with an OwnCloud server. . This is the version of csync used by OwnCloud. Package: libcsync-dev Architecture: any Section: libdevel Depends: libcsync0 (= ${binary:Version}), ${misc:Depends} Description: library for user level bidirectional client only file synchronizer csync is an implementation of a file synchronizer which provides the feature of roaming home directories for Linux clients. . This is the version of csync used by OwnCloud. . This package contains the library development files. debian/libcsync-plugin-owncloud.install0000664000000000000000000000004312015126073015504 0ustar usr/lib/csync-0/csync_owncloud.so debian/compat0000664000000000000000000000000212012221666010364 0ustar 9 debian/changelog0000664000000000000000000000115512015130270011033 0ustar csync-owncloud (0.50.8-0ubuntu2) quantal; urgency=low * Use mhash instead of OpenSSL to calculate MD5 hashes to avoid GPL+OpenSSL license conflicts. * Add a symbols file. * Enable parallel building. * Install csync user guide. -- Felix Geyer Wed, 22 Aug 2012 11:38:47 +0200 csync-owncloud (0.50.8-0ubuntu1) quantal; urgency=low * New upstream release -- Jonathan Riddell Mon, 13 Aug 2012 16:56:40 +0100 csync-owncloud (0.50.7-0ubuntu1) quantal; urgency=low * Initial release. -- Jonathan Riddell Thu, 19 Jul 2012 16:44:59 +0100 debian/source/0000775000000000000000000000000012012221666010466 5ustar debian/source/format0000664000000000000000000000001412012221666011674 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000036412015127121010243 0ustar #!/usr/bin/make -f %: dh $@ --parallel override_dh_auto_configure: dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_LOG4C=OFF \ -DLOG_TO_CALLBACK=ON -DSYSCONF_INSTALL_DIR=/etc override_dh_install: dh_install --fail-missing debian/libcsync0.install0000664000000000000000000000003312015126067012442 0ustar usr/lib/libcsync.so.0* etc debian/libcsync-dev.install0000664000000000000000000000004712015126060013134 0ustar usr/include/csync usr/lib/libcsync.so debian/copyright0000664000000000000000000000536312012221666011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: csync Upstream-Contact: Klaas Freitag Source: http://owncloud.org/dev/sync-clients/linux-build/ Files: * Copyright: 2008 Andreas Schneider 2012 Klaas Freitag License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems a full copy of the GPL 2 can be found at /usr/share/common-licenses/GPL-2 Files: cmake/Modules/* Copyright: 2007-2011 Andreas Schneider 2011 Nikita Krupen'ko 2011 Kitware, Inc. 2007 Daniel Gollub, 2006 Oswald Buddenhagen, 2006 Laurent Montel, 2007, Daniel Gollub, License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.