mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 00:16:38 +02:00
The ownership of most files/directories was set to the nagios user/group
which meant that they had write access to a lot more files that they
should have.
Upstream disables the ownership change in the makefiles[0] and does them
manually which I have ported to the APKBUILD.
[0]: f6f417eff0/nagios.spec (L156)
16 lines
612 B
Diff
16 lines
612 B
Diff
Use standard permissions for binries
|
|
|
|
--- a/base/Makefile.in
|
|
+++ b/base/Makefile.in
|
|
@@ -189,8 +189,8 @@ install:
|
|
$(INSTALL) -s -m 774 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
|
|
|
|
install-unstripped:
|
|
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
|
|
- $(INSTALL) -m 774 $(INSTALL_OPTS) nagios $(DESTDIR)$(BINDIR)
|
|
- $(INSTALL) -m 774 $(INSTALL_OPTS) nagiostats $(DESTDIR)$(BINDIR)
|
|
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
|
|
+ $(INSTALL) -m 755 $(INSTALL_OPTS) nagios $(DESTDIR)$(BINDIR)
|
|
+ $(INSTALL) -m 755 $(INSTALL_OPTS) nagiostats $(DESTDIR)$(BINDIR)
|
|
|
|
.PHONY: libnagios
|