diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.source | 18 | ||||
-rw-r--r-- | debian/changelog | 419 | ||||
-rw-r--r-- | debian/control | 56 | ||||
-rw-r--r-- | debian/copyright | 94 | ||||
-rw-r--r-- | debian/libhx-dev.dirs | 2 | ||||
-rw-r--r-- | debian/libhx-dev.install | 4 | ||||
-rw-r--r-- | debian/libhx-dev.lintian-overrides | 4 | ||||
-rw-r--r-- | debian/libhx-dev.symbols | 6 | ||||
-rw-r--r-- | debian/libhx-doc.doc-base | 9 | ||||
-rw-r--r-- | debian/libhx-doc.docs | 2 | ||||
-rw-r--r-- | debian/libhx-doc.lintian-overrides | 1 | ||||
-rw-r--r-- | debian/libhx32.dirs | 1 | ||||
-rw-r--r-- | debian/libhx32.install | 1 | ||||
-rw-r--r-- | debian/libhx32.symbols | 141 | ||||
-rw-r--r-- | debian/not-installed | 2 | ||||
-rw-r--r-- | debian/patches/hurd-path-max-define | 21 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 26 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/symbols | 143 | ||||
-rw-r--r-- | debian/tests/build | 45 | ||||
-rw-r--r-- | debian/tests/control | 2 | ||||
-rw-r--r-- | debian/watch | 3 |
23 files changed, 1002 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..a62f7b9 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,18 @@ +Hello, + +now I use the branching model from Vincent Driessen[1]. + +I use the gitflow-avh[2]. with the Documentation[3]. +The Debian package can be found here[4]. + +Please upload unattended uploads use a branch feature/<your title>. + + +Many thanks. + + -- Jörg Frings-Fürst <debian@jff.email> Fri, 02 Jun 2017 19:00:40 +0200 + +[1] http://nvie.com/posts/a-successful-git-branching-model/ +[2] https://github.com/petervanderdoes/gitflow-avh +[3] https://github.com/petervanderdoes/gitflow-avh/wiki +[4] https://tracker.debian.org/pkg/git-flow diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3c65f40 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,419 @@ +libhx (4.7-1) UNRELEASED; urgency=medium + + * New upstream release. + * Declare compliance with Debian Policy 4.6.1.0 (No changes needed). + * Fix lintian overrides. + * debian/watch: + - Bump standard version to 4. + - Switch to new download URL. + * debian/copyright: + - Refresh years. + - Add year 2022 to myself. + * Refresh symbols files. + + -- Jörg Frings-Fürst <debian@jff.email> Mon, 24 Oct 2022 21:04:19 +0200 + +libhx (3.25-2) unstable; urgency=medium + + * debian/control: + - Remove Replace / Breaks from libhx32. + Thanks to Sebastian Ramacher <sramacher@debian.org> + * Upload into unstable. + + -- Jörg Frings-Fürst <debian@jff.email> Wed, 07 Oct 2020 16:23:21 +0200 + +libhx (3.25-1~exp1) experimental; urgency=medium + + * New upstream release. + * Migrate to debhelper 13: + - Bump minimum debhelper-compat version in debian/control to = 13. + * Declare compliance with Debian Policy 4.5.0 (No changes needed). + * Bump package name depending on the SONAME to libhx32. + * debian/copyright: + - Refresh years. + - Add Upstream-Contact. + - Replace Homepage. + - Fix lintian *-globbing-patterns errors. + * debian/control: + - Change homepage. + - Add Replaces / Breaks. + - Add Rules-Requires-Root: no. + * Refresh patch. + * debian/libhx-dev.lintian-overrides: + - Rename tags. + + -- Jörg Frings-Fürst <debian@jff.email> Sun, 30 Aug 2020 21:56:37 +0200 + +libhx (3.24-1) unstable; urgency=medium + + * New upstream release. + + -- Jörg Frings-Fürst <debian@jff.email> Sun, 18 Nov 2018 14:06:24 +0100 + +libhx (3.23-1) unstable; urgency=medium + + * New upstream release. + * Change to my new email address. + * Migrate to debhelper 11: + - Change debian/compat to 11. + - debian/control: + + Bump minimum debhelper version to >= 11. + + Remove build depends dh-autoreconf. + - Remove --with autoreconf from debian/rules. + * New README.source to explain the branching model used. + * Declare compliance with Debian Policy 4.2.1 (No changes needed). + * Remove now useless debian/libhx-dev.postinst. + * debian/control: + - Change VCS-* to point to the new repository. + - Change Priority extra to optional. + - Remove not longer necessary XS-Testsuite field. + * debian/copyright: + - Use secure URI for copyright format. + - Refresh years for debian/*. + * debian/rules: + - Add override_dh_installdocs to correct installation into the + right directory. + + -- Jörg Frings-Fürst <debian@jff.email> Thu, 06 Sep 2018 19:41:31 +0200 + +libhx (3.22-1) unstable; urgency=medium + + * New maintainer (Closes: #774994). + * New upstream release. + * debian/patches/hurd-path-max-define: + - Refresh for new upstream release. + - Add missing DEP-3 header. + * debian/control: + - Add myself as maintainer. + - Bump Standards-Version to 3.9.6 (no changes required). + - Remove hardening-wrapper from Build-Depends. + - Add Vcs-*. + * debian/rules: + - Remove override_dh_builddeb because xz compression is standard now. + - Add dpkg-gensymbols to build symbols files. + - Change hardening to +all. + * debian/copyright: + - Rewrite to a DEP-5 machine-readable file. + * New debian/libhx-doc.doc-base. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 08 Apr 2015 16:48:00 +0200 + +libhx (3.21-1) unstable; urgency=low + + * New upstream release. + * Use dh-autoreconf to fix FTBFS on ppc64el (Closes: #749054). + + -- Bastian Kleineidam <calvin@debian.org> Tue, 08 Jul 2014 08:06:14 +0200 + +libhx (3.19-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Wed, 05 Mar 2014 22:20:16 +0100 + +libhx (3.18-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Mon, 06 Jan 2014 10:04:56 +0100 + +libhx (3.17-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Tue, 24 Dec 2013 09:01:32 +0100 + +libhx (3.15-2) unstable; urgency=low + + * Add simple autopkgtest. Patch by Vibhav Pant (Closes: #705910). + + -- Bastian Kleineidam <calvin@debian.org> Mon, 22 Apr 2013 18:57:37 +0200 + +libhx (3.15-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Mon, 11 Mar 2013 09:08:17 +0100 + +libhx (3.14.1-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Fri, 11 Jan 2013 19:59:10 +0100 + +libhx (3.14-2) unstable; urgency=low + + * Set binary package libhx28 as Multi-Arch: same (Closes: #696003). + + -- Bastian Kleineidam <calvin@debian.org> 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 <calvin@debian.org> Thu, 15 Nov 2012 12:46:15 +0100 + +libhx (3.13-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Thu, 09 Aug 2012 11:37:20 +0200 + +libhx (3.12.1-1) unstable; urgency=low + + * New upstream version. + * Rename binary package libhx27 to libhx28 due + to SONAME version bump from 27 to 28. + * Update copyright years in debian/copyright. + + -- Bastian Kleineidam <calvin@debian.org> 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 <calvin@debian.org> Sat, 10 Sep 2011 08:13:40 +0200 + +libhx (3.10.1-3) unstable; urgency=low + + * Use hardening-wrapper for security flags. + * Update standards version to 3.9.2 (no changes required). + * Do not start package description line with an article. + + -- Bastian Kleineidam <calvin@debian.org> 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 FTBFS on hurd-i386. + + -- Bastian Kleineidam <calvin@debian.org> Fri, 08 Apr 2011 08:57:21 +0200 + +libhx (3.10.1-1) unstable; urgency=low + + * New upstream release. + * Rename binary package libhx25 to libhx27 due + to SONAME version bump from 25 to 27. + * Update package description (Closes: #621033). + * Replace cdbs build system with dh. + + -- Bastian Kleineidam <calvin@debian.org> Thu, 07 Apr 2011 06:39:32 +0200 + +libhx (3.9.1-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Tue, 08 Feb 2011 18:12:41 +0100 + +libhx (3.9-1) unstable; urgency=low + + * New upstream release. + * Change architecture of binary packae libhx-doc to "all" since + those files are all architecture-independent. + + -- Bastian Kleineidam <calvin@debian.org> Sun, 16 Jan 2011 02:19:09 -0600 + +libhx (3.8-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Thu, 02 Dec 2010 19:41:00 +0100 + +libhx (3.6-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> 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 (Closes: #594393). + + -- Bastian Kleineidam <calvin@debian.org> Tue, 10 Aug 2010 21:10:19 +0200 + +libhx (3.5-1) unstable; urgency=low + + * New upstream release. + * Update standards version to 3.9.1. + * Rename binary package libhx22 to libhx25 due + to SONAME version bump from 22 to 25. + + -- Bastian Kleineidam <calvin@debian.org> Wed, 04 Aug 2010 00:51:31 +0200 + +libhx (3.4-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Thu, 15 Apr 2010 00:02:38 +0200 + +libhx (3.3-1) unstable; urgency=low + + * New upstream release. + * Update standards version to 3.8.4. + + -- Bastian Kleineidam <calvin@debian.org> 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 <calvin@debian.org> Tue, 27 Oct 2009 00:21:53 +0100 + +libhx (3.1-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Wed, 23 Sep 2009 07:31:22 +0200 + +libhx (3.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Wed, 09 Sep 2009 09:24:09 +0200 + +libhx (3.0-0calvin1) unstable; urgency=low + + * New upstream release. + * Update Homepage and Vcs-* fields in debian/control. + * Update standards version to 3.8.3. + * Rename binary package libhx18 to libhx22 due + to SONAME version bump from 18 to 22. + + -- Bastian Kleineidam <calvin@debian.org> Sat, 29 Aug 2009 07:24:04 +0200 + +libhx (2.9-3) unstable; urgency=low + + * Update watch URL in debian/watch (Closes: #540532). + + -- Bastian Kleineidam <calvin@debian.org> Mon, 10 Aug 2009 09:20:17 +0200 + +libhx (2.9-2) unstable; urgency=low + + * Remove 'A' from description (Closes: #502082). + * Add -doc package. + + -- Bastian Kleineidam <calvin@debian.org> Mon, 27 Jul 2009 20:46:17 +0200 + +libhx (2.9-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Mon, 27 Jul 2009 19:54:47 +0200 + +libhx (2.5-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Mon, 16 Feb 2009 08:38:27 +0100 + +libhx (2.3-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Sat, 17 Jan 2009 15:32:11 +0100 + +libhx (2.2-1) unstable; urgency=low + + * New upstream release. + * Rename binary package libhx17 to libhx18 due + to SONAME version bump from 17 to 18. + + -- Bastian Kleineidam <calvin@debian.org> Fri, 02 Jan 2009 17:50:43 +0100 + +libhx (2.1-1) unstable; urgency=low + + * New upstream release. + * Rename binary package libhx14 to libhx17 due + to SONAME version bump from 14 to 17. + + -- Bastian Kleineidam <calvin@debian.org> Sun, 28 Dec 2008 10:22:03 +0100 + +libhx (1.28-1) unstable; urgency=low + + * New upstream version + * Updated debian/watch file + + -- Bastian Kleineidam <calvin@debian.org> Thu, 27 Nov 2008 02:23:34 +0100 + +libhx (1.25-1) unstable; urgency=low + + * New upstream release. + * Rename binary package libhx13 to libhx14 due + to SONAME version bump from 13 to 14. + + -- Bastian Kleineidam <calvin@debian.org> Sun, 28 Sep 2008 19:42:23 +0200 + +libhx (1.18-2) unstable; urgency=low + + * Add Homepage: and Vcs-Git: fields to debian/control. + + -- Bastian Kleineidam <calvin@debian.org> Wed, 11 Jun 2008 19:56:41 +0200 + +libhx (1.18-1) unstable; urgency=low + + * New upstream release. + * Use debhelper 7. + * Update standards version to 3.8.0. + * Rename binary package libhx10 to libhx13 due + to SONAME version bump from 10 to 13. + + -- Bastian Kleineidam <calvin@debian.org> Tue, 10 Jun 2008 20:26:22 +0200 + +libhx (1.17-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Mon, 19 May 2008 00:49:52 +0200 + +libhx (1.15-1) unstable; urgency=low + + * New upstream release. + + -- Bastian Kleineidam <calvin@debian.org> Sun, 06 Apr 2008 16:27:28 +0200 + +libhx (1.10.2-3) unstable; urgency=low + + * Use debhelper 6. + * Added debian/watch file. + * Use security flags for gcc invocations: + -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security + + -- Bastian Kleineidam <calvin@debian.org> Tue, 29 Jan 2008 23:23:39 +0100 + +libhx (1.10.2-2) unstable; urgency=low + + * Install pkgconfig file. + + -- Bastian Kleineidam <calvin@debian.org> Fri, 07 Dec 2007 02:23:49 +0100 + +libhx (1.10.2-1) unstable; urgency=low + + * New upstream release. + * Update standards version to 3.7.3 (no changes required). + * Fix lintian warning copyright-contains-dh_make-todo-boilerplate. + + -- Bastian Kleineidam <calvin@debian.org> Fri, 07 Dec 2007 01:46:57 +0100 + +libhx (1.10.1-2) unstable; urgency=low + + * Install upstream changelog. + + -- Bastian Kleineidam <calvin@debian.org> 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 <calvin@debian.org> Tue, 18 Sep 2007 13:00:08 +0200 + +libhx (1.10.0-1) unstable; urgency=low + + * Initial release (Closes: #440975). + + -- Bastian Kleineidam <calvin@debian.org> Thu, 05 Jul 2007 13:13:21 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e4aa03e --- /dev/null +++ b/debian/control @@ -0,0 +1,56 @@ +Source: libhx +Priority: optional +Maintainer: Jörg Frings-Fürst <debian@jff.email> +Build-Depends: + debhelper-compat (= 13) +Standards-Version: 4.6.1.0 +Section: libs +Rules-Requires-Root: no +Homepage: https://inai.de/projects/libhx/ +Vcs-Git: git://jff.email/opt/git/libhx.git +Vcs-Browser: https://jff.email/cgit/libhx.git + +Package: libhx32 +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: + libhx32 (= ${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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..55974db --- /dev/null +++ b/debian/copyright @@ -0,0 +1,94 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libhx +Upstream-Contact: Jan Engelhardt <jengelh@inai.de> +Source: https://inai.de/projects/libhx/ + +Files: * +Copyright: 1999-2014 Jan Engelhardt <jengelh@gmx.de> +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2007-2014 Bastian Kleineidam <calvin@debian.org> + 2015-2022 Jörg Frings-Fürst <debian@jff.email> +License: GPL-3+ + +Files: debian/patches/* +Copyright: 2009-2014 Bastian Kleineidam <calvin@debian.org> + 2015-2020 Jörg Frings-Fürst <debian@jff.email> +License: LGPL-2.1+ + +Files: build-aux/* + m4/* +Copyright: 1992-2022 Free Software Foundation, Inc. +License: GPL-2+ + +Files: src/tc-*.c +Copyright: 1992-2013 Jan Engelhardt <jengelh@gmx.de> +License: WTFPL-2+ + +License: LGPL-2.1+ + This 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. + . + This 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 this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Lesser General Public License + version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". + +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 <http://www.gnu.org/licenses/> + . + 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: 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 program. If not, see <http://www.gnu.org/licenses/>. + . + The complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +License: WTFPL-2+ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + . + Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> + . + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + . + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + . + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/debian/libhx-dev.dirs b/debian/libhx-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libhx-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libhx-dev.install b/debian/libhx-dev.install new file mode 100644 index 0000000..95173ac --- /dev/null +++ b/debian/libhx-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/lib*.a +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/ diff --git a/debian/libhx-dev.lintian-overrides b/debian/libhx-dev.lintian-overrides new file mode 100644 index 0000000..9201a83 --- /dev/null +++ b/debian/libhx-dev.lintian-overrides @@ -0,0 +1,4 @@ +# libHX_rtcheck is used to enable more internal checks dynamically +libhx-dev: package-name-doesnt-match-sonames libHX-rtcheck +libhx-dev: shared-library-lacks-version usr/lib/x86_64-linux-gnu/libHX_rtcheck.so libHX_rtcheck.so +libhx-dev: shared-library-lacks-prerequisites [usr/lib/x86_64-linux-gnu/libHX_rtcheck.so] diff --git a/debian/libhx-dev.symbols b/debian/libhx-dev.symbols new file mode 100644 index 0000000..7a175b6 --- /dev/null +++ b/debian/libhx-dev.symbols @@ -0,0 +1,6 @@ +libHX_rtcheck.so libhx-dev #MINVER# +* Build-Depends-Package: libhx-dev + LIBHX_3.25@LIBHX_3.25 3.25 + LIBHX_3.27@LIBHX_3.27 4.7 + LIBHX_4.2@LIBHX_4.2 4.7 + LIBHX_4.3@LIBHX_4.3 4.7 diff --git a/debian/libhx-doc.doc-base b/debian/libhx-doc.doc-base new file mode 100644 index 0000000..88de3f3 --- /dev/null +++ b/debian/libhx-doc.doc-base @@ -0,0 +1,9 @@ +Document: libhx +Title: libhx documentation +Author: Jan Engelhardt <jengelh@gmx.de> +Abstract: API documentation and tutorial for the libhx + library, providing queue, tree, I/O and utility functions. +Section: Programming/C + +Format: PDF +Files: /usr/share/doc/libhx-doc/libHX_Documentation.rst diff --git a/debian/libhx-doc.docs b/debian/libhx-doc.docs new file mode 100644 index 0000000..66eb2fe --- /dev/null +++ b/debian/libhx-doc.docs @@ -0,0 +1,2 @@ +doc/*.rst +doc/assorted.txt diff --git a/debian/libhx-doc.lintian-overrides b/debian/libhx-doc.lintian-overrides new file mode 100644 index 0000000..b5f698a --- /dev/null +++ b/debian/libhx-doc.lintian-overrides @@ -0,0 +1 @@ +libhx-doc: duplicate-changelog-files diff --git a/debian/libhx32.dirs b/debian/libhx32.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libhx32.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libhx32.install b/debian/libhx32.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libhx32.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/libhx32.symbols b/debian/libhx32.symbols new file mode 100644 index 0000000..03c17dd --- /dev/null +++ b/debian/libhx32.symbols @@ -0,0 +1,141 @@ +libHX.so.32 libhx32 #MINVER# +* Build-Depends-Package: libhx-dev + HX_basename@LIBHX_3.25 3.25 + HX_basename_exact@LIBHX_3.25 3.25 + HX_chomp@LIBHX_3.25 3.25 + HX_copy_dir@LIBHX_3.25 3.25 + HX_copy_file@LIBHX_3.25 3.25 + HX_dirname@LIBHX_3.25 3.25 + HX_dlclose@LIBHX_3.25 3.25 + HX_dlerror@LIBHX_3.25 3.25 + HX_dlopen@LIBHX_3.25 3.25 + HX_dlsym@LIBHX_3.25 3.25 + HX_drand@LIBHX_3.25 3.25 + HX_exit@LIBHX_3.25 3.25 + HX_ffs@LIBHX_3.25 3.25 + HX_fls@LIBHX_3.25 3.25 + HX_getl@LIBHX_3.25 3.25 + HX_getopt@LIBHX_3.25 3.25 + HX_getopt_help@LIBHX_3.25 3.25 + HX_getopt_help_cb@LIBHX_3.25 3.25 + HX_getopt_usage@LIBHX_3.25 3.25 + HX_getopt_usage_cb@LIBHX_3.25 3.25 + HX_hexdump@LIBHX_3.25 3.25 + HX_init@LIBHX_3.25 3.25 + HX_irand@LIBHX_3.25 3.25 + HX_memmem@LIBHX_3.25 3.25 + HX_mkdir@LIBHX_3.25 3.25 + HX_rand@LIBHX_3.25 3.25 + HX_readlink@LIBHX_3.25 3.25 + HX_realpath@LIBHX_3.25 3.25 + HX_rrmdir@LIBHX_3.25 3.25 + HX_sendfile@LIBHX_4.3 4.7 + HX_shconfig@LIBHX_3.25 3.25 + HX_shconfig_free@LIBHX_3.25 3.25 + HX_shconfig_map@LIBHX_3.25 3.25 + HX_shconfig_pv@LIBHX_3.25 3.25 + HX_slurp_fd@LIBHX_3.27 4.7 + HX_slurp_file@LIBHX_3.27 4.7 + HX_socket_from_env@LIBHX_3.27 4.7 + HX_split@LIBHX_3.25 3.25 + HX_split_fixed@LIBHX_3.25 3.25 + HX_split_inplace@LIBHX_3.25 3.25 + HX_stpltrim@LIBHX_3.25 3.25 + HX_strbchr@LIBHX_3.25 3.25 + HX_strchr2@LIBHX_3.25 3.25 + HX_strclone@LIBHX_3.25 3.25 + HX_strdup@LIBHX_3.25 3.25 + HX_strlcat@LIBHX_3.25 3.25 + HX_strlcpy@LIBHX_3.25 3.25 + HX_strlncat@LIBHX_3.25 3.25 + HX_strlower@LIBHX_3.25 3.25 + HX_strltrim@LIBHX_3.25 3.25 + HX_strmid@LIBHX_3.25 3.25 + HX_strndup@LIBHX_3.25 3.25 + HX_strnlen@LIBHX_3.25 3.25 + HX_strquote@LIBHX_3.25 3.25 + HX_strrcspn@LIBHX_3.25 3.25 + HX_strrev@LIBHX_3.25 3.25 + HX_strrtrim@LIBHX_3.25 3.25 + HX_strsep2@LIBHX_3.25 3.25 + HX_strsep@LIBHX_3.25 3.25 + HX_strtod_unit@LIBHX_4.2 4.7 + HX_strtoull_sec@LIBHX_4.3 4.7 + HX_strtoull_unit@LIBHX_4.2 4.7 + HX_strupper@LIBHX_3.25 3.25 + HX_time_compare@LIBHX_3.25 3.25 + HX_timespec_add@LIBHX_3.25 3.25 + HX_timespec_isneg@LIBHX_3.25 3.25 + HX_timespec_mul@LIBHX_3.25 3.25 + HX_timespec_mulf@LIBHX_3.25 3.25 + HX_timespec_neg@LIBHX_3.25 3.25 + HX_timespec_sub@LIBHX_3.25 3.25 + HX_timeval_sub@LIBHX_3.25 3.25 + HX_unit_seconds@LIBHX_4.3 4.7 + HX_unit_size@LIBHX_4.2 4.7 + HX_unit_size_cu@LIBHX_4.2 4.7 + HX_zvecfree@LIBHX_3.25 3.25 + HXdeque_del@LIBHX_3.25 3.25 + HXdeque_find@LIBHX_3.25 3.25 + HXdeque_free@LIBHX_3.25 3.25 + HXdeque_genocide2@LIBHX_3.25 3.25 + HXdeque_get@LIBHX_3.25 3.25 + HXdeque_init@LIBHX_3.25 3.25 + HXdeque_move@LIBHX_3.25 3.25 + HXdeque_pop@LIBHX_3.25 3.25 + HXdeque_push@LIBHX_3.25 3.25 + HXdeque_shift@LIBHX_3.25 3.25 + HXdeque_to_vec@LIBHX_3.25 3.25 + HXdeque_unshift@LIBHX_3.25 3.25 + HXdir_close@LIBHX_3.25 3.25 + HXdir_open@LIBHX_3.25 3.25 + HXdir_read@LIBHX_3.25 3.25 + HXformat_add@LIBHX_3.25 3.25 + HXformat_aprintf@LIBHX_3.25 3.25 + HXformat_fprintf@LIBHX_3.25 3.25 + HXformat_free@LIBHX_3.25 3.25 + HXformat_init@LIBHX_3.25 3.25 + HXformat_sprintf@LIBHX_3.25 3.25 + HXhash_djb2@LIBHX_3.25 3.25 + HXhash_jlookup3@LIBHX_3.25 3.25 + HXhash_jlookup3s@LIBHX_3.25 3.25 + HXhash_primes@LIBHX_3.25 3.25 + HXio_fullread@LIBHX_3.25 3.25 + HXio_fullwrite@LIBHX_3.25 3.25 + HXmap_add@LIBHX_3.25 3.25 + HXmap_del@LIBHX_3.25 3.25 + HXmap_find@LIBHX_3.25 3.25 + HXmap_free@LIBHX_3.25 3.25 + HXmap_get@LIBHX_3.25 3.25 + HXmap_init5@LIBHX_3.25 3.25 + HXmap_init@LIBHX_3.25 3.25 + HXmap_keysvalues@LIBHX_3.25 3.25 + HXmap_qfe@LIBHX_3.25 3.25 + HXmap_traverse@LIBHX_3.25 3.25 + HXmap_travfree@LIBHX_3.25 3.25 + HXmap_travinit@LIBHX_3.25 3.25 + HXmc_free@LIBHX_3.25 3.25 + HXmc_length@LIBHX_3.25 3.25 + HXmc_memcat@LIBHX_3.25 3.25 + HXmc_memcpy@LIBHX_3.25 3.25 + HXmc_memdel@LIBHX_3.25 3.25 + HXmc_meminit@LIBHX_3.25 3.25 + HXmc_memins@LIBHX_3.25 3.25 + HXmc_mempcat@LIBHX_3.25 3.25 + HXmc_setlen@LIBHX_3.25 3.25 + HXmc_strcat@LIBHX_3.25 3.25 + HXmc_strcpy@LIBHX_3.25 3.25 + HXmc_strinit@LIBHX_3.25 3.25 + HXmc_strins@LIBHX_3.25 3.25 + HXmc_strpcat@LIBHX_3.25 3.25 + HXmc_trunc@LIBHX_3.25 3.25 + HXmc_zvecfree@LIBHX_3.25 3.25 + HXproc_run_async@LIBHX_3.25 3.25 + HXproc_run_sync@LIBHX_3.25 3.25 + HXproc_switch_user@LIBHX_3.27 4.7 + HXproc_top_fd@LIBHX_3.27 4.7 + HXproc_wait@LIBHX_3.25 3.25 + LIBHX_3.25@LIBHX_3.25 3.25 + LIBHX_3.27@LIBHX_3.27 4.7 + LIBHX_4.2@LIBHX_4.2 4.7 + LIBHX_4.3@LIBHX_4.3 4.7 diff --git a/debian/not-installed b/debian/not-installed new file mode 100644 index 0000000..831a487 --- /dev/null +++ b/debian/not-installed @@ -0,0 +1,2 @@ +usr/lib/*/*.la +#usr/share/doc/libhx/libHX_Documentation.pdf diff --git a/debian/patches/hurd-path-max-define b/debian/patches/hurd-path-max-define new file mode 100644 index 0000000..d6b0cdb --- /dev/null +++ b/debian/patches/hurd-path-max-define @@ -0,0 +1,21 @@ +Description: Add missing define of PATH_MAX for hurd. +Forwarded: not-needed +Last-Update: 2015-02-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/src/io.c +=================================================================== +--- trunk.orig/src/io.c ++++ trunk/src/io.c +@@ -39,6 +39,11 @@ + # define O_CLOEXEC 0 + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 /* Hurd does not define PATH_MAX in limits.h */ ++#endif ++ ++ + struct HXdir { + #if defined _WIN32 + char *dname; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..d5501eb --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +hurd-path-max-define diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ad51b7c --- /dev/null +++ b/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/') + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- --enable-static + +override_dh_installchangelogs: +# install custom changelog + dh_installchangelogs doc/changelog.rst + +override_dh_makeshlibs: + dh_makeshlibs + dpkg-gensymbols -v$(VERSION) -Pdebian/libhx32 -plibhx32 + dpkg-gensymbols -v$(VERSION) -Pdebian/libhx-dev -plibhx-dev + +override_dh_installdocs: + dh_installdocs -i -plibhx-doc --doc-main-package=libhx-doc + dh_installdocs -a -plibhx-dev + dh_installdocs -a -plibhx32 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/symbols b/debian/symbols new file mode 100644 index 0000000..3bbd283 --- /dev/null +++ b/debian/symbols @@ -0,0 +1,143 @@ +libHX.so.28 libhx28 #MINVER# + HX_basename@LIBHX_1.10.0 3.22 + HX_basename_exact@LIBHX_2.9 3.22 + HX_chomp@LIBHX_1.10.0 3.22 + HX_copy_dir@LIBHX_1.10.0 3.22 + HX_copy_file@LIBHX_1.10.0 3.22 + HX_diff_timespec@LIBHX_3.0 3.22 + HX_diff_timeval@LIBHX_3.0 3.22 + HX_dirname@LIBHX_1.10.0 3.22 + HX_dlclose@LIBHX_1.10.0 3.22 + HX_dlerror@LIBHX_1.10.0 3.22 + HX_dlopen@LIBHX_1.10.0 3.22 + HX_dlsym@LIBHX_1.10.0 3.22 + HX_drand@LIBHX_3.3 3.22 + HX_exit@LIBHX_3.4 3.22 + HX_ffs@LIBHX_1.10.0 3.22 + HX_fls@LIBHX_2.6 3.22 + HX_getl@LIBHX_1.25 3.22 + HX_getopt@LIBHX_1.10.0 3.22 + HX_getopt_help@LIBHX_1.10.0 3.22 + HX_getopt_help_cb@LIBHX_3.12 3.22 + HX_getopt_usage@LIBHX_1.10.0 3.22 + HX_getopt_usage_cb@LIBHX_3.12 3.22 + HX_hexdump@LIBHX_1.26 3.22 + HX_init@LIBHX_3.4 3.22 + HX_irand@LIBHX_1.10.0 3.22 + HX_memmem@LIBHX_3.4 3.22 + HX_mkdir@LIBHX_3.12 3.22 + HX_rand@LIBHX_1.10.0 3.22 + HX_readlink@LIBHX_3.10 3.22 + HX_realpath@LIBHX_3.10 3.22 + HX_rrmdir@LIBHX_1.10.0 3.22 + HX_shconfig@LIBHX_1.10.0 3.22 + HX_shconfig_free@LIBHX_1.10.0 3.22 + HX_shconfig_map@LIBHX_3.3 3.22 + HX_shconfig_pv@LIBHX_1.10.0 3.22 + HX_split4@LIBHX_2.2 3.22 + HX_split5@LIBHX_1.10.0 3.22 + HX_split@LIBHX_1.10.0 3.22 + HX_stpltrim@LIBHX_3.18 3.22 + HX_strbchr@LIBHX_1.10.0 3.22 + HX_strchr2@LIBHX_3.15 3.22 + HX_strclone@LIBHX_1.10.0 3.22 + HX_strdup@LIBHX_3.12 3.22 + HX_strlcat@LIBHX_3.12 3.22 + HX_strlcpy@LIBHX_3.12 3.22 + HX_strlncat@LIBHX_3.12 3.22 + HX_strlower@LIBHX_1.10.0 3.22 + HX_strltrim@LIBHX_1.10.0 3.22 + HX_strmid@LIBHX_1.10.0 3.22 + HX_strndup@LIBHX_3.12 3.22 + HX_strnlen@LIBHX_3.12 3.22 + HX_strquote@LIBHX_3.2 3.22 + HX_strrcspn@LIBHX_1.10.0 3.22 + HX_strrev@LIBHX_1.10.0 3.22 + HX_strrtrim@LIBHX_1.10.0 3.22 + HX_strsep2@LIBHX_1.10.0 3.22 + HX_strsep@LIBHX_1.10.0 3.22 + HX_strupper@LIBHX_1.10.0 3.22 + HX_time_compare@LIBHX_1.26 3.22 + HX_timespec_add@LIBHX_3.13 3.22 + HX_timespec_isneg@LIBHX_3.13 3.22 + HX_timespec_mul@LIBHX_3.13 3.22 + HX_timespec_mulf@LIBHX_3.13 3.22 + HX_timespec_neg@LIBHX_3.13 3.22 + HX_timespec_sub@LIBHX_3.13 3.22 + HX_timeval_sub@LIBHX_3.13 3.22 + HX_zvecfree@LIBHX_1.10.0 3.22 + HXdeque_del@LIBHX_1.10.0 3.22 + HXdeque_find@LIBHX_1.10.0 3.22 + HXdeque_free@LIBHX_1.10.0 3.22 + HXdeque_genocide2@LIBHX_3.3 3.22 + HXdeque_get@LIBHX_1.10.0 3.22 + HXdeque_init@LIBHX_1.10.0 3.22 + HXdeque_move@LIBHX_1.10.0 3.22 + HXdeque_pop@LIBHX_1.10.0 3.22 + HXdeque_push@LIBHX_1.10.0 3.22 + HXdeque_shift@LIBHX_1.10.0 3.22 + HXdeque_to_vec@LIBHX_1.10.0 3.22 + HXdeque_unshift@LIBHX_1.10.0 3.22 + HXdir_close@LIBHX_1.10.0 3.22 + HXdir_open@LIBHX_1.10.0 3.22 + HXdir_read@LIBHX_1.10.0 3.22 + HXformat_add@LIBHX_3.0 3.22 + HXformat_aprintf@LIBHX_3.12 3.22 + HXformat_fprintf@LIBHX_3.12 3.22 + HXformat_free@LIBHX_3.0 3.22 + HXformat_init@LIBHX_3.0 3.22 + HXformat_sprintf@LIBHX_3.12 3.22 + HXhash_djb2@LIBHX_3.0 3.22 + HXhash_jlookup3@LIBHX_3.0 3.22 + HXhash_jlookup3s@LIBHX_3.0 3.22 + HXhash_primes@LIBHX_3.0 3.22 + HXio_fullread@LIBHX_3.9 3.22 + HXio_fullwrite@LIBHX_3.9 3.22 + HXmap_add@LIBHX_3.0 3.22 + HXmap_del@LIBHX_3.0 3.22 + HXmap_find@LIBHX_3.0 3.22 + HXmap_free@LIBHX_3.0 3.22 + HXmap_get@LIBHX_3.0 3.22 + HXmap_init5@LIBHX_3.12 3.22 + HXmap_init@LIBHX_3.12 3.22 + HXmap_keysvalues@LIBHX_3.0 3.22 + HXmap_qfe@LIBHX_3.0 3.22 + HXmap_traverse@LIBHX_3.0 3.22 + HXmap_travfree@LIBHX_3.0 3.22 + HXmap_travinit@LIBHX_3.0 3.22 + HXmc_free@LIBHX_1.25 3.22 + HXmc_length@LIBHX_1.25 3.22 + HXmc_memcat@LIBHX_1.25 3.22 + HXmc_memcpy@LIBHX_1.25 3.22 + HXmc_memdel@LIBHX_1.25 3.22 + HXmc_meminit@LIBHX_1.25 3.22 + HXmc_memins@LIBHX_1.25 3.22 + HXmc_mempcat@LIBHX_1.25 3.22 + HXmc_setlen@LIBHX_2.0 3.22 + HXmc_strcat@LIBHX_1.25 3.22 + HXmc_strcpy@LIBHX_1.25 3.22 + HXmc_strinit@LIBHX_1.25 3.22 + HXmc_strins@LIBHX_1.25 3.22 + HXmc_strpcat@LIBHX_1.25 3.22 + HXmc_trunc@LIBHX_1.25 3.22 + HXmc_zvecfree@LIBHX_3.3 3.22 + HXproc_run_async@LIBHX_2.2 3.22 + HXproc_run_sync@LIBHX_2.2 3.22 + HXproc_wait@LIBHX_2.2 3.22 + LIBHX_1.10.0@LIBHX_1.10.0 3.22 + LIBHX_1.25@LIBHX_1.25 3.22 + LIBHX_1.26@LIBHX_1.26 3.22 + LIBHX_2.0@LIBHX_2.0 3.22 + LIBHX_2.2@LIBHX_2.2 3.22 + LIBHX_2.6@LIBHX_2.6 3.22 + LIBHX_2.9@LIBHX_2.9 3.22 + LIBHX_3.0@LIBHX_3.0 3.22 + LIBHX_3.10@LIBHX_3.10 3.22 + LIBHX_3.12@LIBHX_3.12 3.22 + LIBHX_3.13@LIBHX_3.13 3.22 + LIBHX_3.15@LIBHX_3.15 3.22 + LIBHX_3.18@LIBHX_3.18 3.22 + LIBHX_3.2@LIBHX_3.2 3.22 + LIBHX_3.3@LIBHX_3.3 3.22 + LIBHX_3.4@LIBHX_3.4 3.22 + LIBHX_3.9@LIBHX_3.9 3.22 diff --git a/debian/tests/build b/debian/tests/build new file mode 100644 index 0000000..61e76c0 --- /dev/null +++ b/debian/tests/build @@ -0,0 +1,45 @@ +#!/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 <vibhavp@ubuntu.com> +set -e + +WORKDIR=$(mktemp -d) +trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM +cd $WORKDIR +cat <<EOF > libHX_test.c +#include <libHX/deque.h> +#include <libHX/init.h> +#include <stdlib.h> +#include <assert.h> +#include <stdio.h> + +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" diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..5715391 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: build +Depends: libhx-dev, build-essential
\ No newline at end of file diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b16de01 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=4 +https://inai.de/files/libhx/libHX-(.*).tar.xz |