[OpenWrt-Devel] [PATCH] [package] OpenSSL: Added source/old to PKG_SOURCE_URL
John Crispin
blogic at openwrt.org
Fri Dec 11 04:53:28 EST 2015
Hi,
technically correct but you make 2 changes int he patch.
1) add a new url
2) split the variable into 2 variables for no apparent reason.
i would sugegst you drop 2) and we just merge 1)
John
On 07/12/2015 21:10, Kevin Kirsch wrote:
> OpenSSL moves old versions of the library from
> http://www.openssl.org/source/ to
> http://www.openssl.org/source/old/$version/ breaking the old links.
> That behavior breaks the OpenWRT-build every time OpenSSL releases
> a new version.
>
> This patch adds http://www.openssl.org/source/old/$version/ to the
> PKG_SOURCE_URL of OpenSSL to avoid breaking the build whenever
> OpenSSL releases a new version.
>
> Signed-off-by: Kevin Kirsch <ranlvor at starletp9.de>
> ---
> @Alexander: Great idea, I updated my patch for master.
> @OpenWRT-Maintainers: Should I somehow mention Alexanders work in the
> commit-message?
>
>
> package/libs/openssl/Makefile | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
> index faf6816..24acfc8 100644
> --- a/package/libs/openssl/Makefile
> +++ b/package/libs/openssl/Makefile
> @@ -8,7 +8,9 @@
> include $(TOPDIR)/rules.mk
>
> PKG_NAME:=openssl
> -PKG_VERSION:=1.0.2e
> +PKG_BASE:=1.0.2
> +PKG_BUGFIX:=e
> +PKG_VERSION:=$(PKG_BASE)$(PKG_BUGFIX)
> PKG_RELEASE:=1
> PKG_USE_MIPS16:=0
>
> @@ -17,6 +19,7 @@ PKG_BUILD_PARALLEL:=0
> PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
> PKG_SOURCE_URL:=http://www.openssl.org/source/ \
> ftp://ftp.openssl.org/source/ \
> + http://www.openssl.org/source/old/$(PKG_BASE)/ \
> ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.openssl.org/source \
> ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/
> PKG_MD5SUM:=5262bfa25b60ed9de9f28d5d52d77fc5
>
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list