net/stunnel: add archive mirror
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 5 Sep 2018 08:03:25 +0000 (10:03 +0200)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 6 Sep 2018 14:59:00 +0000 (22:59 +0800)
The registered URLs only point to the latest version. After adding the archive
URL we could now download older version again.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/stunnel/Makefile

index bf013c7153d44791ffa9bafae4c3b43d609e2d47..35ce8585f8613e7d338c4adb91400ebbeb2d9892 100644 (file)
@@ -18,7 +18,9 @@ PKG_LICENSE_FILES:=COPYING COPYRIGHT.GPL
 PKG_SOURCE_URL:= \
        http://ftp.nluug.nl/pub/networking/stunnel/ \
        http://www.usenix.org.uk/mirrors/stunnel/ \
-       https://www.stunnel.org/downloads/
+       https://www.stunnel.org/downloads/ \
+       https://www.usenix.org.uk/mirrors/stunnel/archive/$(word 1, $(subst .,$(space),$(PKG_VERSION))).x/
+
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_HASH:=1011d5a302ce6a227882d094282993a3187250f42f8a801dcc1620da63b2b8df