Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 561910 Details for
Bug 471106
www-servers/nginx - add USE flag to allow the addition of the ngnx_pagespeed mod
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch nginx-1.15.8-r1.ebuild to include ngx_pagespeed module
ebuild-1.15.8-r1.patch (text/plain), 2.73 KB, created by
Chris Yu
on 2019-01-18 02:59:53 UTC
(
hide
)
Description:
patch nginx-1.15.8-r1.ebuild to include ngx_pagespeed module
Filename:
MIME Type:
Creator:
Chris Yu
Created:
2019-01-18 02:59:53 UTC
Size:
2.73 KB
patch
obsolete
>--- nginx-1.15.8-r1.ebuild.orig 2019-01-15 10:53:38.887368845 +0800 >+++ nginx-1.15.8-r1.ebuild 2019-01-18 09:46:08.232393043 +0800 >@@ -161,6 +161,20 @@ > NJS_MODULE_URI="https://github.com/nginx/njs/archive/${NJS_MODULE_PV}.tar.gz" > NJS_MODULE_WD="${WORKDIR}/njs-${NJS_MODULE_PV}" > >+# ngx_pagespeed (https://github.com/apache/incubator-pagespeed-ngx, Apache 2 license) >+NGX_PAGESPEED_MODULE_PV="1.13.35.2-stable" >+NGX_PAGESPEED_MODULE_P="incubator-pagespeed-ngx" >+NGX_PAGESPEED_MODULE_URI="https://github.com/apache/incubator-pagespeed-ngx/archive/v${NGX_PAGESPEED_MODULE_PV}.tar.gz" >+NGX_PAGESPEED_MODULE_WD=${WORKDIR}/${NGX_PAGESPEED_MODULE_P}-${NGX_PAGESPEED_MODULE_PV} >+# psol required for pagespeed >+NGX_PAGESPEED_PSOL_P="ngx_pagespeed_psol" >+NGX_PAGESPEED_PSOL_PV="${NGX_PAGESPEED_MODULE_PV}" >+NGX_PAGESPEED_PSOL_PV="${NGX_PAGESPEED_PSOL_PV/-stable/}" >+NGX_PAGESPEED_PSOL_PV="${NGX_PAGESPEED_PSOL_PV/-beta/}" >+NGX_PAGESPEED_PSOL_PV="${NGX_PAGESPEED_PSOL_PV}-__ARCH__" >+NGX_PAGESPEED_PSOL_URI="https://dl.google.com/dl/page-speed/psol/${NGX_PAGESPEED_PSOL_PV}.tar.gz" >+NGX_PAGESPEED_PSOL_WD=${WORKDIR}/${NGX_PAGESPEED_MODULE_P}-${NGX_PAGESPEED_MODULE_PV} >+ > # We handle deps below ourselves > SSL_DEPS_SKIP=1 > AUTOTOOLS_AUTO_DEPEND="no" >@@ -192,6 +206,11 @@ > nginx_modules_http_sticky? ( ${HTTP_STICKY_MODULE_URI} -> ${HTTP_STICKY_MODULE_P}.tar.bz2 ) > nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz ) > nginx_modules_http_upstream_check? ( ${HTTP_UPSTREAM_CHECK_MODULE_URI} -> ${HTTP_UPSTREAM_CHECK_MODULE_P}.tar.gz ) >+ nginx_modules_http_ngx_pagespeed? ( >+ ${NGX_PAGESPEED_MODULE_URI} -> ${NGX_PAGESPEED_MODULE_P}-${NGX_PAGESPEED_MODULE_PV}.tar.gz >+ x86? ( ${NGX_PAGESPEED_PSOL_URI/__ARCH__/ia32} -> ${NGX_PAGESPEED_PSOL_P}-${NGX_PAGESPEED_PSOL_PV/-__ARCH__/}.x86.tar.gz ) >+ amd64? ( ${NGX_PAGESPEED_PSOL_URI/__ARCH__/x64} -> ${NGX_PAGESPEED_PSOL_P}-${NGX_PAGESPEED_PSOL_PV/-__ARCH__/}.amd64.tar.gz ) >+ ) > nginx_modules_http_vhost_traffic_status? ( ${HTTP_VHOST_TRAFFIC_STATUS_MODULE_URI} -> ${HTTP_VHOST_TRAFFIC_STATUS_MODULE_P}.tar.gz ) > nginx_modules_stream_geoip2? ( ${GEOIP2_MODULE_URI} -> ${GEOIP2_MODULE_P}.tar.gz ) > nginx_modules_stream_javascript? ( ${NJS_MODULE_URI} -> ${NJS_MODULE_P}.tar.gz ) >@@ -242,6 +261,7 @@ > http_upload_progress > http_upstream_check > http_vhost_traffic_status >+ http_ngx_pagespeed > stream_geoip2 > stream_javascript > " >@@ -607,6 +627,11 @@ > myconf+=( --add-module=${HTTP_BROTLI_MODULE_WD} ) > fi > >+ if use nginx_modules_http_ngx_pagespeed; then >+ mv ${WORKDIR}/psol ${NGX_PAGESPEED_MODULE_WD}/ >+ myconf+=( --add-module=${NGX_PAGESPEED_MODULE_WD} ) >+ fi >+ > if use http || use http-cache || use http2 || use nginx_modules_http_javascript; then > http_enabled=1 > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 471106
:
349022
|
349024
| 561910