summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-11-03 16:36:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-11-03 16:36:11 +0000
commit6da520d8c0d85f2b961ebf5aff87275571f82c92 (patch)
tree67ea83ee05d21a8a8603625da7695e9ee5cf147d
parentAdding upstream version 2.9.2. (diff)
downloadhttp-parser-6da520d8c0d85f2b961ebf5aff87275571f82c92.tar.xz
http-parser-6da520d8c0d85f2b961ebf5aff87275571f82c92.zip
Adding debian version 2.9.2-1.debian/2.9.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog86
-rw-r--r--debian/control36
-rw-r--r--debian/copyright59
-rw-r--r--debian/libhttp-parser-dev.install4
-rw-r--r--debian/libhttp-parser-dev.lintian-overrides2
-rw-r--r--debian/libhttp-parser2.9.docs2
-rw-r--r--debian/libhttp-parser2.9.install2
-rw-r--r--debian/libhttp-parser2.9.lintian-overrides2
-rw-r--r--debian/libhttp-parser2.9.symbols17
-rw-r--r--debian/patches/debian.improve-installation.patch32
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules16
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
14 files changed, 264 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..61a78ee
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,86 @@
+http-parser (2.9.2-1) experimental; urgency=medium
+
+ * New upstream version 2.9.2, upload to experimental
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Sun, 21 Jul 2019 16:11:00 +0200
+
+http-parser (2.8.1-1) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Thu, 12 Apr 2018 22:15:13 +0200
+
+http-parser (2.8.1-1~exp1) experimental; urgency=medium
+
+ * Upload to experimental
+ * New upstream version 2.8.1, soname 2.8
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Wed, 04 Apr 2018 23:22:46 +0200
+
+http-parser (2.7.1-2) unstable; urgency=medium
+
+ * Eventually upload to unstable. Closes: #795492
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Sun, 19 Nov 2017 16:06:25 +0100
+
+http-parser (2.7.1-2~exp1) experimental; urgency=medium
+
+ * Upload to experimental
+ * Packaging cleanup, create a -dbgsym package
+ * Cherry-pick upstream commit v2.7.1-1-g335850f: Provide
+ HTTP_STATUS_MAP(XX) and enum http_status
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Tue, 14 Nov 2017 18:52:13 +0100
+
+http-parser (2.7.1-1~exp1) experimental; urgency=medium
+
+ * New maintainer, thanks to Pirate Praveen for maintaining this package
+ * New upstream version 2.7.1
+ * Upload to experimental as first step for the transition
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Sun, 12 Nov 2017 23:45:57 +0100
+
+http-parser (2.1-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with GCC-7, thanks to Hilko Bengen (Closes: #853446)
+
+ [ Helmut Grohne ]
+ * Fix FTCBFS: Let dh_auto_build pass cross flags. (Closes #842848)
+
+ -- Manuel A. Fernandez Montecelo <mafm@debian.org> Sat, 04 Nov 2017 21:01:55 +0100
+
+http-parser (2.1-2) unstable; urgency=low
+
+ * Team upload.
+
+ [ Per Andersson ]
+ * Update copyright with years
+ * Fix Vcs-* URLs
+
+ [ Cédric Boutillier ]
+ * debian/rules:
+ - export build flags
+ - override dh_auto_install instead of defining build: target
+ (Closes: #719036)
+ * debian/patches:
+ - add fix-soname.patch from upstream to define a proper SONAME
+ - update use-ldflags.patch to add LDFLAGS to LDFLAGS_LIB
+ * Fix multiarch installation path (Closes: #719780)
+ - ld can now find it with -lhttp_parser (Closes: #724204)
+ * Install symlinks for the -dev package
+
+ [ Praveen Arimbrathodiyil ]
+ * add symbols file
+ * unapply patches after build
+ * override dh_makeshlibs
+ * add a -dbg package
+ * add dpkg-dev (>= 1.16.1~) to build deps
+
+ -- Cédric Boutillier <boutil@debian.org> Tue, 24 Sep 2013 00:29:11 +0200
+
+http-parser (2.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #712052)
+
+ -- Praveen Arimbrathodiyil <praveen@debian.org> Thu, 13 Jun 2013 20:37:49 +0530
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a3a3ac4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: http-parser
+Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Homepage: https://github.com/joyent/http-parser
+Standards-Version: 4.4.0
+Vcs-Browser: https://git.in-ulm.de/cbiedl/http-parser
+Vcs-Git: https://git.in-ulm.de/cbiedl/http-parser.git
+Build-Depends: debhelper-compat (= 12),
+Priority: optional
+Section: libs
+
+Package: libhttp-parser2.9
+Architecture: any
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends: ${misc:Depends}, ${shlibs:Depends},
+Multi-Arch: same
+Description: parser for HTTP messages written in C
+ It parses both requests and responses. The parser is designed to be used in
+ performance HTTP applications. It does not make any syscalls nor allocations,
+ it does not buffer data, it can be interrupted at anytime. Depending on your
+ architecture, it only requires about 40 bytes of data per message stream (in
+ a web server that is per connection).
+
+Package: libhttp-parser-dev
+Architecture: any
+Depends: ${misc:Depends},
+ libhttp-parser2.9 (= ${binary:Version}),
+Section: libdevel
+Description: parser for HTTP messages: development libraries and header files
+ It parses both requests and responses. The parser is designed to be used in
+ performance HTTP applications. It does not make any syscalls nor allocations,
+ it does not buffer data, it can be interrupted at anytime. Depending on your
+ architecture, it only requires about 40 bytes of data per message stream (in
+ a web server that is per connection).
+ .
+ This package contains development libraries and header files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..20d64d6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: http-parser
+Source: https://github.com/joyent/http-parser
+
+Files: *
+Copyright: Igor Sysoev
+ 2009-2013 Joyent, Inc. and other Node contributors
+License: Expat-nginx
+
+Files:
+ debian/*
+Copyright:
+ 2013 Praveen Arimbrathodiyil <praveen@debian.org>
+ 2017 Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+License: Expat
+
+License: Expat-nginx
+ http_parser.c is based on src/http/ngx_http_parse.c from NGINX copyright
+ Igor Sysoev.
+ .
+ Additional changes are licensed under the same terms as NGINX and
+ copyright Joyent, Inc. and other Node contributors. All rights reserved.
+ .
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/libhttp-parser-dev.install b/debian/libhttp-parser-dev.install
new file mode 100644
index 0000000..408be2e
--- /dev/null
+++ b/debian/libhttp-parser-dev.install
@@ -0,0 +1,4 @@
+
+usr/include/http_parser.h
+usr/lib/*/*.a
+usr/lib/*/*.so
diff --git a/debian/libhttp-parser-dev.lintian-overrides b/debian/libhttp-parser-dev.lintian-overrides
new file mode 100644
index 0000000..5601494
--- /dev/null
+++ b/debian/libhttp-parser-dev.lintian-overrides
@@ -0,0 +1,2 @@
+# Upstream does not provide a changelog
+libhttp-parser-dev: no-upstream-changelog
diff --git a/debian/libhttp-parser2.9.docs b/debian/libhttp-parser2.9.docs
new file mode 100644
index 0000000..0b6e0f3
--- /dev/null
+++ b/debian/libhttp-parser2.9.docs
@@ -0,0 +1,2 @@
+AUTHORS
+README.md
diff --git a/debian/libhttp-parser2.9.install b/debian/libhttp-parser2.9.install
new file mode 100644
index 0000000..e0b7183
--- /dev/null
+++ b/debian/libhttp-parser2.9.install
@@ -0,0 +1,2 @@
+
+usr/lib/*/*.so.*
diff --git a/debian/libhttp-parser2.9.lintian-overrides b/debian/libhttp-parser2.9.lintian-overrides
new file mode 100644
index 0000000..b3bbe80
--- /dev/null
+++ b/debian/libhttp-parser2.9.lintian-overrides
@@ -0,0 +1,2 @@
+# Upstread does not provide a changelog
+libhttp-parser2.9: no-upstream-changelog
diff --git a/debian/libhttp-parser2.9.symbols b/debian/libhttp-parser2.9.symbols
new file mode 100644
index 0000000..ed4c08d
--- /dev/null
+++ b/debian/libhttp-parser2.9.symbols
@@ -0,0 +1,17 @@
+libhttp_parser.so.2.9 libhttp-parser2.9 #MINVER#
+* Build-Depends-Package: libhttp-parser-dev
+ http_body_is_final@Base 2.1
+ http_errno_description@Base 2.1
+ http_errno_name@Base 2.1
+ http_message_needs_eof@Base 2.1
+ http_method_str@Base 2.1
+ http_parser_execute@Base 2.1
+ http_parser_init@Base 2.1
+ http_parser_parse_url@Base 2.1
+ http_parser_pause@Base 2.1
+ http_parser_set_max_header_size@Base 2.9.2
+ http_parser_settings_init@Base 2.7.1
+ http_parser_url_init@Base 2.7.1
+ http_parser_version@Base 2.7.1
+ http_should_keep_alive@Base 2.1
+ http_status_str@Base 2.9.2
diff --git a/debian/patches/debian.improve-installation.patch b/debian/patches/debian.improve-installation.patch
new file mode 100644
index 0000000..1ae9013
--- /dev/null
+++ b/debian/patches/debian.improve-installation.patch
@@ -0,0 +1,32 @@
+Description: Improve installation
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Forwarded: not-needed
+Last-Update: 2018-04-07
+
+ * Make LIBDIR overridable from debian/rules
+ * Install the .a file
+ * Don't rebuild library in install target
+
+--- a/Makefile
++++ b/Makefile
+@@ -62,7 +62,7 @@
+
+ INSTALL ?= install
+ PREFIX ?= /usr/local
+-LIBDIR = $(PREFIX)/lib
++LIBDIR ?= $(PREFIX)/lib
+ INCLUDEDIR = $(PREFIX)/include
+
+ ifeq (darwin,$(PLATFORM))
+@@ -130,9 +130,10 @@
+ tags: http_parser.c http_parser.h test.c
+ ctags $^
+
+-install: library
++install:
+ $(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
+ $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
++ $(INSTALL) -D libhttp_parser.a $(DESTDIR)$(LIBDIR)/libhttp_parser.a
+ ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
+ ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..932fa2b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+# Debian-specific
+debian.improve-installation.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1f2a7ef
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export PREFIX = /usr
+export LIBDIR = $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ dh_auto_build -- package
+ dh_auto_build -- library
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..eae044b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+https://github.com/joyent/http-parser/tags .*/v?(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz))