X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fsquid;h=8553d7113bd25dc36d867cb47ad0e796ee505d8b;hb=aef3c56c6536474dc861e256f4816d54f9776833;hp=6033ab3948a5bf943e4805d20656951639e3ac0b;hpb=c86d893830560165e065cd44ee44f13c2d7e97a7;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/squid b/lfs/squid index 6033ab3948..8553d7113b 100644 --- a/lfs/squid +++ b/lfs/squid @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2019 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 4.5 +VER = 4.10 THISAPP = squid-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -34,6 +34,10 @@ TARGET = $(DIR_INFO)/$(THISAPP) CXXFLAGS+= -Wno-error=format-truncation +ifeq "$(BUILD_ARCH)" "armv5tel" + LDFLAGS += -latomic +endif + ############################################################################### # Top-level Rules ############################################################################### @@ -42,7 +46,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 8275da5846f9f2243ad2625e5aef2ee0 +$(DL_FILE)_MD5 = af7ac6e70f9bd03ae4fcec0c9b99c38a install : $(TARGET) @@ -72,12 +76,12 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xaf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid/squid-4.5-fix-max-file-descriptors.patch cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP)/libltdl && autoreconf -vfi - cd $(DIR_APP) && CXXFLAGS="$(CXXFLAGS)" ./configure \ + cd $(DIR_APP) && CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + LDFLAGS="$(LDFLAGS)" ./configure \ --prefix=/usr \ --sysconfdir=/etc/squid \ --datadir=/usr/lib/squid \ @@ -91,7 +95,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --disable-kqueue \ --disable-esi \ --disable-arch-native \ - --enable-ipv6 \ --enable-poll \ --enable-ident-lookups \ --enable-storeio=aufs,diskd,ufs \