[squid-users] squid release number and patches

Vieri rentorbuy at yahoo.com
Wed Sep 27 09:51:59 UTC 2017


Hi,

I use Squid on Gentoo.

Gentoo's package manager (ebuilds) installs only a few Squid releases. It does not support 3.5 patch releases or Squid 4 beta.

I customized Gentoo's Squid "ebuild" to support the latter. It was working fine while www.squid-cache.org named the archives with integers in the patch "release" version.
eg. I could install custom versions with these ebuilds:
squid-3.5.26_p2017070214182.ebuild -> grabbed Squid 3.5.26, patch 20170702 r14182 (assuming the latter always starts with 'r')

squid-4.0.17_beta_p2017012214968.ebuild -> grabbed Squid 4 beta, patch 20170122 r14968


However, the naming has changed upstream so ebuilds such as:

squid-3.5.27_p20170916e69e56c.ebuild

fail to install squid-3.5.27-20170916-re69e56c.tar.gz because the _p part is required to be a number.

Of course, I could change the Gentoo ebuild to include the patch version numbers within, but that would require more maintenance than a simple file name renaming.

Is it possible to revert to using http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.x-<DATE>-r<INTEGER>.tar.gz file names?

Thanks,

Vieri


More information about the squid-users mailing list