summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/README.source18
-rw-r--r--debian/changelog260
-rw-r--r--debian/compat1
-rw-r--r--debian/control66
-rw-r--r--debian/copyright85
-rw-r--r--debian/liburiparser-dev.install3
-rw-r--r--debian/liburiparser-doc.dirs1
-rw-r--r--debian/liburiparser-doc.doc-base7
-rw-r--r--debian/liburiparser1.install1
-rw-r--r--debian/liburiparser1.symbols87
-rw-r--r--debian/patches/0001-missing_pthread.patch36
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules42
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch4
16 files changed, 618 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..e4f2b3d
--- /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-webhosting.net> 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..7f6ddb7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,260 @@
+uriparser (0.9.3-2) unstable; urgency=medium
+
+ * Fix FTBFS:
+ - debian/control: move all Build-Depends-Indep to Build-Depends.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 20 Jul 2019 10:24:00 +0200
+
+uriparser (0.9.3-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh symbols file.
+ - Rewrite build process.
+ * Migrate to debhelper 12:
+ - Change debian/compat to 12.
+ - Bump minimum debhelper version in debian/control to >= 12.
+ * Declare compliance with Debian Policy 4.4.0 (No changes needed).
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 13 Jul 2019 18:39:44 +0200
+
+uriparser (0.9.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Declare compliance with Debian Policy 4.3.0.1 (No changes needed).
+ * debian/copyright:
+ - Bump years to 2019.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 12 Jan 2019 19:08:27 +0100
+
+uriparser (0.9.0-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #913817):
+ - Fix CVE-2018-19198.
+ - Fix CVE-2018-19199.
+ - Fix CVE-2018-19200.
+ * Refresh debian/liburiparser1.symbols.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Fri, 16 Nov 2018 07:57:14 +0100
+
+uriparser (0.8.6-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Declare compliance with Debian Policy 4.2.1 (No changes needed).
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 08 Sep 2018 10:40:53 +0200
+
+uriparser (0.8.5-2) unstable; urgency=medium
+
+ * debian/control:
+ - Switch Vcs-* to new loacation.
+ * Remove now useless debian/liburiparser-doc.lintian-overrides.
+ * Declare compliance with Debian Policy 4.1.5 (No changes needed).
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sun, 08 Jul 2018 14:16:31 +0200
+
+uriparser (0.8.5-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix broken symlink: liburiparser.so -> liburiparser.so.1.0.21
+ (closes: #901955)
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 22 Jun 2018 17:00:15 +0200
+
+uriparser (0.8.5-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #893316).
+ - Refresh symbols file.
+ - Refresh debian/copyright.
+ - Rewrite debian/upstream/metadata.
+ * Remove trailing whitespaces:
+ - debian/changelog
+ - debian/control
+ - debian/rules
+ * Migrate to debhelper 11:
+ - Change debian/compat to 11.
+ - Bump minimum debhelper version in debian/control to >= 11.
+ - Remove dh-autoreconf from Build-Depends.
+ * Declare compliance with Debian Policy 4.1.4 (No changes needed).
+ * Change to my new email address:
+ - debian/control
+ - debian/copyright
+ * New README.source to explain the branching model used.
+ * debian/rules:
+ - Switch to $(DEB_UPSTREAM_VERSION).
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 05 May 2018 10:14:09 +0200
+
+uriparser (0.8.4-1) unstable; urgency=medium
+
+ * New upstream release.
+ * debian/liburiparser-dev.links:
+ - Bump library version to 1.0.20.
+ * Add package liburiparser-doc:
+ - debian/rules:
+ + Add override_dh_auto_build-indep and override_dh_installdocs-indep
+ to handle the build and install the html documentation.
+ - debian/control:
+ + Add Build-Depends-Indep.
+ + Add new package liburiparser-doc.
+ - New debian/liburiparser-doc.doc-base.
+ - New debian/liburiparser-doc.dirs.
+ * New debian/liburiparser-doc.lintian-overrides to override the lintian
+ warning "embedded-javascript-library".
+ * debian/copyright:
+ - Change GPL-3.0+ to GPL-3+.
+ - Change Upstream Mail Address to Sebastian Pipping <webmaster@hartwork.org>
+ * debian/rules:
+ - Add override_dh_compress to exclude *.qhp.
+ - Remove -c0 from dh_makeshlibs call.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 04 Nov 2015 07:02:13 +0100
+
+uriparser (0.8.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * New debian/upstream/metadata:
+ - Add some DEP-12 upstream metadata.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 07 Oct 2015 18:35:50 +0200
+
+uriparser (0.8.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control:
+ - Bump Standards-Version to 3.9.6 (no changes required).
+ - Remove unknown substitution variable ${shlibs:Depends}
+ from liburiparser-dev.
+ * Refresh debian/liburiparser1.symbols.
+ * Refresh link to usr/lib/liburiparser.so in liburiparser-dev.links.
+ * debian/copyright:
+ - Add License and author for the new files:
+ + test/VersionSuite.*.
+ * debian/source/options:
+ - Removed because xz is now standard compression.
+ * debian/rules:
+ - Enable hardening.
+ - Add override_dh_makeshlibs for testing symbols.
+ * Enable mulitarch:
+ - debian/rules:
+ + Add --libdir to confflags
+ - debian/liburiparser-dev.links:
+ + Add dh-exec shebang line.
+ + Add ${DEB_HOST_MULTIARCH}.
+ + make file executable.
+ - debian/*.install:
+ + Change the path (add /*/).
+ - debian/control:
+ + Add dh-exec (>=0.3) to Build-Depends.
+ + Add Pre-Depends: ${misc:Pre-Depends} to package liburiparser1.
+ + Add Multi-Arch: same to package liburiparser1.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 28 Apr 2015 08:18:53 +0200
+
+uriparser (0.8.0.1-2) unstable; urgency=low
+
+ * debian/rules:
+ - Add --with autoreconf to enable update Build Environment
+ (Closes: #727517).
+ + Thanks to Breno Leitao <brenohl@br.ibm.com>
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 16 Aug 2014 09:30:15 +0200
+
+uriparser (0.8.0.1-1) unstable; urgency=medium
+
+ * New Maintainer (Closes: #754473).
+ * New upstream release (Closes: #668244).
+ - Remove nonfree items from source (Closes: #753833):
+ + doc/rfc3513.htm.
+ + doc/rfc3986.htm.
+ + doc/rfc3986_grammar_only.txt.
+ + Remove debian/prune-tarball.sh.
+ + Remove debian/README.Debian-source.
+ * debian/control:
+ - Set myself as maintainer.
+ - Bump Standards-Version to 3.9.5 (no changes required).
+ - Update Build-Depends:
+ + Add dh-autoreconf for update Build Environment (Closes: #727517).
+ - Change description of liburiparser1 (Closes: #552993).
+ - For previously not existing Vcs
+ + Create a new git repository on alioth.
+ + Add the Fields Vcs-Browser and Vcs-Git.
+ * Change debian/compat to 9 (no changes required).
+ * Add debian/source/options:
+ - Set compression to xz & compression-level to 9 to save space.
+ * debian/copyright:
+ - Rewrite into machine-readable format.
+ - Add myself to the list of authors for debian/*.
+ - Update copyright years for 2014.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 06 Aug 2014 21:23:55 +0200
+
+uriparser (0.8.0+dfsg-1) UNRELEASED; urgency=medium
+
+ * Change debian/watch
+ - change upstream tarball to all filetypes.
+ * remove debian/rules.old
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 12 Jul 2014 05:09:11 +0200
+
+
+uriparser (0.7.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * New maintainer. (Closes: #544633)
+ * Use more minimalistic approach to rules using debhelper 7.
+ * Add --disable-test to configure because cpptest-1.1.0 isn't packaged yet.
+ * Add --disable-doc to configure to prevent generation of api docs.
+ * Switch to dpkg-source 3.0 (quilt) format
+ * Update *.install files to more inclusive of files to install.
+ * Re-enable watch file, as it seems to work just fine with uscan.
+
+ -- Taylor LeMasurier-Wren <ripps818@gmail.com> Sat, 15 May 2010 13:47:20 -0500
+
+uriparser (0.7.4-2) unstable; urgency=low
+
+ * Bump to Standards-Version 3.8.2.
+ * Set maintainer to Debian QA Group.
+
+ -- Clint Adams <schizo@debian.org> Sat, 01 Aug 2009 01:12:33 -0400
+
+uriparser (0.7.4-1) unstable; urgency=low
+
+ * New upstream release. closes: #493073.
+ * Add myself to Uploaders.
+ * Bump to Standards-Version 3.8.0.
+ * debian/prune-tarball.sh: also remove RFC1866.
+
+ -- Clint Adams <schizo@debian.org> Sat, 14 Feb 2009 10:36:07 -0500
+
+uriparser (0.6.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump Standard-Versions to 3.7.3 (no changes needed).
+
+ -- Adeodato Simó <dato@net.com.org.es> Sun, 09 Mar 2008 11:54:35 +0100
+
+uriparser (0.6.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Adeodato Simó <dato@net.com.org.es> Mon, 11 Feb 2008 19:48:38 +0100
+
+uriparser (0.6.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ * Add a watch file.
+
+ * Convert debian/liburiparser1.symbols to be a dpkg-gensymbols file.
+ SymbolFile.pm blacklists arch-specific symbols, so this closes: #448959.
+
+ -- Adeodato Simó <dato@net.com.org.es> Wed, 26 Dec 2007 18:42:29 +0100
+
+uriparser (0.6.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #443222)
+
+ * Include in the .diff.gz hunks to allow building in a separate tree.
+ This will be fixed in the next upstream release.
+
+ -- Adeodato Simó <dato@net.com.org.es> Wed, 19 Sep 2007 21:07:20 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+12
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..efdce3b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,66 @@
+Source: uriparser
+Section: libs
+Priority: optional
+Maintainer: Jörg Frings-Fürst <debian@jff.email>
+Build-Depends:
+ cmake,
+ debhelper (>= 12),
+ dh-exec (>=0.3),
+ doxygen,
+ graphviz,
+ libgtest-dev,
+ libqt5sql5-sqlite,
+ qtbase5-dev,
+ qttools5-dev-tools
+Standards-Version: 4.4.0
+Homepage: http://uriparser.sourceforge.net
+Vcs-Git: git://jff.email/opt/git/uriparser.git
+Vcs-Browser: https://jff.email/cgit/uriparser.git
+
+Package: liburiparser1
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Pre-Depends:
+ ${misc:Pre-Depends}
+Description: URI parsing library compliant with RFC 3986
+ uriparser is a library that parses Uniform Resource Identifiers (URIs),
+ strictly adhering to RFC 3986 where syntax for URIs is defined. URIs
+ are used to identify resources, like http://www.debian.org/ or
+ urn:isbn:0-395-36341-1.
+ .
+ uriparser has the following features:
+ .
+ * strictly compliant to RFC 3986, implementing:
+ + parsing
+ + reference resolution
+ + reference creation
+ + recomposition
+ + syntax-based normalization
+ * fast (linear input length time complexity)
+ * unicode support
+
+Package: liburiparser-dev
+Architecture: any
+Section: libdevel
+Depends:
+ liburiparser1 (= ${binary:Version}),
+ ${misc:Depends}
+Description: development files for uriparser
+ This package provides the development files for uriparser, a library to parse
+ Uniform Resource Identifiers (URIs). Install it if you want to compile a
+ program that makes use of this library.
+
+Package: liburiparser-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends}
+Description: documentation files for uriparser
+ uriparser is a library that parses Uniform Resource Identifiers (URIs),
+ strictly adhering to RFC 3986 where syntax for URIs is defined. URIs
+ are used to identify resources, like http://www.debian.org/ or
+ urn:isbn:0-395-36341-1. This package provides the documentation
+ files for uriparser.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9778c4f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,85 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: uriparser
+Source: https://github.com/uriparser/uriparser
+Files-Excluded: doc/rfc*.htm
+
+Files: *
+Copyright: 2007 Weijia Song <songweijia@gmail.com>
+ 2008 Michael Anthony Puls II <shadow2531@gmail.com>
+ 2007-2019 Sebastian Pipping <webmaster@hartwork.org>
+ 2013 Radu Hociung <radu.uriparser@ohmi.org>
+License: BSD-3-clause
+
+Files: test/*
+Copyright: 2007 Weijia Song <songweijia@gmail.com>
+ 2007 Sebastian Pipping <webmaster@hartwork.org>
+License: LGPL-2.1+
+
+Files: test/VersionSuite.*
+Copyright: 2014-2015 Sebastian Pipping <webmaster@hartwork.org>
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2014-2019 Jörg Frings-Fürst <debian@jff.email>
+License: GPL-3+
+
+License: BSD-3-clause
+ All rights reserved.
+ .
+ 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 REGENTS 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 REGENTS 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.
+
+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 St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2.1'
+
+License: GPL-3+
+ 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 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".
diff --git a/debian/liburiparser-dev.install b/debian/liburiparser-dev.install
new file mode 100644
index 0000000..8ea08d4
--- /dev/null
+++ b/debian/liburiparser-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/pkgconfig/*
+usr/lib/*/*.so
diff --git a/debian/liburiparser-doc.dirs b/debian/liburiparser-doc.dirs
new file mode 100644
index 0000000..14ce20b
--- /dev/null
+++ b/debian/liburiparser-doc.dirs
@@ -0,0 +1 @@
+/usr/share/doc/liburiparser-doc/html/
diff --git a/debian/liburiparser-doc.doc-base b/debian/liburiparser-doc.doc-base
new file mode 100644
index 0000000..3e3c089
--- /dev/null
+++ b/debian/liburiparser-doc.doc-base
@@ -0,0 +1,7 @@
+Document: liburiparser
+Title: liburiparserx Documentation
+Section: Network/Communication
+
+Format: HTML
+Index: /usr/share/doc/liburiparser-doc/html/index.html
+Files: /usr/share/doc/liburiparser-doc/html/*.html
diff --git a/debian/liburiparser1.install b/debian/liburiparser1.install
new file mode 100644
index 0000000..3de3b10
--- /dev/null
+++ b/debian/liburiparser1.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/liburiparser1.symbols b/debian/liburiparser1.symbols
new file mode 100644
index 0000000..dad3a99
--- /dev/null
+++ b/debian/liburiparser1.symbols
@@ -0,0 +1,87 @@
+liburiparser.so.1 liburiparser1 #MINVER#
+ uriAddBaseUriA@Base 0.6.0
+ uriAddBaseUriExA@Base 0.8.1
+ uriAddBaseUriExMmA@Base 0.9.0
+ uriAddBaseUriExMmW@Base 0.9.0
+ uriAddBaseUriExW@Base 0.8.1
+ uriAddBaseUriW@Base 0.6.0
+ uriCompleteMemoryManager@Base 0.9.0
+ uriComposeQueryA@Base 0.7.2
+ uriComposeQueryCharsRequiredA@Base 0.7.2
+ uriComposeQueryCharsRequiredExA@Base 0.7.2
+ uriComposeQueryCharsRequiredExW@Base 0.7.2
+ uriComposeQueryCharsRequiredW@Base 0.7.2
+ uriComposeQueryExA@Base 0.7.2
+ uriComposeQueryExW@Base 0.7.2
+ uriComposeQueryMallocA@Base 0.7.2
+ uriComposeQueryMallocExA@Base 0.7.2
+ uriComposeQueryMallocExMmA@Base 0.9.0
+ uriComposeQueryMallocExMmW@Base 0.9.0
+ uriComposeQueryMallocExW@Base 0.7.2
+ uriComposeQueryMallocW@Base 0.7.2
+ uriComposeQueryW@Base 0.7.2
+ uriDissectQueryMallocA@Base 0.7.2
+ uriDissectQueryMallocExA@Base 0.7.2
+ uriDissectQueryMallocExMmA@Base 0.9.0
+ uriDissectQueryMallocExMmW@Base 0.9.0
+ uriDissectQueryMallocExW@Base 0.7.2
+ uriDissectQueryMallocW@Base 0.7.2
+ uriEmulateCalloc@Base 0.9.0
+ uriEmulateReallocarray@Base 0.9.0
+ uriEqualsUriA@Base 0.6.0
+ uriEqualsUriW@Base 0.6.0
+ uriEscapeA@Base 0.6.0
+ uriEscapeExA@Base 0.6.0
+ uriEscapeExW@Base 0.6.0
+ uriEscapeW@Base 0.6.0
+ uriFreeQueryListA@Base 0.7.2
+ uriFreeQueryListMmA@Base 0.9.0
+ uriFreeQueryListMmW@Base 0.9.0
+ uriFreeQueryListW@Base 0.7.2
+ uriFreeUriMembersA@Base 0.6.0
+ uriFreeUriMembersMmA@Base 0.9.0
+ uriFreeUriMembersMmW@Base 0.9.0
+ uriFreeUriMembersW@Base 0.6.0
+ uriNormalizeSyntaxA@Base 0.6.0
+ uriNormalizeSyntaxExA@Base 0.6.0
+ uriNormalizeSyntaxExMmA@Base 0.9.0
+ uriNormalizeSyntaxExMmW@Base 0.9.0
+ uriNormalizeSyntaxExW@Base 0.6.0
+ uriNormalizeSyntaxMaskRequiredA@Base 0.6.0
+ uriNormalizeSyntaxMaskRequiredExA@Base 0.9.0
+ uriNormalizeSyntaxMaskRequiredExW@Base 0.9.0
+ uriNormalizeSyntaxMaskRequiredW@Base 0.6.0
+ uriNormalizeSyntaxW@Base 0.6.0
+ uriParseIpFourAddressA@Base 0.6.0
+ uriParseIpFourAddressW@Base 0.6.0
+ uriParseSingleUriA@Base 0.9.0
+ uriParseSingleUriExA@Base 0.9.0
+ uriParseSingleUriExMmA@Base 0.9.0
+ uriParseSingleUriExMmW@Base 0.9.0
+ uriParseSingleUriExW@Base 0.9.0
+ uriParseSingleUriW@Base 0.9.0
+ uriParseUriA@Base 0.6.0
+ uriParseUriExA@Base 0.6.0
+ uriParseUriExW@Base 0.6.0
+ uriParseUriW@Base 0.6.0
+ uriRemoveBaseUriA@Base 0.6.0
+ uriRemoveBaseUriMmA@Base 0.9.0
+ uriRemoveBaseUriMmW@Base 0.9.0
+ uriRemoveBaseUriW@Base 0.6.0
+ uriTestMemoryManager@Base 0.9.0
+ uriToStringA@Base 0.6.0
+ uriToStringCharsRequiredA@Base 0.6.0
+ uriToStringCharsRequiredW@Base 0.6.0
+ uriToStringW@Base 0.6.0
+ uriUnescapeInPlaceA@Base 0.6.0
+ uriUnescapeInPlaceExA@Base 0.6.0
+ uriUnescapeInPlaceExW@Base 0.6.0
+ uriUnescapeInPlaceW@Base 0.6.0
+ uriUnixFilenameToUriStringA@Base 0.6.0
+ uriUnixFilenameToUriStringW@Base 0.6.0
+ uriUriStringToUnixFilenameA@Base 0.6.0
+ uriUriStringToUnixFilenameW@Base 0.6.0
+ uriUriStringToWindowsFilenameA@Base 0.6.0
+ uriUriStringToWindowsFilenameW@Base 0.6.0
+ uriWindowsFilenameToUriStringA@Base 0.6.0
+ uriWindowsFilenameToUriStringW@Base 0.6.0
diff --git a/debian/patches/0001-missing_pthread.patch b/debian/patches/0001-missing_pthread.patch
new file mode 100644
index 0000000..1567ac4
--- /dev/null
+++ b/debian/patches/0001-missing_pthread.patch
@@ -0,0 +1,36 @@
+Description: Add missing pthread to build system
+Author: Jörg Frings-Fürst <debian@jff.email>
+Last-Update: 2019-07-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/CMakeLists.txt
+===================================================================
+--- trunk.orig/CMakeLists.txt
++++ trunk/CMakeLists.txt
+@@ -212,7 +212,8 @@ if(URIPARSER_BUILD_TOOLS)
+ tool/uriparse.c
+ )
+
+- target_link_libraries(uriparse PUBLIC uriparser)
++ find_package(Threads REQUIRED)
++ target_link_libraries(uriparse PUBLIC uriparser pthread)
+
+ if(HAIKU)
+ # Function inet_ntop needs -lsocket or -lnetwork (see pull request #45)
+@@ -245,6 +246,7 @@ if(URIPARSER_BUILD_TESTS)
+ enable_testing()
+
+ find_package(GTest 1.8.1 REQUIRED)
++ find_package(Threads REQUIRED)
+
+ add_executable(testrunner
+ test/FourSuite.cpp
+@@ -274,7 +276,7 @@ if(URIPARSER_BUILD_TESTS)
+ )
+
+ target_link_libraries(testrunner PUBLIC
+- ${GTEST_BOTH_LIBRARIES}
++ ${GTEST_BOTH_LIBRARIES} pthread
+ )
+
+ add_test(
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..39a7230
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-missing_pthread.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..82e9ad9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/default.mk
+
+# hardening
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# Configure arguments
+
+confflags = --prefix=/usr --disable-test --disable-doc --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+confflags += --build $(DEB_BUILD_GNU_TYPE)
+
+# Only specify --host when cross-compiling
+ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+ confflags += --host $(DEB_HOST_GNU_TYPE)
+endif
+
+export QT_SELECT=qt5
+
+%:
+ dh $@ --with autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure --buildsystem=cmake
+
+override_dh_auto_build-indep:
+ dh_auto_build
+
+override_dh_installdocs-indep:
+ cp -r $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)/doc/html/* $(CURDIR)/debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/
+ $(RM) debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/*.md5
+ dh_installdocs
+
+override_dh_makeshlibs:
+ dh_makeshlibs -- -v$(DEB_VERSION_UPSTREAM) -Pdebian/liburiparser1 -pliburiparser1
+
+override_dh_compress:
+ dh_compress -X.qhp
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..60c70b2
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Bug-Database: https://github.com/uriparser/uriparser/issues
+Bug-Submit: https://github.com/uriparser/uriparser/issues/new
+Name: uriparser
+Repository: https://github.com/uriparser/uriparser.git
+Repository-Browse: https://github.com/uriparser/uriparser
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5641bc5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=uversionmangle=s/_/./g;s/\.(rc\d*)$/~$1/ \
+ https://github.com/uriparser/uriparser/releases \
+ .*[^n]/(?:|v|version-|version|release-|r|REL_|rel-|uriparser(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)