Sync from SUSE:SLFO:Main http-parser revision 7d03927fab6ba18d56795a0ed71e6261
This commit is contained in:
commit
ffc175ebd9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libhttp_parser2_9
|
BIN
http-parser-2.9.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
http-parser-2.9.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
50
http-parser.changes
Normal file
50
http-parser.changes
Normal file
@ -0,0 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 15 23:03:50 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 2.9.4:
|
||||
* use optflags for building
|
||||
* Remove NULL sentinels from test runner
|
||||
* Reject interior blanks in Content-Length
|
||||
* Disallow empty Content-Length
|
||||
* Speed up http_parser loop
|
||||
* Fix bad pointer arithmetic
|
||||
* Support multi-coding Transfer-Encoding
|
||||
|
||||
- remove makefile.patch: we want to build with -Werror
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 3 10:01:08 UTC 2017 - mimi.vx@gmail.com
|
||||
|
||||
- move out from gyp
|
||||
- use correct SONAME
|
||||
- drop http-parser-gyp-sharedlib.patch
|
||||
- add makefile.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 21 19:16:56 UTC 2016 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 2.7.1
|
||||
* No changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 26 12:18:20 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Update to 2.6.2
|
||||
* No changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 28 14:07:25 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Add baselibs.conf as source, in order to build
|
||||
libhttp-parser-suse0 32-bit compatability lib.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 16 15:43:51 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 2.6.0
|
||||
* No changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 8 13:15:53 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
- Initial package (version 2.5.0) for build.opensuse.org
|
97
http-parser.spec
Normal file
97
http-parser.spec
Normal file
@ -0,0 +1,97 @@
|
||||
#
|
||||
# spec file for package http-parser
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define soname 2_9
|
||||
%define libname libhttp_parser%{soname}
|
||||
Name: http-parser
|
||||
Version: 2.9.4
|
||||
Release: 0
|
||||
Summary: HTTP request/response parser for C
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/nodejs/http-parser
|
||||
Source0: https://github.com/nodejs/http-parser/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
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. Depending on your architecture, it only requires about 40
|
||||
bytes of data per message stream (in a web server that is per
|
||||
connection).
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: HTTP request/response parser for C
|
||||
Group: System/Libraries
|
||||
Provides: libhttp-parser-suse0 = %{version}
|
||||
Obsoletes: libhttp-parser-suse0 <= %{version}
|
||||
|
||||
%description -n %{libname}
|
||||
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. Depending on your architecture, it only requires about 40
|
||||
bytes of data per message stream (in a web server that is per
|
||||
connection).
|
||||
|
||||
%package devel
|
||||
Summary: Development headers and libraries for http-parser
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libname} = %{version}
|
||||
|
||||
%description devel
|
||||
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. Depending on your architecture, it only requires about 40
|
||||
bytes of data per message stream (in a web server that is per
|
||||
connection).
|
||||
|
||||
Development headers and libraries for http-parser.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%make_build PREFIX=%{_prefix} CFLAGS_FAST_EXTRA="%{optflags}" library
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix} DESTDIR=%{buildroot} LIBDIR=%{_libdir}
|
||||
chmod a-x %{buildroot}/%{_includedir}/*.h
|
||||
|
||||
%check
|
||||
%make_build test
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libname}
|
||||
%license LICENSE-MIT
|
||||
%doc README.md
|
||||
%{_libdir}/libhttp_parser.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/http_parser.h
|
||||
%{_libdir}/libhttp_parser.so
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user