RRDTool Fix
[ipfire-2.x.git] / lfs / squidguard
index 9f24478..39aa7c0 100644 (file)
@@ -78,7 +78,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --with-sg-config=/var/ipfire/urlfilter/squidGuard.conf \
                --with-sg-logdir=/var/log/squidGuard --with-sg-dbhome=/var/lib/squidguard \
                --with-db=/usr --with-db-inc=/usr/include --with-db-lib=/usr/lib
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 
        # URL-Filter
@@ -98,7 +98,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        /bin/tar --no-same-owner -xzf $(DIR_CONF)/urlfilter/blacklists.tar.gz -C /var/ipfire/urlfilter
        /usr/bin/perl $(DIR_CONF)/urlfilter/makeconf.pl
        chown -R nobody:nobody /var/ipfire/urlfilter
-       chown -R nobody:nobody /home/httpd/html/images/urlfilter
+       chmod 755 /home/httpd/html/images/urlfilter
+       chmod 644 /home/httpd/html/images/urlfilter/*
        chown -R nobody:nobody /home/httpd/html/repository
        chown -R squid:squid /var/log/squidGuard