diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 341 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 57 | ||||
-rw-r--r-- | debian/copyright | 96 | ||||
-rw-r--r-- | debian/libhx-dev.dirs | 2 | ||||
-rw-r--r-- | debian/libhx-dev.install | 4 | ||||
-rw-r--r-- | debian/libhx-dev.lintian-overrides | 3 | ||||
-rw-r--r-- | debian/libhx-dev.postinst | 40 | ||||
-rw-r--r-- | debian/libhx-dev.symbols | 18 | ||||
-rw-r--r-- | debian/libhx-doc.doc-base | 9 | ||||
-rw-r--r-- | debian/libhx-doc.docs | 6 | ||||
-rw-r--r-- | debian/libhx28.dirs | 1 | ||||
-rw-r--r-- | debian/libhx28.install | 1 | ||||
-rw-r--r-- | debian/libhx28.symbols | 143 | ||||
-rw-r--r-- | debian/patches/hurd-path-max-define | 20 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 20 | ||||
-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 |
22 files changed, 957 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e80a0dd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,341 @@ +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/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4861756 --- /dev/null +++ b/debian/control @@ -0,0 +1,57 @@ +Source: libhx +Priority: extra +Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net> +Build-Depends: + debhelper (>= 9), + dh-autoreconf +Standards-Version: 3.9.6 +XS-Testsuite: autopkgtest +Section: libs +Homepage: http://libhx.sourceforge.net/ +Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/libhx.git +Vcs-Git: git://anonscm.debian.org/collab-maint/libhx.git + +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b247482 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,96 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libhx +Source: http://libhx.sourceforge.net/ + +Files: * + src/tc-compile.c + src/tc-deque.c + src/tc-link.c +Copyright: 1999-2014 Jan Engelhardt <jengelh@gmx.de> +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2007-2014 Bastian Kleineidam <calvin@debian.org> + 2015 Jörg Frings-Fürst <debian@jff-webhosting.net> +License: GPL-3+ + +Files: debian/patches/hurd-path-max-define +Copyright: 2009-2014 Bastian Kleineidam <calvin@debian.org> + 2015 Jörg Frings-Fürst <debianæjff-webhosting.net> +License: LGPL-2.1+ + +Files: build-aux/* + m4/* +Copyright: 1992-2013 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..9d5810c --- /dev/null +++ b/debian/libhx-dev.lintian-overrides @@ -0,0 +1,3 @@ +# 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 diff --git a/debian/libhx-dev.postinst b/debian/libhx-dev.postinst new file mode 100644 index 0000000..0c6905d --- /dev/null +++ b/debian/libhx-dev.postinst @@ -0,0 +1,40 @@ +#!/bin/sh +# postinst script for libhx-dev +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# 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 diff --git a/debian/libhx-dev.symbols b/debian/libhx-dev.symbols new file mode 100644 index 0000000..cc4d11b --- /dev/null +++ b/debian/libhx-dev.symbols @@ -0,0 +1,18 @@ +libHX_rtcheck.so libhx-dev #MINVER# + 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/libhx-doc.doc-base b/debian/libhx-doc.doc-base new file mode 100644 index 0000000..cb00bc2 --- /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.pdf.gz diff --git a/debian/libhx-doc.docs b/debian/libhx-doc.docs new file mode 100644 index 0000000..2389dc7 --- /dev/null +++ b/debian/libhx-doc.docs @@ -0,0 +1,6 @@ +doc/assorted.txt +doc/libHX_Documentation.pdf +doc/dirstamp.txt +doc/ux-file.txt +doc/ux-mmap.txt +doc/api.txt diff --git a/debian/libhx28.dirs b/debian/libhx28.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libhx28.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libhx28.install b/debian/libhx28.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libhx28.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/libhx28.symbols b/debian/libhx28.symbols new file mode 100644 index 0000000..3bbd283 --- /dev/null +++ b/debian/libhx28.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/patches/hurd-path-max-define b/debian/patches/hurd-path-max-define new file mode 100644 index 0000000..05994a7 --- /dev/null +++ b/debian/patches/hurd-path-max-define @@ -0,0 +1,20 @@ +Description: Add missing define of PATH_MAX for hurd. +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 +@@ -31,6 +31,11 @@ + #include <libHX/string.h> + #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; 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..4f4c5cc --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/') + +%: + dh $@ --with autoreconf + +override_dh_auto_configure: + dh_auto_configure -- --enable-static + +override_dh_installchangelogs: +# install custom changelog + dh_installchangelogs doc/changelog.txt + +override_dh_makeshlibs: + dh_makeshlibs + dpkg-gensymbols -v$(VERSION) -Pdebian/libhx28 -plibhx28 + dpkg-gensymbols -v$(VERSION) -Pdebian/libhx-dev -plibhx-dev 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..1343f88 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=3 +http://sf.net/libhx/libHX-(.*)\.tar\.xz |