[squid-users] Programmatically fetch the latest stable version of squid

Amos Jeffries squid3 at treenet.co.nz
Fri Aug 26 22:16:19 UTC 2022


On 27/08/22 06:02, Justin Michael Schwartzbeck wrote:
> Hello,
> 
> I want to create a build system that automatically fetches the latest 
> stable version of squid, and builds a container with it. I know I can 
> manually browse to the download page. But I was hoping there could be 
> some way to link it, i.e. /stable/squid-latest.tar.gz or perhaps a 
> static list that I could pull and scan.
> 

If you are not patching the Squid code before build, you may find it 
easier/better to use the "stable" version of Squid for whatever OS you 
are building into the container.


If source code is required, we provide RSYNC and FTP access in addition 
to the web download pages.

The rsync provides the very latest code for each released version of 
Squid. These are updated daily from the "snapshot" tarballs.
 
<https://wiki.squid-cache.org/DeveloperResources#Bootstrapped_sources_via_rsync>


The ftp mirrors have a section available on some of the mirrors.
(It is indicated by the user-folder icons). There you can find only the 
latest 2 official release tarballs of each series. Just parse the FTP 
directory listing and you have the latest formal (aka "stable") release 
files.
  <http://www.squid-cache.org/Download/ftp-mirrors.html>


Cheers
Amos


More information about the squid-users mailing list