debian/0000755000000000000000000000000012247462323007173 5ustar debian/libhx-doc.docs0000644000000000000000000000015212117311171011702 0ustar doc/assorted.txt doc/libHX_Documentation.pdf doc/dirstamp.txt doc/ux-file.txt doc/ux-mmap.txt doc/api.txt debian/copyright0000644000000000000000000000150612106453017011122 0ustar This package was debianized by Bastian Kleineidam on Thu, 05 Jul 2007 13:13:21 +0200. Upstream Author: Jan Engelhardt Copyright: Copyright (C) Jan Engelhardt , 1999 - 2012 License: libHX 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 or 3 of the License. The license texts are available at `/usr/share/common-licenses/LGPL-2.1' and `/usr/share/common-licenses/LGPL-3'. The GNU GPL as mentioned in the LGPL-3 text is available in the file `/usr/share/common-licenses/GPL-3'. The Debian packaging is Copyright (C) 2007-2013, Bastian Kleineidam and is licensed under the GPLv3, see `/usr/share/common-licenses/GPL-3'. debian/libhx-dev.dirs0000644000000000000000000000002412051212011011710 0ustar usr/lib usr/include debian/changelog0000644000000000000000000002007412247462320011045 0ustar libhx (3.15-2ubuntu1) trusty; urgency=low * Build using dh-autoreconf. -- Matthias Klose Tue, 03 Dec 2013 23:09:49 +0100 libhx (3.15-2) unstable; urgency=low * Add simple autopkgtest to package. Patch by Vibhav Pant. Closes: #705910 -- Bastian Kleineidam Mon, 22 Apr 2013 18:57:37 +0200 libhx (3.15-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Mon, 11 Mar 2013 09:08:17 +0100 libhx (3.14.1-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Fri, 11 Jan 2013 19:59:10 +0100 libhx (3.14-2) unstable; urgency=low * Mark the library package Multi-Arch: same Closes: ##696003 -- Bastian Kleineidam Sat, 15 Dec 2012 19:34:03 +0100 libhx (3.14-1) unstable; urgency=low * New upstream release. * Use debhelper compatibility level 9, adding multiarch support. -- Bastian Kleineidam Thu, 15 Nov 2012 12:46:15 +0100 libhx (3.13-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Thu, 09 Aug 2012 11:37:20 +0200 libhx (3.12.1-1) unstable; urgency=low * New upstream version. * Rename package for new ABI version 28. * Updated copyright year in debian/copyright. -- Bastian Kleineidam Sun, 18 Dec 2011 08:40:39 +0100 libhx (3.11-1) unstable; urgency=low * New upstream release. * Remove Vcs-Git entry since it does not contain a debian/ directory. -- Bastian Kleineidam Sat, 10 Sep 2011 08:13:40 +0200 libhx (3.10.1-3) unstable; urgency=low * Use hardening-wrapper for security flags. * Standards version 3.9.2 (no changes necessary). * Do not start package description line with an article. -- Bastian Kleineidam Sun, 01 May 2011 08:35:37 +0200 libhx (3.10.1-2) unstable; urgency=low * Remove *.la files from -dev package (Closes: #621668) * Add patch hurd-path-max-define to fix HURD compile error. -- Bastian Kleineidam Fri, 08 Apr 2011 08:57:21 +0200 libhx (3.10.1-1) unstable; urgency=low * New upstream release. * Rename packages for new ABI version. * Updated package description. (Closes: #621033) * Replace cdbs build system with dh. -- Bastian Kleineidam Thu, 07 Apr 2011 06:39:32 +0200 libhx (3.9.1-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Tue, 08 Feb 2011 18:12:41 +0100 libhx (3.9-1) unstable; urgency=low * New upstream release. * Change libhx-doc architecture to "all" since those files are all architecture independent. -- Bastian Kleineidam Sun, 16 Jan 2011 02:19:09 -0600 libhx (3.8-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Thu, 02 Dec 2010 19:41:00 +0100 libhx (3.6-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Mon, 30 Aug 2010 19:57:47 +0200 libhx (3.5-2) unstable; urgency=high * Fixed debian/watch regex. * Add fix for CVE-2010-2947. High urgency due to security fix. (Closes: #594393) -- Bastian Kleineidam Tue, 10 Aug 2010 21:10:19 +0200 libhx (3.5-1) unstable; urgency=low * New upstream release. * Use Standards version 3.9.1 * Updated package for new ABI version 25:0:0 of library -- Bastian Kleineidam Wed, 04 Aug 2010 00:51:31 +0200 libhx (3.4-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Thu, 15 Apr 2010 00:02:38 +0200 libhx (3.3-1) unstable; urgency=low * New upstream release. * Use Standards version 3.8.4 -- Bastian Kleineidam Thu, 04 Mar 2010 22:26:36 +0100 libhx (3.2-1) unstable; urgency=low * New upstream release. * Switch to 3.0 (quilt) source format. -- Bastian Kleineidam Tue, 27 Oct 2009 00:21:53 +0100 libhx (3.1-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Wed, 23 Sep 2009 07:31:22 +0200 libhx (3.0.1-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Wed, 09 Sep 2009 09:24:09 +0200 libhx (3.0-0calvin1) unstable; urgency=low * New upstream release. * Updated Homepage and git URL in debian/control * Updated standards version to 3.8.3 * Updated package for new ABI version 22:0:0 of library -- Bastian Kleineidam Sat, 29 Aug 2009 07:24:04 +0200 libhx (2.9-3) unstable; urgency=low * Updated download URL in debian/watch (Closes: #540532) -- Bastian Kleineidam Mon, 10 Aug 2009 09:20:17 +0200 libhx (2.9-2) unstable; urgency=low * Remove 'A' from description. (Closes: #502082) * Added -doc package. -- Bastian Kleineidam Mon, 27 Jul 2009 20:46:17 +0200 libhx (2.9-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Mon, 27 Jul 2009 19:54:47 +0200 libhx (2.5-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Mon, 16 Feb 2009 08:38:27 +0100 libhx (2.3-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Sat, 17 Jan 2009 15:32:11 +0100 libhx (2.2-1) unstable; urgency=low * New upstream release. * Updated SONAME version from 17 to 18 caused package rename from libhx17 to libhx18. -- Bastian Kleineidam Fri, 02 Jan 2009 17:50:43 +0100 libhx (2.1-1) unstable; urgency=low * New upstream release. * Updated SONAME version from 14 to 17 caused package rename from libhx14 to libhx17. -- Bastian Kleineidam Sun, 28 Dec 2008 10:22:03 +0100 libhx (1.28-1) unstable; urgency=low * New upstream version * Updated debian/watch file -- Bastian Kleineidam Thu, 27 Nov 2008 02:23:34 +0100 libhx (1.25-1) unstable; urgency=low * New upstream release. * Updated SONAME version from 13 to 14 caused package rename from libhx13 to libhx14. -- Bastian Kleineidam Sun, 28 Sep 2008 19:42:23 +0200 libhx (1.18-2) unstable; urgency=low * Added Homepage: and Vcs-Git: fields to debian/control -- Bastian Kleineidam Wed, 11 Jun 2008 19:56:41 +0200 libhx (1.18-1) unstable; urgency=low * New upstream release. * Use debhelper v7 * Standards version 3.8.0 * Updated SONAME version from 10 to 13 caused package rename from libhx10 to libhx13. -- Bastian Kleineidam Tue, 10 Jun 2008 20:26:22 +0200 libhx (1.17-1) unstable; urgency=low * New upstream release. -- Bastian Kleineidam Mon, 19 May 2008 00:49:52 +0200 libhx (1.15-1) unstable; urgency=low * New upstream release -- Bastian Kleineidam Sun, 06 Apr 2008 16:27:28 +0200 libhx (1.10.2-3) unstable; urgency=low * Use debhelper v6 * Added debian/watch file * Use security flags for gcc invocations: -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -- Bastian Kleineidam Tue, 29 Jan 2008 23:23:39 +0100 libhx (1.10.2-2) unstable; urgency=low * Install pkgconfig file -- Bastian Kleineidam Fri, 07 Dec 2007 02:23:49 +0100 libhx (1.10.2-1) unstable; urgency=low * New upstream release. * Standards version 3.7.3 (no changes required) * Fix lintian warning copyright-contains-dh_make-todo-boilerplate -- Bastian Kleineidam Fri, 07 Dec 2007 01:46:57 +0100 libhx (1.10.1-2) unstable; urgency=low * Install upstream changelog -- Bastian Kleineidam Tue, 18 Sep 2007 13:41:52 +0200 libhx (1.10.1-1) unstable; urgency=low * New upstream release. * Fix copy-paste error in description: s/Cairo/libhx/. Thanks Josh Triplett for the note (Closes: #441777) -- Bastian Kleineidam Tue, 18 Sep 2007 13:00:08 +0200 libhx (1.10.0-1) unstable; urgency=low * Initial release (Closes: #440975) -- Bastian Kleineidam Thu, 05 Jul 2007 13:13:21 +0200 debian/libhx-dev.postinst0000644000000000000000000000171412051217231012652 0ustar #!/bin/sh # postinst script for libhx-dev # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) ldconfig ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/libhx-dev.install0000644000000000000000000000010612051211776012437 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/ debian/compat0000644000000000000000000000000212051152051010354 0ustar 9 debian/libhx28.dirs0000644000000000000000000000001010643151177011325 0ustar usr/lib debian/patches/0000755000000000000000000000000011550104621010610 5ustar debian/patches/hurd-path-max-define0000644000000000000000000000063111550105126014443 0ustar Index: src/io.c =================================================================== --- a/src/io.c 2011-04-09 18:29:49.937390466 +0200 +++ b/src/io.c 2011-04-09 18:29:58.345704531 +0200 @@ -30,6 +30,11 @@ #include #include "internal.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 /* Hurd does not define PATH_MAX in limits.h */ +#endif + + struct HXdir { #if defined _WIN32 char *dname; debian/patches/series0000644000000000000000000000002511550104530012021 0ustar hurd-path-max-define debian/control0000644000000000000000000000334012247462274010603 0ustar Source: libhx Priority: extra Maintainer: Bastian Kleineidam Build-Depends: debhelper (>= 9), hardening-wrapper, dh-autoreconf Standards-Version: 3.9.4 XS-Testsuite: autopkgtest Section: libs Homepage: http://libhx.sourceforge.net/ Package: libhx28 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: C library providing queue, tree, I/O and utility functions a C library (with some C++ bindings available) that provides data structures and functions commonly needed, such as maps, deques, linked lists, string formatting and autoresizing, option and config file parsing, type checking casts and more. . This package contains the shared libraries. Package: libhx-dev Section: libdevel Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libhx28 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Development files for libhx a C library (with some C++ bindings available) that provides data structures and functions commonly needed, such as maps, deques, linked lists, string formatting and autoresizing, option and config file parsing, type checking casts and more. . This package contains the development libraries, header files needed by programs that want to compile with libHX. Package: libhx-doc Section: doc Architecture: all Depends: ${misc:Depends} Suggests: libhx-dev Description: Documentation files for libhx a C library (with some C++ bindings available) that provides data structures and functions commonly needed, such as maps, deques, linked lists, string formatting and autoresizing, option and config file parsing, type checking casts and more. . This package contains the development documentation. debian/libhx28.install0000644000000000000000000000002412051155727012037 0ustar usr/lib/*/lib*.so.* debian/tests/0000755000000000000000000000000012135176216010334 5ustar debian/tests/control0000644000000000000000000000006012135176216011733 0ustar Tests: build Depends: libhx-dev, build-essentialdebian/tests/build0000644000000000000000000000171712135176216011364 0ustar #!/bin/sh # autopkgtest check: Build and run a program against libHX, to verify that the # headers are installed correctly # (C) 2013 Vibhav Pant # Author: Vibhav Pant set -e WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR cat < libHX_test.c #include #include #include #include #include int main(void) { assert(HX_init() != 0); struct HXdeque *list = HXdeque_init(); struct HXdeque_node *node; int *ptr1 = malloc(sizeof(int)), *ptr2 = malloc(sizeof(int)); *ptr1 = 1; *ptr2 = 2; assert(HXdeque_push(list, ptr1) != NULL && HXdeque_push(list, ptr2) != NULL); node = list->first; assert(*(int *)node->ptr == 1); node = node->next; assert(*(int *)node->ptr == 2); HXdeque_genocide(list); HX_exit(); return 0; } EOF gcc -o libHX_test libHX_test.c -lHX -Wall -Werror echo "build: OK" [ -x libHX_test ] ./libHX_test echo "run: OK" debian/libhx-dev.lintian-overrides0000644000000000000000000000034312051216655014433 0ustar # libHX_rtcheck is used to enable more internal checks dynamically libhx-dev: package-name-doesnt-match-sonames libHX-rtcheck libhx-dev: shlib-without-versioned-soname usr/lib/x86_64-linux-gnu/libHX_rtcheck.so libHX_rtcheck.so debian/rules0000755000000000000000000000062512247462261010257 0ustar #!/usr/bin/make -f export DEB_BUILD_HARDENING=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- --enable-static override_dh_installchangelogs: # install custom changelog dh_installchangelogs doc/changelog.txt # use xz for debian binary package compression override_dh_builddeb: dh_builddeb -- -Zxz debian/source/0000755000000000000000000000000011300330541010454 5ustar debian/source/format0000644000000000000000000000001411300330541011662 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000012111430312004010175 0ustar # watch control file for uscan version=3 http://sf.net/libhx/libHX-(.*)\.tar\.xz