]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/nagios
Updated tar to Version 1.22
[people/pmueller/ipfire-2.x.git] / lfs / nagios
index 0365b6a7cee98ab0b17939b280a5d955cb7596c4..bede588494f179c7c91ca5b56a8456033211e9c2 100644 (file)
@@ -85,7 +85,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --sysconfdir=/etc/nagios \
                        --datadir=/usr/share/nagios \
                        --sbindir=/usr/share/nagios/cgi-bin \
-                       --localstatedir=/var \
+                       --localstatedir=/var/nagios \
+                       --libexecdir=/usr/lib/nagios \
                        --with-lockfile=/var/lock/nagios.lock \
                        --with-nagios-user=nobody \
                        --with-nagios-group=nobody \
@@ -96,13 +97,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --with-httpd-conf=/etc/httpd/conf/conf.d \
                        --enable-nanosleep
        cd $(DIR_APP) && make all $(MAKETUNING)
-       cd $(DIR_APP) && make install install-init install-commandmode install-config
-       
+       cd $(DIR_APP) && make install install-init install-commandmode install-config install-webconf
+
        cd $(DIR_SRC) && tar xfz $(DIR_DL)/nagios-plugins-1.4.13.tar.gz
        cd $(DIR_SRC)/nagios-plugins* && ./configure --prefix=/usr \
                --libexecdir=/usr/lib/nagios \
                --with-nagios-user=nobody --with-nagios-group=nobody
        cd $(DIR_SRC)/nagios-plugins* && make $(MAKETUNING)
        cd $(DIR_SRC)/nagios-plugins* && make install
+       chown -R nobody:nobody /var/nagios
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
+