]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/nagios_nrpe
glib: Update to 2.68.3
[people/pmueller/ipfire-2.x.git] / lfs / nagios_nrpe
index 6a12c364b5ff5533d642393068558cbe484dbd07..260bcc810f3466386afea428861753fdb4c8678c 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2011  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        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 3.2.1
+VER        = 4.0.3
 
 THISAPP    = nrpe-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,9 +32,9 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = nagios_nrpe
-PAK_VER    = 5
+PAK_VER    = 9
 
-DEPS       = "nagios-plugins"
+DEPS       = nagios-plugins
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 8997e195fea93cdceb8c7ed8ac1d43bc
+$(DL_FILE)_MD5 = 42252d3c721c87ebb5e38b748f187e8d
 
 install : $(TARGET)
 
@@ -82,6 +82,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --prefix=/usr \
                --libexecdir=/usr/lib/nagios \
                --sysconfdir=/etc/nagios \
+               --with-piddir=/var/run \
                --with-init-type=sysv \
                --with-nrpe-user=nobody \
                --with-nrpe-group=nobody \
@@ -95,5 +96,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # install initscript
        $(call INSTALL_INITSCRIPT,nrpe)
 
+       install -v -m 644 ${DIR_SRC}/config/backup/includes/nagios_nrpe \
+               /var/ipfire/backup/addons/includes/nagios_nrpe
+
+       # Prevent NRPE binary from being owned by "nobody"
+       chown root:root /usr/lib/nagios/check_nrpe
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)