Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232969 - patch for proper emerging www-servers/nginx-0.7.6 with custom ROOT
Summary: patch for proper emerging www-servers/nginx-0.7.6 with custom ROOT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 23:43 UTC by Łukasz Mierzwa
Modified: 2009-07-08 23:59 UTC (History)
0 users

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


Attachments
patch for ebuild (nginx-0.7.6-emerge_root.diff,695 bytes, patch)
2008-07-25 23:43 UTC, Łukasz Mierzwa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Mierzwa 2008-07-25 23:43:07 UTC
nginx-0.7.6 ebuild contain unneeded ${ROOT} prefix when installing /etc/nginx/* files, because of this the ROOT is actually being setup twice for some files, the resulting merge is: 

>>> Merging www-servers/nginx-0.7.6 to /build/target/
--- /build/target/etc/
--- /build/target/etc/init.d/
>>> /build/target/etc/init.d/nginx
--- /build/target/var/
--- /build/target/var/tmp/
>>> /build/target/var/tmp/nginx/
>>> /build/target/var/tmp/nginx/fastcgi/
>>> /build/target/var/tmp/nginx/fastcgi/.keep_www-servers_nginx-0
>>> /build/target/var/tmp/nginx/client/
>>> /build/target/var/tmp/nginx/client/.keep_www-servers_nginx-0
>>> /build/target/var/tmp/nginx/proxy/
>>> /build/target/var/tmp/nginx/proxy/.keep_www-servers_nginx-0
--- /build/target/var/log/
>>> /build/target/var/log/nginx/
>>> /build/target/var/log/nginx/.keep_www-servers_nginx-0
--- /build/target/build/
--- /build/target/build/target/
>>> /build/target/build/target/etc/
>>> /build/target/build/target/etc/nginx/
>>> /build/target/build/target/etc/nginx/koi-utf
>>> /build/target/build/target/etc/nginx/fastcgi_params
>>> /build/target/build/target/etc/nginx/koi-win
>>> /build/target/build/target/etc/nginx/mime.types
>>> /build/target/build/target/etc/nginx/win-utf
>>> /build/target/build/target/etc/nginx/nginx.conf
--- /build/target/usr/
--- /build/target/usr/share/
>>> /build/target/usr/share/doc/
>>> /build/target/usr/share/doc/nginx-0.7.6/
>>> /build/target/usr/share/doc/nginx-0.7.6/CHANGES.ru.bz2
>>> /build/target/usr/share/doc/nginx-0.7.6/README.bz2
>>> /build/target/usr/share/doc/nginx-0.7.6/CHANGES.bz2
--- /build/target/usr/sbin/
>>> /build/target/usr/sbin/nginx


Reproducible: Always

Steps to Reproduce:
1. emerge =www-servers/nginx-0.7.6 with custom ROOT
2.
3.

Actual Results:  
all but /etc/nginx/* files are installed into proper location, /etc/nginx/* files goes to $ROOT/$ROOT/etc/nginx/

Expected Results:  
all files including /etc/nginx/* files installed into $ROOT/
Comment 1 Łukasz Mierzwa 2008-07-25 23:43:27 UTC
Created attachment 161382 [details, diff]
patch for ebuild
Comment 2 Wormo (RETIRED) gentoo-dev 2008-07-26 00:42:19 UTC
Thanks for the patch... assigning to maintainer
Comment 3 Łukasz Mierzwa 2008-12-03 17:59:48 UTC
this is very trivial to fix, yet after 4 months I still need to fix all nginx ebuilds by hand [...]
seems like You guys need some manpower
Comment 4 Łukasz Mierzwa 2009-03-28 19:10:30 UTC
bump
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2009-07-08 23:59:14 UTC
  17 Mar 2009; Timothy Redaelli <drizzt@gentoo.org> nginx-0.7.39.ebuild:
  QA: Don't abuse ROOT wrt #232969, #258118. Add ~x86-fbsd keyword (with
  small patch) wrt #155623, #236429. (Maintainer is in devaway status)

Please reopen if you can reproduce.