Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948211 - www-servers/nginx eappy_user is called in ${S}, preventing user-patching of nginx modules (patch attached)
Summary: www-servers/nginx eappy_user is called in ${S}, preventing user-patching of n...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-16 22:02 UTC by Fedja Beader
Modified: 2025-01-17 21:59 UTC (History)
1 user (show)

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


Attachments
Example user patch after nginx ebuild is patched (0001-Fix-for-properly-dealing-with-Unix-hidden-folders.patch,1.07 KB, patch)
2025-01-16 22:08 UTC, Fedja Beader
Details | Diff
Example not working user patch (before nginx ebuild is patched) (0001-Fix-for-properly-dealing-with-Unix-hidden-folders.patch,1.08 KB, patch)
2025-01-16 22:09 UTC, Fedja Beader
Details | Diff
patch for nginx-1.26.2-r6.ebuild that resolves this issue. (nginxpatch,279 bytes, patch)
2025-01-16 22:12 UTC, Fedja Beader
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fedja Beader 2025-01-16 22:02:17 UTC
www-servers/nginx eapply_user is called in ${S}. As the modules are located in the parent directory (${WORKDIR}), they can never be patched: .. in .patch is simply ignored.


Reproducible: Always

Steps to Reproduce:
1. Attempt to apply a user patch to any nginx module
2. patch cannot find any file to patch
Actual Results:  
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?

Expected Results:  
Patch successfully applied.
Comment 1 Fedja Beader 2025-01-16 22:08:05 UTC
Created attachment 916784 [details, diff]
Example user patch after nginx ebuild is patched

NGINX_MODULES_HTTP="... dav dav_ext..."
Comment 2 Fedja Beader 2025-01-16 22:09:54 UTC
Created attachment 916785 [details, diff]
Example not working user patch (before nginx ebuild is patched)

use NGINX_MODULES_HTTP="dav dav_ext
Comment 3 Fedja Beader 2025-01-16 22:12:14 UTC
Created attachment 916786 [details, diff]
patch for nginx-1.26.2-r6.ebuild that resolves this issue.