debian/0000755000000000000000000000000012205172626007171 5ustar debian/changelog0000644000000000000000000000304112205172626011041 0ustar libgit2 (0.19.0-2) experimental; urgency=low * Added correct dependencies to development package. (Closes: #715173) * Standards upgrade to version 3.9.4. * Multi-arch support. * Manually specified symbols instead of relying on regex. -- Russell Sim Wed, 20 Aug 2013 22:33:20 +1000 libgit2 (0.19.0-1) experimental; urgency=low * Enable threading. (Closes: #700181) -- Russell Sim Tue, 02 Jul 2013 19:43:00 +1000 libgit2 (0.18.0-2) experimental; urgency=low * Disable online tests. Thanks to Felix Geyer for the heads up. (Closes: #712300) -- Russell Sim Mon, 17 Jun 2013 23:11:15 +1000 libgit2 (0.18.0-1) experimental; urgency=low [ Russell Sim ] * Added examples to dev package. [ Carlos Martín Nieto ] * Build-Depend on python-minimal instead of -all * BUILD_TESTS isn't used in this project [ Russell Sim ] * New upstream release 0.18.0. -- Russell Sim Tue, 30 Apr 2013 00:55:09 +1000 libgit2 (0.17.0-1) experimental; urgency=low * New Upstream Release. * debian/patches/build_static.patch: Enables building as both static and dynamic library. * debian/rules: Added CMAKE_BUILD_TYPE=RelWithDebInfo to rules file. * debian/compat: Updated to 9, adds support for hardening. -- Russell Sim Sun, 20 May 2012 21:34:12 +1000 libgit2 (0.16.0-1) experimental; urgency=low * Initial release (Closes: #614517) -- Russell Sim Tue, 06 Mar 2012 23:03:20 +1100 debian/compat0000644000000000000000000000000212205172626010367 0ustar 9 debian/control0000644000000000000000000000324312205172626010576 0ustar Source: libgit2 Section: libs Priority: extra Maintainer: Russell Sim Build-Depends: debhelper (>= 9.20120417), python-minimal (>= 2.4.0), cmake, libz-dev, libssl-dev, ca-certificates Standards-Version: 3.9.4 Homepage: http://libgit2.github.com/ Vcs-Git: git://anonscm.debian.org/users/arrsim-guest/libgit2.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/arrsim-guest/libgit2.git;a=summary Package: libgit2-dev Architecture: any Section: libdevel Multi-Arch: same Depends: libgit2-0 (= ${binary:Version}), libz-dev, libssl-dev, ${shlibs:Depends}, ${misc:Depends} Description: low-level Git library (development files) libgit2 is a portable, pure C implementation of the Git distributed version control system core methods provided as a re-entrant link-able library with a solid API. . This package contains the development files for libgit2. Package: libgit2-0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: low-level Git library libgit2 is a portable, pure C implementation of the Git distributed version control system core methods provided as a re-entrant link-able library with a solid API. Package: libgit2-dbg Section: debug Architecture: any Multi-Arch: same Depends: libgit2-0 (= ${binary:Version}), ${misc:Depends} Description: libgit2 library and debugging symbols libgit2 is a portable, pure C implementation of the Git distributed version control system core methods provided as a re-entrant link-able library with a solid API. . This package contains detached debugging symbols. . Most people will not need this package. debian/copyright0000644000000000000000000001565612205172626011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libgit2 Source: http://libgit2.github.com/ Files: * Copyright: Copyright (C) 2009-2012 the libgit2 contributors License: GPL-2 with linking exception libgit2 is Copyright (C) 2009-2011 the libgit2 contributors, unless otherwise stated. See the AUTHORS file for details. . Note that the only valid version of the GPL as far as this project is concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x or whatever), unless explicitly otherwise stated. . LINKING EXCEPTION . In addition to the permissions in the GNU General Public License, the authors give you unlimited permission to link the compiled version of this library into combinations with other programs, and to distribute those combinations without any restriction coming from the use of this file. (The General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into a combined executable.) . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". . ---------------------------------------------------------------------- . The priority queue implementation is based on code licensed under the Apache 2.0 license: . Copyright 2010 Volkan Yazıcı Copyright 2006-2010 The Apache Software Foundation . The full text of the Apache 2.0 license is available at: . http://www.apache.org/licenses/LICENSE-2.0 Files: tests-clar/clar Copyright: Copyright (C) 2011 by Vicent Marti License: MIT The Clar framework is licensed under the MIT license: . Copyright (C) 2011 by Vicent Marti . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: deps/http-parser/* Copyright: Igor Sysoev, Joyent, Inc. and other Node contributors License: MIT http_parser.c is based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev and licensed under the MIT license. . Additional changes are licensed under the same terms as NGINX and copyright Joyent, Inc. and other Node contributors. All rights reserved. . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: deps/zlib/* Copyright: Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler License: Zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. . Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu Files: deps/regex/* Copyright: Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003,2005,2006,2008 Free Software Foundation, Inc. License: LGPL-2.1 Free Software Foundation, Inc. This file is part of the GNU C Library. . 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 GNU C Library 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 the GNU C Library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Files: debian/* Copyright: 2011 Russell Sim License: GPL-2+ This package 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 package 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/docs0000644000000000000000000000000012205172626010032 0ustar debian/libgit2-0.install0000644000000000000000000000002412205172626012246 0ustar /usr/lib/*/lib*so.* debian/libgit2-0.lintian-overrides0000644000000000000000000000004112205172626014235 0ustar libgit2-0: no-upstream-changelog debian/libgit2-0.symbols0000644000000000000000000004325412205172626012304 0ustar libgit2.so.0 libgit2-0 #MINVER# git_attr_add_macro@Base 0.17.0 git_attr_cache_flush@Base 0.17.0 git_attr_foreach@Base 0.17.0 git_attr_get@Base 0.17.0 git_attr_get_many@Base 0.17.0 git_attr_value@Base 0.18.0 git_blob_create_frombuffer@Base 0.17.0 git_blob_create_fromchunks@Base 0.18.0 git_blob_create_fromdisk@Base 0.17.0 git_blob_create_fromworkdir@Base 0.18.0 git_blob_free@Base 0.19.0 git_blob_id@Base 0.19.0 git_blob_is_binary@Base 0.18.0 git_blob_lookup@Base 0.19.0 git_blob_lookup_prefix@Base 0.19.0 git_blob_owner@Base 0.19.0 git_blob_rawcontent@Base 0.17.0 git_blob_rawsize@Base 0.17.0 git_branch_create@Base 0.17.0 git_branch_delete@Base 0.17.0 git_branch_foreach@Base 0.18.0 git_branch_is_head@Base 0.18.0 git_branch_lookup@Base 0.18.0 git_branch_move@Base 0.17.0 git_branch_name@Base 0.18.0 git_branch_remote_name@Base 0.18.0 git_branch_set_upstream@Base 0.18.0 git_branch_upstream@Base 0.18.0 git_branch_upstream_name@Base 0.18.0 git_checkout_head@Base 0.18.0 git_checkout_index@Base 0.18.0 git_checkout_tree@Base 0.18.0 git_clone@Base 0.18.0 git_commit_author@Base 0.17.0 git_commit_committer@Base 0.17.0 git_commit_create@Base 0.17.0 git_commit_create_from_oids@Base 0.19.0 git_commit_create_v@Base 0.17.0 git_commit_free@Base 0.19.0 git_commit_id@Base 0.17.0 git_commit_lookup@Base 0.19.0 git_commit_lookup_prefix@Base 0.19.0 git_commit_message@Base 0.17.0 git_commit_message_encoding@Base 0.17.0 git_commit_nth_gen_ancestor@Base 0.18.0 git_commit_owner@Base 0.19.0 git_commit_parent@Base 0.17.0 git_commit_parent_id@Base 0.18.0 git_commit_parentcount@Base 0.17.0 git_commit_time@Base 0.17.0 git_commit_time_offset@Base 0.17.0 git_commit_tree@Base 0.17.0 git_commit_tree_id@Base 0.18.0 git_config_add_backend@Base 0.18.0 git_config_add_file_ondisk@Base 0.17.0 git_config_delete_entry@Base 0.18.0 git_config_find_global@Base 0.17.0 git_config_find_system@Base 0.17.0 git_config_find_xdg@Base 0.18.0 git_config_foreach@Base 0.17.0 git_config_foreach_match@Base 0.18.0 git_config_free@Base 0.17.0 git_config_get_bool@Base 0.17.0 git_config_get_entry@Base 0.18.0 git_config_get_int32@Base 0.17.0 git_config_get_int64@Base 0.17.0 git_config_get_mapped@Base 0.17.0 git_config_get_multivar@Base 0.17.0 git_config_get_string@Base 0.17.0 git_config_lookup_map_value@Base 0.18.0 git_config_new@Base 0.17.0 git_config_open_default@Base 0.18.0 git_config_open_global@Base 0.19.0 git_config_open_level@Base 0.18.0 git_config_open_ondisk@Base 0.17.0 git_config_parse_bool@Base 0.18.0 git_config_parse_int32@Base 0.18.0 git_config_parse_int64@Base 0.18.0 git_config_refresh@Base 0.18.0 git_config_set_bool@Base 0.17.0 git_config_set_int32@Base 0.17.0 git_config_set_int64@Base 0.17.0 git_config_set_multivar@Base 0.17.0 git_config_set_string@Base 0.17.0 git_cred_userpass@Base 0.18.0 git_cred_userpass_plaintext_new@Base 0.18.0 git_diff_blob_to_buffer@Base 0.18.0 git_diff_blobs@Base 0.17.0 git_diff_find_similar@Base 0.18.0 git_diff_foreach@Base 0.17.0 git_diff_get_patch@Base 0.18.0 git_diff_index_to_workdir@Base 0.18.0 git_diff_list_free@Base 0.17.0 git_diff_merge@Base 0.17.0 git_diff_num_deltas@Base 0.18.0 git_diff_num_deltas_of_type@Base 0.18.0 git_diff_patch_delta@Base 0.18.0 git_diff_patch_free@Base 0.18.0 git_diff_patch_from_blob_and_buffer@Base 0.19.0 git_diff_patch_from_blobs@Base 0.19.0 git_diff_patch_get_hunk@Base 0.18.0 git_diff_patch_get_line_in_hunk@Base 0.18.0 git_diff_patch_line_stats@Base 0.18.0 git_diff_patch_num_hunks@Base 0.18.0 git_diff_patch_num_lines_in_hunk@Base 0.18.0 git_diff_patch_print@Base 0.18.0 git_diff_patch_to_str@Base 0.18.0 git_diff_print_compact@Base 0.17.0 git_diff_print_patch@Base 0.17.0 git_diff_print_raw@Base 0.19.0 git_diff_status_char@Base 0.18.0 git_diff_tree_to_index@Base 0.18.0 git_diff_tree_to_tree@Base 0.17.0 git_diff_tree_to_workdir@Base 0.18.0 git_graph_ahead_behind@Base 0.18.0 git_ignore_add_rule@Base 0.18.0 git_ignore_clear_internal_rules@Base 0.18.0 git_ignore_path_is_ignored@Base 0.18.0 git_index_add@Base 0.17.0 git_index_add_all@Base 0.19.0 git_index_add_bypath@Base 0.18.0 git_index_caps@Base 0.18.0 git_index_clear@Base 0.17.0 git_index_conflict_add@Base 0.18.0 git_index_conflict_cleanup@Base 0.18.0 git_index_conflict_get@Base 0.18.0 git_index_conflict_iterator_free@Base 0.19.0 git_index_conflict_iterator_new@Base 0.19.0 git_index_conflict_next@Base 0.19.0 git_index_conflict_remove@Base 0.18.0 git_index_entry_stage@Base 0.17.0 git_index_entrycount@Base 0.17.0 git_index_find@Base 0.17.0 git_index_free@Base 0.17.0 git_index_get_byindex@Base 0.18.0 git_index_get_bypath@Base 0.18.0 git_index_has_conflicts@Base 0.18.0 git_index_name_add@Base 0.19.0 git_index_name_clear@Base 0.19.0 git_index_name_entrycount@Base 0.19.0 git_index_name_get_byindex@Base 0.19.0 git_index_new@Base 0.18.0 git_index_open@Base 0.17.0 git_index_owner@Base 0.18.0 git_index_read@Base 0.17.0 git_index_read_tree@Base 0.17.0 git_index_remove@Base 0.17.0 git_index_remove_all@Base 0.19.0 git_index_remove_bypath@Base 0.18.0 git_index_remove_directory@Base 0.18.0 git_index_reuc_add@Base 0.18.0 git_index_reuc_clear@Base 0.18.0 git_index_reuc_entrycount@Base 0.18.0 git_index_reuc_find@Base 0.18.0 git_index_reuc_get_byindex@Base 0.18.0 git_index_reuc_get_bypath@Base 0.18.0 git_index_reuc_remove@Base 0.18.0 git_index_set_caps@Base 0.18.0 git_index_update_all@Base 0.19.0 git_index_write@Base 0.17.0 git_index_write_tree@Base 0.18.0 git_index_write_tree_to@Base 0.18.0 git_indexer_stream_add@Base 0.17.0 git_indexer_stream_finalize@Base 0.17.0 git_indexer_stream_free@Base 0.17.0 git_indexer_stream_hash@Base 0.17.0 git_indexer_stream_new@Base 0.17.0 git_libgit2_capabilities@Base 0.18.0 git_libgit2_opts@Base 0.18.0 git_libgit2_version@Base 0.17.0 git_merge_base@Base 0.17.0 git_merge_base_many@Base 0.18.0 git_merge_head_free@Base 0.19.0 git_merge_head_from_fetchhead@Base 0.19.0 git_merge_head_from_oid@Base 0.19.0 git_merge_head_from_ref@Base 0.19.0 git_merge_trees@Base 0.19.0 git_message_prettify@Base 0.18.0 git_note_create@Base 0.17.0 git_note_default_ref@Base 0.17.0 git_note_foreach@Base 0.17.0 git_note_free@Base 0.17.0 git_note_iterator_free@Base 0.18.0 git_note_iterator_new@Base 0.18.0 git_note_message@Base 0.17.0 git_note_next@Base 0.18.0 git_note_oid@Base 0.17.0 git_note_read@Base 0.17.0 git_note_remove@Base 0.17.0 git_object__size@Base 0.17.0 git_object_dup@Base 0.18.0 git_object_free@Base 0.17.0 git_object_id@Base 0.17.0 git_object_lookup@Base 0.17.0 git_object_lookup_prefix@Base 0.17.0 git_object_owner@Base 0.17.0 git_object_peel@Base 0.18.0 git_object_string2type@Base 0.17.0 git_object_type2string@Base 0.17.0 git_object_type@Base 0.17.0 git_object_typeisloose@Base 0.17.0 git_odb_add_alternate@Base 0.17.0 git_odb_add_backend@Base 0.17.0 git_odb_add_disk_alternate@Base 0.18.0 git_odb_backend_loose@Base 0.17.0 git_odb_backend_malloc@Base 0.18.0 git_odb_backend_one_pack@Base 0.18.0 git_odb_backend_pack@Base 0.17.0 git_odb_exists@Base 0.17.0 git_odb_foreach@Base 0.18.0 git_odb_free@Base 0.17.0 git_odb_get_backend@Base 0.19.0 git_odb_hash@Base 0.17.0 git_odb_hashfile@Base 0.17.0 git_odb_new@Base 0.17.0 git_odb_num_backends@Base 0.19.0 git_odb_object_data@Base 0.17.0 git_odb_object_free@Base 0.17.0 git_odb_object_id@Base 0.17.0 git_odb_object_size@Base 0.17.0 git_odb_object_type@Base 0.17.0 git_odb_open@Base 0.17.0 git_odb_open_rstream@Base 0.17.0 git_odb_open_wstream@Base 0.17.0 git_odb_read@Base 0.17.0 git_odb_read_header@Base 0.17.0 git_odb_read_prefix@Base 0.17.0 git_odb_refresh@Base 0.18.0 git_odb_write@Base 0.17.0 git_odb_write_pack@Base 0.18.0 git_oid_allocfmt@Base 0.17.0 git_oid_cmp@Base 0.19.0 git_oid_cpy@Base 0.17.0 git_oid_fmt@Base 0.17.0 git_oid_fromraw@Base 0.17.0 git_oid_fromstr@Base 0.17.0 git_oid_fromstrn@Base 0.17.0 git_oid_fromstrp@Base 0.18.0 git_oid_iszero@Base 0.17.0 git_oid_ncmp@Base 0.17.0 git_oid_nfmt@Base 0.19.0 git_oid_pathfmt@Base 0.17.0 git_oid_shorten_add@Base 0.17.0 git_oid_shorten_free@Base 0.17.0 git_oid_shorten_new@Base 0.17.0 git_oid_strcmp@Base 0.19.0 git_oid_streq@Base 0.17.0 git_oid_tostr@Base 0.17.0 git_packbuilder_foreach@Base 0.18.0 git_packbuilder_free@Base 0.18.0 git_packbuilder_insert@Base 0.18.0 git_packbuilder_insert_commit@Base 0.19.0 git_packbuilder_insert_tree@Base 0.18.0 git_packbuilder_new@Base 0.18.0 git_packbuilder_object_count@Base 0.18.0 git_packbuilder_set_threads@Base 0.18.0 git_packbuilder_write@Base 0.18.0 git_packbuilder_written@Base 0.18.0 git_push_add_refspec@Base 0.18.0 git_push_finish@Base 0.18.0 git_push_free@Base 0.18.0 git_push_new@Base 0.18.0 git_push_set_options@Base 0.18.0 git_push_status_foreach@Base 0.18.0 git_push_unpack_ok@Base 0.18.0 git_push_update_tips@Base 0.18.0 git_refdb_backend_fs@Base 0.18.0 git_refdb_compress@Base 0.18.0 git_refdb_free@Base 0.18.0 git_refdb_new@Base 0.18.0 git_refdb_open@Base 0.18.0 git_refdb_set_backend@Base 0.18.0 git_reference__alloc@Base 0.18.0 git_reference__alloc_symbolic@Base 0.19.0 git_reference_cmp@Base 0.17.0 git_reference_create@Base 0.18.0 git_reference_delete@Base 0.17.0 git_reference_dwim@Base 0.19.0 git_reference_foreach@Base 0.17.0 git_reference_foreach_glob@Base 0.18.0 git_reference_foreach_name@Base 0.19.0 git_reference_free@Base 0.17.0 git_reference_has_log@Base 0.18.0 git_reference_is_branch@Base 0.18.0 git_reference_is_remote@Base 0.18.0 git_reference_is_valid_name@Base 0.18.0 git_reference_iterator_free@Base 0.19.0 git_reference_iterator_glob_new@Base 0.19.0 git_reference_iterator_new@Base 0.19.0 git_reference_list@Base 0.17.0 git_reference_lookup@Base 0.17.0 git_reference_name@Base 0.17.0 git_reference_name_to_id@Base 0.18.0 git_reference_next@Base 0.19.0 git_reference_next_name@Base 0.19.0 git_reference_normalize_name@Base 0.18.0 git_reference_owner@Base 0.17.0 git_reference_peel@Base 0.18.0 git_reference_rename@Base 0.17.0 git_reference_resolve@Base 0.17.0 git_reference_set_target@Base 0.17.0 git_reference_shorthand@Base 0.19.0 git_reference_symbolic_create@Base 0.18.0 git_reference_symbolic_set_target@Base 0.18.0 git_reference_symbolic_target@Base 0.18.0 git_reference_target@Base 0.17.0 git_reference_target_peel@Base 0.19.0 git_reference_type@Base 0.17.0 git_reflog_append@Base 0.18.0 git_reflog_delete@Base 0.17.0 git_reflog_drop@Base 0.18.0 git_reflog_entry_byindex@Base 0.17.0 git_reflog_entry_committer@Base 0.17.0 git_reflog_entry_id_new@Base 0.18.0 git_reflog_entry_id_old@Base 0.18.0 git_reflog_entry_message@Base 0.18.0 git_reflog_entrycount@Base 0.17.0 git_reflog_free@Base 0.17.0 git_reflog_read@Base 0.17.0 git_reflog_rename@Base 0.17.0 git_reflog_write@Base 0.17.0 git_refspec_direction@Base 0.19.0 git_refspec_dst@Base 0.17.0 git_refspec_dst_matches@Base 0.18.0 git_refspec_force@Base 0.18.0 git_refspec_rtransform@Base 0.18.0 git_refspec_src@Base 0.17.0 git_refspec_src_matches@Base 0.17.0 git_refspec_string@Base 0.19.0 git_refspec_transform@Base 0.17.0 git_remote_add_fetch@Base 0.19.0 git_remote_add_push@Base 0.19.0 git_remote_autotag@Base 0.18.0 git_remote_check_cert@Base 0.18.0 git_remote_clear_refspecs@Base 0.19.0 git_remote_connect@Base 0.17.0 git_remote_connected@Base 0.17.0 git_remote_create@Base 0.18.0 git_remote_create_inmemory@Base 0.18.0 git_remote_disconnect@Base 0.17.0 git_remote_download@Base 0.17.0 git_remote_free@Base 0.17.0 git_remote_get_fetch_refspecs@Base 0.19.0 git_remote_get_push_refspecs@Base 0.19.0 git_remote_get_refspec@Base 0.19.0 git_remote_is_valid_name@Base 0.18.0 git_remote_list@Base 0.17.0 git_remote_load@Base 0.17.0 git_remote_ls@Base 0.17.0 git_remote_name@Base 0.17.0 git_remote_pushurl@Base 0.18.0 git_remote_refspec_count@Base 0.19.0 git_remote_remove_refspec@Base 0.19.0 git_remote_rename@Base 0.18.0 git_remote_save@Base 0.17.0 git_remote_set_autotag@Base 0.18.0 git_remote_set_callbacks@Base 0.18.0 git_remote_set_cred_acquire_cb@Base 0.18.0 git_remote_set_pushurl@Base 0.18.0 git_remote_set_transport@Base 0.18.0 git_remote_set_update_fetchhead@Base 0.18.0 git_remote_set_url@Base 0.18.0 git_remote_stats@Base 0.18.0 git_remote_stop@Base 0.18.0 git_remote_supported_url@Base 0.17.0 git_remote_update_fetchhead@Base 0.18.0 git_remote_update_tips@Base 0.17.0 git_remote_url@Base 0.17.0 git_remote_valid_url@Base 0.17.0 git_repository__cleanup@Base 0.19.0 git_repository_config@Base 0.17.0 git_repository_detach_head@Base 0.18.0 git_repository_discover@Base 0.17.0 git_repository_fetchhead_foreach@Base 0.18.0 git_repository_free@Base 0.17.0 git_repository_get_namespace@Base 0.19.0 git_repository_hashfile@Base 0.18.0 git_repository_head@Base 0.17.0 git_repository_head_detached@Base 0.17.0 git_repository_head_orphan@Base 0.17.0 git_repository_index@Base 0.17.0 git_repository_init@Base 0.17.0 git_repository_init_ext@Base 0.18.0 git_repository_is_bare@Base 0.17.0 git_repository_is_empty@Base 0.17.0 git_repository_is_shallow@Base 0.19.0 git_repository_merge_cleanup@Base 0.18.0 git_repository_mergehead_foreach@Base 0.18.0 git_repository_message@Base 0.18.0 git_repository_message_remove@Base 0.18.0 git_repository_new@Base 0.19.0 git_repository_odb@Base 0.17.0 git_repository_open@Base 0.17.0 git_repository_open_bare@Base 0.19.0 git_repository_open_ext@Base 0.17.0 git_repository_path@Base 0.17.0 git_repository_refdb@Base 0.18.0 git_repository_set_config@Base 0.17.0 git_repository_set_head@Base 0.18.0 git_repository_set_head_detached@Base 0.18.0 git_repository_set_index@Base 0.17.0 git_repository_set_namespace@Base 0.19.0 git_repository_set_odb@Base 0.17.0 git_repository_set_refdb@Base 0.18.0 git_repository_set_workdir@Base 0.17.0 git_repository_state@Base 0.18.0 git_repository_workdir@Base 0.17.0 git_repository_wrap_odb@Base 0.18.0 git_reset@Base 0.18.0 git_reset_default@Base 0.18.0 git_revparse@Base 0.18.0 git_revparse_ext@Base 0.19.0 git_revparse_single@Base 0.18.0 git_revwalk_free@Base 0.17.0 git_revwalk_hide@Base 0.17.0 git_revwalk_hide_glob@Base 0.17.0 git_revwalk_hide_head@Base 0.17.0 git_revwalk_hide_ref@Base 0.17.0 git_revwalk_new@Base 0.17.0 git_revwalk_next@Base 0.17.0 git_revwalk_push@Base 0.17.0 git_revwalk_push_glob@Base 0.17.0 git_revwalk_push_head@Base 0.17.0 git_revwalk_push_range@Base 0.18.0 git_revwalk_push_ref@Base 0.17.0 git_revwalk_repository@Base 0.17.0 git_revwalk_reset@Base 0.17.0 git_revwalk_sorting@Base 0.17.0 git_signature_dup@Base 0.17.0 git_signature_free@Base 0.17.0 git_signature_new@Base 0.17.0 git_signature_now@Base 0.17.0 git_smart_subtransport_git@Base 0.18.0 git_smart_subtransport_http@Base 0.18.0 git_stash_drop@Base 0.18.0 git_stash_foreach@Base 0.18.0 git_stash_save@Base 0.18.0 git_status_byindex@Base 0.19.0 git_status_file@Base 0.17.0 git_status_foreach@Base 0.17.0 git_status_foreach_ext@Base 0.17.0 git_status_list_entrycount@Base 0.19.0 git_status_list_free@Base 0.19.0 git_status_list_new@Base 0.19.0 git_status_should_ignore@Base 0.17.0 git_strarray_copy@Base 0.17.0 git_strarray_free@Base 0.17.0 git_submodule_add_finalize@Base 0.18.0 git_submodule_add_setup@Base 0.18.0 git_submodule_add_to_index@Base 0.18.0 git_submodule_fetch_recurse_submodules@Base 0.18.0 git_submodule_foreach@Base 0.17.0 git_submodule_head_id@Base 0.18.0 git_submodule_ignore@Base 0.18.0 git_submodule_index_id@Base 0.18.0 git_submodule_init@Base 0.18.0 git_submodule_location@Base 0.18.0 git_submodule_lookup@Base 0.17.0 git_submodule_name@Base 0.18.0 git_submodule_open@Base 0.18.0 git_submodule_owner@Base 0.18.0 git_submodule_path@Base 0.18.0 git_submodule_reload@Base 0.18.0 git_submodule_reload_all@Base 0.18.0 git_submodule_save@Base 0.18.0 git_submodule_set_fetch_recurse_submodules@Base 0.18.0 git_submodule_set_ignore@Base 0.18.0 git_submodule_set_update@Base 0.18.0 git_submodule_set_url@Base 0.18.0 git_submodule_status@Base 0.18.0 git_submodule_sync@Base 0.18.0 git_submodule_update@Base 0.18.0 git_submodule_url@Base 0.18.0 git_submodule_wd_id@Base 0.18.0 git_tag_annotation_create@Base 0.19.0 git_tag_create@Base 0.17.0 git_tag_create_frombuffer@Base 0.17.0 git_tag_create_lightweight@Base 0.17.0 git_tag_delete@Base 0.17.0 git_tag_foreach@Base 0.18.0 git_tag_free@Base 0.19.0 git_tag_id@Base 0.17.0 git_tag_list@Base 0.17.0 git_tag_list_match@Base 0.17.0 git_tag_lookup@Base 0.19.0 git_tag_lookup_prefix@Base 0.19.0 git_tag_message@Base 0.17.0 git_tag_name@Base 0.17.0 git_tag_owner@Base 0.19.0 git_tag_peel@Base 0.17.0 git_tag_tagger@Base 0.17.0 git_tag_target@Base 0.17.0 git_tag_target_id@Base 0.18.0 git_tag_target_type@Base 0.18.0 git_threads_init@Base 0.17.0 git_threads_shutdown@Base 0.17.0 git_trace_set@Base 0.18.0 git_transport_dummy@Base 0.18.0 git_transport_local@Base 0.18.0 git_transport_new@Base 0.18.0 git_transport_smart@Base 0.18.0 git_tree_entry_byindex@Base 0.17.0 git_tree_entry_byname@Base 0.17.0 git_tree_entry_byoid@Base 0.18.0 git_tree_entry_bypath@Base 0.18.0 git_tree_entry_cmp@Base 0.18.0 git_tree_entry_dup@Base 0.18.0 git_tree_entry_filemode@Base 0.18.0 git_tree_entry_free@Base 0.18.0 git_tree_entry_id@Base 0.17.0 git_tree_entry_name@Base 0.17.0 git_tree_entry_to_object@Base 0.17.0 git_tree_entry_type@Base 0.17.0 git_tree_entrycount@Base 0.17.0 git_tree_free@Base 0.19.0 git_tree_id@Base 0.17.0 git_tree_lookup@Base 0.19.0 git_tree_lookup_prefix@Base 0.19.0 git_tree_owner@Base 0.18.0 git_tree_walk@Base 0.17.0 git_treebuilder_clear@Base 0.17.0 git_treebuilder_create@Base 0.17.0 git_treebuilder_entrycount@Base 0.18.0 git_treebuilder_filter@Base 0.17.0 git_treebuilder_free@Base 0.17.0 git_treebuilder_get@Base 0.17.0 git_treebuilder_insert@Base 0.17.0 git_treebuilder_remove@Base 0.17.0 git_treebuilder_write@Base 0.17.0 giterr_clear@Base 0.17.0 giterr_last@Base 0.17.0 giterr_set_oom@Base 0.18.0 giterr_set_str@Base 0.18.0 debian/libgit2-dbg.lintian-overrides0000644000000000000000000000004312205172626014634 0ustar libgit2-dbg: no-upstream-changelog debian/libgit2-dev.examples0000644000000000000000000000001312205172626013033 0ustar examples/* debian/libgit2-dev.install0000644000000000000000000000010712205172626012667 0ustar /usr/include /usr/lib/*/lib*.a /usr/lib/*/lib*.so /usr/lib/*/pkgconfig debian/libgit2-dev.lintian-overrides0000644000000000000000000000004312205172626014656 0ustar libgit2-dev: no-upstream-changelog debian/patches/0000755000000000000000000000000012205172626010620 5ustar debian/patches/build_static.patch0000644000000000000000000000271712205172626014316 0ustar Build both static and shared libraries. diff --git a/CMakeLists.txt b/CMakeLists.txt index bfbabc0..891d2af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,6 @@ SET(INSTALL_LIB lib CACHE PATH "Where to install libraries to.") SET(INSTALL_INC include CACHE PATH "Where to install headers to.") # Build options -OPTION (BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" ON) OPTION (THREADSAFE "Build libgit2 as threadsafe" OFF) OPTION (BUILD_CLAR "Build Tests using the Clar suite" ON) OPTION (TAGS "Generate tags" OFF) @@ -110,7 +109,8 @@ ELSE() ENDIF () # Compile and link libgit2 -ADD_LIBRARY(git2 ${SRC} ${SRC_ZLIB} ${SRC_HTTP} ${SRC_REGEX} ${WIN_RC}) +ADD_LIBRARY(git2 SHARED ${SRC} ${SRC_ZLIB} ${SRC_HTTP} ${SRC_REGEX} ${WIN_RC}) +ADD_LIBRARY(git2static STATIC ${SRC} ${SRC_ZLIB} ${SRC_HTTP} ${SRC_REGEX} ${WIN_RC}) IF (WIN32) TARGET_LINK_LIBRARIES(git2 ws2_32) @@ -120,11 +120,12 @@ ENDIF () TARGET_LINK_LIBRARIES(git2 ${CMAKE_THREAD_LIBS_INIT}) SET_TARGET_PROPERTIES(git2 PROPERTIES VERSION ${LIBGIT2_VERSION_STRING}) +SET_TARGET_PROPERTIES(git2static PROPERTIES OUTPUT_NAME git2) SET_TARGET_PROPERTIES(git2 PROPERTIES SOVERSION ${LIBGIT2_VERSION_MAJOR}) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libgit2.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libgit2.pc @ONLY) # Install -INSTALL(TARGETS git2 +INSTALL(TARGETS git2 git2static RUNTIME DESTINATION ${INSTALL_BIN} LIBRARY DESTINATION ${INSTALL_LIB} ARCHIVE DESTINATION ${INSTALL_LIB} debian/patches/disable_online_tests.patch0000644000000000000000000000050412205172626016031 0ustar Disable online tests. diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bd25aa..f44190e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -349,7 +349,7 @@ IF (BUILD_CLAR) ENDIF () ENABLE_TESTING() - ADD_TEST(libgit2_clar libgit2_clar -ionline) + ADD_TEST(libgit2_clar libgit2_clar -xonline) ENDIF () IF (TAGS) debian/patches/series0000644000000000000000000000003312205172626012031 0ustar disable_online_tests.patch debian/rules0000755000000000000000000000264112205172626010254 0ustar #!/usr/bin/make -f # -*- makefile -*- # This rules file has 2 streams, the build-debian-devel stream builds # the static library and the bulid-debian-release builds the dynamic # library. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) override_dh_auto_configure: dh_auto_configure --builddirectory=build-debian-release -- \ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ -DTHREADSAFE:BOOL=ON \ -DBUILD_CLAR:BOOL=ON \ -DLIB_INSTALL_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) dh_auto_configure --builddirectory=build-debian-devel -- \ -DCMAKE_BUILD_TYPE:STRING=Release \ -DTHREADSAFE:BOOL=ON \ -DBUILD_CLAR:BOOL=OFF \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DLIB_INSTALL_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) override_dh_makeshlibs: dh_makeshlibs -V 'libgit2-0 (>= 0.19.0)' override_dh_auto_build : dh_auto_build --builddirectory=build-debian-release dh_auto_build --builddirectory=build-debian-devel override_dh_auto_install : dh_auto_install --builddirectory=build-debian-release dh_auto_install --builddirectory=build-debian-devel override_dh_strip: dh_strip --dbg-package=libgit2-dbg override_dh_installexamples: dh_installexamples --exclude .gitignore %: dh $@ --parallel --buildsystem cmake --dbg-package=libgit2-dbg --builddirectory=build-debian-release dh $@ --parallel --buildsystem cmake --builddirectory=build-debian-devel debian/source.lintian-overrides0000644000000000000000000000006112205172626014046 0ustar libgit2: source-contains-prebuilt-windows-binary debian/source/0000755000000000000000000000000012205172626010471 5ustar debian/source/format0000644000000000000000000000001412205172626011677 0ustar 3.0 (quilt) debian/tests/0000755000000000000000000000000012205172626010333 5ustar debian/tests/CMakeLists.txt0000644000000000000000000000157712205172626013105 0ustar CMAKE_MINIMUM_REQUIRED (VERSION 2.8) PROJECT (libgit2_test) ADD_EXECUTABLE (libgit2_test libgit2_test.c) FIND_PACKAGE(PkgConfig) PKG_CHECK_MODULES(PC_LIBGIT2 libgit2) SET(LIBGIT2_DEFINITIONS ${PC_LIBGIT_CFLAGS_OTHER}) FIND_PATH(LIBGIT2_INCLUDE_DIR git2.h HINTS ${PC_LIBGIT_INCLUDEDIR} ${PC_LIBGIT_INCLUDE_DIRS} PATH_SUFFIXES libgit2 ) FIND_LIBRARY(LIBGIT2_LIBRARY NAMES git2 libgit2 HINTS ${PC_LIBGIT_LIBDIR} ${PC_LIBGIT_LIBRARY_DIRS} ) SET(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARY} ) SET(LIBGIT2_INCLUDE_DIRS ${LIBGIT2_INCLUDE_DIR} ) INCLUDE(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibGit2 DEFAULT_MSG LIBGIT2_LIBRARY LIBGIT2_INCLUDE_DIR) mark_as_advanced(LIBGIT2_INCLUDE_DIR LIBGIT2_LIBRARY ) include_directories(${LIBGIT2_INCLUDE_DIR}) target_link_libraries (libgit2_test ${LIBGIT2_LIBRARY}) debian/tests/libgit2_test.c0000644000000000000000000000035112205172626013071 0ustar #include #include int main (int argc, char** argv) { int major = 0; int minor = 0; int rev = 0; git_libgit2_version(&major, &minor, &rev); printf("Version %d.%d.%d\n", major, minor, rev); return 0; }; debian/watch0000644000000000000000000000013212205172626010216 0ustar version=3 https://github.com/libgit2/libgit2/tags /libgit2/libgit2/archive/v(.+)\.tar\.gz