--- confuse-2.7.orig/debian/changelog +++ confuse-2.7/debian/changelog @@ -0,0 +1,100 @@ +confuse (2.7-4ubuntu1) trusty; urgency=medium + + * Build with dh-autoreconf instead of autotools-dev for new libtool. + + -- William Grant Mon, 30 Dec 2013 07:52:23 +0000 + +confuse (2.7-4) unstable; urgency=low + + * Run the testsuite during build (closes: #635915). + * Add build-arch and build-indep targets. + + -- Aurelien Jarno Sun, 31 Jul 2011 14:14:18 +0200 + +confuse (2.7-3) unstable; urgency=low + + * Add a replaces on libconfuse0 (<< 2.7-2) in libconfuse-common. Closes; + #630862). + + -- Aurelien Jarno Sat, 18 Jun 2011 19:22:33 +0200 + +confuse (2.7-2) unstable; urgency=low + + * Bumped Standards-Version to 3.9.2 (no changes). + * Convert to multiarch: + - Bump debhelper build-dep to >= 8.1.3 for multiarch. + - Add Pre-Depends: ${misc:Pre-Depends} to libconfuse0 and it + Multi-Arch: same. + - Install the library in the multiarch path. + - Add a libconfuse-common package containing the translations. + * Dropped .la file from -dev packages since it is not used by any + depending package. + + -- Aurelien Jarno Wed, 15 Jun 2011 21:59:29 +0200 + +confuse (2.7-1) unstable; urgency=low + + * New upstream version. + * Bump Standards-Version to 3.8.4 (no changes). + * Add symbol files. + * Switch to debhelper 5. + * libconfuse-dev.doc-base.doc, libconfuse-dev.doc-base.tutorial: + move to section Programming/C. + * Add German translation, by Martin Hedenfalk (closes: #532848). + + -- Aurelien Jarno Mon, 22 Feb 2010 22:34:23 +0100 + +confuse (2.6-2) unstable; urgency=low + + * Use -Wno-usused to get this package buildable with gcc-4.3 (closes: + bug#462697). + + -- Aurelien Jarno Sun, 27 Jan 2008 00:54:53 +0100 + +confuse (2.6-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Sat, 29 Dec 2007 21:33:17 +0100 + +confuse (2.5-3) unstable; urgency=low + + * Make the package binNMU safe. + + -- Aurelien Jarno Mon, 5 Mar 2007 21:24:10 +0100 + +confuse (2.5-2) unstable; urgency=low + + * Correctly handle parameters with double quotes and backslash. Thanks + to Raphaël Hertzog for the patch (closes: bug#374875). + * Bumped Standards-Version to 3.7.2 (no changes). + * debian/copyright: updated FSF address. + + -- Aurelien Jarno Sun, 9 Jul 2006 13:01:58 +0200 + +confuse (2.5-1) unstable; urgency=low + + * First upload of the year. Happy New Year! + * New upstream version. + + -- Aurelien Jarno Sat, 1 Jan 2005 13:20:44 +0100 + +confuse (2.4-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Sun, 26 Sep 2004 21:52:20 +0200 + +confuse (2.3-1) unstable; urgency=low + + * New upstream version. + * Bumped Standards-Version to 3.6.1 (no changes). + + -- Aurelien Jarno Mon, 2 Aug 2004 15:02:25 +0200 + +confuse (2.2-1) unstable; urgency=low + + * Initial Release (closes: bug#241095). + + -- Aurelien Jarno Wed, 31 Mar 2004 00:24:58 +0200 + --- confuse-2.7.orig/debian/compat +++ confuse-2.7/debian/compat @@ -0,0 +1 @@ +5 --- confuse-2.7.orig/debian/control +++ confuse-2.7/debian/control @@ -0,0 +1,42 @@ +Source: confuse +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Aurelien Jarno +Build-Depends: debhelper (>= 8.1.3), dh-autoreconf, pkg-config +Standards-Version: 3.9.2 +Homepage: http://www.nongnu.org/confuse/ + +Package: libconfuse0 +Section: libs +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, libconfuse-common (= ${source:Version}) +Description: Library for parsing configuration files + libConfuse is a configuration file parser library written in C. It + supports sections and (lists of) values (strings, integers, floats, + booleans or other sections), as well as some other features (such as + single/double-quoted strings, environment variable expansion, + functions and nested include statements). + . + It makes it very easy to add configuration file capability to a + program using a simple API. + +Package: libconfuse-common +Section: libs +Architecture: all +Multi-Arch: foreign +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: libconfuse0 (<< 2.7-2) +Description: Common files for libConfuse + This package contains internationalization files for the confuse + library. + +Package: libconfuse-dev +Section: libdevel +Architecture: any +Depends: libconfuse0 (= ${binary:Version}), ${misc:Depends} +Description: Development files for libConfuse + This package contains the header files and static library needed to + compile applications that use the confuse library. --- confuse-2.7.orig/debian/copyright +++ confuse-2.7/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Aurelien Jarno on +Tue, 30 Mar 2004 14:01:27 +0200. + +It was downloaded from http://www.nongnu.org/confuse/ + +Upstream Author: + Martin Hedenfalk + +Copyright: + + Copyright (c) 2002-2003, Martin Hedenfalk + +License: + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --- confuse-2.7.orig/debian/docs +++ confuse-2.7/debian/docs @@ -0,0 +1 @@ +README --- confuse-2.7.orig/debian/libconfuse-common.install +++ confuse-2.7/debian/libconfuse-common.install @@ -0,0 +1 @@ +usr/share/locale/* --- confuse-2.7.orig/debian/libconfuse-dev.dirs +++ confuse-2.7/debian/libconfuse-dev.dirs @@ -0,0 +1 @@ +usr/share/doc/libconfuse-dev/ --- confuse-2.7.orig/debian/libconfuse-dev.doc-base.doc +++ confuse-2.7/debian/libconfuse-dev.doc-base.doc @@ -0,0 +1,19 @@ +Document: libconfuse-doc +Title: The libConfuse Documentation +Author: Martin Hedenfalk +Abstract: + This documentation will give an overview of how the libConfuse work. + . + libConfuse is a configuration file parser library written in C. It + supports sections and (lists of) values (strings, integers, floats, + booleans or other sections), as well as some other features (such as + single/double-quoted strings, environment variable expansion, functions + and nested include statements). + . + It makes it very easy to add configuration file capability to a + program using a simple API. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libconfuse-dev/html/index.html +Files: /usr/share/doc/libconfuse-dev/html/* --- confuse-2.7.orig/debian/libconfuse-dev.doc-base.tutorial +++ confuse-2.7/debian/libconfuse-dev.doc-base.tutorial @@ -0,0 +1,21 @@ +Document: libconfuse-tutorial +Title: The libConfuse Tutorial +Author: Martin Hedenfalk +Abstract: + This tutorial explains how to introduce libConfuse in an + existing program. + . + libConfuse is a configuration file parser library written in C. It + supports sections and (lists of) values (strings, integers, floats, + booleans or other sections), as well as some other features (such as + single/double-quoted strings, environment variable expansion, functions + and nested include statements). + . + It makes it very easy to add configuration file capability to a + program using a simple API. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libconfuse-dev/tutorial-html/index.html +Files: /usr/share/doc/libconfuse-dev/tutorial-html/* + --- confuse-2.7.orig/debian/libconfuse-dev.examples +++ confuse-2.7/debian/libconfuse-dev.examples @@ -0,0 +1,2 @@ +examples/*.c +examples/*.conf --- confuse-2.7.orig/debian/libconfuse-dev.install +++ confuse-2.7/debian/libconfuse-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/lib*.a +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/libconfuse.pc --- confuse-2.7.orig/debian/libconfuse-dev.manpages +++ confuse-2.7/debian/libconfuse-dev.manpages @@ -0,0 +1,4 @@ +doc/man/man3/cfg_opt_t.3 +doc/man/man3/cfg_t.3 +doc/man/man3/cfg_value_t.3 +doc/man/man3/confuse.h.3 --- confuse-2.7.orig/debian/libconfuse0.install +++ confuse-2.7/debian/libconfuse0.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* --- confuse-2.7.orig/debian/libconfuse0.shlibs +++ confuse-2.7/debian/libconfuse0.shlibs @@ -0,0 +1 @@ +libconfuse 0 libconfuse0 (>= 2.7) --- confuse-2.7.orig/debian/libconfuse0.symbols +++ confuse-2.7/debian/libconfuse0.symbols @@ -0,0 +1,106 @@ +libconfuse.so.0 libconfuse0 #MINVER# + cfg_addlist@Base 2.5 + cfg_dummy_function@Base 2.5 + cfg_error@Base 2.5 + cfg_free@Base 2.5 + cfg_free_value@Base 2.5 + cfg_getbool@Base 2.5 + cfg_getfloat@Base 2.5 + cfg_getint@Base 2.5 + cfg_getnbool@Base 2.5 + cfg_getnfloat@Base 2.5 + cfg_getnint@Base 2.5 + cfg_getnptr@Base 2.5 + cfg_getnsec@Base 2.5 + cfg_getnstr@Base 2.5 + cfg_getopt@Base 2.5 + cfg_getptr@Base 2.5 + cfg_getsec@Base 2.5 + cfg_getstr@Base 2.5 + cfg_gettsec@Base 2.5 + cfg_include@Base 2.5 + cfg_include_stack@Base 2.5 + cfg_include_stack_ptr@Base 2.5 + cfg_init@Base 2.5 + cfg_lexer_include@Base 2.5 + cfg_name@Base 2.5 + cfg_numopts@Base 2.5 + cfg_opt_getnbool@Base 2.5 + cfg_opt_getnfloat@Base 2.5 + cfg_opt_getnint@Base 2.5 + cfg_opt_getnptr@Base 2.5 + cfg_opt_getnsec@Base 2.5 + cfg_opt_getnstr@Base 2.5 + cfg_opt_gettsec@Base 2.5 + cfg_opt_name@Base 2.5 + cfg_opt_nprint_var@Base 2.5 + cfg_opt_print@Base 2.5 + cfg_opt_print_indent@Base 2.5 + cfg_opt_set_print_func@Base 2.5 + cfg_opt_setnbool@Base 2.5 + cfg_opt_setnfloat@Base 2.5 + cfg_opt_setnint@Base 2.5 + cfg_opt_setnstr@Base 2.5 + cfg_opt_size@Base 2.5 + cfg_parse@Base 2.5 + cfg_parse_boolean@Base 2.5 + cfg_parse_buf@Base 2.5 + cfg_parse_fp@Base 2.5 + cfg_print@Base 2.5 + cfg_print_indent@Base 2.5 + cfg_qstring@Base 2.5 + cfg_scan_fp_begin@Base 2.5 + cfg_scan_fp_end@Base 2.5 + cfg_scan_string_begin@Base 2.5 + cfg_scan_string_end@Base 2.5 + cfg_set_error_function@Base 2.5 + cfg_setopt@Base 2.7 + cfg_set_print_func@Base 2.5 + cfg_set_validate_func@Base 2.5 + cfg_setbool@Base 2.5 + cfg_setfloat@Base 2.5 + cfg_setint@Base 2.5 + cfg_setlist@Base 2.5 + cfg_setnbool@Base 2.5 + cfg_setnfloat@Base 2.5 + cfg_setnint@Base 2.5 + cfg_setnstr@Base 2.5 + cfg_setstr@Base 2.5 + cfg_size@Base 2.5 + cfg_tilde_expand@Base 2.5 + cfg_title@Base 2.5 + cfg_yy_create_buffer@Base 2.5 + cfg_yy_delete_buffer@Base 2.5 + cfg_yy_flex_debug@Base 2.6 + cfg_yy_flush_buffer@Base 2.5 + cfg_yy_scan_buffer@Base 2.5 + cfg_yy_scan_bytes@Base 2.5 + cfg_yy_scan_string@Base 2.5 + cfg_yy_switch_to_buffer@Base 2.5 + cfg_yyalloc@Base 2.6 + cfg_yyfree@Base 2.6 + cfg_yyget_debug@Base 2.6 + cfg_yyget_in@Base 2.6 + cfg_yyget_leng@Base 2.6 + cfg_yyget_lineno@Base 2.6 + cfg_yyget_out@Base 2.6 + cfg_yyget_text@Base 2.6 + cfg_yyin@Base 2.5 + cfg_yyleng@Base 2.5 + cfg_yylex@Base 2.5 + cfg_yylex_destroy@Base 2.6 + cfg_yylineno@Base 2.6 + cfg_yylval@Base 2.5 + cfg_yyout@Base 2.5 + cfg_yypop_buffer_state@Base 2.6 + cfg_yypush_buffer_state@Base 2.6 + cfg_yyrealloc@Base 2.6 + cfg_yyrestart@Base 2.5 + cfg_yyset_debug@Base 2.6 + cfg_yyset_in@Base 2.6 + cfg_yyset_lineno@Base 2.6 + cfg_yyset_out@Base 2.6 + cfg_yytext@Base 2.5 + confuse_author@Base 2.5 + confuse_copyright@Base 2.5 + confuse_version@Base 2.5 --- confuse-2.7.orig/debian/rules +++ confuse-2.7/debian/rules @@ -0,0 +1,113 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +CFLAGS = -Wall -Wno-unused +CFLAGS += $(shell dpkg-buildflags --get CFLAGS) + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + dh_autoreconf + CFLAGS="$(CFLAGS)" ./configure \ + --enable-shared \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info + +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: config.status + dh_testdir + + $(MAKE) +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + $(MAKE) check +endif + + touch $@ + +build-indep: build-indep-stamp +build-indep-stamp: + dh_testdir + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_autoreconf_clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + # Move all files in their corresponding package + dh_install --list-missing --sourcedir=debian/tmp + + # Install documentation + cp -R $(CURDIR)/doc/html $(CURDIR)/debian/libconfuse-dev/usr/share/doc/libconfuse-dev/ + cp -R $(CURDIR)/doc/tutorial-html $(CURDIR)/debian/libconfuse-dev/usr/share/doc/libconfuse-dev/ + +# Build architecture-independent files here. +binary-indep: build-indep install + dh_testdir + dh_testroot + dh_installchangelogs -i NEWS + dh_installdocs -i + dh_installexamples -i + dh_installman -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build-arch install + dh_testdir + dh_testroot + dh_installchangelogs -a NEWS + dh_installdocs -a + dh_installexamples -a + dh_installman -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a -V + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install --- confuse-2.7.orig/po/de.po +++ confuse-2.7/po/de.po @@ -0,0 +1,119 @@ +# Translation of confuse to German +# Copyright (C) 2002-2003 Martin Hedenfalk +# This file is distributed under the same license as the confuse package. +# Chris Leick , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: confuse 2.6-2\n" +"Report-Msgid-Bugs-To: confuse-devel@nongnu.org\n" +"POT-Creation-Date: 2007-10-13 21:49+0200\n" +"PO-Revision-Date: 2009-05-29 11:27+0100\n" +"Last-Translator: Chris Leick \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + + +#: src/confuse.c:154 src/confuse.c:176 +#, c-format +msgid "no such option '%s'" +msgstr "keine solche Option »%s«" + +#: src/confuse.c:590 +#, c-format +msgid "found duplicate title '%s'" +msgstr "doppelter Titel »%s« gefunden" + +#: src/confuse.c:615 +#, c-format +msgid "invalid integer value for option '%s'" +msgstr "ungültiger Ganzzahlwert für Option »%s«" + +#: src/confuse.c:622 +#, c-format +msgid "integer value for option '%s' is out of range" +msgstr "Ganzzahlwert für Option »%s« ist außerhalb des Abschnitts" + +#: src/confuse.c:642 +#, c-format +msgid "invalid floating point value for option '%s'" +msgstr "ungültiger Fließkommawert für Option »%s«" + +#: src/confuse.c:649 +#, c-format +msgid "floating point value for option '%s' is out of range" +msgstr "Fließkommawert für Option »%s« ist außerhalb des Abschnitts" + +#: src/confuse.c:698 +#, c-format +msgid "invalid boolean value for option '%s'" +msgstr "ungültiger Boolean-Wert für Option »%s«" + +#: src/confuse.c:802 +msgid "premature end of file" +msgstr "vorzeitiges Ende der Datei" + +# http://www.dict.cc/deutsch-englisch/Klammer.html +#: src/confuse.c:815 +msgid "unexpected closing brace" +msgstr "unerwartete schließende eckige Klammer" + +#: src/confuse.c:822 src/confuse.c:892 src/confuse.c:914 src/confuse.c:941 +#, c-format +msgid "unexpected token '%s'" +msgstr "unerwartetes Element »%s«" + +#: src/confuse.c:849 +#, c-format +msgid "attempt to append to non-list option '%s'" +msgstr "es wird versucht an die Nicht-Listen-Option »%s« anzuhängen" + +#: src/confuse.c:867 +#, c-format +msgid "missing equal sign after option '%s'" +msgstr "fehlendes Gleichheitszeichen nach Option »%s«" + +#: src/confuse.c:949 +#, c-format +msgid "missing opening brace for section '%s'" +msgstr "öffnende geschweifte Klammer für Abschnitt »%s« fehlt" + +#: src/confuse.c:972 +#, c-format +msgid "missing title for section '%s'" +msgstr "fehlender Titel für Abschnitt »%s«" + +#: src/confuse.c:984 +#, c-format +msgid "missing parenthesis for function '%s'" +msgstr "runde Klammer für Funktion »%s« fehlen" + +#: src/confuse.c:1007 src/confuse.c:1025 +#, c-format +msgid "syntax error in call of function '%s'" +msgstr "Syntaxfehler im Aufruf der Funktion »%s«" + +#: src/confuse.c:1231 +msgid "wrong number of arguments to cfg_include()" +msgstr "falsche Anzahl von Argumenten für cfg_include()" + +#: src/lexer.l:138 +#, c-format +msgid "invalid octal number '%s'" +msgstr "ungültige Oktalzahl »%s«" + +#: src/lexer.l:144 +#, c-format +msgid "bad escape sequence '%s'" +msgstr "falsche Escape-Sequenz »%s«" + +#: src/lexer.l:219 +msgid "unterminated string constant" +msgstr "nicht beendete Zeichenkettenkonstante" + +#: src/lexer.l:285 +msgid "includes nested too deeply" +msgstr "Zu tiefe Verschachtelung von includes"