]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/squid
ExtraHD! Die Erweiterung um Festplatten schnell einzubinden!
[people/teissler/ipfire-2.x.git] / lfs / squid
index 609a41977c05705601ab9030f6c8246fe37dc048..3db063e135655f5e92a29d0c53841d33ea8e018f 100644 (file)
--- a/lfs/squid
+++ b/lfs/squid
@@ -26,7 +26,7 @@
 
 include Config
 
-VER        = 2.5.STABLE14
+VER        = 2.6.STABLE3
 
 THISAPP    = squid-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = f413e0b887a5f9b2a75350243ed5564c
+$(DL_FILE)_MD5 = 5b181e9c08f35d098e53e54b01fbd092
 
 install : $(TARGET)
 
@@ -90,7 +90,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
           --enable-referer-log \
           --with-pthreads --with-dl
 
-       cd $(DIR_APP) && make -j 3
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 
        rm -f /etc/squid/squid.conf
@@ -103,27 +103,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        touch /var/log/squid/access.log
        chown -R squid:squid /var/log/squid /var/log/cache
 
-       # URL-Filter
-       -mkdir /etc/squidGuard /home/httpd/html/repository
-       cp -f  $(DIR_CONF)/urlfilter/autoupdate.urls /var/ipfire/urlfilter/autoupdate/autoupdate.urls
-       ln -fs /bin/false /var/ipfire/urlfilter/autoupdate/cron.daily
-       ln -fs /bin/false /var/ipfire/urlfilter/autoupdate/cron.weekly
-       ln -fs /bin/false /var/ipfire/urlfilter/autoupdate/cron.monthly
-       cp -f  $(DIR_CONF)/urlfilter/squidGuard.conf /var/ipfire/urlfilter/squidGuard.conf
-       ln -fs /var/ipfire/urlfilter/squidGuard.conf /etc/squidGuard/squidGuard.conf
-       cp -f  $(DIR_CONF)/urlfilter/prebuild.pl /var/ipfire/urlfilter/bin/prebuild.pl
-       chmod 755 /var/ipfire/urlfilter/bin/prebuild.pl
-       cp -f  $(DIR_CONF)/urlfilter/autoupdate.pl /var/ipfire/urlfilter/bin/autoupdate.pl
-       chmod 755 /var/ipfire/urlfilter/bin/autoupdate.pl
-       echo "1.7.1" > /var/ipfire/urlfilter/version
-
-       /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
-       chown -R nobody:nobody /home/httpd/html/repository
-       touch /var/log/squidGuard
-       chown -R squid:squid /var/log/squidGuard
-
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)