]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/nagios-plugins
nagios-plugins: Prevent Nagios plugins from being owned by nobody
[ipfire-2.x.git] / lfs / nagios-plugins
index ad081d5f6287ee7004fc52a59c5b0bf013299b86..d35a94bbeeec867f9f5799f5dad521fb9605e380 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = nagios-plugins
-PAK_VER    = 4
+PAK_VER    = 5
 
 DEPS       =
 
@@ -88,4 +88,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
+
+       # Prevent Nagios plugins from being owned (and hence writeable) by "nobody"
+       chown root:root -R /usr/lib/nagios/plugins
+
        @$(POSTBUILD)