summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions14
1 files changed, 14 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions
index bcc857d43..d51b25384 100755
--- a/checkVersions
+++ b/checkVersions
@@ -906,6 +906,20 @@ then
d
'
)
+ elif echo "${src}" | \
+ grep -q '//www\.us\.apache\.org/dist/spamassassin/source/'
+ then
+ remVer=$(
+ curl_it 'https://spamassassin.apache.org/downloads.cgi' | \
+ tr '"' '\n' | \
+ sed '
+ s,^.*/Mail-SpamAssassin-\([0-9.]\+\)\.tar\.gz$,\1,
+ t
+ d
+ ' | \
+ sort -V | \
+ tail -n1
+ )
else
continue
fi