wok-6.x diff squidguard/receipt @ rev 24622

updated graphviz, graphviz-dev and graphviz-doc (2.42.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Mon Mar 07 16:02:21 2022 +0100 (2022-03-07)
parents be2ab6ab8f7e
children 8e505f99deb3
line diff
     1.1 --- a/squidguard/receipt	Mon Mar 11 12:28:08 2019 +0100
     1.2 +++ b/squidguard/receipt	Mon Mar 07 16:02:21 2022 +0100
     1.3 @@ -8,11 +8,18 @@
     1.4  LICENSE="GPL"
     1.5  SOURCE="squidGuard"
     1.6  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.7 -WEB_SITE="https://web.archive.org/web/20190123164915/http://www.squidguard.org/"
     1.8 +WEB_SITE="http://www.squidguard.org/"
     1.9  WGET_URL="${WEB_SITE}Downloads/$TARBALL"
    1.10  DEPENDS="squid libdb"
    1.11  BUILD_DEPENDS="db-dev"
    1.12  
    1.13 +# What is the latest version available today?
    1.14 +current_version()
    1.15 +{
    1.16 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.17 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.18 +}
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {