http-parser: moved from contrib

This commit is contained in:
Tim Biermann 2024-09-27 22:57:59 +02:00
parent 74b000cb75
commit 1aee5be483
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 27 additions and 0 deletions

7
http-parser/.footprint Normal file
View File

@ -0,0 +1,7 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rwxr-xr-x root/root usr/include/http_parser.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libhttp_parser.so -> libhttp_parser.so.2.9.4
lrwxrwxrwx root/root usr/lib/libhttp_parser.so.2.9 -> libhttp_parser.so.2.9.4
-rwxr-xr-x root/root usr/lib/libhttp_parser.so.2.9.4

5
http-parser/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/aKebOhiYzZsgX2VMDdhdVnWeooll92LbVwVyTx+VYrUw71tDNqvgroXA9B4ettms1ftkEixIMck8RSryAdrqQk=
SHA256 (Pkgfile) = 0d059a0b11284475484dde4e2463ebbcfc5e2adfeceee355731ec934e3ed0276
SHA256 (.footprint) = 30e9b11d7afe88e357903952ac8fe7df309cbec299fbc342e11eecf1968f44cb
SHA256 (http-parser-v2.9.4.tar.gz) = 467b9e30fd0979ee301065e70f637d525c28193449e1b13fbcb1b1fab3ad224f

15
http-parser/Pkgfile Normal file
View File

@ -0,0 +1,15 @@
# Description: Parser for HTTP Request/Response written in C
# URL: https://github.com/nodejs/http-parser
# Maintainer: Tim Biermann, tbier at posteo dot de
name=http-parser
version=2.9.4
release=1
source=(https://github.com/nodejs/http-parser/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
sed -e 's|-Werror||' -i Makefile
make library
make PREFIX="$PKG/usr" install
}