Hai,
I use this for the latest 4.xx
release
mkdir squid && curl -q -L $(lynx -listonly -nonumbers
-dump http://www.squid-cache.org/Versions/v4/
| grep squid-4.5 | grep ".tar.gz") | tar -xz -C squid --strip-components 1
-f -
and this one for the daily
mkdir squid-$(date +%F) && curl -q -L $(lynx -listonly
-nonumbers -dump http://www.squid-cache.org/Versions/v4/
| grep "squid-4.5-" | grep ".tar.gz") | tar -xz -C squid-$(date +%F)
--strip-components 1 -f -
maybe is possible in another way but this works for me.
greetz,
Louis
Van: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] Namens Vieri
Verzonden: woensdag 30 januari 2019 15:11
Aan: squid-users@xxxxxxxxxxxxxxxxxxxxx
Onderwerp: daily releasesHi,
Does anyone know of a convenient one-liner to get the latest daily release tarball, eg. http://www.squid-cache.org/Versions/v4/squid-4.5-20190128-r568e66b7c.tar.gz, without having to search for it manually on the web?
Either that or a symlink that would always point to the "latest daily".
Thanks,
Vieri
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users