Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635330 - www-servers/nginx - fix cache_purge module
Summary: www-servers/nginx - fix cache_purge module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Deutschmann (RETIRED)
URL: https://github.com/FRiCKLE/ngx_cache_...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-24 17:05 UTC by opensource
Modified: 2017-10-24 18:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch to apply cache_purge patch (fix_cache_purge.patch,415 bytes, patch)
2017-10-24 17:05 UTC, opensource
Details | Diff
http_cache_purge_1.11.6_compat.patch (http_cache_purge_1.11.6_compat.patch,858 bytes, patch)
2017-10-24 17:06 UTC, opensource
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description opensource 2017-10-24 17:05:09 UTC
Created attachment 499950 [details, diff]
ebuild patch to apply cache_purge patch

According to this pull request cache_purge has been broken since 1.11.6:
https://github.com/FRiCKLE/ngx_cache_purge/pull/51

When enabling cache_purge and doing a purge request the nginx worker just segfaults. Here's a patch for the 1.13.6 ebuild and the patch from the pull request.
Comment 1 opensource 2017-10-24 17:06:16 UTC
Created attachment 499952 [details, diff]
http_cache_purge_1.11.6_compat.patch
Comment 2 Larry the Git Cow gentoo-dev 2017-10-24 18:53:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=808d03f69901c05159d8baf470d9a6ec3d65d8cc

commit 808d03f69901c05159d8baf470d9a6ec3d65d8cc
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2017-10-24 18:52:35 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2017-10-24 18:53:14 +0000

    www-servers/nginx: Rev bump to fix http_cache_purge module
    
    Closes: https://bugs.gentoo.org/635330
    Package-Manager: Portage-2.3.11, Repoman-2.3.3

 .../nginx/files/http_cache_purge-1.11.6+.patch     |   22 +
 www-servers/nginx/nginx-1.12.2-r1.ebuild           | 1005 +++++++++++++++++++
 www-servers/nginx/nginx-1.13.6-r1.ebuild           | 1006 ++++++++++++++++++++
 3 files changed, 2033 insertions(+)