mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Upgraded squidGuard to current version, applied custom patch
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.3
|
||||
VER = 1.4
|
||||
|
||||
THISAPP = squidGuard-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -36,11 +36,16 @@ TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
objects = $(DL_FILE) \
|
||||
squidGuard-1.4.patch
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = d7c2c2e03a2835e4d1c3bef751ace76f
|
||||
squidGuard-1.4.patch = $(DL_FROM)/squidGuard-1.4.patch
|
||||
|
||||
$(DL_FILE)_MD5 = eec2b1234cd749a4171152af24aaf967
|
||||
|
||||
squidGuard-1.4.patch_MD5 = 2220598c1705d7b4775dc547e5d27bec
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -70,12 +75,12 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/squidGuard-$(VER)-20071117.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_DL)/squidGuard-1.4.patch
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --datadir=/usr/share \
|
||||
--sysconfdir=/etc --localstatedir=/var --infodir=/usr/info --mandir=/usr/man \
|
||||
--sysconfdir=/etc --localstatedir=/var --infodir=/usr/info --mandir=/usr/man \
|
||||
--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
|
||||
--with-db=/usr --with-db-inc=/usr/include --with-db-lib=/usr/lib
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user