Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 389176 Details for
Bug 485756
net-analyzer/nagios-core-4.0.8 - version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/use-INSTALL-to-install-themes.patch
use-INSTALL-to-install-themes.patch (text/plain), 2.12 KB, created by
Michael Orlitzky
on 2014-11-12 14:20:05 UTC
(
hide
)
Description:
files/use-INSTALL-to-install-themes.patch
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2014-11-12 14:20:05 UTC
Size:
2.12 KB
patch
obsolete
>From 26bef86bad804836babd9d99accfc247eb744132 Mon Sep 17 00:00:00 2001 >From: Michael Orlitzky <michael@orlitzky.com> >Date: Wed, 12 Nov 2014 08:35:28 -0500 >Subject: [PATCH 1/1] Use $(INSTALL) to install themes. > >Most of the images installed under the htdocs folder are installed >mode 644 with owner:group nagios:nagios. This is due to the use of >$(INSTALL) in html/Makefile. However, the theme images and stylesheets >are currently installed with a simple "cp -r", which leads to >inconsistencies like the following: > > $ cd /usr/share/nagios/htdocs/images > $ ls action*.gif > -rw-rw-r-- 1 nagios nagios 1.3K 2014-11-12 08:22 action.gif > -rw-r--r-- 1 root root 1.3K 2014-11-12 08:22 action-graph.gif > -rw-r--r-- 1 root root 171 2014-11-12 08:22 action-nagios.gif > -rw-r--r-- 1 root root 162 2014-11-12 08:22 action-orig.gif > >By using $(INSTALL) in the install-exfoliation and install-classicui >targets, we enforce some consistency. >--- > Makefile.in | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > >diff --git a/Makefile.in b/Makefile.in >index 1341160..67e1502 100644 >--- a/Makefile.in >+++ b/Makefile.in >@@ -300,8 +300,11 @@ install-webconf: > @echo "" > > install-exfoliation: >- cp -rf contrib/exfoliation/stylesheets/* $(DESTDIR)$(HTMLDIR)/stylesheets >- cp -rf contrib/exfoliation/images/* $(DESTDIR)$(HTMLDIR)/images >+ for file in contrib/exfoliation/stylesheets/*.*; \ >+ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done >+ >+ for file in contrib/exfoliation/images/*.*; \ >+ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done > > @echo "" > @echo "*** Exfoliation theme installed ***" >@@ -309,8 +312,11 @@ install-exfoliation: > @echo "" > > install-classicui: >- cp -rf html/stylesheets/* $(DESTDIR)$(HTMLDIR)/stylesheets >- cp -rf html/images/* $(DESTDIR)$(HTMLDIR)/images >+ for file in html/stylesheets/*.*; \ >+ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done >+ >+ for file in html/images/*.*; \ >+ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done > > @echo "" > @echo "*** Classic theme installed ***" >-- >2.0.4 >
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 485756
:
384846
|
384848
|
384900
|
385188
|
388492
|
388614
|
388616
|
388618
|
388620
|
389174
| 389176 |
389178
|
389180