Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

6
www/http-parser/DESCR Normal file
View File

@@ -0,0 +1,6 @@
An parser for HTTP messages written in C, parsing both requests
and responses. It is designed to be used in performance oriented
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).

34
www/http-parser/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.4 2016/08/25 18:30:33 jperkin Exp $
DISTNAME= http-parser-2.7.0
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=nodejs/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= schnoebe@NetBSD.org
HOMEPAGE= https://github.com/nodejs/http-parser/
COMMENT= Parser for HTTP messages written in C
LICENSE= mit
USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_TOOLS+= gmake
INSTALLATION_DIRS= include lib
BUILDLINK_TRANSFORM+= rm:-Werror
do-build:
cd ${WRKSRC} && ${LIBTOOL} --mode=compile --tag=CC ${CC} ${CFLAGS} \
-c http_parser.c
cd ${WRKSRC} && ${LIBTOOL} --mode=link --tag=CC ${CC} ${LDFLAGS} \
${LIBS} -o libhttp_parser.la http_parser.lo \
-version-info 2:7:0 -rpath ${PREFIX}/lib
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
-c libhttp_parser.la ${DESTDIR}${PREFIX}/lib/libhttp_parser.la
${INSTALL_DATA} ${WRKSRC}/http_parser.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"

3
www/http-parser/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.3 2016/08/25 18:30:33 jperkin Exp $
include/http_parser.h
lib/libhttp_parser.la

View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2016/05/28 23:09:30 schnoebe Exp $
BUILDLINK_TREE+= http-parser
.if !defined(HTTP_PARSER_BUILDLINK3_MK)
HTTP_PARSER_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.http-parser+= http-parser>=2.7.0
BUILDLINK_PKGSRCDIR.http-parser?= ../../www/http-parser
.endif # HTTP_PARSER_BUILDLINK3_MK
BUILDLINK_TREE+= -http-parser

6
www/http-parser/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2016/08/25 18:30:33 jperkin Exp $
SHA1 (http-parser-2.7.0.tar.gz) = f24bd35cf6d663e2b9f916708d82a96f562bc78b
RMD160 (http-parser-2.7.0.tar.gz) = 910c4bb7cf4c5463ad2a54eb82b78d1bc20de877
SHA512 (http-parser-2.7.0.tar.gz) = 1fe13b5366e9d161dbce2f6ad340890713413e4c5865d2567cb5ccf5601a52bc03682ecc43bc4e2c5ee9c4f152993a658d87fd43373070da67530c58ad577ee1
Size (http-parser-2.7.0.tar.gz) = 48523 bytes