mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Upgraded squidGuard to current version, applied custom patch
This commit is contained in:
@@ -17,3 +17,5 @@ usr/lib/libcrypto.so
|
||||
usr/lib/libcrypto.so.0.9.8
|
||||
usr/lib/libssl.so
|
||||
usr/lib/libssl.so.0.9.8
|
||||
usr/bin/squidGuard
|
||||
var/lib/squidguard
|
||||
|
||||
@@ -225,7 +225,6 @@
|
||||
* openldap-2.3.20
|
||||
* openmailadmin-1.0.0
|
||||
* openssh-5.1p1
|
||||
* openssl-0.9.8i
|
||||
* openssl-0.9.8j
|
||||
* openswan-2.6.18
|
||||
* openswan-2.6.18-kmod-VER
|
||||
@@ -274,6 +273,7 @@
|
||||
* squashfs3.4
|
||||
* squid-2.7.STABLE5
|
||||
* squidGuard-1.3
|
||||
* squidGuard-1.4
|
||||
* squidclamav-3.9
|
||||
* sshfs-fuse-2.2
|
||||
* streamripper-1.63.5
|
||||
|
||||
@@ -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