Package Details: openresty-git 1.11.2.2.r32.g78af48d-1

Git Clone URL: https://aur.archlinux.org/openresty-git.git (read-only)
Package Base: openresty-git
Description: A Fast and Scalable Web Platform by Extending NGINX with Lua
Upstream URL: http://openresty.org/
Licenses: BSD
Conflicts: openresty
Provides: openresty=1.11.2.2.r32.g78af48d
Submitter: jamesan
Maintainer: jamesan
Last Packager: jamesan
Votes: 0
Popularity: 0.000000
First Submitted: 2017-04-22 00:37
Last Updated: 2017-04-22 00:37

Latest Comments

Nazdravi commented on 2017-09-01 08:07

Hi, I had to update the package to compile successfully:

diff -rN -u3 openresty-git/openssl-1.1.0.patch openresty-git.updated/openssl-1.1.0.patch
--- openresty-git/openssl-1.1.0.patch 2017-04-22 02:37:21.000000000 +0200
+++ openresty-git.updated/openssl-1.1.0.patch 2017-08-15 12:39:19.000000000 +0200
@@ -152,12 +152,12 @@
+
+ return NGX_ERROR;
+ }
-diff --git a/patches/ngx_lua-0.10.8-support_openssl_1.1.0.patch b/patches/ngx_lua-0.10.8-support_openssl_1.1.0.patch
+diff --git a/patches/ngx_lua-0.10.10-support_openssl_1.1.0.patch b/patches/ngx_lua-0.10.10-support_openssl_1.1.0.patch
new file mode 100644
index 0000000..bcfb25e
--- /dev/null
-+++ b/patches/ngx_lua-0.10.8-support_openssl_1.1.0.patch
-@@ -0,0 +1,56 @@
++++ b/patches/ngx_lua-0.10.10-support_openssl_1.1.0.patch
+@@ -0,0 +1,54 @@
+diff --git a/src/ngx_http_lua_ssl_ocsp.c b/src/ngx_http_lua_ssl_ocsp.c
+index 3904aa8e..71d40e74 100644
+--- a/src/ngx_http_lua_ssl_ocsp.c
@@ -174,14 +174,12 @@
+ dd("no ocsp status req from client");
+ return NGX_DECLINED;
+ }
-+@@ -490,7 +494,11 @@ ngx_http_lua_ffi_ssl_set_ocsp_status_resp(ngx_http_request_t *r,
++@@ -490,6 +494,9 @@ ngx_http_lua_ffi_ssl_set_ocsp_status_resp(ngx_http_request_t *r,
+
+ dd("set ocsp resp: resp_len=%d", (int) resp_len);
+ (void) SSL_set_tlsext_status_ocsp_resp(ssl_conn, p, resp_len);
++#ifdef SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE
++ SSL_set_tlsext_status_type(ssl_conn, TLSEXT_STATUSTYPE_ocsp);
-++#else
-+ ssl_conn->tlsext_status_expected = 1;
++#endif
+
+ return NGX_OK;
diff -rN -u3 openresty-git/PKGBUILD openresty-git.updated/PKGBUILD
--- openresty-git/PKGBUILD 2017-04-22 02:37:21.000000000 +0200
+++ openresty-git.updated/PKGBUILD 2017-08-15 12:41:31.000000000 +0200
@@ -10,7 +10,7 @@
_pkgname=${pkgname%-git}
_cfgdir=/opt/$_pkgname/nginx/conf
_tmpdir=/var/lib/$_pkgname
-pkgver=1.11.2.2.r32.g78af48d
+pkgver=1.11.2.4.r65.ga0f6653
_pkgver=1
pkgrel=1
pkgdesc="A Fast and Scalable Web Platform by Extending NGINX with Lua"
@@ -32,7 +32,7 @@
'ec55ac7da98f5f5ec54d096c5f79b656edec0ebca835b6b9f1d20fb7be7119c5'
'613b0ed3fe4b5ee505ddb5122ee41604f464a5049be81c97601ee93970763a23'
'f071e0fd8d0d588f03fcc7db6f3cb3f7ea1b870d3416a0bde142d9aeb839d0f6'
- '30fc7d2896dfe7d922964fd159b756a81b1f853a6b29cb7786e8acbef8c647e4')
+ 'b931f0f3945a3e4cb8229b33d02d4f041db0a0cf20a5b4fb1cb8c37158a0f5d2')
backup=(${_cfgdir:1}/fastcgi.conf
${_cfgdir:1}/fastcgi_params
${_cfgdir:1}/koi-win

Nazdravi