debian/0000755000000000000000000000000012247372344007176 5ustar debian/libdotconf-dev.docs0000644000000000000000000000006412233530445012740 0ustar README doc/dotconf-api.txt doc/dotconf-features.txt debian/libdotconf0.install0000644000000000000000000000003312233530445012756 0ustar usr/lib/*/libdotconf.so.* debian/copyright0000644000000000000000000000364612233530445011133 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: dotconf Source: https://github.com/williamh/dotconf Files: src/dotconf* Copyright: Copyright (C) 1999,2000,2001,2002 Lukas Schroeder License: LGPL-2+ On Debian systems the full text of the GNU Library General Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. Files: src/readdir.* Copyright: Copyright (c) 2000 The Apache Software Foundation. All rights reserved. License: Apache-1.1 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. 4. The names "Apache" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. 5. Products derived from this software may not be called "Apache", nor may "Apache" appear in their name, without prior written permission of the Apache Software Foundation. Files: debian/* Copyright: Copyright 2012, Luke Yelavich License: GPL-2 On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. debian/changelog0000644000000000000000000001031512247372322011044 0ustar dotconf (1.3-0ubuntu2) trusty; urgency=low * Use dh-autoreconf. -- Matthias Klose Tue, 03 Dec 2013 16:11:59 +0100 dotconf (1.3-0ubuntu1) trusty; urgency=low [ Jason White ] * New upstream release. (Closes: #637652) * Add multi-arch support. * Create a package for debugging symbols. * Convert the character encoding of the copyright file to UTF8. * Add copyright notice (in required form) to copyright file and identify the current upstream source. * Update dependencies. * Remove dotconf-config(1) manual page as dotconf-config no longer exists. * Specify source format as 3.0 (quilt). * Update standards-version to 3.9.4. [ Luke Yelavich ] * Remove obsolete postinst script * Rename the dotconf library package to match the soname * Update to new copyright format * Added symbols file * debian/rules: Remove multi-arch variable definition, debhelper 9 takes care of things already * 0001-fix-possible-buffer-overflow-in-get_path.patch: - Patch taken from upstream git to fix a possible buffer overflow in get_path * Remove the use of autoreconf, we do not currently change anything that requires autotools files regeneration * debian/rules: Add a get-orig-source rule, since upstream does not release tarballs with autotools files generated -- Luke Yelavich Mon, 28 Oct 2013 21:09:11 -0700 dotconf (1.0.13-3build2) raring; urgency=low * Rebuild to pick up new config.guess/config.sub for arm64. -- Colin Watson Sat, 09 Feb 2013 00:03:26 +0000 dotconf (1.0.13-3build1) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Mon, 01 Oct 2012 21:01:00 +0100 dotconf (1.0.13-3) unstable; urgency=low * Correctly make use of realloc, to prevent applications using dotconf from crashing randomly, Thanks to Eitan Isaacson for the patch. (Closes: #546059) -- Shane Wegner Thu, 10 Sep 2009 22:46:00 -0700 dotconf (1.0.13-2) unstable; urgency=low * Upgrade included libtool to 1.5.22-4. (Closes: #306632) -- Shane Wegner Sat, 18 Nov 2006 22:54:03 -0800 dotconf (1.0.13-1) unstable; urgency=low * New upstream version, Closes: 262100 -- Shane Wegner Thu, 29 Jul 2004 13:32:32 -0700 dotconf (1.0.12-2) unstable; urgency=low * Fix dotconf-config manpage conflict. -- Shane Wegner Thu, 10 Apr 2003 15:48:01 -0700 dotconf (1.0.12-1) unstable; urgency=low * New upstream version, Closes: 187317 * Changed section of libdotconf-dev to libdevel. * DebHelper version 4. -- Shane Wegner Wed, 2 Apr 2003 13:12:42 -0800 dotconf (1.0.11-1) unstable; urgency=low * New upstream version, Closes: 162328 -- Shane Wegner Mon, 25 Nov 2002 19:32:16 -0800 dotconf (1.0.9-1) unstable; urgency=low * New upstream version. * Move to DebHelper v3. -- Shane Wegner Mon, 11 Mar 2002 12:41:15 -0800 dotconf (1.0.6-1) unstable; urgency=low * New upstream version. -- Shane Wegner Sun, 16 Sep 2001 20:56:58 -0700 dotconf (1.0.5-1) unstable; urgency=low * New upstream version. -- Shane Wegner Sat, 18 Aug 2001 19:29:38 -0700 dotconf (1.0.4-2) unstable; urgency=low * Clean out example binaries present in upstream source, Closes: Bug#105295. -- Shane Wegner Sat, 14 Jul 2001 22:52:55 -0700 dotconf (1.0.4-1) unstable; urgency=low * New upstream version * Added autotools support -- Shane Wegner Thu, 12 Jul 2001 18:23:39 -0700 dotconf (1.0.2-2) unstable; urgency=low * Install updated config.sub and config.guess for building on PARISC, Closes: Bug#94805 -- Shane Wegner Sat, 21 Apr 2001 23:16:20 -0700 dotconf (1.0.2-1) unstable; urgency=low * New upstream version -- Shane Wegner Sat, 24 Mar 2001 15:59:21 -0800 dotconf (1.0.0-1) unstable; urgency=low * New upstream version * First upload to Debian, Closes Bug#74042 -- Shane Wegner Wed, 21 Mar 2001 12:36:21 -0800 Local variables: mode: debian-changelog End: debian/libdotconf0.symbols0000644000000000000000000000173512233531403013005 0ustar libdotconf.so.0 libdotconf0 #MINVER# dotconf_callback@Base 1.0.13 dotconf_cleanup@Base 1.0.13 dotconf_command_loop@Base 1.0.13 dotconf_command_loop_until_error@Base 1.0.13 dotconf_continue_line@Base 1.0.13 dotconf_create@Base 1.0.13 dotconf_find_command@Base 1.0.13 dotconf_find_wild_card@Base 1.0.13 dotconf_free_command@Base 1.0.13 dotconf_get_here_document@Base 1.0.13 dotconf_get_next_line@Base 1.0.13 dotconf_handle_command@Base 1.0.13 dotconf_handle_question_mark@Base 1.0.13 dotconf_handle_star@Base 1.0.13 dotconf_handle_wild_card@Base 1.0.13 dotconf_invoke_command@Base 1.0.13 dotconf_is_wild_card@Base 1.0.13 dotconf_question_mark_match@Base 1.0.13 dotconf_read_arg@Base 1.0.13 dotconf_register_options@Base 1.0.13 dotconf_set_command@Base 1.0.13 dotconf_star_match@Base 1.0.13 dotconf_strcmp_from_back@Base 1.0.13 dotconf_substitute_env@Base 1.0.13 dotconf_warning@Base 1.0.13 dotconf_wild_card_cleanup@Base 1.0.13 get_cwd@Base 1.3 get_path@Base 1.3 debian/compat0000644000000000000000000000000212233530445010365 0ustar 9 debian/patches/0000755000000000000000000000000012233547671010627 5ustar debian/patches/0001-fix-possible-buffer-overflow-in-get_path.patch0000644000000000000000000000133512233547653022141 0ustar From 6382711e9b0060bbd0408df512e48b2ce9cdb3be Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 22 Jun 2010 14:16:45 -0500 Subject: [PATCH] fix possible buffer overflow in get_path If a pathname is longer than CFG_MAX_FILENAME, there was a possible buffer overflow when copying the path name. --- src/dotconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotconf.c b/src/dotconf.c index af553b3..7ba2001 100644 --- a/src/dotconf.c +++ b/src/dotconf.c @@ -1440,7 +1440,7 @@ char *get_path(char *name) } else { len = tmp - name + 1; if (len > CFG_MAX_FILENAME) - len -= 1; + len = CFG_MAX_FILENAME; } snprintf(buf, len, "%s", name); return buf; -- 1.8.3.2 debian/patches/series0000644000000000000000000000006412233547674012047 0ustar 0001-fix-possible-buffer-overflow-in-get_path.patch debian/control0000644000000000000000000000537412247372234010610 0ustar Source: dotconf Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Shane Wegner Build-Depends: debhelper (>= 9), dh-autoreconf Standards-Version: 3.9.4 Package: libdotconf-dev Architecture: any Section: libdevel Priority: extra Depends: ${misc:Depends}, libdotconf0 (= ${binary:Version}), libc6-dev Description: Configuration file parser library - development files dot.conf is a simple-to-use and powerful configuration-file parser library written in C. The configuration files created for dot.conf look very similar to those used by the Apache Webserver. Even Container-Directives known from httpd.conf can easily be used in the exact same manner as for Apache-Modules. It supports various types of arguments, dynamically loadable modules that create their own configuration options on-the-fly, a here-documents feature to pass very long ARG_STR data to your app, and on-the-fly inclusion of additional config files. . This package contains the development files necessary to build programs using the dotconf library. Package: libdotconf0 Architecture: any Multi-arch: same Section: libs Priority: optional Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: multiarch-support Description: Configuration file parser library - runtime files dot.conf is a simple-to-use and powerful configuration-file parser library written in C. The configuration files created for dot.conf look very similar to those used by the Apache Webserver. Even Container-Directives known from httpd.conf can easily be used in the exact same manner as for Apache-Modules. It supports various types of arguments, dynamically loadable modules that create their own configuration options on-the-fly, a here-documents feature to pass very long ARG_STR data to your app, and on-the-fly inclusion of additional config files. Package: libdotconf0-dbg Architecture: any Multi-arch: same Section: debug Priority: extra Depends: ${misc:Depends}, ${shlibs:Depends}, libdotconf0 (= ${binary:Version}) Pre-Depends: multiarch-support Description: Configuration file parser library - runtime files dot.conf is a simple-to-use and powerful configuration-file parser library written in C. The configuration files created for dot.conf look very similar to those used by the Apache Webserver. Even Container-Directives known from httpd.conf can easily be used in the exact same manner as for Apache-Modules. It supports various types of arguments, dynamically loadable modules that create their own configuration options on-the-fly, a here-documents feature to pass very long ARG_STR data to your app, and on-the-fly inclusion of additional config files. . This package contains the debugging symbols for libdotconf. debian/libdotconf-dev.install0000644000000000000000000000012012233530445013447 0ustar usr/lib/*/libdotconf.so usr/lib/*/libdotconf.a usr/lib/*/pkgconfig usr/include debian/rules0000755000000000000000000000125712247372267010267 0ustar #!/usr/bin/make -f # 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 version=$(shell dpkg-parsechangelog|sed -n -e 's/^Version: //p'|cut -d- -f1) %: dh $@ --with autoreconf override_dh_strip: dh_strip --dbg-package=libdotconf0-dbg get-orig-source: cd $(CURDIR); \ mkdir -p dotconf-git && cd dotconf-git; \ git clone git://github.com/williamh/dotconf.git; \ cd dotconf; \ git checkout -b $(version) v$(version); \ autoreconf -i && ./configure && make && make dist; \ cp dotconf-$(version).tar.gz $(CURDIR)/dotconf_$(version).orig.tar.gz; \ cd $(CURDIR) && rm -rf dotconf-git debian/source/0000755000000000000000000000000012233530445010467 5ustar debian/source/format0000644000000000000000000000001412233530445011675 0ustar 3.0 (quilt)