pkgsrc/www/h2o/Makefile
mef fd5f03fe48 Updated www/h2o to 2.0.4
------------------------
2.0.4 2016-09-14 08:00:00+0000
 - [security fix][core] fix DoS attack vector CVE-2016-4864 (Frederik Deweerdt, Kazuho Oku)
 - [libh2o] fix crash on connect timeout #960 (disigma)
2016-09-17 11:10:23 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2016/09/17 11:10:23 mef Exp $
DISTNAME= h2o-2.0.4
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=h2o/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/h2o/h2o
COMMENT= Optimized HTTP server with support for HTTP/1.x and HTTP/2
LICENSE= mit
GITHUB_TAG= v${PKGVERSION_NOREV}
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= perl:run pkg-config
PKGCONFIG_OVERRIDE+= libh2o-evloop.pc.in
PKGCONFIG_OVERRIDE+= libh2o.pc.in
CMAKE_ARGS+= -DWITH_BUNDLED_SSL=off
# TODO: make it an option
CMAKE_ARGS+= -DWITH_MRUBY=off
SUBST_CLASSES+= interp
SUBST_STAGE.interp= post-extract
SUBST_MESSAGE.interp= Fixing interpreter.
SUBST_FILES.interp= share/h2o/*
SUBST_SED.interp= -e 's,^\#\! /bin/sh,\#\!/bin/perl,'
SUBST_SED.interp+= -e '/^exec perl/d'
SUBST_SED.interp+= -e '/\#\! perl/d'
REPLACE_PERL= share/h2o/*
.include "../../devel/libuv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libyaml/buildlink3.mk"
.include "../../www/wslay/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"