Skip to content

Commit

Permalink
squid: Update from version 3.1.22 to 5.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Jun 27, 2021
1 parent ddd28bd commit ad99288
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 529 deletions.
44 changes: 27 additions & 17 deletions cross/squid/Makefile
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
PKG_NAME = squid
PKG_VERS = 3.1.22
PKG_VERS = 5.0.4
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://www.squid-cache.org/Versions/v3/3.1/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
PKG_DIST_NAME = $(shell echo '$(PKG_NAME)' | tr '[:lower:]' '[:upper:]')_$(subst .,_,$(PKG_VERS)).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/squid-cache/squid/archive
PKG_DIR = $(PKG_NAME)-$(shell echo '$(PKG_NAME)' | tr '[:lower:]' '[:upper:]')_$(subst .,_,$(PKG_VERS))

DEPENDS = native/$(PKG_NAME)
DEPENDS = cross/openssl

HOMEPAGE = http://www.squid-cache.org/
COMMENT = Squid is a fully-featured HTTP/1.0 proxy which is almost HTTP/1.1 compliant.
LICENSE =
LICENSE = GPLv2

GNU_CONFIGURE = 1

CONFIGURE_ARGS = $(TC_CONFIGURE_ARGS) --prefix=$(INSTALL_PREFIX) --enable-icap-client --disable-strict-error-checking

HOSTCFGEN_NATIVE = $(WORK_DIR)/../../../native/$(PKG_NAME)/work-native/$(PKG_DIR)/src/cf_gen
HOSTCFGEN = $(WORK_DIR)/$(PKG_DIR)/src/cf_gen

# Compile
PRE_COMPILE_TARGET = squid_pre_compile
CONFIGURE_ARGS = $(TC_CONFIGURE_ARGS)
CONFIGURE_ARGS += --prefix=$(INSTALL_PREFIX)
CONFIGURE_ARGS += --enable-icap-client
CONFIGURE_ARGS += --disable-strict-error-checking
CONFIGURE_ARGS += --enable-ssl
CONFIGURE_ARGS += --enable-arp-acl
CONFIGURE_ARGS += --enable-delay-pools
CONFIGURE_ARGS += squid_cv_check_marchnative=yes

# Toolchains lacking c++11 in conjunction with
# march=native compiler are not supported
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)
ifeq ($(call version_lt, ${TCVERSION}, 7.0),1)
UNSUPPORTED_ARCHS += $(PPC_ARCHS)
UNSUPPORTED_ARCHS += $(ARM_ARCHS)
endif

PRE_CONFIGURE_TARGET = squid_pre_configure

include ../../mk/spksrc.cross-cc.mk

.PHONY: squid_pre_compile
squid_pre_compile:
cp $(HOSTCFGEN_NATIVE) $(HOSTCFGEN)
.PHONY: squid_pre_configure
squid_pre_configure:
$(RUN) ./bootstrap.sh
Loading

0 comments on commit ad99288

Please sign in to comment.