-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
squid: Update from version 3.1.22 to 5.0.4
- Loading branch information
Showing
7 changed files
with
30 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.