Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 349022 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 to add the use flag ngx_pagespeed to nginx to support the pagespeed module
nginx-pagespeed.patch (text/plain), 2.64 KB, created by
Simon Alman
on 2013-05-23 19:48:37 UTC
(
hide
)
Description:
Patch to add the use flag ngx_pagespeed to nginx to support the pagespeed module
Filename:
MIME Type:
Creator:
Simon Alman
Created:
2013-05-23 19:48:37 UTC
Size:
2.64 KB
patch
obsolete
>--- nginx-1.4.1-r4.ebuild 2013-05-14 22:47:27.000000000 +0100 >+++ nginx-1.4.1-r4.ebuild 2013-05-23 20:30:48.301206633 +0100 >@@ -17,6 +17,16 @@ > # prevent perl-module from adding automagic perl DEPENDs > GENTOO_DEPEND_ON_PERL="no" > >+# ngx_pagespeed (https://github.com/pagespeed/ngx_pagespeed, Apache 2 license) >+NGX_PAGESPEED_MODULE_PV="1.5.27.3-beta" >+NGX_PAGESPEED_MODULE_P="ngx_pagespeed" >+NGX_PAGESPEED_MODULE_WD=${WORKDIR}/${NGX_PAGESPEED_MODULE_P}-master >+# psol required for pagespeed >+NGX_PAGESPEED_PSOL_P="ngx_pagespeed_psol" >+NGX_PAGESPEED_PSOL_PV="1.5.27.3" >+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} >+ > # syslog > SYSLOG_MODULE_PV="0.25" > SYSLOG_MODULE_NGINX_PV="1.3.14" >@@ -54,7 +64,6 @@ > HTTP_CACHE_PURGE_MODULE_URI="http://labs.frickle.com/files/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}.tar.gz" > HTTP_CACHE_PURGE_MODULE_WD="${WORKDIR}/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}" > >-# http_slowfs_cache (http://labs.frickle.com/nginx_ngx_slowfs_cache/, BSD-2 license) > HTTP_SLOWFS_CACHE_MODULE_PV="1.10" > HTTP_SLOWFS_CACHE_MODULE_P="ngx_http_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}" > HTTP_SLOWFS_CACHE_MODULE_URI="http://labs.frickle.com/files/ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}.tar.gz" >@@ -101,6 +110,10 @@ > DESCRIPTION="Robust, small and high performance http and reverse proxy server" > HOMEPAGE="http://nginx.org" > SRC_URI="http://nginx.org/download/${P}.tar.gz >+ nginx_modules_http_ngx_pagespeed? ( >+ https://github.com/pagespeed/ngx_pagespeed/archive/master.zip -> ${NGX_PAGESPEED_MODULE_P}-${NGX_PAGESPEED_MODULE_PV}.zip >+ ${NGX_PAGESPEED_PSOL_URI} -> ${NGX_PAGESPEED_PSOL_P}-${NGX_PAGESPEED_PSOL_PV}.tar.gz >+ ) > syslog? ( ${SYSLOG_MODULE_URI} -> ${SYSLOG_MODULE_P}.tar.gz ) > ${DEVEL_KIT_MODULE_URI} -> ${DEVEL_KIT_MODULE_P}.tar.gz > nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz ) >@@ -136,7 +149,8 @@ > http_auth_pam > http_upstream_check > http_metrics >- http_naxsi" >+ http_naxsi >+ http_ngx_pagespeed" > > IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl > syslog userland_GNU vim-syntax" >@@ -265,6 +279,12 @@ > fi > done > >+ if use nginx_modules_http_ngx_pagespeed; then >+ mv ${WORKDIR}/psol ${NGX_PAGESPEED_MODULE_WD}/ >+ cd ${WORKDIR}; epatch "${FILESDIR}/${P}-fix-syslog-pagespeed.patch"; cd ${S} >+ myconf+="${myconf} --add-module=${NGX_PAGESPEED_MODULE_WD}" >+ fi >+ > if use nginx_modules_http_fastcgi; then > myconf+=" --with-http_realip_module" > 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