diff --git a/http-parser/.footprint b/http-parser/.footprint new file mode 100644 index 000000000..ab7481af2 --- /dev/null +++ b/http-parser/.footprint @@ -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 diff --git a/http-parser/.signature b/http-parser/.signature new file mode 100644 index 000000000..f88af0bfd --- /dev/null +++ b/http-parser/.signature @@ -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 diff --git a/http-parser/Pkgfile b/http-parser/Pkgfile new file mode 100644 index 000000000..5fc53d66f --- /dev/null +++ b/http-parser/Pkgfile @@ -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 +}