From patchwork Mon Dec 7 20:10:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Kirsch X-Patchwork-Id: 553523 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9FBF61402C9 for ; Tue, 8 Dec 2015 07:11:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=no-dkim.starletp9.de header.i=@no-dkim.starletp9.de header.b=dE6+zwlE; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6680C28C076; Mon, 7 Dec 2015 21:10:59 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 3F06828C076 for ; Mon, 7 Dec 2015 21:10:23 +0100 (CET) X-policyd-weight: using cached result; rate: -7.6 Received: from thyristor.starletp9.de (thyristor.starletp9.de [78.46.60.30]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 7 Dec 2015 21:10:22 +0100 (CET) Received: from [192.168.178.90] (alcatraz373.wohnheim.uni-kl.de [131.246.233.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: keine-ahnung) by thyristor.starletp9.de (Postfix) with ESMTPSA id D2903300D29 for ; Mon, 7 Dec 2015 21:10:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=no-dkim.starletp9.de; s=thyristor; t=1449519030; bh=1dg9pGJQdetys/U6WSHHRQ6f+S9FLdFGSPy7jAX1TrM=; h=Subject:To:References:From:Date:In-Reply-To:From; b=dE6+zwlETnqOePcTtR6SkwOrQRAHZNeNn1qdq7MtQaoZQ8CU1TaAhzQ+ye95uiYwK fru/QBxyZHHItdv6C4xDWhSsiszmtQ4uSMtdVhml85Xx2JOxWsdp/PPMA5dCiscK8M USmR4vXWJ/Auxyp9ut6MR29EjvxEveGydX9XHBL8= To: openwrt-devel@lists.openwrt.org References: <20151207100107.GA21106@falbala> From: Kevin Kirsch Message-ID: <5665E7B6.6010602@no-dkim.starletp9.de> Date: Mon, 7 Dec 2015 21:10:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151207100107.GA21106@falbala> Subject: Re: [OpenWrt-Devel] [PATCH] [package] OpenSSL: Added source/old to PKG_SOURCE_URL X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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 Reviewed-by: Alexander Dahl --- @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