--- ding-libs-0.3.0.1.orig/debian/changelog +++ ding-libs-0.3.0.1/debian/changelog @@ -0,0 +1,69 @@ +ding-libs (0.3.0.1-4) unstable; urgency=low + + * Use dh-autoreconf, resolving FTBFS on newer arches. + - Quiet automake warning; + - Add missing lib to link. + + -- Daniel T Chen Thu, 02 Jan 2014 17:11:41 -0500 + +ding-libs (0.3.0.1-3) unstable; urgency=low + + * copyright: Updated. + + -- Timo Aaltonen Fri, 15 Nov 2013 14:38:44 +0200 + +ding-libs (0.3.0.1-2) unstable; urgency=low + + * rules, *-dev.install: Build static libs again, include in respective + -dev packages. (LP: #1183490) + * Cherry-pick 7a2eb259b2e22: Trim trailing spaces. (LP: #1248087) + + -- Timo Aaltonen Wed, 06 Nov 2013 17:05:07 +0200 + +ding-libs (0.3.0.1-1) unstable; urgency=low + + * New upstream release. + * rules: Use --fail-missing for dh_install. + * Add packaging for libbasicobjects. + * Bump soname for libini-config to 3. + * Rename *.docs files to actually do something. + * rules: Build using --disable-static. + * rules: Remove .la files. + * libini-config-dev: Add new headers. + * control: Wrap Depends. + * control: Update policy to 3.9.4, no changes. + * control: libini-config-dev needs to depend on libbasicobjects-dev and + libref-array-dev. + * Added symbols files. + * control: Added check, pkg-config to build-depends, run full test suite + on build. + + -- Timo Aaltonen Wed, 22 May 2013 13:32:33 +0300 + +ding-libs (0.1.3-2) unstable; urgency=low + + * Add missing Depends on libcollection-dev for libini-config-dev. + Thanks to Asbjørn Sloth Tønnesen (Closes: #697186) + + -- Timo Aaltonen Mon, 07 Jan 2013 21:41:36 +0100 + +ding-libs (0.1.3-1) unstable; urgency=low + + * Initial release (Closes: #637594) + - Fix library package names. + - Build using multiarch. + - Switch to source format 1.0. + - Bump the build-dep on debhelper to >= 9. + - Bump Standards-Version to 3.9.3, no changes. + - control: Update the maintainer address and repo location. + + -- Timo Aaltonen Mon, 19 Mar 2012 17:53:09 +0200 + +ding-libs (0.1.2-0ubuntu1) oneiric; urgency=low + + * Initial upload (LP:#790362) + + [ Fabrice Coutadeur ] + * Initial packaging from PPA. + + -- Michael Jeanson Mon, 30 May 2011 15:58:13 -0400 --- ding-libs-0.3.0.1.orig/debian/compat +++ ding-libs-0.3.0.1/debian/compat @@ -0,0 +1 @@ +9 --- ding-libs-0.3.0.1.orig/debian/control +++ ding-libs-0.3.0.1/debian/control @@ -0,0 +1,170 @@ +Source: ding-libs +Section: libs +Priority: extra +Maintainer: Debian SSSD Team +Uploaders: Timo Aaltonen +Build-Depends: debhelper (>= 9), + dh-autoreconf, + quilt, + check, + pkg-config, +Standards-Version: 3.9.4 +Homepage: https://fedorahosted.org/sssd/ +Vcs-Git: git://git.debian.org/pkg-sssd/ding-libs.git +Vcs-Browser: http://git.debian.org/?p=pkg-sssd/ding-libs.git;a=summary + +Package: libpath-utils-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libpath-utils1 (= ${binary:Version}), +Description: Development files for libpath_utils + Utility functions to manipulate filesystem pathnames. Development files. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libpath-utils1 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: libpath-utils +Conflicts: libpath-utils +Replaces: libpath-utils +Multi-Arch: same +Description: Filesystem Path Utilities + Utility functions to manipulate filesystem pathnames. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libdhash-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libdhash1 (= ${binary:Version}), +Description: Development files for libdhash + A hash table which will dynamically resize to achieve optimal storage & access + time properties. Development files. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libdhash1 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: libdhash +Conflicts: libdhash +Replaces: libdhash +Multi-Arch: same +Description: Dynamic hash table + A hash table which will dynamically resize to achieve optimal storage & access + time properties. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libcollection-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libcollection2 (= ${binary:Version}), +Description: Development files for libcollection + A data-type to collect data in a hierarchical structure for easy iteration + and serialization. Development files. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libcollection2 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: libcollection +Conflicts: libcollection +Replaces: libcollection +Multi-Arch: same +Description: Collection data-type for C + A data-type to collect data in a hierarchical structure for easy iteration + and serialization. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libref-array-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libref-array1 (= ${binary:Version}), +Description: Development files for refcounted array for C + A dynamically-growing, reference-counted array. Development files. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libref-array1 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: libref-array +Conflicts: libref-array +Replaces: libref-array +Multi-Arch: same +Description: refcounted array for C + A dynamically-growing, reference-counted array + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libini-config-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libini-config3 (= ${binary:Version}), + libcollection-dev (= ${binary:Version}), + libbasicobjects-dev (= ${binary:Version}), + libref-array-dev (= ${binary:Version}), +Description: Development files for libini_config + Library to process config files in INI format into a libcollection data + structure. Development files. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libini-config3 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: libini-config +Conflicts: libini-config +Replaces: libini-config +Multi-Arch: same +Description: INI file parser for C + Library to process config files in INI format into a libcollection data + structure. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libbasicobjects-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libbasicobjects0 (= ${binary:Version}), +Description: Basic object types for C -- development files + Library that add basic object types for C. Development files. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. + +Package: libbasicobjects0 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, +Multi-Arch: same +Description: Basic object types for C + Library that add basic object types for C. + . + This package is part of the ding-libs, libraries that are required for the + proper functioning of SSSD, the System Security Services Daemon. --- ding-libs-0.3.0.1.orig/debian/copyright +++ ding-libs-0.3.0.1/debian/copyright @@ -0,0 +1,97 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ding-libs +Source: https://fedorahosted.org/sssd/wiki/Releases#DING-LIBSReleases + +Files: basicobjects/simplebuffer* +Copyright: 2009-2010 Dmitri Pal +License: GPL-3+ + +Files: collection/* +Copyright: 2009 Dmitri Pal +License: LGPL-3+ + +Files: ini/* +Copyright: 2009-2012 Dmitri Pal +License: LGPL-3+ + +Files: build/ltmain.sh +Copyright: 1996 Gordon Matzigkeit +License: GPL-2+ + +Files: dhash/* path_utils/* +Copyright: 2009 Red Hat +License: LGPL-3+ + +Files: path_utils/path_utils_ut.c +Copyright: 2009 Red Hat +License: GPL-3+ + +Files: refarray/* +Copyright: 2009 Dmitri Pal +License: GPL-3+ + +Files: trace/* +Copyright: 2009 Dmitri Pal +License: LGPL-3+ + +Files: debian/* +Copyright: 2011 Fabrice Coutadeur , + 2011 Jonathan Carter , + 2011 Timo Aaltonen +License: GPL-3+ + +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 package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: GPL-3+ + 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 3 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 3 can be found in "/usr/share/common-licenses/GPL-3". + +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; either version 3 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 Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". --- ding-libs-0.3.0.1.orig/debian/libbasicobjects-dev.install +++ ding-libs-0.3.0.1/debian/libbasicobjects-dev.install @@ -0,0 +1,4 @@ +usr/include/simplebuffer.h +usr/lib/*/libbasicobjects.a +usr/lib/*/libbasicobjects.so +usr/lib/*/pkgconfig/basicobjects.pc --- ding-libs-0.3.0.1.orig/debian/libbasicobjects0.install +++ ding-libs-0.3.0.1/debian/libbasicobjects0.install @@ -0,0 +1 @@ +usr/lib/*/libbasicobjects.so.* --- ding-libs-0.3.0.1.orig/debian/libbasicobjects0.symbols +++ ding-libs-0.3.0.1/debian/libbasicobjects0.symbols @@ -0,0 +1,10 @@ +libbasicobjects.so.0 libbasicobjects0 #MINVER# + simplebuffer_add_cr@Base 0.3.0.1 + simplebuffer_add_raw@Base 0.3.0.1 + simplebuffer_add_str@Base 0.3.0.1 + simplebuffer_alloc@Base 0.3.0.1 + simplebuffer_free@Base 0.3.0.1 + simplebuffer_get_buf@Base 0.3.0.1 + simplebuffer_get_len@Base 0.3.0.1 + simplebuffer_grow@Base 0.3.0.1 + simplebuffer_write@Base 0.3.0.1 --- ding-libs-0.3.0.1.orig/debian/libcollection-dev.docs +++ ding-libs-0.3.0.1/debian/libcollection-dev.docs @@ -0,0 +1 @@ +collection/doc/html/* --- ding-libs-0.3.0.1.orig/debian/libcollection-dev.install +++ ding-libs-0.3.0.1/debian/libcollection-dev.install @@ -0,0 +1,4 @@ +usr/include/collection*.h +usr/lib/*/libcollection.a +usr/lib/*/libcollection.so +usr/lib/*/pkgconfig/collection.pc --- ding-libs-0.3.0.1.orig/debian/libcollection2.install +++ ding-libs-0.3.0.1/debian/libcollection2.install @@ -0,0 +1 @@ +usr/lib/*/libcollection.so.* --- ding-libs-0.3.0.1.orig/debian/libcollection2.symbols +++ ding-libs-0.3.0.1/debian/libcollection2.symbols @@ -0,0 +1,134 @@ +libcollection.so.2 libcollection2 #MINVER# + col_add_any_property@Base 0.3.0.1 + col_add_any_property_with_ref@Base 0.3.0.1 + col_add_binary_property@Base 0.3.0.1 + col_add_binary_property_with_ref@Base 0.3.0.1 + col_add_bool_property@Base 0.3.0.1 + col_add_bool_property_with_ref@Base 0.3.0.1 + col_add_collection_to_collection@Base 0.3.0.1 + col_add_double_property@Base 0.3.0.1 + col_add_double_property_with_ref@Base 0.3.0.1 + col_add_int_property@Base 0.3.0.1 + col_add_int_property_with_ref@Base 0.3.0.1 + col_add_long_property@Base 0.3.0.1 + col_add_long_property_with_ref@Base 0.3.0.1 + col_add_str_property@Base 0.3.0.1 + col_add_str_property_with_ref@Base 0.3.0.1 + col_add_ulong_property@Base 0.3.0.1 + col_add_ulong_property_with_ref@Base 0.3.0.1 + col_add_unsigned_property@Base 0.3.0.1 + col_add_unsigned_property_with_ref@Base 0.3.0.1 + col_allocate_item@Base 0.3.0.1 + col_bind_iterator@Base 0.3.0.1 + col_collection_to_list@Base 0.3.0.1 + col_compare_items@Base 0.3.0.1 + col_copy_collection@Base 0.3.0.1 + col_copy_collection_with_cb@Base 0.3.0.1 + col_create_collection@Base 0.3.0.1 + col_create_queue@Base 0.3.0.1 + col_create_stack@Base 0.3.0.1 + col_debug_collection@Base 0.3.0.1 + col_debug_handle@Base 0.3.0.1 + col_debug_item@Base 0.3.0.1 + col_delete_item@Base 0.3.0.1 + col_delete_property@Base 0.3.0.1 + col_dequeue_item@Base 0.3.0.1 + col_destroy_collection@Base 0.3.0.1 + col_destroy_collection_with_cb@Base 0.3.0.1 + col_destroy_queue@Base 0.3.0.1 + col_destroy_stack@Base 0.3.0.1 + col_enqueue_any_property@Base 0.3.0.1 + col_enqueue_binary_property@Base 0.3.0.1 + col_enqueue_bool_property@Base 0.3.0.1 + col_enqueue_double_property@Base 0.3.0.1 + col_enqueue_int_property@Base 0.3.0.1 + col_enqueue_item@Base 0.3.0.1 + col_enqueue_long_property@Base 0.3.0.1 + col_enqueue_str_property@Base 0.3.0.1 + col_enqueue_ulong_property@Base 0.3.0.1 + col_enqueue_unsigned_property@Base 0.3.0.1 + col_extract_item@Base 0.3.0.1 + col_extract_item_from_current@Base 0.3.0.1 + col_free_property_list@Base 0.3.0.1 + col_get_collection_class@Base 0.3.0.1 + col_get_collection_count@Base 0.3.0.1 + col_get_collection_reference@Base 0.3.0.1 + col_get_data_len@Base 0.3.0.1 + col_get_item@Base 0.3.0.1 + col_get_item_and_do@Base 0.3.0.1 + col_get_item_data@Base 0.3.0.1 + col_get_item_depth@Base 0.3.0.1 + col_get_item_hash@Base 0.3.0.1 + col_get_item_length@Base 0.3.0.1 + col_get_item_property@Base 0.3.0.1 + col_get_item_type@Base 0.3.0.1 + col_get_iterator_depth@Base 0.3.0.1 + col_get_reference_from_item@Base 0.3.0.1 + col_grow_buffer@Base 0.3.0.1 + col_insert_binary_property@Base 0.3.0.1 + col_insert_binary_property_with_ref@Base 0.3.0.1 + col_insert_bool_property@Base 0.3.0.1 + col_insert_bool_property_with_ref@Base 0.3.0.1 + col_insert_double_property@Base 0.3.0.1 + col_insert_double_property_with_ref@Base 0.3.0.1 + col_insert_int_property@Base 0.3.0.1 + col_insert_int_property_with_ref@Base 0.3.0.1 + col_insert_item@Base 0.3.0.1 + col_insert_item_into_current@Base 0.3.0.1 + col_insert_long_property@Base 0.3.0.1 + col_insert_long_property_with_ref@Base 0.3.0.1 + col_insert_property_with_ref@Base 0.3.0.1 + col_insert_str_property@Base 0.3.0.1 + col_insert_str_property_with_ref@Base 0.3.0.1 + col_insert_ulong_property@Base 0.3.0.1 + col_insert_ulong_property_with_ref@Base 0.3.0.1 + col_insert_unsigned_property@Base 0.3.0.1 + col_insert_unsigned_property_with_ref@Base 0.3.0.1 + col_is_item_in_collection@Base 0.3.0.1 + col_is_of_class@Base 0.3.0.1 + col_iterate_collection@Base 0.3.0.1 + col_iterate_up@Base 0.3.0.1 + col_make_hash@Base 0.3.0.1 + col_modify_binary_item@Base 0.3.0.1 + col_modify_bool_item@Base 0.3.0.1 + col_modify_double_item@Base 0.3.0.1 + col_modify_int_item@Base 0.3.0.1 + col_modify_item@Base 0.3.0.1 + col_modify_item_property@Base 0.3.0.1 + col_modify_long_item@Base 0.3.0.1 + col_modify_str_item@Base 0.3.0.1 + col_modify_ulong_item@Base 0.3.0.1 + col_modify_unsigned_item@Base 0.3.0.1 + col_pin_iterator@Base 0.3.0.1 + col_pop_item@Base 0.3.0.1 + col_print_collection2@Base 0.3.0.1 + col_print_collection@Base 0.3.0.1 + col_print_item@Base 0.3.0.1 + col_push_any_property@Base 0.3.0.1 + col_push_binary_property@Base 0.3.0.1 + col_push_bool_property@Base 0.3.0.1 + col_push_double_property@Base 0.3.0.1 + col_push_int_property@Base 0.3.0.1 + col_push_item@Base 0.3.0.1 + col_push_long_property@Base 0.3.0.1 + col_push_str_property@Base 0.3.0.1 + col_push_ulong_property@Base 0.3.0.1 + col_push_unsigned_property@Base 0.3.0.1 + col_put_marker@Base 0.3.0.1 + col_remove_item@Base 0.3.0.1 + col_remove_item_from_current@Base 0.3.0.1 + col_rewind_iterator@Base 0.3.0.1 + col_serialize@Base 0.3.0.1 + col_set_collection_class@Base 0.3.0.1 + col_sort_collection@Base 0.3.0.1 + col_traverse_collection@Base 0.3.0.1 + col_unbind_iterator@Base 0.3.0.1 + col_update_binary_property@Base 0.3.0.1 + col_update_bool_property@Base 0.3.0.1 + col_update_double_property@Base 0.3.0.1 + col_update_int_property@Base 0.3.0.1 + col_update_long_property@Base 0.3.0.1 + col_update_property@Base 0.3.0.1 + col_update_str_property@Base 0.3.0.1 + col_update_ulong_property@Base 0.3.0.1 + col_update_unsigned_property@Base 0.3.0.1 --- ding-libs-0.3.0.1.orig/debian/libdhash-dev.install +++ ding-libs-0.3.0.1/debian/libdhash-dev.install @@ -0,0 +1,7 @@ +usr/include/dhash.h +usr/lib/*/libdhash.a +usr/lib/*/libdhash.so +usr/lib/*/pkgconfig/dhash.pc +usr/share/doc/ding-libs/README.dhash usr/share/doc/libdhash-dev/ +usr/share/doc/ding-libs/examples/dhash_example.c usr/share/doc/libdhash-dev/examples +usr/share/doc/ding-libs/examples/dhash_test.c usr/share/doc/libdhash-dev/examples --- ding-libs-0.3.0.1.orig/debian/libdhash1.install +++ ding-libs-0.3.0.1/debian/libdhash1.install @@ -0,0 +1 @@ +usr/lib/*/libdhash.so.* --- ding-libs-0.3.0.1.orig/debian/libdhash1.symbols +++ ding-libs-0.3.0.1/debian/libdhash1.symbols @@ -0,0 +1,17 @@ +libdhash.so.1 libdhash1 #MINVER# + hash_count@Base 0.3.0.1 + hash_create@Base 0.3.0.1 + hash_create_ex@Base 0.3.0.1 + hash_delete@Base 0.3.0.1 + hash_destroy@Base 0.3.0.1 + hash_enter@Base 0.3.0.1 + hash_entries@Base 0.3.0.1 + hash_error_string@Base 0.3.0.1 + hash_get_default@Base 0.3.0.1 + hash_get_statistics@Base 0.3.0.1 + hash_has_key@Base 0.3.0.1 + hash_iterate@Base 0.3.0.1 + hash_keys@Base 0.3.0.1 + hash_lookup@Base 0.3.0.1 + hash_values@Base 0.3.0.1 + new_hash_iter_context@Base 0.3.0.1 --- ding-libs-0.3.0.1.orig/debian/libini-config-dev.docs +++ ding-libs-0.3.0.1/debian/libini-config-dev.docs @@ -0,0 +1 @@ +ini/doc/html/* --- ding-libs-0.3.0.1.orig/debian/libini-config-dev.install +++ ding-libs-0.3.0.1/debian/libini-config-dev.install @@ -0,0 +1,7 @@ +usr/include/ini_comment.h +usr/include/ini_config.h +usr/include/ini_configobj.h +usr/include/ini_valueobj.h +usr/lib/*/libini_config.a +usr/lib/*/libini_config.so +usr/lib/*/pkgconfig/ini_config.pc --- ding-libs-0.3.0.1.orig/debian/libini-config3.install +++ ding-libs-0.3.0.1/debian/libini-config3.install @@ -0,0 +1 @@ +usr/lib/*/libini_config.so.* --- ding-libs-0.3.0.1.orig/debian/libini-config3.symbols +++ ding-libs-0.3.0.1/debian/libini-config3.symbols @@ -0,0 +1,139 @@ +libini_config.so.3 libini-config3 #MINVER# + collect_metadata@Base 0.3.0.1 + config_access_check@Base 0.3.0.1 + config_changed@Base 0.3.0.1 + config_for_app@Base 0.3.0.1 + config_for_app_with_metadata@Base 0.3.0.1 + config_from_fd@Base 0.3.0.1 + config_from_fd_with_metadata@Base 0.3.0.1 + config_from_file@Base 0.3.0.1 + config_from_file_with_metadata@Base 0.3.0.1 + empty_section@Base 0.3.0.1 + free_attribute_list@Base 0.3.0.1 + free_bin_config_value@Base 0.3.0.1 + free_double_config_array@Base 0.3.0.1 + free_ini_config@Base 0.3.0.1 + free_ini_config_errors@Base 0.3.0.1 + free_ini_config_metadata@Base 0.3.0.1 + free_long_config_array@Base 0.3.0.1 + free_section_list@Base 0.3.0.1 + free_string_config_array@Base 0.3.0.1 + get_attribute_list@Base 0.3.0.1 + get_bin_config_value@Base 0.3.0.1 + get_bool_config_value@Base 0.3.0.1 + get_config_item@Base 0.3.0.1 + get_const_string_config_value@Base 0.3.0.1 + get_double_config_array@Base 0.3.0.1 + get_double_config_value@Base 0.3.0.1 + get_int32_config_value@Base 0.3.0.1 + get_int64_config_value@Base 0.3.0.1 + get_int_config_value@Base 0.3.0.1 + get_long_config_array@Base 0.3.0.1 + get_long_config_value@Base 0.3.0.1 + get_raw_string_config_array@Base 0.3.0.1 + get_section_list@Base 0.3.0.1 + get_string_config_array@Base 0.3.0.1 + get_string_config_value@Base 0.3.0.1 + get_uint32_config_value@Base 0.3.0.1 + get_uint64_config_value@Base 0.3.0.1 + get_ulong_config_value@Base 0.3.0.1 + get_unsigned_config_value@Base 0.3.0.1 + ini_boundary_cb@Base 0.3.0.1 + ini_cleanup_cb@Base 0.3.0.1 + ini_comment_add@Base 0.3.0.1 + ini_comment_append@Base 0.3.0.1 + ini_comment_build@Base 0.3.0.1 + ini_comment_build_wl@Base 0.3.0.1 + ini_comment_cb@Base 0.3.0.1 + ini_comment_clear@Base 0.3.0.1 + ini_comment_copy@Base 0.3.0.1 + ini_comment_create@Base 0.3.0.1 + ini_comment_destroy@Base 0.3.0.1 + ini_comment_get_line@Base 0.3.0.1 + ini_comment_get_numlines@Base 0.3.0.1 + ini_comment_insert@Base 0.3.0.1 + ini_comment_print@Base 0.3.0.1 + ini_comment_remove@Base 0.3.0.1 + ini_comment_replace@Base 0.3.0.1 + ini_comment_reset@Base 0.3.0.1 + ini_comment_serialize@Base 0.3.0.1 + ini_comment_swap@Base 0.3.0.1 + ini_config_access_check@Base 0.3.0.1 + ini_config_changed@Base 0.3.0.1 + ini_config_clean_state@Base 0.3.0.1 + ini_config_copy@Base 0.3.0.1 + ini_config_create@Base 0.3.0.1 + ini_config_destroy@Base 0.3.0.1 + ini_config_error_count@Base 0.3.0.1 + ini_config_file_close@Base 0.3.0.1 + ini_config_file_destroy@Base 0.3.0.1 + ini_config_file_open@Base 0.3.0.1 + ini_config_file_print@Base 0.3.0.1 + ini_config_file_reopen@Base 0.3.0.1 + ini_config_free_errors@Base 0.3.0.1 + ini_config_get_errors@Base 0.3.0.1 + ini_config_get_filename@Base 0.3.0.1 + ini_config_get_stat@Base 0.3.0.1 + ini_config_merge@Base 0.3.0.1 + ini_config_parse@Base 0.3.0.1 + ini_config_print_errors@Base 0.3.0.1 + ini_config_serialize@Base 0.3.0.1 + ini_config_set_wrap@Base 0.3.0.1 + ini_free_attribute_list@Base 0.3.0.1 + ini_free_bin_config_value@Base 0.3.0.1 + ini_free_double_config_array@Base 0.3.0.1 + ini_free_long_config_array@Base 0.3.0.1 + ini_free_section_list@Base 0.3.0.1 + ini_free_string_config_array@Base 0.3.0.1 + ini_get_attribute_list@Base 0.3.0.1 + ini_get_bin_config_value@Base 0.3.0.1 + ini_get_bool_config_value@Base 0.3.0.1 + ini_get_config_valueobj@Base 0.3.0.1 + ini_get_const_string_config_value@Base 0.3.0.1 + ini_get_double_config_array@Base 0.3.0.1 + ini_get_double_config_value@Base 0.3.0.1 + ini_get_error_str@Base 0.3.0.1 + ini_get_int32_config_value@Base 0.3.0.1 + ini_get_int64_config_value@Base 0.3.0.1 + ini_get_int_config_value@Base 0.3.0.1 + ini_get_long_config_array@Base 0.3.0.1 + ini_get_long_config_value@Base 0.3.0.1 + ini_get_raw_string_config_array@Base 0.3.0.1 + ini_get_section_list@Base 0.3.0.1 + ini_get_string_config_array@Base 0.3.0.1 + ini_get_string_config_value@Base 0.3.0.1 + ini_get_uint32_config_value@Base 0.3.0.1 + ini_get_uint64_config_value@Base 0.3.0.1 + ini_get_ulong_config_value@Base 0.3.0.1 + ini_get_unsigned_config_value@Base 0.3.0.1 + is_allowed_spaces@Base 0.3.0.1 + is_just_spaces@Base 0.3.0.1 + parser_run@Base 0.3.0.1 + prepare_metadata@Base 0.3.0.1 + print_config_parsing_errors@Base 0.3.0.1 + print_file_parsing_errors@Base 0.3.0.1 + print_grammar_errors@Base 0.3.0.1 + print_validation_errors@Base 0.3.0.1 + read_line@Base 0.3.0.1 + valid_collision_flags@Base 0.3.0.1 + value_add_to_arrays@Base 0.3.0.1 + value_copy@Base 0.3.0.1 + value_create_arrays@Base 0.3.0.1 + value_create_from_refarray@Base 0.3.0.1 + value_create_new@Base 0.3.0.1 + value_destroy@Base 0.3.0.1 + value_destroy_arrays@Base 0.3.0.1 + value_extract_comment@Base 0.3.0.1 + value_get_concatenated@Base 0.3.0.1 + value_get_concatenated_len@Base 0.3.0.1 + value_get_line@Base 0.3.0.1 + value_get_origin@Base 0.3.0.1 + value_lines_cleanup_cb@Base 0.3.0.1 + value_merge_comment@Base 0.3.0.1 + value_print@Base 0.3.0.1 + value_put_comment@Base 0.3.0.1 + value_serialize@Base 0.3.0.1 + value_set_boundary@Base 0.3.0.1 + value_set_keylen@Base 0.3.0.1 + value_update@Base 0.3.0.1 + --- ding-libs-0.3.0.1.orig/debian/libpath-utils-dev.docs +++ ding-libs-0.3.0.1/debian/libpath-utils-dev.docs @@ -0,0 +1 @@ +path_utils/doc/html/* --- ding-libs-0.3.0.1.orig/debian/libpath-utils-dev.install +++ ding-libs-0.3.0.1/debian/libpath-utils-dev.install @@ -0,0 +1,5 @@ +usr/include/path_utils.h +usr/lib/*/libpath_utils.a +usr/lib/*/libpath_utils.so +usr/lib/*/pkgconfig/path_utils.pc +usr/share/doc/ding-libs/README.path_utils usr/share/doc/libpath-utils-dev/ --- ding-libs-0.3.0.1.orig/debian/libpath-utils1.install +++ ding-libs-0.3.0.1/debian/libpath-utils1.install @@ -0,0 +1 @@ +usr/lib/*/libpath_utils.so.* --- ding-libs-0.3.0.1.orig/debian/libpath-utils1.symbols +++ ding-libs-0.3.0.1/debian/libpath-utils1.symbols @@ -0,0 +1,16 @@ +libpath_utils.so.1 libpath-utils1 #MINVER# + common_path_prefix@Base 0.3.0.1 + directory_list@Base 0.3.0.1 + find_existing_directory_ancestor@Base 0.3.0.1 + get_basename@Base 0.3.0.1 + get_directory_and_base_name@Base 0.3.0.1 + get_dirname@Base 0.3.0.1 + is_absolute_path@Base 0.3.0.1 + is_ancestor_path@Base 0.3.0.1 + make_normalized_absolute_path@Base 0.3.0.1 + make_path_absolute@Base 0.3.0.1 + normalize_path@Base 0.3.0.1 + path_concat@Base 0.3.0.1 + path_utils_error_string@Base 0.3.0.1 + split_path@Base 0.3.0.1 + --- ding-libs-0.3.0.1.orig/debian/libref-array-dev.docs +++ ding-libs-0.3.0.1/debian/libref-array-dev.docs @@ -0,0 +1 @@ +refarray/doc/html/* --- ding-libs-0.3.0.1.orig/debian/libref-array-dev.install +++ ding-libs-0.3.0.1/debian/libref-array-dev.install @@ -0,0 +1,5 @@ +usr/include/ref_array.h +usr/lib/*/libref_array.a +usr/lib/*/libref_array.so +usr/lib/*/pkgconfig/ref_array.pc +usr/share/doc/ding-libs/README.ref_array usr/share/doc/libref-array-dev/ --- ding-libs-0.3.0.1.orig/debian/libref-array1.install +++ ding-libs-0.3.0.1/debian/libref-array1.install @@ -0,0 +1 @@ +usr/lib/*/libref_array.so.* --- ding-libs-0.3.0.1.orig/debian/libref-array1.symbols +++ ding-libs-0.3.0.1/debian/libref-array1.symbols @@ -0,0 +1,15 @@ +libref_array.so.1 libref-array1 #MINVER# + ref_array_append@Base 0.3.0.1 + ref_array_copy@Base 0.3.0.1 + ref_array_create@Base 0.3.0.1 + ref_array_debug@Base 0.3.0.1 + ref_array_destroy@Base 0.3.0.1 + ref_array_get@Base 0.3.0.1 + ref_array_getlen@Base 0.3.0.1 + ref_array_getref@Base 0.3.0.1 + ref_array_insert@Base 0.3.0.1 + ref_array_len@Base 0.3.0.1 + ref_array_remove@Base 0.3.0.1 + ref_array_replace@Base 0.3.0.1 + ref_array_reset@Base 0.3.0.1 + ref_array_swap@Base 0.3.0.1 --- ding-libs-0.3.0.1.orig/debian/patches/automake_warning.patch +++ ding-libs-0.3.0.1/debian/patches/automake_warning.patch @@ -0,0 +1,35 @@ +Index: ding-libs-0.3.0.1/configure.ac +=================================================================== +--- ding-libs-0.3.0.1.orig/configure.ac 2014-01-02 17:32:41.693871795 -0500 ++++ ding-libs-0.3.0.1/configure.ac 2014-01-02 17:33:42.368571898 -0500 +@@ -5,7 +5,7 @@ + AC_CONFIG_SRCDIR([README]) + AC_CONFIG_AUX_DIR([build]) + AC_GNU_SOURCE +-AM_INIT_AUTOMAKE([-Wall -Werror foreign]) ++AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) + AM_PROG_CC_C_O + m4_pattern_allow([AM_PROG_AR]) + AM_PROG_AR +Index: ding-libs-0.3.0.1/Makefile.am +=================================================================== +--- ding-libs-0.3.0.1.orig/Makefile.am 2014-01-02 17:32:41.713867129 -0500 ++++ ding-libs-0.3.0.1/Makefile.am 2014-01-02 17:34:29.266990308 -0500 +@@ -282,10 +282,15 @@ + ini_comment_ut_LDADD = libini_config.la + + ini_valueobj_ut_SOURCES = ini/ini_valueobj_ut.c +-ini_valueobj_ut_LDADD = libini_config.la ++ini_valueobj_ut_LDADD = \ ++ libini_config.la \ ++ libbasicobjects.la + + ini_parse_ut_SOURCES = ini/ini_parse_ut.c +-ini_parse_ut_LDADD = libini_config.la ++ini_parse_ut_LDADD = \ ++ libini_config.la \ ++ libcollection.la \ ++ libbasicobjects.la + + ini_config-docs: + if HAVE_DOXYGEN --- ding-libs-0.3.0.1.orig/debian/patches/series +++ ding-libs-0.3.0.1/debian/patches/series @@ -0,0 +1 @@ +automake_warning.patch --- ding-libs-0.3.0.1.orig/debian/rules +++ ding-libs-0.3.0.1/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --with quilt,autoreconf + +override_dh_install: + # remove files we don't want to install + find $(CURDIR)/debian/tmp/ -name '*.la' -exec rm '{}' ';' + + dh_install --fail-missing --- ding-libs-0.3.0.1.orig/debian/source/format +++ ding-libs-0.3.0.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- ding-libs-0.3.0.1.orig/debian/watch +++ ding-libs-0.3.0.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://fedorahosted.org/released/ding-libs/ding-libs-(.*).tar.gz --- ding-libs-0.3.0.1.orig/ini/ini.d/real.conf +++ ding-libs-0.3.0.1/ini/ini.d/real.conf @@ -40,7 +40,7 @@ enumerate = 3 [domains/EXAMPLE.COM] -description = Example domain served by IPA +description = Example domain served by IPA provider = ipa server = ipaserver1.example.com server = ipabackupserver.example.com --- ding-libs-0.3.0.1.orig/ini/ini_parse.c +++ ding-libs-0.3.0.1/ini/ini_parse.c @@ -968,6 +968,13 @@ full_len--; } + /* Trucate trailing spaces */ + /* Make sure not to step before the beginning */ + while (full_len && isspace(str[full_len - 1])) { + str[full_len - 1] = '\0'; + full_len--; + } + /* Check if we have the key */ if (*(str) == '=') { po->last_error = ERR_NOKEY; --- ding-libs-0.3.0.1.orig/ini/ini_parse_ut.c +++ ding-libs-0.3.0.1/ini/ini_parse_ut.c @@ -2650,6 +2650,105 @@ return EOK; } + +int trim_test(void) +{ + int error; + struct ini_cfgfile *file_ctx = NULL; + struct ini_cfgobj *ini_config = NULL; + char **error_list = NULL; + char infile[PATH_MAX]; + char *srcdir = NULL; + const char *value; + struct value_obj *vo = NULL; + + INIOUT(printf("\n\n<==== TRIM TEST START =====>\n")); + + srcdir = getenv("srcdir"); + snprintf(infile, PATH_MAX, "%s/ini/ini.d/real.conf", + (srcdir == NULL) ? "." : srcdir); + + + INIOUT(printf("Reading file %s\n", infile)); + error = ini_config_file_open(infile, + 0, + &file_ctx); + if (error) { + printf("Failed to open file for reading. Error %d.\n", error); + return error; + } + + INIOUT(printf("Creating configuration object\n")); + error = ini_config_create(&ini_config); + if (error) { + printf("Failed to create object. Error %d.\n", error); + ini_config_file_destroy(file_ctx); + return error; + } + INIOUT(printf("Parsing\n")); + error = ini_config_parse(file_ctx, + INI_STOP_ON_NONE, + 0, + 0, + ini_config); + if (error) { + INIOUT(printf("Failed to parse configuration. " + "Error %d.\n", error)); + + if (ini_config_error_count(ini_config)) { + INIOUT(printf("Errors detected while parsing: %s\n", + ini_config_get_filename(file_ctx))); + ini_config_get_errors(ini_config, &error_list); + INIOUT(ini_config_print_errors(stdout, error_list)); + ini_config_free_errors(error_list); + } + ini_config_file_destroy(file_ctx); + return error; + } + + INIOUT(col_debug_collection(ini_config->cfg, COL_TRAVERSE_DEFAULT)); + ini_config_file_destroy(file_ctx); + + vo = NULL; + error = ini_get_config_valueobj("domains/EXAMPLE.COM", + "description", + ini_config, + INI_GET_FIRST_VALUE, + &vo); + if(error) { + printf("Expected success but got error! %d\n",error); + ini_config_destroy(ini_config); + return error; + } + + /* Value should be found */ + if (vo == NULL) { + printf("Expected success but got NULL.\n"); + ini_config_destroy(ini_config); + return -1; + } + + value = ini_get_const_string_config_value(vo, NULL); + + if (value == NULL) { + printf("No value.\n"); + ini_config_destroy(ini_config); + return -1; + } + + if(value[strlen(value) - 1] == ' ') { + printf("Trailing space is not trimmed.\n"); + ini_config_destroy(ini_config); + return -1; + } + + INIOUT(printf("[%s]\n", value)); + + ini_config_destroy(ini_config); + + INIOUT(printf("\n<==== TRIM TEST END =====>\n\n")); + return EOK; +} /* Main function of the unit test */ int main(int argc, char *argv[]) { @@ -2663,6 +2762,7 @@ reload_test, get_test, space_test, + trim_test, NULL }; test_fn t; int i = 0; --- ding-libs-0.3.0.1.orig/ini/m4/libbasicobjects.m4 +++ ding-libs-0.3.0.1/ini/m4/libbasicobjects.m4 @@ -0,0 +1,5 @@ +AC_SUBST(BASICOBJS_OBJ) +AC_SUBST(BASICOBJS_CFLAGS) +AC_SUBST(BASICOBJS_LIBS) + +PKG_CHECK_MODULES(BASICOBJS, basicobjects >= 0.1.0) --- ding-libs-0.3.0.1.orig/ini/m4/libcollection.m4 +++ ding-libs-0.3.0.1/ini/m4/libcollection.m4 @@ -0,0 +1,5 @@ +AC_SUBST(COLLECTION_OBJ) +AC_SUBST(COLLECTION_CFLAGS) +AC_SUBST(COLLECTION_LIBS) + +PKG_CHECK_MODULES(COLLECTION, collection >= 0.5.0,,AC_MSG_ERROR([libcollection development package not installed])) --- ding-libs-0.3.0.1.orig/ini/m4/libpath_utils.m4 +++ ding-libs-0.3.0.1/ini/m4/libpath_utils.m4 @@ -0,0 +1,5 @@ +AC_SUBST(PATH_UTILS_OBJ) +AC_SUBST(PATH_UTILS_CFLAGS) +AC_SUBST(PATH_UTILS_LIBS) + +PKG_CHECK_MODULES(PATH_UTILS, path_utils >= 0.2.0) --- ding-libs-0.3.0.1.orig/ini/m4/libref_array.m4 +++ ding-libs-0.3.0.1/ini/m4/libref_array.m4 @@ -0,0 +1,5 @@ +AC_SUBST(REFARRAY_OBJ) +AC_SUBST(REFARRAY_CFLAGS) +AC_SUBST(REFARRAY_LIBS) + +PKG_CHECK_MODULES(REFARRAY, ref_array >= 0.1.0,,AC_MSG_ERROR([librefarray development package not installed])) --- ding-libs-0.3.0.1.orig/scripts/release.sh +++ ding-libs-0.3.0.1/scripts/release.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +function config() +{ + autoreconf -i -f || return $? + ./configure +} + +SAVED_PWD=$PWD +version=`grep '\[VERSION_NUMBER], \[.*\]' version.m4 |grep '[0-9]\+\.[0-9]\+\.[0-9]\+' -o` +tag=$(echo ${version} | tr "." "_") + +trap "cd $SAVED_PWD; rm -rf ding-libs-${version} ding-libs-${version}.tar" EXIT + +git archive --format=tar --prefix=ding-libs-${version}/ ding_libs-${tag} > ding-libs-${version}.tar +if [ $? -ne 0 ]; then + echo "Cannot perform git-archive, check if tag ding_libs-$tag is present in git tree" + exit 1 +fi +tar xf ding-libs-${version}.tar + +pushd ding-libs-${version} +config || exit 1 +make dist-gzip || exit 1 # also builds docs +popd + +mv ding-libs-${version}/ding-libs-${version}.tar.gz . +gpg --detach-sign --armor ding-libs-${version}.tar.gz +