summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-04 14:50:44 +0100
committerErich Eckner <git@eckner.net>2019-02-04 14:50:44 +0100
commitdbbac21164532c135fc7f806e67170e21e3535ce (patch)
treee8d159b85aa49e8dc129573071275546c5308fe1
parent4da98d1cb93791357a5eda221f48158e4e4fc83e (diff)
downloadarchlinuxewe.git.save-dbbac21164532c135fc7f806e67170e21e3535ce.tar.xz
checkVersions: kennt jetzt auch spamassassin
-rwxr-xr-xcheckVersions14
1 files changed, 14 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions
index bcc857d4..d51b2538 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