wok diff snort-mysql/receipt @ rev 24893
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 07 17:00:12 2022 +0000 (2022-04-07) |
parents | d2428ad296aa |
children | 970deba23db6 |
line diff
1.1 --- a/snort-mysql/receipt Wed Apr 22 07:37:32 2020 +0100 1.2 +++ b/snort-mysql/receipt Thu Apr 07 17:00:12 2022 +0000 1.3 @@ -13,6 +13,13 @@ 1.4 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget zlib-dev \ 1.5 mysql-dev flex" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://www.snort.org/downloads 2>/dev/null | \ 1.11 + sed '/tar.gz/!d;/snort[0-9]*-[0-9]/!d;s|.*snort[0-9]*-||;s|.t.*||' | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {