Commit Graph

43 Commits

Author SHA1 Message Date
krant 6a400cce62 squid: update to 6.9
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-04-14 22:45:15 -07:00
krant 0da2cb5266 squid: update to 6.8
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-03-22 16:08:00 +08:00
krant f58be51721 squid: fix configure options
- Remove non-existing 'dlmalloc' option
- Use 'with-cap' instead of 'with-libcap'
- Use 'with-xml2' instead of 'with-libxml2'
- Patch configure.ac to properly handle 'with-nettle'

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-10 14:54:24 -08:00
krant 4007a08529 squid: update to 6.7
- Switch URL to HTTPS
- Remove default/obsolete configure options
- Fix and refresh the patch

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-08 09:37:43 -08:00
Eneas U de Queiroz 78dcc29e47
squid: bump to release 5.7
This is the latest version and brings compatibility with OpenSSL 3.0.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-02-16 10:28:52 -03:00
Stijn Tintel d3ef994b35 squid: trim trailing space
Found with modified Kconfiglib.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-11-04 13:08:43 -07:00
Michael Heimpold 3ec47dc85c squid: fix compilation with libxml (refs #19099)
Add a patch which removes a call in Libxml2Parser.cc to 'xmlSetFeature'.
This function belongs to the 'depreciated' API part and is not
available in OpenWrt builds.

According to my understanding, this call can be removed safely since
it disables the feature "substitute entities" which is disabled by default.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-08-25 08:26:44 +02:00
Marko Ratkaj 15132b85b7 squid: bump to 4.17
Signed-off-by: Marko Ratkaj <markoratkaj@gmail.com>
2022-03-30 19:37:52 -07:00
Rosen Penev ad4c04283e squid: update to 4.16
Fixes compilation with GCC11.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-28 16:47:38 -07:00
Wong Hoi Sing Edison dbda77686d
squid: Enable dynamic SSL certificate generation
Maintainer: @neheb / @BKPepe / @zhanhb
Compile tested: ipq806x, generic, netgear_r7800, master
Run tested: ipq806x, generic, netgear_r7800, openwrt-19.07

Description:

Squid now only support HTTPS proxy in TCP tunnel mode (e.g. `ssl_bump splice all`):

    https_port 3128 ssl-bump tls-cert=/etc/squid/squid.pem generate-host-certificates=on
    ssl_bump splice all

In order to operate in SSL Bump mode, we need to compile with `--enable-ssl-crtd` for following configuration:

    https_port 3128 ssl-bump tls-cert=/etc/squid/squid.pem generate-host-certificates=on
    sslcrtd_program /usr/lib/squid/security_file_certgen -s /car/cache/squid/ssl_db -M 4MB
    ssl_bump stare all
    ssl_bump bump all

This PR switch the `SQUID_enable-ssl-crtd` into `default y`, therefore default enable SSL Bump mode.

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
2021-04-25 11:03:54 +08:00
Rosen Penev 682aebbaea squid: update to 4.14
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-12 23:08:06 -07:00
Rosen Penev f73287dec1
squid: update to 4.13
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-22 19:23:19 -08:00
Rosen Penev a642218951
squid: fix compilation with ccache
Added a patch to remove BUILDCXXFLAGS. For some reason, TARGET_CXXFLAGS
are leaking.

Removed custom Build/Compile section. There's already PKG_INSTALL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 22:46:01 -08:00
Josef Schlehofer 3401e29aa7
squid: update to version 4.12
- Fixes CVEs:

CVE-2019-12519
CVE-2019-12520
CVE-2019-12521
CVE-2019-12523
CVE-2019-12524
CVE-2019-12525
CVE-2019-12526
CVE-2019-12527
CVE-2019-12528
CVE-2019-12529
CVE-2019-12824
CVE-2019-12854
CVE-2019-13345
CVE-2019-18676
CVE-2019-18677
CVE-2019-18678
CVE-2019-18679

CVE-2020-8449
CVE-2020-8450
CVE-2020-11945
CVE-2020-14058
CVE-2020-15049

- Remove patch for cross-compilation
The patch should not be included in the OpenWrt at all without any
commit message/description.
Is not needed and there should be used HOST variables instead of BUILD variables (e.g.
   HOSTCXX)
However, the BUILDCXX is set in Makefile to HOSTCXX

- Renumber glibc patch and refresh it

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-20 08:56:50 +02:00
Huangbin Zhan 704e733e51 treewide: fix broken conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-07-07 18:29:13 +08:00
Huangbin Zhan 0ec746ccb6 treewide: add conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-05-09 06:06:43 +08:00
Jonathan Elchison 2ba6546dd8 squid: fix 'localhet' typo in squid.conf
Signed-off-by: Jonathan Elchison <JElchison@Gmail.com>
2020-03-04 11:12:28 -08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev c18cb9e7c5
squid: Fix compilation with GCC9
by passing -Werror. Also added -latomic as some platforms need it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-08 13:13:19 -07:00
Rosen Penev f7e7ee5ff3
squid: Update to 4.6
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-21 15:15:53 -07:00
Jeffery To 37df5db70c squid: Update init script
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.

This also removes some unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-04 14:30:36 +08:00
Rosen Penev 0e4b4f66a2 squid: Fix compilation without OpenSSL ENGINE support
OpenSSL 1.1 includes the header but support has to be checked in another
way.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-06 21:02:59 -08:00
Marko Ratkaj 262eaa45c8 net: squid: bump version to 4.4
Simple bump from 4.3 to 4.4

Changelog since 4.3:
netdb not saving to disk (#311)
Fix memory leak when parsing SNMP packet (#313)
Fix several windows build issues (#309)
Certificate fields injection via %D in ERR_SECURE_CONNECT_FAIL (#306)
Allow compilation with minimal OpenSSL (#281)
Fixed %USER_CA_CERT_xx and %USER_CERT_xx crashes (#301)
Improve const correctness for hash_link (#300)
Bug #4893: Malformed %>ru URIs for CONNECT requests (#299)

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2018-11-06 18:23:57 +01:00
Eneas U de Queiroz e4c24f0dc5 squid: update to version 4.3
Added some help to the choice of TLS library in menuconfig, taken from
the squid release notes.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-10-08 18:54:00 -03:00
Eneas U de Queiroz 90f4b935bd squid: incorporated ideas from PR#5196
Incorporated @ratkaj configuration options and patches.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-08 10:03:24 -03:00
Eneas U de Queiroz dec7628ea9 squid: Upgrade to 4.0.24 beta
This beta version brings compatibility with openssl 1.1

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-07 18:16:02 -03:00
Marko Ratkaj 44f41ff9b6 squid: bump to 3.5.27
Bump Squid to version 3.5.27 and fix broken menuconfig menu.

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-09-25 10:50:44 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Adam Gensler 53c7693cef net/squid: Allow squid to parse mime.conf
Copy mime.conf to temporary directory so squid process can properly read the file. Without it squid cannot access mime.conf and throws a warning during startup.

Signed-off by: Adam Gensler <openwrt@a.gnslr.us>
2017-01-08 10:15:20 -05:00
Dirk Neukirchen 4c21039884 squid: disable krb5
- fix build error reported by buildbot by disabling krb5
- libcom_err from krb5 is used - configure output:
configure: WARNING: library 'com_err' is required for Heimdal Kerberos
- krb5 has its own libcom_err (see krb5 package) with its own symbols

- linking with wrong libcom_err from libext2fs produces errors during
libgssapi_krb5.so: undefined reference to `error_message@com_err_3_MIT'
libgssapi_krb5.so: undefined reference to `remove_error_table@com_err_3_MIT'
libgssapi_krb5.so: undefined reference to `add_error_table@com_err_3_MIT'
-> remove libext2fs dependency (wasnt working anyway - no PKG_BUILD_DEP)

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2016-02-11 09:16:56 +01:00
Daniel Golle 2294fc8629 squid: build-depend on libext2fs
squid uses libcom_err, a static library provided by libext2fs

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-01-14 00:07:53 +01:00
v-vid af2f21c96c Bump version to 3.5.12 2015-12-13 18:14:02 +01:00
Marko Ratkaj d003d3c06d squid: bump version to 3.5.9
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-09-27 23:44:31 +02:00
Daniel Gimpelevich b127de865b squid: version bump and dependency fixes
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
2015-07-20 16:12:45 -07:00
Luka Perkov 2f3ab73ffa squid: drop musl compat patch
Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-07-03 16:51:23 +02:00
Marko Ratkaj 6336fe5bce squid: bump version to 3.5.5
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-07-01 16:23:54 +02:00
Jo-Philipp Wich 768f1a42ae squid: fix musl compatibility
Change `sys/signal.h` include to just `signal.h`. The build otherwise fails
due to `-Werror` with the following message:

    In file included from rfcnb-io.c:43:0:
    .../staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_musl-1.1.10/include/sys/signal.h:1:2: error: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Werror=cpp]
     #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
      ^
    cc1: all warnings being treated as errors

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 16:44:11 +02:00
Marko Ratkaj 69116fb9e7 squid: minor changes in Makefile and init script
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-06-09 12:15:36 +02:00
Luka Perkov 5bcbff46f9 squid: fix parallel builds
Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-05-11 11:24:55 +02:00
Marko Ratkaj c05980909c squid: update to 3.5.2
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-03-06 23:29:26 +01:00
Nicolas Thill 39c8784355 squid: disable netfilter-conntrack explicitly
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-01 23:56:07 +01:00
Marko Ratkaj b252299069 squid: bump to 3.4.11
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-01-21 14:08:46 +01:00
Luka Perkov 3df768771f squid: initial import from old-packages
Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-01-12 00:42:25 +01:00