Add deps for NagiosQL
authorPeter Pfeiffer <peterman@ipfire.org>
Fri, 3 Jul 2009 17:52:37 +0000 (13:52 -0400)
committerPeter Pfeiffer <peterman@ipfire.org>
Fri, 3 Jul 2009 17:52:37 +0000 (13:52 -0400)
lfs/nagiosql

index 1157ee2e8f5731c20f53ce97322e45e4e4da1fd4..4f31821436a6022e37c1360b1969523acf08e1e0 100644 (file)
@@ -35,7 +35,7 @@ TARGET     = $(DIR_INFO)/nagiosql-$(VER)
 PROG       = nagiosql
 PAK_VER    = 1
 
-DEPS       = "nagios"
+DEPS       = "nagios mysql"
 
 ###############################################################################
 # Top-level Rules
@@ -85,7 +85,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp -vf $(DIR_SRC)/config/nagiosql/nagios.conf /etc/httpd/conf/vhosts.d/
        cp -vrf $(DIR_SRC)/config/nagiosql/pear/HTML /usr/lib/php
        cp -vrf $(DIR_SRC)/config/nagiosql/etc /
-       chown -R nobody /etc/nagiosql
+       chown -R nobody:nobody /etc/nagiosql
        chown nobody /usr/share/nagiosql/config
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)