debian/0000755000000000000000000000000012217115702007164 5ustar debian/compat0000644000000000000000000000000212217065451010367 0ustar 7 debian/rules0000755000000000000000000000072212217115236010247 0ustar #!/usr/bin/make -f DH_CMAKE_BUILD_DIR=obj-${DEB_BUILD_GNU_TYPE} DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ --with python2 --buildsystem cmake --fail-missing override_dh_auto_configure: dh_auto_configure -- -DBUILD_SHARED_LIBS=1 -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) override_dh_auto_test: dh_auto_build -- check-nodoctests override_dh_auto_clean: dh_auto_clean find . -name \*.pyc -exec rm {} \; rm -f src/u1db_schema.c debian/changelog0000644000000000000000000000510412217115652011042 0ustar u1db (13.09-0ubuntu1) saucy; urgency=low * New upstream release. - Remove upstreamed patches. * debian/control, debian/tests: - Add autopkgtest config. * debian/rules: - Add DEB_HOST_MULTIARCH definition check to avoid failing in adt-run. -- Rodney Dawes Fri, 20 Sep 2013 15:01:32 -0400 u1db (13.08-0ubuntu1) saucy; urgency=low * New upstream release. * debian/patches/00_bzr-python-rpath.patch: - Add patch from bzr to add rpath to cython module for tests. * debian/rules: - Do not need to set LD_LIBRARY_PATH when rpath is used. * debian/libu1db1.symbosl: - Update for new symbol addition from 13.05 build. -- Rodney Dawes Wed, 07 Aug 2013 11:01:55 -0400 u1db (13.05-0ubuntu1) saucy; urgency=low * New upstream release. * debian/control: - Update standards version to 3.9.4. * debian/rules: - Update test rule to use correct rule for tests. * debian/watch: - Update watch file for new series. -- Rodney Dawes Wed, 05 Jun 2013 13:09:08 -0400 u1db (0.1.4-0ubuntu2) raring; urgency=low * debian/control: - Add new u1db-tools package for extra tool scripts. - Remove unneeded build dependencies. - Be more explicit with deps on the python-u1db package. * debian/rules: - Don't remove the extra tool scripts on install. - Don't support building on Lucid any longer. * debian/u1db-tools.install: - Add install file for extra tool scripts package. -- Rodney Dawes Wed, 07 Nov 2012 15:06:25 -0500 u1db (0.1.4-0ubuntu1) quantal; urgency=low * New upstream release. - Improvements to documentation. - Improvements to tests, and allow tests to be more reusable. - Improvements to synchronization support and authentication. -- Rodney Dawes Wed, 03 Oct 2012 16:24:15 -0400 u1db (0.1.2-0ubuntu1) quantal; urgency=low * New upstream release. - Updated documentation. * debian/watch: - Update watch file to use glob for compression format. -- Rodney Dawes Wed, 29 Aug 2012 15:07:41 -0400 u1db (0.1.1-0ubuntu2) quantal; urgency=low * debian/control: - Require ca-certificates package for the tests. * debian/rules: - Use check-nodoc rule instead of check-valgrind, to build on ppc. -- Rodney Dawes Thu, 23 Aug 2012 13:19:42 -0400 u1db (0.1.1-0ubuntu1) quantal; urgency=low * Initial packaging for u1db. (LP: #1035392) -- Rodney Dawes Wed, 15 Aug 2012 13:22:49 -0400 debian/python-u1db.install0000644000000000000000000000004012217065451012725 0ustar usr/lib/python2.*/*-packages/* debian/u1db-tools.install0000644000000000000000000000005012217065451012545 0ustar usr/bin/u1db-client usr/bin/u1db-serve debian/libu1db1.symbols0000644000000000000000000000541112217065451012207 0ustar libu1db.so.1 libu1db1 #MINVER# * Build-Depends-Package: libu1db-dev OPERATIONS@Base 0.1.1 u1db__allocate_doc_id@Base 0.1.1 u1db__allocate_document@Base 0.1.1 u1db__bin_to_hex@Base 0.1.1 u1db__copy@Base 0.1.1 u1db__copy_record@Base 0.1.1 u1db__create_http_sync_target@Base 0.1.1 u1db__create_oauth_http_sync_target@Base 0.1.1 u1db__create_record@Base 0.1.1 u1db__find_unique_expressions@Base 0.1.1 u1db__format_index_keys_query@Base 0.1.1 u1db__format_query@Base 0.1.1 u1db__format_range_query@Base 0.1.1 u1db__format_sync_url@Base 0.1.1 u1db__free_records@Base 0.1.1 u1db__free_sync_target@Base 0.1.1 u1db__free_table@Base 0.1.1 u1db__free_vectorclock@Base 0.1.1 u1db__generate_hex_uuid@Base 0.1.1 u1db__get_document_size_limit@Base 0.1.1 u1db__get_generation@Base 0.1.1 u1db__get_generation_info@Base 0.1.1 u1db__get_oauth_authorization@Base 0.1.1 u1db__get_replica_gen_and_trans_id@Base 0.1.1 u1db__get_sync_target@Base 0.1.1 u1db__get_trans_id_for_gen@Base 0.1.1 u1db__get_transaction_log@Base 0.1.1 u1db__index_all_docs@Base 0.1.1 u1db__is_doc_id_valid@Base 0.1.1 u1db__process_doc@Base 13.05 u1db__put_doc_if_newer@Base 0.1.1 u1db__random_bytes@Base 0.1.1 u1db__schema@Base 0.1.1 u1db__schema_len@Base 0.1.1 u1db__set_replica_gen_and_trans_id@Base 0.1.1 u1db__set_zero_delays@Base 0.1.1 u1db__sql_close@Base 0.1.1 u1db__sql_is_open@Base 0.1.1 u1db__sql_run@Base 0.1.1 u1db__sync_db_to_target@Base 0.1.1 u1db__sync_exchange_find_doc_ids_to_return@Base 0.1.1 u1db__sync_exchange_insert_doc_from_source@Base 0.1.1 u1db__sync_exchange_return_docs@Base 0.1.1 u1db__sync_exchange_seen_ids@Base 0.1.1 u1db__update_indexes@Base 0.1.1 u1db__validate_source@Base 0.1.1 u1db__vectorclock_as_str@Base 0.1.1 u1db__vectorclock_from_str@Base 0.1.1 u1db__vectorclock_increment@Base 0.1.1 u1db__vectorclock_is_newer@Base 0.1.1 u1db__vectorclock_maximize@Base 0.1.1 u1db_create_doc_from_json@Base 0.1.1 u1db_create_index@Base 0.1.1 u1db_create_index_list@Base 0.1.1 u1db_delete_doc@Base 0.1.1 u1db_delete_index@Base 0.1.1 u1db_doc_get_size@Base 0.1.1 u1db_doc_set_json@Base 0.1.1 u1db_free@Base 0.1.1 u1db_free_doc@Base 0.1.1 u1db_free_query@Base 0.1.1 u1db_get_all_docs@Base 0.1.1 u1db_get_doc@Base 0.1.1 u1db_get_doc_conflicts@Base 0.1.1 u1db_get_docs@Base 0.1.1 u1db_get_from_index@Base 0.1.1 u1db_get_from_index_list@Base 0.1.1 u1db_get_index_keys@Base 0.1.1 u1db_get_range_from_index@Base 0.1.1 u1db_get_replica_uid@Base 0.1.1 u1db_list_indexes@Base 0.1.1 u1db_open@Base 0.1.1 u1db_put_doc@Base 0.1.1 u1db_query_init@Base 0.1.1 u1db_resolve_doc@Base 0.1.1 u1db_set_document_size_limit@Base 0.1.1 u1db_set_replica_uid@Base 0.1.1 u1db_simple_lookup1@Base 0.1.1 u1db_sync@Base 0.1.1 u1db_validate_gen_and_trans_id@Base 0.1.1 u1db_whats_changed@Base 0.1.1 debian/source/0000755000000000000000000000000012217115702010464 5ustar debian/source/format0000644000000000000000000000001512217065451011700 0ustar 3.0 (quilt) debian/libu1db1.install0000644000000000000000000000003112217065451012156 0ustar usr/lib/*/libu1db.so.1* debian/copyright0000644000000000000000000000255112217065451011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: * Copyright: (C) 2011-2012 Canonical Ltd. License: LGPL-3 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 3. . 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . The full text of the LGPL v3 is distributed in /usr/share/common-licenses/LGPL-3 on Debian systems. Files: src/mkstemp_compat.c: Copyright: (C) 1991-1999, 2000, 2001, 2006 Free Software Foundation, Inc License: LGPL-2.1+ The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . The full text of the LGPL v2.1 is distributed in /usr/share/common-licenses/LGPL-2.1 on Debian systems. debian/libu1db-dev.install0000644000000000000000000000004712217065451012660 0ustar usr/include/u1db usr/lib/*/libu1db.so debian/control0000644000000000000000000000465612217072175010610 0ustar Source: u1db Section: libs Priority: extra Build-Depends: ca-certificates, cmake, cython, debhelper (>= 7.0.50), libcurl4-nss-dev | libcurl4-gnutls-dev | libcurl4-openssl-dev, libjson0-dev, liboauth-dev, libsqlite3-dev, python-all (>= 2.6.6-3) | python-support (>= 0.6.4), python-all-dev (>= 2.6), python-dirspec, python-oauth, python-openssl, python-paste, python-routes, python-setuptools, python-simplejson, python-testscenarios, python-testtools Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Ubuntu One Developers Standards-Version: 3.9.4 X-Python-Version: >= 2.6 XS-Testsuite: autopkgtest Package: python-u1db Section: python Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-dirspec, python-oauth, python-openssl, python-paste, python-routes, python-simplejson Description: Ubuntu One structured data storage - Python API An API for storing structured data which can be synchronized across a network connection, including to the Ubuntu One service. . This package includes the Python implementation of the API. Package: libu1db1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends}, multiarch-support Depends: ${misc:Depends}, ${shlibs:Depends} Description: Ubuntu One structured data storage - C API An API for storing structured data which can be synchronized across a network connection, including to the Ubuntu One service. . This package includes the C implementation of the API. Package: libu1db-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, libcurl4-nss-dev | libcurl4-gnutls-dev | libcurl4-openssl-dev, libjson0-dev, liboauth-dev, libsqlite3-dev, libu1db1 (= ${binary:Version}), Description: Ubuntu One structured data storage - C API development files An API for storing structured data which can be synchronized across a network connection, including to the Ubuntu One service. . This package includes the development files for the u1db C API. Package: u1db-tools Section: python Architecture: any Depends: ${misc:Depends}, ${python:Depends}, python-u1db (= ${source:Version}) Description: ubuntu One structured data storage - Developer Tools An API for storing structured data which can be synchronized across a network connection, including to the Ubuntu One service. . This package includes developer tools for working with u1db. debian/watch0000644000000000000000000000011412217065451010216 0ustar version=3 http://launchpad.net/u1db/stable-13-10 .*/u1db-([0-9.]+)\.tar\..* debian/tests/0000755000000000000000000000000012217115702010326 5ustar debian/tests/run-tests0000755000000000000000000000061012217072347012224 0ustar #!/bin/sh set -ex # Do nothing here. We don't need to run the tests multiple times, and they # are already being run during the build phase of the autopkgtest, as we # require a built tree to run them, and the tests are run as part of the # normal package build process. We do want to test that things install, though # and at least one test is actually required, for autopkgtest to work. debian/tests/control0000644000000000000000000000065012217114712011732 0ustar Tests: run-tests Restrictions: rw-build-tree build-needed allow-stderr Depends: @, cmake, cython, libcurl4-nss-dev | libcurl4-gnutls-dev | libcurl4-openssl-dev, libjson0-dev, liboauth-dev, libsqlite3-dev, python-all (>= 2.6.6-3), python-all-dev (>= 2.6), python-dirspec, python-oauth, python-openssl, python-paste, python-routes, python-setuptools, python-simplejson, python-testscenarios, python-testtools