From e9dc5871394dee3f5323486764553c64b8d41805 Mon Sep 17 00:00:00 2001 From: blue-devil Date: Sun, 9 Feb 2020 01:14:01 +0300 Subject: [PATCH] http-parser:new release --- programming/misc/http-parser/actions.py | 21 +++++++++ .../misc/http-parser/files/meson.build | 14 ++++++ programming/misc/http-parser/pspec.xml | 44 +++++++++++++++++++ programming/misc/http-parser/translations.xml | 8 ++++ 4 files changed, 87 insertions(+) create mode 100644 programming/misc/http-parser/actions.py create mode 100644 programming/misc/http-parser/files/meson.build create mode 100644 programming/misc/http-parser/pspec.xml create mode 100755 programming/misc/http-parser/translations.xml diff --git a/programming/misc/http-parser/actions.py b/programming/misc/http-parser/actions.py new file mode 100644 index 0000000000..e8c78d602c --- /dev/null +++ b/programming/misc/http-parser/actions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import mesontools +from pisi.actionsapi import pisitools + +def setup(): + mesontools.configure() + +def build(): + mesontools.build() + +def check(): + mesontools.build("test") + +def install(): + mesontools.install() + pisitools.dodoc("LICENSE*", "README*") \ No newline at end of file diff --git a/programming/misc/http-parser/files/meson.build b/programming/misc/http-parser/files/meson.build new file mode 100644 index 0000000000..1fe01c005e --- /dev/null +++ b/programming/misc/http-parser/files/meson.build @@ -0,0 +1,14 @@ +project('http-parser', 'c', version : '2.9.3') +install_headers('http_parser.h') +foreach x : [['http_parser', ['-DHTTP_PARSER_STRICT=0']], + ['http_parser_strict', ['-DHTTP_PARSER_STRICT=1']]] + lib = library(x.get(0), 'http_parser.c', + c_args : x.get(1), + version : '2.9.3', + install : true) + test('test-@0@'.format(x.get(0)), + executable('test-@0@'.format(x.get(0)), 'test.c', + c_args : x.get(1), + link_with : lib), + timeout : 60) +endforeach \ No newline at end of file diff --git a/programming/misc/http-parser/pspec.xml b/programming/misc/http-parser/pspec.xml new file mode 100644 index 0000000000..cf3a1c022f --- /dev/null +++ b/programming/misc/http-parser/pspec.xml @@ -0,0 +1,44 @@ + + + + + http-parser + https://github.com/nodejs/http-parser + + Blue Devil + bluedevil@sctzine.com + + programming.misc + MIT + library + A http request/response parser for c. + This is a 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. + https://github.com/nodejs/http-parser/archive/v2.9.3.tar.gz + + meson + + + meson.build + + + + + http-parser + A http request/response parser for c. + + /usr/share/doc/http-parser + /usr/include + /usr/lib + + + + + + 2020-02-08 + 2.9.3 + First pisi release. + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/misc/http-parser/translations.xml b/programming/misc/http-parser/translations.xml new file mode 100755 index 0000000000..5e712fede6 --- /dev/null +++ b/programming/misc/http-parser/translations.xml @@ -0,0 +1,8 @@ + + + + http-parser + C için HTTP istek/yanıt çözümleyicisi + HTTP mesajları için C ile yazılmış bu kitaplık, HTTP istek ve yanıtlarını çözümleyen bir C kitaplığıdır. + + \ No newline at end of file