commit: 5f6b007ef4a3e85b1472762d6a263c369d712a33
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 16 17:18:27 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 17:52:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f6b007e
net-libs/llhttp: New package, v9.2.1
Required by dev-python/httptools (and I think it was bundled somewhere
else as well).
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-libs/llhttp/Manifest | 1 +
net-libs/llhttp/llhttp-9.2.1.ebuild | 21 +++++++++++++++++++++
net-libs/llhttp/metadata.xml | 11 +++++++++++
3 files changed, 33 insertions(+)
diff --git a/net-libs/llhttp/Manifest b/net-libs/llhttp/Manifest
new file mode 100644
index 000000000000..4de725e8919d
--- /dev/null
+++ b/net-libs/llhttp/Manifest
@@ -0,0 +1 @@
+DIST llhttp-release-v9.2.1.tar.gz 37786 BLAKE2B
d9379b974344173b7a2c766950ae2f684ecc1ea44c15a8c9b36c97cbf7550acac016ec4059c2ccebbd46e54b790270dae733350acb86cafbc52abb788610b69e
SHA512
7e6f5427b4b6d778ecefff892db78894ef4fd22a79e9c1f2c24d38d603d885755bdc8b0e8202b47c8bc209d3caf45a7293214617390a7a9c33bffbaab59fe5da
diff --git a/net-libs/llhttp/llhttp-9.2.1.ebuild
b/net-libs/llhttp/llhttp-9.2.1.ebuild
new file mode 100644
index 000000000000..e5383d315446
--- /dev/null
+++ b/net-libs/llhttp/llhttp-9.2.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_P=llhttp-release-v${PV}
+DESCRIPTION="Port of http_parser to llparse"
+HOMEPAGE="https://github.com/nodejs/llhttp/"
+# note the tag with generated release data is called "release/v${PV}"
+# (while "v${PV}" is just snapshot of the unprocessed source repo)
+SRC_URI="
+ https://github.com/nodejs/llhttp/archive/release/v${PV}.tar.gz
+ -> ${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
diff --git a/net-libs/llhttp/metadata.xml b/net-libs/llhttp/metadata.xml
new file mode 100644
index 000000000000..6d88b930cbf0
--- /dev/null
+++ b/net-libs/llhttp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nodejs/llhttp</remote-id>
+ </upstream>
+</pkgmetadata>