summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog209
-rw-r--r--debian/clean4
-rw-r--r--debian/compat1
-rw-r--r--debian/control61
-rw-r--r--debian/copyright181
-rw-r--r--debian/libmowgli-2-0.install1
-rw-r--r--debian/libmowgli-2-0.lintian-overrides1
-rw-r--r--debian/libmowgli-2-0.symbols349
-rw-r--r--debian/libmowgli-2-dev.docs2
-rw-r--r--debian/libmowgli-2-dev.examples2
-rw-r--r--debian/libmowgli-2-dev.install3
-rw-r--r--debian/patches/001-Disable_Makefile_silent_output.diff14
-rw-r--r--debian/patches/002-Make-Examples-Buildable-standalone.diff302
-rw-r--r--debian/patches/003-Fix-machine.h.diff11
-rw-r--r--debian/patches/004-No-openssl.diff15
-rw-r--r--debian/patches/series4
-rwxr-xr-xdebian/rules45
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
19 files changed, 1210 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ce5599f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,209 @@
+libmowgli-2 (2.1.0-2) unstable; urgency=medium
+
+ * Orphan.
+
+ -- Andrej Shadura <andrewsh@debian.org> Tue, 24 Apr 2018 16:52:34 +0200
+
+libmowgli-2 (2.1.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Andrew Shadura <andrewsh@debian.org> Tue, 05 Jul 2016 15:42:56 +0200
+
+libmowgli-2 (2.0.0+git20140224.89982cf4-2) unstable; urgency=medium
+
+ * Upload to unstable.
+ * Update debian/watch.
+
+ -- Andrew Shadura <andrewsh@debian.org> Tue, 05 Jul 2016 15:38:49 +0200
+
+libmowgli-2 (2.0.0+git20140224.89982cf4-1) experimental; urgency=medium
+
+ * New upstream snapshot (Closes: #741518).
+ * Refresh patches.
+ * Update symbols file.
+ * Update the home page URL (Closes: #747383).
+ * Add pkg-config dependency (Closes: #747336).
+
+ -- Andrew Shadura <andrewsh@debian.org> Wed, 18 Jun 2014 23:36:06 +0200
+
+libmowgli-2 (2.0.0-3) unstable; urgency=medium
+
+ * Fix symbols, unbreak build on kFreeBSD.
+ * Update the home page URL (Closes: #747383).
+ * Add pkg-config dependency (Closes: #747336).
+
+ -- Andrew Shadura <andrewsh@debian.org> Wed, 18 Jun 2014 23:41:26 +0200
+
+libmowgli-2 (2.0.0-2) unstable; urgency=medium
+
+ * Add missing licenses to debian/copyright (Closes: #741436).
+ * Fix build on unsupported architectures and Hurd (Closes: #745608).
+
+ -- Andrew Shadura <andrewsh@debian.org> Tue, 17 Jun 2014 10:16:10 +0200
+
+libmowgli-2 (2.0.0-1) unstable; urgency=low
+
+ * New major upstream release (Closes: #676964).
+ * Update copyright file.
+
+ -- Andrew Shadura <andrewsh@debian.org> Tue, 28 Jan 2014 15:45:25 +0100
+
+libmowgli (1.0.0-4) unstable; urgency=low
+
+ * Update config.sub and config.guess on build (Closes: #727414).
+ * Build-depend on autotools-dev to have fresh config.* files.
+
+ -- Andrew Shadura <andrewsh@debian.org> Mon, 27 Jan 2014 19:54:50 +0100
+
+libmowgli (1.0.0-3) unstable; urgency=low
+
+ * Fix arch-dependent files in -dev package (Closes: #670014).
+
+ -- Andrew Shadura <andrewsh@debian.org> Wed, 23 Oct 2013 11:57:40 +0200
+
+libmowgli (1.0.0-2) unstable; urgency=low
+
+ * Update Standards-Version to 3.9.4 (no changes).
+ * Fix FTBFS with latest debhelper (Closes: #724183).
+ * Fix arch-dependent files in -dev package (Closes: #670014).
+
+ -- Andrew Shadura <andrewsh@debian.org> Tue, 22 Oct 2013 15:30:44 +0200
+
+libmowgli (1.0.0-1) unstable; urgency=low
+
+ * New maintainer
+ * New upstream release (Closes: #647748, #559181, #590064)
+ * Switch to 3.0 (quilt) format, drop README.source
+ * Bump Standards-Version to 3.9.3
+ * Don't compress examples source code
+ * Use dpkg-buildflags
+ * Update Homepage field
+ * Update copyright file
+ * Update package descriptions
+ * Update symbols file
+ * Update watch file
+ * Run autoreconf during build, stop using autotools-dev
+ * Use debian/clean to clean up after build
+ * Remove duplicate Section fields in debian/control
+ * Update Vcs-* fields
+ * Add lintian override for exception handling code calling exit(3)
+ * Don't try to install make dependency bits along with examples
+ * Add multiarch support:
+ - raise debhelper compatibility level to 9
+ - raise debhelper build-dependency to 9
+ - add Pre-Depends to the binary package
+ - change install files to use multiarch paths
+ - use Multi-Arch: same for binary packages
+ - strip multiarch paths from buildsys.mk installed
+ along with examples
+
+ -- Andrew O. Shadura <bugzilla@tut.by> Mon, 02 Apr 2012 15:04:06 +0200
+
+libmowgli (0.7.1-1) unstable; urgency=low
+
+ * New upstream version
+ * Update patch 001-Disable_Makefile_silent_output.diff
+ Update 001-Disable_Makefile_silent_output.diff for
+ current makefile
+ * Remove 'a' from package description
+ (Closes: #500944)
+
+ -- Patrick Schoenfeld <schoenfeld@debian.org> Tue, 22 Feb 2011 16:21:44 +0100
+
+libmowgli (0.7.0-3) unstable; urgency=low
+
+ * Upload to sid (Closes: #559181, #590064)
+ * Update watch file
+ * Update the Vcs-uris to reflection the migration git
+ * Switch to debhelper 7
+ * Switch to quilt as patch management system
+ * Update Standards-Version, changes needed:
+ + Update section of libmowgli2-dbg to 'debug'
+ * Add missing misc:Depends in libmowgli-dev and libmowgli2-dbg control
+ information
+ * Remove Adam Cécile from uploaders
+ * Fix watch file (again)
+ (Closes: #486575)
+
+ -- Patrick Schoenfeld <schoenfeld@debian.org> Tue, 22 Feb 2011 15:26:10 +0100
+
+libmowgli (0.7.0-2) experimental; urgency=low
+
+ * Upload to experimental because lenny is frozen
+ * Replace (C) with © because of its legal entitlement (in debian/copyright)
+
+ -- Patrick Schoenfeld <schoenfeld@debian.org> Wed, 17 Sep 2008 16:21:14 +0200
+
+libmowgli (0.7.0-1) experimental; urgency=low
+
+ * Upload to experimental because lenny is frozen
+ * New upstream version
+ * Updated maintainer email address
+ * Adapt the packagename, because of the bumped SONAME
+ * Remove 003-dont-call-exit-where-its-not-appropriate.dpatch because
+ changes were applied upstream
+ * Fix watch file, broken due to change in upstream site. Thanks to Tim Retout
+ for the bug report and the patch.
+ (Closes: #486575)
+ * Fixed a spelling error in the long description of libmowgli2
+ (application -> applications)
+ * Remove introduction texts from descriptions that are not aimed at
+ developers, because its not interesting for endusers
+ * Fix indentation in debian/copyright
+ * Update upstream homepage in debian/control and debian/changelog
+ * Updated copyright file
+ * Add debian/README.source to document patch handling for compliance
+ with updated policy
+ * Bump Standards-version to 3.8.0
+
+ -- Patrick Schoenfeld <schoenfeld@debian.org> Wed, 17 Sep 2008 10:46:27 +0200
+
+libmowgli (0.6.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #463604)
+ * Added Vcs-Headers
+ * Introducing William Pitcock as a new co-maintainer
+ * Added a symbols file for dpkg-gensymbols to enable more relaxed
+ dependencies for packages that depend on libmowgli
+ * Added a patch (backport of changes in upstream mercurial repository) to
+ fix the inappropriate call of exit in the library (Closes: #465740)
+ * Reworked the copyright file to make licensing and copyright informations
+ more clear and fix errors in old copyright file.
+ * Changed order of dh_makeshlibs and dh_fixperms in debian/rules to avoid
+ problems with permissions that occur under some conditions
+ * Changed call to dh_makeshlibs so that it produces a versioned shlibs file
+ * Some changes to the package descriptions so its more clear for what the
+ different binary packages are used
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Thu, 10 Jan 2008 08:41:59 +0100
+
+libmowgli (0.6.0-1) unstable; urgency=low
+
+ * New upstream release
+ (Closes: #458410)
+ * Removed patch for wrong SONAME (it was integrated upstream)
+ * Updated Standards Version
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Mon, 31 Dec 2007 14:47:12 +0100
+
+libmowgli (0.5.0-3) unstable; urgency=low
+
+ * Updated upstream domain, because the old domain seems not to be
+ available any more (Closes: #450201)
+ * Changed priority of libmowgli1-dbg to be extra to fix override disparity
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Thu, 08 Nov 2007 06:52:28 +0100
+
+libmowgli (0.5.0-2) unstable; urgency=low
+
+ * Fixed issues with copyright file (Accidentally we stated that the library
+ ilicensed under the terms of the BSD license)
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Wed, 24 Oct 2007 21:14:58 +0200
+
+libmowgli (0.5.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #444334, #447410).
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Wed, 10 Oct 2007 15:53:56 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..92d8807
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,4 @@
+.deps src/.deps src/*/.deps src/*/*/.deps buildsys.mk config.log config.status extra.mk *.pc
+src/libmowgli/*/*.dep
+src/libmowgli/platform/autoconf.h
+config.sub config.guess configure config.rpath
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..7828458
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
+Source: libmowgli-2
+Priority: optional
+Maintainer: Debian QA Group <packages@qa.debian.org>
+Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev
+Standards-Version: 3.9.5
+Homepage: http://www.atheme.org/projects/libmowgli.html
+Vcs-Git: https://git.dgit.debian.org/libmowgli-2
+Vcs-Browser: https://browse.dgit.debian.org/libmowgli-2.git/
+Section: libs
+
+Package: libmowgli-2-dev
+Section: libdevel
+Architecture: any
+Depends:
+ libmowgli-2-0 (= ${binary:Version}),
+ ${misc:Depends},
+ pkgconf | pkg-config
+Multi-Arch: same
+Description: high performance development framework for C (development)
+ Mowgli is a development framework for C (like GLib), which provides high
+ performance and highly flexible algorithms. It can be used as a supplement
+ to GLib (to add additional functions (dictionaries, hashes), or replace some
+ of the slow GLib list manipulation functions), or stand alone. It also
+ provides a powerful hook system and convenient logging for your code, as well
+ as high performance block allocator.
+ .
+ This package contains files needed for development with this library and code
+ examples.
+
+Package: libmowgli-2-0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: high performance development framework for C
+ Mowgli is a development framework for C (like GLib), which provides high
+ performance and highly flexible algorithms. It can be used as a supplement
+ to GLib (to add additional functions (dictionaries, hashes), or replace some
+ of the slow GLib list manipulation functions), or stand alone. It also
+ provides a powerful hook system and convenient logging for your code, as well
+ as high performance block allocator.
+ .
+ This package contains the shared library needed to run programs that use the
+ mowgli library.
+
+Package: libmowgli-2-0-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: libmowgli-2-0 (= ${binary:Version}), ${misc:Depends}
+Multi-Arch: same
+Description: high performance development framework for C (debug)
+ Mowgli is a development framework for C (like GLib), which provides high
+ performance and highly flexible algorithms. It can be used as a supplement
+ to GLib (to add additional functions (dictionaries, hashes), or replace some
+ of the slow GLib list manipulation functions), or stand alone. It also
+ provides a powerful hook system and convenient logging for your code, as well
+ as high performance block allocator.
+ .
+ This package contains the debug symbols needed to create meaningful backtraces
+ for applications that use the mowgli library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0eb2a30
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,181 @@
+This package was debianized by:
+ Patrick Schoenfeld <schoenfeld@in-medias-res.com>
+ Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+on Wed, 10 Oct 2007 13:15:01 +0200.
+
+It was downloaded from http://www.atheme.org/project/mowgli
+
+Copyright:
+ © 2007 William Pitcock <nenolod -at- sacredspiral.co.uk>
+ © 2007-2008 Jilles Tjoelker <jilles@stack.nl>
+ © 2005-2006 Theo Julienne <terminal -at- atheme.org>
+ © 2007 Pippijn van Steenhoven <pippijn -at- one09.net>
+ © 2007 Giacomo Lozito <james -at- develia.org>
+ © 1999-2007 Takuji Nishimura and Makoto Matsumoto
+ © 2007 Jonathan Schleifer <js-buildsys@webkeks.org>
+ © 2012 Elizabeth Myers <elizabeth -at- sporksmoo.net>
+ © 2011 Andrew Wilcox <awilcox -at- wilcox-tech.com>
+ © 2012-2013 Patrick McFarland <pmcfarland@adterrasperaspera.com>
+ © 2012 Alex Iadicicco <alex -at- ajitek.net>
+
+License (for everything except the exceptions listed below):
+ Atheme License (ISC derivate):
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice is present in all copies.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License version 2 can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/libmowgli/ext/getopt_long.*
+License:
+ Copyright (c) 2000 The NetBSD Foundation, Inc.
+ All rights reserved.
+ .
+ This code is derived from software contributed to The NetBSD Foundation
+ by Dieter Baron and Thomas Klausner.
+ .
+ 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.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files:
+ src/libmowgli/platform/win32/socketpair.c
+Copyright:
+ 2007, 2010 by Nathan C. Myers <ncm@cantrip.org>
+License:
+ This code is Free Software. It may be copied freely, in original or
+ modified form, subject only to the restrictions that (1) the author is
+ relieved from all responsibilities for any use for any purpose, and (2)
+ this copyright notice must be retained, unchanged, in its entirety. If
+ for any reason the author might be held responsible for any consequences
+ of copying or use, license is withheld.
+
+Files:
+ src/libmowgli/container/patricia.*
+ src/libmowgli/dns/dns_evloop_reslib.c
+ src/examples/formattertest/formattertest.c
+ src/examples/libevent-bench/bench.c
+ src/examples/listsort/listsort.c
+ src/examples/patriciatest/patriciatest.c
+ src/examples/patriciatest2/patriciatest2.c
+ src/examples/randomtest/randomtest.c
+Copyright:
+ (c) 2007 William Pitcock <nenolod -at- sacredspiral.co.uk>
+ (c) 2007-2010 Jilles Tjoelker <jilles -at- stack.nl>
+ (c) 2003 Niels Provos <provos@citi.umich.edu>
+ (c) 1985, 1993 The Regents of the University of California. All rights reserved.
+License:
+
+ Additional copyright for algorithm in randomtest.c:
+ © 1999-2007 Takuji Nishimura and Makoto Matsumoto
+
+ 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 name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Additional copyrights for dns_evloop_reslib.c:
+ Portions Copyright (c) 1993 by Digital Equipment Corporation.
+ Portions Copyright (c) 1996-1999 by Internet Software Consortium.
+with original license:
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
+ ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
+ CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
+ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+ SOFTWARE.
+
+Additional copyright for mowgli_string.c:
+ Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
+
+Files:
+ src/examples/vio-udplistener/vio-udplistener.c
+ src/examples/async_resolver/async_resolver.c
+License:
+ Public domain
+
+Files:
+ src/libmowgli/ext/proctitle.c
+Copyright:
+ (c) 2000-2011, PostgreSQL Global Development Group
+License:
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose, without fee, and without a written agreement
+ is hereby granted, provided that the above copyright notice and this
+ paragraph and the following two paragraphs appear in all copies.
+ .
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
+ DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
+ LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
+ DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
+ ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
+ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+The Debian packaging is :
+ Copyright (c) 2007 Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+ Copyright (c) 2007 Patrick Schoenfeld <schoenfeld@in-medias-res.com>
+ Copyright (c) 2012-2014 Andrew Shadura <andrewsh@debian.org>
+and is licensed under the GPL-2, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/libmowgli-2-0.install b/debian/libmowgli-2-0.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libmowgli-2-0.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/libmowgli-2-0.lintian-overrides b/debian/libmowgli-2-0.lintian-overrides
new file mode 100644
index 0000000..9ca7dde
--- /dev/null
+++ b/debian/libmowgli-2-0.lintian-overrides
@@ -0,0 +1 @@
+libmowgli-2-0 binary: shlib-calls-exit usr/lib/*/libmowgli-2.so.0.0.0
diff --git a/debian/libmowgli-2-0.symbols b/debian/libmowgli-2-0.symbols
new file mode 100644
index 0000000..74b9754
--- /dev/null
+++ b/debian/libmowgli-2-0.symbols
@@ -0,0 +1,349 @@
+libmowgli-2.so.0 libmowgli-2-0 #MINVER#
+ (arch=linux-any)_mowgli_epoll_pollops@Base 2.0.0
+ (arch=kfreebsd-any)_mowgli_kqueue_pollops@Base 2.0.0
+ _mowgli_log_buf@Base 2.0.0+git20140224
+ _mowgli_log_cb@Base 2.0.0+git20140224
+ _mowgli_null_mutex_ops@Base 2.0.0
+ _mowgli_null_pollops@Base 2.0.0
+ _mowgli_poll_pollops@Base 2.0.0
+ _mowgli_posix_mutex_ops@Base 2.0.0
+ _mowgli_select_pollops@Base 2.0.0
+ cacheline_size@Base 2.0.0+git20140224
+ mowgli_alloc@Base 0.7.0
+ mowgli_alloc_array@Base 0.7.0
+ mowgli_alloc_array_using_policy@Base 2.0.0
+ mowgli_alloc_using_policy@Base 2.0.0
+ mowgli_allocation_policy_bootstrap@Base 2.0.0
+ mowgli_allocation_policy_create@Base 0.7.0
+ mowgli_allocation_policy_lookup@Base 0.7.0
+ mowgli_allocator_bootstrap@Base 2.0.0
+ mowgli_allocator_malloc@Base 0.7.0
+ mowgli_allocator_set_policy@Base 0.7.0
+ mowgli_allocator_set_policy_by_name@Base 0.7.0
+ mowgli_argc@Base 2.0.0+git20140224
+ mowgli_argstack_bootstrap@Base 2.0.0
+ mowgli_argstack_create@Base 0.7.0
+ mowgli_argstack_create_from_va_list@Base 0.7.0
+ mowgli_argstack_pop_boolean@Base 0.7.0
+ mowgli_argstack_pop_numeric@Base 0.7.0
+ mowgli_argstack_pop_pointer@Base 0.7.0
+ mowgli_argstack_pop_string@Base 0.7.0
+ mowgli_argv@Base 2.0.0+git20140224
+ mowgli_bitvector_bootstrap@Base 2.0.0
+ mowgli_bitvector_combine@Base 0.7.0
+ mowgli_bitvector_compare@Base 0.7.0
+ mowgli_bitvector_create@Base 0.7.0
+ mowgli_bitvector_get@Base 0.7.0
+ mowgli_bitvector_set@Base 0.7.0
+ mowgli_bitvector_xor@Base 0.7.0
+ mowgli_cacheline_bootstrap@Base 2.0.0+git20140224
+ mowgli_cacheline_size@Base 2.0.0+git20140224
+ mowgli_config_file_free@Base 2.0.0
+ mowgli_config_file_load@Base 2.0.0
+ mowgli_dictionary_add@Base 0.7.0
+ mowgli_dictionary_create@Base 0.7.0
+ mowgli_dictionary_create_named@Base 0.7.0
+ mowgli_dictionary_delete@Base 0.7.0
+ mowgli_dictionary_destroy@Base 0.7.0
+ mowgli_dictionary_find@Base 0.7.0
+ mowgli_dictionary_foreach@Base 0.7.0
+ mowgli_dictionary_foreach_cur@Base 0.7.0
+ mowgli_dictionary_foreach_next@Base 0.7.0
+ mowgli_dictionary_foreach_start@Base 0.7.0
+ mowgli_dictionary_get_comparator_func@Base 0.7.0
+ mowgli_dictionary_get_linear_index@Base 0.7.0
+ mowgli_dictionary_link@Base 0.7.0
+ mowgli_dictionary_retrieve@Base 0.7.0
+ mowgli_dictionary_retune@Base 0.7.0
+ mowgli_dictionary_search@Base 0.7.0
+ mowgli_dictionary_set_comparator_func@Base 0.7.0
+ mowgli_dictionary_size@Base 0.7.0
+ mowgli_dictionary_stats@Base 0.7.0
+ mowgli_dictionary_unlink_root@Base 0.7.0
+ mowgli_dns_create@Base 2.0.0
+ mowgli_dns_delete_query@Base 2.0.0
+ mowgli_dns_destroy@Base 2.0.0
+ mowgli_dns_dn_expand@Base 2.0.0
+ mowgli_dns_dn_skipname@Base 2.0.0
+ mowgli_dns_evloop_add_local_domain@Base 2.0.0
+ mowgli_dns_evloop_delete_queries@Base 2.0.0
+ mowgli_dns_evloop_destroy@Base 2.0.0
+ mowgli_dns_evloop_gethost_byaddr@Base 2.0.0
+ mowgli_dns_evloop_gethost_byname@Base 2.0.0
+ mowgli_dns_evloop_init@Base 2.0.0
+ mowgli_dns_evloop_resolver@Base 2.0.0
+ mowgli_dns_evloop_restart@Base 2.0.0
+ mowgli_dns_evloop_set_resolvconf@Base 2.0.0+git20140224
+ mowgli_dns_gethost_byaddr@Base 2.0.0
+ mowgli_dns_gethost_byname@Base 2.0.0
+ mowgli_dns_init@Base 2.0.0
+ mowgli_dns_ns_get16@Base 2.0.0
+ mowgli_dns_ns_get32@Base 2.0.0
+ mowgli_dns_ns_put16@Base 2.0.0
+ mowgli_dns_ns_put32@Base 2.0.0
+ mowgli_dns_res_mkquery@Base 2.0.0
+ mowgli_dns_restart@Base 2.0.0
+ mowgli_error_context_create@Base 0.7.0
+ mowgli_error_context_destroy@Base 0.7.0
+ mowgli_error_context_display@Base 0.7.0
+ mowgli_error_context_display_with_error@Base 0.7.0
+ mowgli_error_context_pop@Base 0.7.0
+ mowgli_error_context_push@Base 0.7.0
+ mowgli_eventloop_break@Base 2.0.0
+ mowgli_eventloop_create@Base 2.0.0
+ mowgli_eventloop_destroy@Base 2.0.0
+ mowgli_eventloop_get_data@Base 2.0.0
+ mowgli_eventloop_next_timer@Base 2.0.0
+ mowgli_eventloop_run@Base 2.0.0
+ mowgli_eventloop_run_once@Base 2.0.0
+ mowgli_eventloop_run_timers@Base 2.0.0
+ mowgli_eventloop_set_data@Base 2.0.0
+ mowgli_eventloop_timeout_once@Base 2.0.0
+ mowgli_eventloop_timers_only@Base 2.0.0
+ mowgli_fnv_hash@Base 0.7.0
+ mowgli_fnv_hash_string@Base 0.7.0
+ mowgli_formatter_format@Base 0.7.0
+ mowgli_formatter_format_from_argstack@Base 0.7.0
+ mowgli_formatter_print@Base 0.7.0
+ mowgli_free@Base 0.7.0
+ mowgli_getopt@Base 2.0.0
+ mowgli_getopt_long@Base 2.0.0
+ mowgli_global_storage_bootstrap@Base 2.0.0
+ mowgli_global_storage_free@Base 0.7.0
+ mowgli_global_storage_get@Base 0.7.0
+ mowgli_global_storage_put@Base 0.7.0
+ mowgli_heap_alloc@Base 0.7.0
+ mowgli_heap_create@Base 0.7.0
+ mowgli_heap_create_full@Base 0.7.0
+ mowgli_heap_destroy@Base 0.7.0
+ mowgli_heap_free@Base 0.7.0
+ mowgli_helper_create@Base 2.0.0
+ mowgli_helper_destroy@Base 2.0.0
+ mowgli_helper_set_read_cb@Base 2.0.0
+ mowgli_helper_setup@Base 2.0.0
+ mowgli_helper_spawn@Base 2.0.0
+ mowgli_hook_associate@Base 0.7.0
+ mowgli_hook_bootstrap@Base 2.0.0
+ mowgli_hook_call@Base 0.7.0
+ mowgli_hook_dissociate@Base 0.7.0
+ mowgli_hook_register@Base 0.7.0
+ mowgli_index_allocate@Base 1.0.0
+ mowgli_index_append@Base 1.0.0
+ mowgli_index_copy_append@Base 1.0.0
+ mowgli_index_copy_insert@Base 1.0.0
+ mowgli_index_copy_set@Base 1.0.0
+ mowgli_index_count@Base 1.0.0
+ mowgli_index_create@Base 1.0.0
+ mowgli_index_delete@Base 1.0.0
+ mowgli_index_destroy@Base 1.0.0
+ mowgli_index_get@Base 1.0.0
+ mowgli_index_init@Base 1.0.0
+ mowgli_index_insert@Base 1.0.0
+ mowgli_index_merge_append@Base 1.0.0
+ mowgli_index_merge_insert@Base 1.0.0
+ mowgli_index_move@Base 1.0.0
+ mowgli_index_set@Base 1.0.0
+ mowgli_index_sort@Base 1.0.0
+ mowgli_init@Base 0.7.0
+ mowgli_interface_bootstrap@Base 2.0.0+git20140224
+ mowgli_interface_get@Base 2.0.0+git20140224
+ mowgli_interface_register@Base 2.0.0+git20140224
+ mowgli_interface_unregister@Base 2.0.0+git20140224
+ mowgli_json_create_array@Base 2.0.0+git20140224
+ mowgli_json_create_float@Base 2.0.0+git20140224
+ mowgli_json_create_integer@Base 2.0.0+git20140224
+ mowgli_json_create_object@Base 2.0.0+git20140224
+ mowgli_json_create_string@Base 2.0.0+git20140224
+ mowgli_json_create_string_n@Base 2.0.0+git20140224
+ mowgli_json_decref@Base 2.0.0+git20140224
+ mowgli_json_false@Base 2.0.0+git20140224
+ mowgli_json_incref@Base 2.0.0+git20140224
+ mowgli_json_null@Base 2.0.0+git20140224
+ mowgli_json_parse_create@Base 2.0.0+git20140224
+ mowgli_json_parse_data@Base 2.0.0+git20140224
+ mowgli_json_parse_destroy@Base 2.0.0+git20140224
+ mowgli_json_parse_error@Base 2.0.0+git20140224
+ mowgli_json_parse_file@Base 2.0.0+git20140224
+ mowgli_json_parse_more@Base 2.0.0+git20140224
+ mowgli_json_parse_next@Base 2.0.0+git20140224
+ mowgli_json_parse_reset@Base 2.0.0+git20140224
+ mowgli_json_parse_string@Base 2.0.0+git20140224
+ mowgli_json_serialize@Base 2.0.0+git20140224
+ mowgli_json_serialize_to_string@Base 2.0.0+git20140224
+ mowgli_json_true@Base 2.0.0+git20140224
+ mowgli_linebuf_attach_to_eventloop@Base 2.0.0
+ mowgli_linebuf_create@Base 2.0.0
+ mowgli_linebuf_delim@Base 2.0.0+git20140224
+ mowgli_linebuf_destroy@Base 2.0.0
+ mowgli_linebuf_detach_from_eventloop@Base 2.0.0+git20140224
+ mowgli_linebuf_setbuflen@Base 2.0.0
+ mowgli_linebuf_shut_down@Base 2.0.0+git20140224
+ mowgli_linebuf_write@Base 2.0.0
+ mowgli_linebuf_writef@Base 2.0.0
+ mowgli_list_concat@Base 0.7.0
+ mowgli_list_create@Base 0.7.0
+ mowgli_list_free@Base 0.7.0
+ mowgli_list_reverse@Base 0.7.0
+ mowgli_list_sort@Base 0.7.0
+ mowgli_log_bootstrap@Base 2.0.0+git20140224
+ mowgli_log_cb_default@Base 0.7.0
+ mowgli_log_prefix_real@Base 2.0.0+git20140224
+ mowgli_log_real@Base 0.7.0
+ mowgli_log_set_cb@Base 0.7.0
+ mowgli_memslice_bootstrap@Base 2.0.0
+ mowgli_memslice_get_policy@Base 2.0.0
+ mowgli_module_close@Base 0.7.0
+ mowgli_module_open@Base 0.7.0
+ mowgli_module_symbol@Base 0.7.0
+ mowgli_mutex_create@Base 2.0.0
+ mowgli_mutex_destroy@Base 2.0.0
+ mowgli_mutex_init@Base 2.0.0
+ mowgli_mutex_lock@Base 2.0.0
+ mowgli_mutex_set_policy@Base 2.0.0
+ mowgli_mutex_trylock@Base 2.0.0
+ mowgli_mutex_uninit@Base 2.0.0
+ mowgli_mutex_unlock@Base 2.0.0
+ mowgli_node_add@Base 0.7.0
+ mowgli_node_add_after@Base 0.7.0
+ mowgli_node_add_before@Base 0.7.0
+ mowgli_node_add_head@Base 0.7.0
+ mowgli_node_bootstrap@Base 2.0.0
+ mowgli_node_create@Base 0.7.0
+ mowgli_node_delete@Base 0.7.0
+ mowgli_node_find@Base 0.7.0
+ mowgli_node_free@Base 0.7.0
+ mowgli_node_index@Base 0.7.0
+ mowgli_node_insert@Base 0.7.0
+ mowgli_node_move@Base 0.7.0
+ mowgli_node_nth@Base 0.7.0
+ mowgli_node_nth_data@Base 0.7.0
+ mowgli_object_class_bootstrap@Base 2.0.0+git20140224
+ mowgli_object_class_check_cast@Base 0.7.0
+ mowgli_object_class_destroy@Base 0.7.0
+ mowgli_object_class_find_by_name@Base 0.7.0
+ mowgli_object_class_init@Base 0.7.0
+ mowgli_object_class_message_handler_attach@Base 0.7.0
+ mowgli_object_class_message_handler_detach@Base 0.7.0
+ mowgli_object_class_reinterpret_impl@Base 0.7.0
+ mowgli_object_class_set_derivitive@Base 0.7.0
+ mowgli_object_init@Base 0.7.0
+ mowgli_object_init_from_class@Base 0.7.0
+ mowgli_object_message_broadcast@Base 0.7.0
+ mowgli_object_message_handler_attach@Base 0.7.0
+ mowgli_object_message_handler_detach@Base 0.7.0
+ mowgli_object_metadata_associate@Base 0.7.0
+ mowgli_object_metadata_dissociate@Base 0.7.0
+ mowgli_object_metadata_retrieve@Base 0.7.0
+ mowgli_object_ref@Base 0.7.0
+ mowgli_object_unref@Base 0.7.0
+ mowgli_optarg@Base 2.0.0
+ mowgli_opterr@Base 2.0.0
+ mowgli_optind@Base 2.0.0
+ mowgli_optopt@Base 2.0.0
+ mowgli_optreset@Base 2.0.0
+ mowgli_patricia_add@Base 0.7.0
+ mowgli_patricia_create@Base 0.7.0
+ mowgli_patricia_create_named@Base 0.7.0
+ mowgli_patricia_delete@Base 0.7.0
+ mowgli_patricia_destroy@Base 0.7.0
+ mowgli_patricia_elem_add@Base 1.0.0
+ mowgli_patricia_elem_delete@Base 1.0.0
+ mowgli_patricia_elem_find@Base 1.0.0
+ mowgli_patricia_elem_get_data@Base 1.0.0
+ mowgli_patricia_elem_get_key@Base 1.0.0
+ mowgli_patricia_elem_set_data@Base 1.0.0
+ mowgli_patricia_foreach@Base 0.7.0
+ mowgli_patricia_foreach_cur@Base 0.7.0
+ mowgli_patricia_foreach_next@Base 0.7.0
+ mowgli_patricia_foreach_start@Base 0.7.0
+ mowgli_patricia_retrieve@Base 0.7.0
+ mowgli_patricia_search@Base 0.7.0
+ mowgli_patricia_shutdown@Base 2.0.0
+ mowgli_patricia_size@Base 0.7.0
+ mowgli_patricia_stats@Base 0.7.0
+ mowgli_pollable_create@Base 2.0.0
+ mowgli_pollable_destroy@Base 2.0.0
+ mowgli_pollable_set_cloexec@Base 2.0.0+git20140224
+ mowgli_pollable_set_nonblocking@Base 2.0.0
+ mowgli_pollable_setselect@Base 2.0.0
+ mowgli_pollable_trigger@Base 2.0.0+git20140224
+ mowgli_process_clone@Base 2.0.0
+ mowgli_process_kill@Base 2.0.0
+ mowgli_process_spawn@Base 2.0.0
+ mowgli_proctitle_get@Base 2.0.0
+ mowgli_proctitle_init@Base 2.0.0
+ mowgli_proctitle_set@Base 2.0.0
+ mowgli_program_opts_consumer_bool@Base 2.0.0
+ mowgli_program_opts_consumer_int@Base 2.0.0
+ mowgli_program_opts_consumer_str@Base 2.0.0
+ mowgli_program_opts_parse@Base 2.0.0
+ mowgli_queue_bootstrap@Base 2.0.0
+ mowgli_queue_destroy@Base 0.7.0
+ mowgli_queue_find@Base 0.7.0
+ mowgli_queue_head@Base 0.7.0
+ mowgli_queue_length@Base 0.7.0
+ mowgli_queue_pop_head@Base 0.7.0
+ mowgli_queue_pop_tail@Base 0.7.0
+ mowgli_queue_push@Base 0.7.0
+ mowgli_queue_remove@Base 0.7.0
+ mowgli_queue_remove_data@Base 0.7.0
+ mowgli_queue_rewind@Base 0.7.0
+ mowgli_queue_shift@Base 0.7.0
+ mowgli_queue_skip@Base 0.7.0
+ mowgli_queue_tail@Base 0.7.0
+ mowgli_random_bootstrap@Base 2.0.0
+ mowgli_random_create@Base 0.7.0
+ mowgli_random_create_with_seed@Base 0.7.0
+ mowgli_random_int@Base 0.7.0
+ mowgli_random_int_ranged@Base 0.7.0
+ mowgli_random_reseed@Base 0.7.0
+ mowgli_signal_install_handler@Base 0.7.0
+ mowgli_simple_eventloop_error_handler@Base 2.0.0
+ mowgli_simple_eventloop_run_once@Base 2.0.0
+ mowgli_simple_eventloop_timeout_once@Base 2.0.0
+ mowgli_soft_assert_log@Base 1.0.0
+ mowgli_strdup@Base 2.0.0
+ mowgli_strdup_using_policy@Base 2.0.0
+ mowgli_string_append@Base 0.7.0
+ mowgli_string_append_char@Base 0.7.0
+ mowgli_string_create@Base 0.7.0
+ mowgli_string_destroy@Base 0.7.0
+ mowgli_string_reset@Base 0.7.0
+ mowgli_strlcat@Base 1.0.0
+ mowgli_strlcpy@Base 1.0.0
+ mowgli_strndup@Base 2.0.0+git20140224
+ mowgli_strndup_using_policy@Base 2.0.0+git20140224
+ mowgli_timer_add@Base 2.0.0
+ mowgli_timer_add_once@Base 2.0.0
+ mowgli_timer_destroy@Base 2.0.0
+ mowgli_timer_find@Base 2.0.0
+ mowgli_vio_create@Base 2.0.0
+ mowgli_vio_default_accept@Base 2.0.0
+ mowgli_vio_default_bind@Base 2.0.0
+ mowgli_vio_default_close@Base 2.0.0
+ mowgli_vio_default_connect@Base 2.0.0
+ mowgli_vio_default_error@Base 2.0.0
+ mowgli_vio_default_evops@Base 2.0.0+git20140224
+ mowgli_vio_default_listen@Base 2.0.0
+ mowgli_vio_default_ops@Base 2.0.0
+ mowgli_vio_default_read@Base 2.0.0
+ mowgli_vio_default_recvfrom@Base 2.0.0
+ mowgli_vio_default_reuseaddr@Base 2.0.0+git20140224
+ mowgli_vio_default_seek@Base 2.0.0
+ mowgli_vio_default_sendto@Base 2.0.0
+ mowgli_vio_default_socket@Base 2.0.0
+ mowgli_vio_default_tell@Base 2.0.0
+ mowgli_vio_default_write@Base 2.0.0
+ mowgli_vio_destroy@Base 2.0.0
+ mowgli_vio_err_errcode@Base 2.0.0
+ mowgli_vio_err_sslerrcode@Base 2.0.0
+ mowgli_vio_eventloop_attach@Base 2.0.0
+ mowgli_vio_eventloop_detach@Base 2.0.0
+ mowgli_vio_init@Base 2.0.0
+ mowgli_vio_openssl_getsslcontext@Base 2.0.0
+ mowgli_vio_openssl_getsslhandle@Base 2.0.0
+ mowgli_vio_openssl_setssl@Base 2.0.0
+ mowgli_vio_sockaddr_create@Base 2.0.0
+ mowgli_vio_sockaddr_from_struct@Base 2.0.0
+ mowgli_vio_sockaddr_info@Base 2.0.0
+ mowgli_writef@Base 2.0.0
diff --git a/debian/libmowgli-2-dev.docs b/debian/libmowgli-2-dev.docs
new file mode 100644
index 0000000..da6ffa7
--- /dev/null
+++ b/debian/libmowgli-2-dev.docs
@@ -0,0 +1,2 @@
+doc/BOOST
+README
diff --git a/debian/libmowgli-2-dev.examples b/debian/libmowgli-2-dev.examples
new file mode 100644
index 0000000..b28d08f
--- /dev/null
+++ b/debian/libmowgli-2-dev.examples
@@ -0,0 +1,2 @@
+src/examples/*
+buildsys.mk
diff --git a/debian/libmowgli-2-dev.install b/debian/libmowgli-2-dev.install
new file mode 100644
index 0000000..7df81cd
--- /dev/null
+++ b/debian/libmowgli-2-dev.install
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
diff --git a/debian/patches/001-Disable_Makefile_silent_output.diff b/debian/patches/001-Disable_Makefile_silent_output.diff
new file mode 100644
index 0000000..7189358
--- /dev/null
+++ b/debian/patches/001-Disable_Makefile_silent_output.diff
@@ -0,0 +1,14 @@
+Author: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+Description: Let's show what happens...
+
+--- a/buildsys.mk.in
++++ b/buildsys.mk.in
+@@ -102,7 +102,7 @@
+
+ MO_FILES = ${LOCALES:.po=.mo}
+
+-.SILENT:
++#.SILENT:
+ .SUFFIXES:
+ .SUFFIXES: .beam .c .c.dep .cc .cc.dep .class .cxx .cxx.dep .d .erl .lib.o .java .mo .m .m.dep .mm .mm.dep .o .plugin.o .po .py .pyc .rc .S .S.dep .xpm
+ .PHONY: all subdirs ${SUBDIRS} pre-depend depend install install-extra uninstall uninstall-extra clean distclean locales
diff --git a/debian/patches/002-Make-Examples-Buildable-standalone.diff b/debian/patches/002-Make-Examples-Buildable-standalone.diff
new file mode 100644
index 0000000..180f9b9
--- /dev/null
+++ b/debian/patches/002-Make-Examples-Buildable-standalone.diff
@@ -0,0 +1,302 @@
+Author: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+Description: This patch makes the examples build standalone.
+
+--- a/src/examples/formattertest/formattertest.c
++++ b/src/examples/formattertest/formattertest.c
+@@ -31,7 +31,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ int
+ main(int argc, char *argv[])
+--- a/src/examples/formattertest/Makefile
++++ b/src/examples/formattertest/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = formattertest${PROG_SUFFIX}
+ SRCS = formattertest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/listsort/listsort.c
++++ b/src/examples/listsort/listsort.c
+@@ -31,7 +31,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ #ifdef _WIN32
+ # define strcasecmp _stricmp
+--- a/src/examples/listsort/Makefile
++++ b/src/examples/listsort/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = listsort${PROG_SUFFIX}
+ SRCS = listsort.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/randomtest/Makefile
++++ b/src/examples/randomtest/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = randomtest${PROG_SUFFIX}
+ SRCS = randomtest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/randomtest/randomtest.c
++++ b/src/examples/randomtest/randomtest.c
+@@ -31,7 +31,7 @@
+ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ int
+ main(int argc, char *argv[])
+--- a/src/examples/async_resolver/async_resolver.c
++++ b/src/examples/async_resolver/async_resolver.c
+@@ -1,6 +1,6 @@
+ /* This code is in the public domain. */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ typedef struct
+ {
+--- a/src/examples/async_resolver/Makefile
++++ b/src/examples/async_resolver/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = async_resolver${PROG_SUFFIX}
+ SRCS = async_resolver.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/echoserver/echoserver.c
++++ b/src/examples/echoserver/echoserver.c
+@@ -21,7 +21,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ mowgli_eventloop_t *base_eventloop;
+ mowgli_eventloop_pollable_t *listener;
+--- a/src/examples/echoserver/Makefile
++++ b/src/examples/echoserver/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = echoserver${PROG_SUFFIX}
+ SRCS = echoserver.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/helpertest/helpertest.c
++++ b/src/examples/helpertest/helpertest.c
+@@ -21,7 +21,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ int helper_count = 0;
+
+--- a/src/examples/helpertest/Makefile
++++ b/src/examples/helpertest/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = helpertest${PROG_SUFFIX}
+ SRCS = helpertest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/libevent-bench/bench.c
++++ b/src/examples/libevent-bench/bench.c
+@@ -76,7 +76,7 @@
+ } \
+ } while (0)
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ static int count, writes, fired;
+ static mowgli_eventloop_t *base_eventloop;
+--- a/src/examples/libevent-bench/Makefile
++++ b/src/examples/libevent-bench/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = bench${PROG_SUFFIX}
+ SRCS = bench.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/linetest/linetest.c
++++ b/src/examples/linetest/linetest.c
+@@ -22,7 +22,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ mowgli_eventloop_t *base_eventloop;
+ char buf[512];
+--- a/src/examples/linetest/Makefile
++++ b/src/examples/linetest/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = linetest${PROG_SUFFIX}
+ SRCS = linetest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/memslice-bench/Makefile
++++ b/src/examples/memslice-bench/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = memslice-bench${PROG_SUFFIX}
+ SRCS = memslice-bench.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/memslice-bench/memslice-bench.c
++++ b/src/examples/memslice-bench/memslice-bench.c
+@@ -30,7 +30,7 @@
+ } \
+ } while (0)
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ mowgli_allocation_policy_t *memslice;
+ mowgli_allocation_policy_t *sysmalloc;
+--- a/src/examples/patriciatest2/Makefile
++++ b/src/examples/patriciatest2/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = patriciatest2${PROG_SUFFIX}
+ SRCS = patriciatest2.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/patriciatest2/patriciatest2.c
++++ b/src/examples/patriciatest2/patriciatest2.c
+@@ -31,7 +31,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ #define TESTSIZE 10000
+
+--- a/src/examples/patriciatest/Makefile
++++ b/src/examples/patriciatest/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = patriciatest${PROG_SUFFIX}
+ SRCS = patriciatest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/patriciatest/patriciatest.c
++++ b/src/examples/patriciatest/patriciatest.c
+@@ -31,7 +31,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ int errors = 0;
+
+--- a/src/examples/timertest/Makefile
++++ b/src/examples/timertest/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = timertest${PROG_SUFFIX}
+ SRCS = timertest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/timertest/timertest.c
++++ b/src/examples/timertest/timertest.c
+@@ -21,7 +21,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ mowgli_eventloop_t *eventloop;
+
+--- a/src/examples/vio-udplistener/Makefile
++++ b/src/examples/vio-udplistener/Makefile
+@@ -1,7 +1,7 @@
+ PROG_NOINST = vio-udplistener${PROG_SUFFIX}
+ SRCS = vio-udplistener.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli-2
+--- a/src/examples/vio-udplistener/vio-udplistener.c
++++ b/src/examples/vio-udplistener/vio-udplistener.c
+@@ -3,7 +3,7 @@
+ * This example is public domain.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ #define BUFSIZE 2048
+
+--- a/src/examples/Makefile
++++ b/src/examples/Makefile
+@@ -1,2 +1,2 @@
+ SUBDIRS = echoserver vio-udplistener async_resolver formattertest helpertest jsontest libevent-bench linetest listsort memslice-bench patriciatest patriciatest2 randomtest timertest
+-include ../../buildsys.mk
++include buildsys.mk
+--- a/src/examples/jsontest/jsontest.c
++++ b/src/examples/jsontest/jsontest.c
+@@ -1,4 +1,4 @@
+-#include <mowgli.h>
++#include <libmowgli-2/mowgli.h>
+
+ void
+ out_string(mowgli_json_output_t *out, const char *str, size_t len)
diff --git a/debian/patches/003-Fix-machine.h.diff b/debian/patches/003-Fix-machine.h.diff
new file mode 100644
index 0000000..4e3ffa4
--- /dev/null
+++ b/debian/patches/003-Fix-machine.h.diff
@@ -0,0 +1,11 @@
+--- a/src/libmowgli/platform/machine.h
++++ b/src/libmowgli/platform/machine.h
+@@ -192,7 +192,7 @@
+ # endif
+ #endif
+
+-#if defined __linux || defined __linux__
++#if defined __linux || defined __linux__ || defined __FreeBSD_kernel__
+ # define MOWGLI_OS_LINUX
+ # define MOWGLI_OS linux
+ # define MOWGLI_OS_THREADS_POSIX
diff --git a/debian/patches/004-No-openssl.diff b/debian/patches/004-No-openssl.diff
new file mode 100644
index 0000000..1a8cf7d
--- /dev/null
+++ b/debian/patches/004-No-openssl.diff
@@ -0,0 +1,15 @@
+--- a/m4/ax_check_openssl.m4
++++ b/m4/ax_check_openssl.m4
+@@ -42,9 +42,11 @@
+ [root of the OpenSSL directory])],
+ [
+ case "$withval" in
+- "" | y | ye | yes | n | no)
++ y | ye | yes)
+ AC_MSG_ERROR([Invalid --with-openssl value])
+ ;;
++ "" | n | no) ssldirs=""
++ ;;
+ *) ssldirs="$withval"
+ ;;
+ esac
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7b4be3e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,4 @@
+001-Disable_Makefile_silent_output.diff
+002-Make-Examples-Buildable-standalone.diff
+003-Fix-machine.h.diff
+004-No-openssl.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..63b011e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+
+export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
+export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+
+export ACLOCAL := aclocal -I m4
+
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+%:
+ dh $@ --with=autoreconf
+
+override_dh_auto_configure:
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ dh_auto_configure -- SHELL=/bin/sh --with-openssl=no
+
+override_dh_auto_install:
+ dh_auto_install
+ # mkdir -p debian/libmowgli-2-0/usr/include/$(DEB_HOST_MULTIARCH)/libmowgli-2/platform
+ # mv -f debian/tmp/usr/include/libmowgli-2/platform/autoconf.h debian/libmowgli-2-0/usr/include/$(DEB_HOST_MULTIARCH)/libmowgli-2/platform/autoconf.h
+
+override_dh_installexamples:
+ sed -e 's,\(libdir = \$${prefix}/lib\)/.*$$,\1,' \
+ -e 's,CFLAGS = .*$$,CFLAGS = ,' \
+ -e 's,CPPFLAGS = .*$$,CPPFLAGS = ,' \
+ -e 's,LDFLAGS = .*$$,LDFLAGS = ,' < buildsys.mk > buildsys.mk.new
+ mv -f buildsys.mk.new buildsys.mk
+ dh_installexamples -X.dep
+
+override_dh_compress:
+ dh_compress -Xusr/share/doc/libmowgli-2-dev/examples
+
+override_dh_strip:
+ dh_strip --dbg-package=libmowgli-2-0-dbg
+
+override_dh_auto_clean:
+ [ ! -f buildsys.mk ] || dh_auto_clean
+
+.PHONY: override_dh_installexamples override_dh_compress override_dh_strip override_dh_auto_clean override_dh_auto_install override_dh_auto_configure
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/watch b/debian/watch
new file mode 100644
index 0000000..49d58c0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="mode=git" https://github.com/atheme/libmowgli-2.git \
+refs/tags/v([\d\.]+) debian uupdate
+