From 97b2a088f3d17c3f89ef6bac87e6d5d3bb8bbdff Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Aug 01 2023 13:32:04 +0000 Subject: [PATCH 1/2] Update to 9.0.0 --- diff --git a/.gitignore b/.gitignore index ef81c18..afdc46c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ /llhttp-8.1.0-nm-dev.tgz /llhttp-8.1.1.tar.gz /llhttp-8.1.1-nm-dev.tgz +/llhttp-9.0.0.tar.gz +/llhttp-9.0.0-nm-dev.tgz diff --git a/230.patch b/230.patch deleted file mode 100644 index 1c4fc5b..0000000 --- a/230.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 553ae7d1bda0b97a43af6b57ea2fd7ce04b6630d Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Tue, 27 Jun 2023 18:27:17 -0400 -Subject: [PATCH] Do not assume a particular sed implementation - -Make the release target in the Makefile more portable. ---- - Makefile | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 5b941b3..d9c6d35 100644 ---- a/Makefile -+++ b/Makefile -@@ -52,8 +52,7 @@ release: clean generate - cp -rf src/native/*.c release/src/ - cp -rf src/llhttp.gyp release/ - cp -rf src/common.gypi release/ -- cp -rf CMakeLists.txt release/ -- sed -i '' s/_RELEASE_/$(RELEASE)/ release/CMakeLists.txt -+ sed s/_RELEASE_/$(RELEASE)/ CMakeLists.txt > release/CMakeLists.txt - cp -rf libllhttp.pc.in release/ - cp -rf README.md release/ - cp -rf LICENSE-MIT release/ diff --git a/llhttp.spec b/llhttp.spec index 6d369d9..581764e 100644 --- a/llhttp.spec +++ b/llhttp.spec @@ -26,8 +26,8 @@ # additional source even if we do not do the re-generation ourselves. Name: llhttp -Version: 8.1.1 -%global so_version 8.1 +Version: 9.0.0 +%global so_version 9.0 Release: %autorelease Summary: Port of http_parser to llparse @@ -54,10 +54,6 @@ Source2: llhttp-%{version}-nm-dev.tgz Source3: check-null-licenses Source4: audited-null-licenses.toml -# Do not assume a particular sed implementation -# https://github.com/nodejs/llhttp/pull/230 -Patch: %{url}/pull/230.patch - # The compiled RPM does not depend on NodeJS at all, but we cannot *build* it # on architectures without NodeJS. ExclusiveArch: %{nodejs_arches} @@ -81,9 +77,6 @@ This project is a port of http_parser to TypeScript. llparse is used to generate the output C source file, which could be compiled and linked with the embedder's program (like Node.js). -This copy of the library is compiled with LLHTTP_STRICT_MODE set to 0 -(disabled), which is the default. - %package devel Summary: Development files for llhttp diff --git a/sources b/sources index 553438b..bca6bf2 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (llhttp-8.1.1.tar.gz) = 18530d1fcfde13ba634b367852e53bf7a2dc0eb130f07fbbb5b5e02b3d4ff0ab0cd7c5a0adef8a7a0e93a0104a2544ce11d3631792539c48e1a918c5d40f7f3c -SHA512 (llhttp-8.1.1-nm-dev.tgz) = 5348f09a4d8a7b7ecb5d4204d47b1f6c36ed7d131cd89f84feef475cba74fc651bf63bc10293fb5481c19c88e07e3ae2e44881ffda19606876e1f38de32ae80f +SHA512 (llhttp-9.0.0.tar.gz) = 2674dc7011d36951dec019ac980d31d58e0412416383d76186ed706cadcfcc7e60687555adad77026acf4ad32df14ce886cb5cf2f0375d604e2650a12fae2a14 +SHA512 (llhttp-9.0.0-nm-dev.tgz) = aa37c969c18df6f57c4097d1e6a11938a6e6fb7754030243bc0f0c16624cb9b4cd7577b725070a7ff0b96bfbe218d557f51034aace04cfb934d31af7ffab4302 From e00ee12a25153c93b4223c547f99178a4bf55d4f Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Aug 21 2023 19:41:03 +0000 Subject: [PATCH 2/2] Update to 9.0.1 (close RHBZ#2228290) --- diff --git a/.gitignore b/.gitignore index afdc46c..e1d3d31 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ /llhttp-8.1.1-nm-dev.tgz /llhttp-9.0.0.tar.gz /llhttp-9.0.0-nm-dev.tgz +/llhttp-9.0.1.tar.gz +/llhttp-9.0.1-nm-dev.tgz diff --git a/llhttp.spec b/llhttp.spec index 581764e..de4e1eb 100644 --- a/llhttp.spec +++ b/llhttp.spec @@ -26,7 +26,7 @@ # additional source even if we do not do the re-generation ourselves. Name: llhttp -Version: 9.0.0 +Version: 9.0.1 %global so_version 9.0 Release: %autorelease Summary: Port of http_parser to llparse diff --git a/sources b/sources index bca6bf2..266baff 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (llhttp-9.0.0.tar.gz) = 2674dc7011d36951dec019ac980d31d58e0412416383d76186ed706cadcfcc7e60687555adad77026acf4ad32df14ce886cb5cf2f0375d604e2650a12fae2a14 -SHA512 (llhttp-9.0.0-nm-dev.tgz) = aa37c969c18df6f57c4097d1e6a11938a6e6fb7754030243bc0f0c16624cb9b4cd7577b725070a7ff0b96bfbe218d557f51034aace04cfb934d31af7ffab4302 +SHA512 (llhttp-9.0.1.tar.gz) = 715860493a40ba2a9b0bf1cc50d810798c6091ca2291dd68ec162a632b6663f46e612e721a9b99611940566de57e2461ad1d5055958c371c95bdadac69bc5cd6 +SHA512 (llhttp-9.0.1-nm-dev.tgz) = f7a1f100aeca040a3f6954b555fec3518e6adcfca2258c80182306b4c68c8f71e252dca1a6a75be0cfefb17bcd8de0bffed0d9aabb1156d7de6dcf2efbb98747