h2o: update to 0.9.1.

This commit is contained in:
Eivind Uggedal 2015-01-20 07:56:50 +00:00
parent bc2ee0cc1f
commit 2d72fd885a
2 changed files with 12 additions and 11 deletions

View File

@ -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

View File

@ -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 <eivind@uggedal.com>"
license="MIT"
homepage="https://github.com/h2o/h2o"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=497e4dd297da3ed7206a03af8895fa3ba8bbf2cbfc446c94ec869c7d0afdf7e8
checksum=6b73b664978de4ba506ff735a059e66897bd7031eeab6cf9c0271fd20ccc4f0b
post_install() {
vsv h2o