From 2d72fd885a07b20aaf120051fc70b686e5666f88 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Tue, 20 Jan 2015 07:56:50 +0000 Subject: [PATCH] h2o: update to 0.9.1. --- srcpkgs/h2o/patches/disable-alpn.patch | 18 +++++++++--------- srcpkgs/h2o/template | 5 +++-- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/srcpkgs/h2o/patches/disable-alpn.patch b/srcpkgs/h2o/patches/disable-alpn.patch index c47fb37c989..2a39aaacd24 100644 --- a/srcpkgs/h2o/patches/disable-alpn.patch +++ b/srcpkgs/h2o/patches/disable-alpn.patch @@ -1,18 +1,18 @@ ---- include/h2o/socket.h.orig 2015-01-04 17:35:34.135369701 +0000 -+++ include/h2o/socket.h 2015-01-04 17:35:43.091058908 +0000 +--- include/h2o/socket.h.orig 2015-01-20 07:45:22.434850581 +0000 ++++ include/h2o/socket.h 2015-01-20 07:45:41.732177170 +0000 @@ -39,16 +39,8 @@ - # endif + #endif #endif -#if OPENSSL_VERSION_NUMBER >= 0x10002000L --# define H2O_USE_ALPN 1 --# define H2O_USE_NPN 1 +-#define H2O_USE_ALPN 1 +-#define H2O_USE_NPN 1 -#elif OPENSSL_VERSION_NUMBER >= 0x10001000L - # define H2O_USE_ALPN 0 - # define H2O_USE_NPN 1 + #define H2O_USE_ALPN 0 + #define H2O_USE_NPN 1 -#else --# define H2O_USE_ALPN 0 --# define H2O_USE_NPN 0 +-#define H2O_USE_ALPN 0 +-#define H2O_USE_NPN 0 -#endif #define H2O_SOCKET_INITIAL_INPUT_BUFFER_SIZE 4096 diff --git a/srcpkgs/h2o/template b/srcpkgs/h2o/template index bb94b7cfd3e..9aa148a1182 100644 --- a/srcpkgs/h2o/template +++ b/srcpkgs/h2o/template @@ -1,6 +1,6 @@ # Template file for 'h2o' pkgname=h2o -version=0.9.0 +version=0.9.1 revision=1 build_style=cmake conf_files="/etc/h2o.conf" @@ -8,12 +8,13 @@ system_accounts="h2o" make_dirs="/var/log/h2o 0750 root root" hostmakedepends="cmake" makedepends="libressl-devel libyaml-devel" +depends="perl" short_desc="An optimized HTTP server with support for HTTP/1.x and HTTP/2" maintainer="Eivind Uggedal " license="MIT" homepage="https://github.com/h2o/h2o" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=497e4dd297da3ed7206a03af8895fa3ba8bbf2cbfc446c94ec869c7d0afdf7e8 +checksum=6b73b664978de4ba506ff735a059e66897bd7031eeab6cf9c0271fd20ccc4f0b post_install() { vsv h2o