From patchwork Mon May 20 06:27:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 244851 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1333F2C00A0 for ; Mon, 20 May 2013 17:02:39 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E89C4101FBE; Mon, 20 May 2013 07:02:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O-RB-FDXlkeL; Mon, 20 May 2013 07:02:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B52FE102013; Mon, 20 May 2013 07:02:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 14D4C8F74B for ; Mon, 20 May 2013 07:02:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DEE6D8C771 for ; Mon, 20 May 2013 07:02:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gl5LIvJRmbc3 for ; Mon, 20 May 2013 07:02:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tango.tkos.co.il (tango.tkos.co.il [62.219.50.35]) by whitealder.osuosl.org (Postfix) with ESMTPS id 84DCD8C7A4 for ; Mon, 20 May 2013 07:02:32 +0000 (UTC) Received: from tarshish.tkos.co.il (80.179.12.157.static.012.net.il [80.179.12.157]) (authenticated bits=0) by tango.tkos.co.il (8.14.4/8.12.11) with ESMTP id r4K6S5hx028540; Mon, 20 May 2013 09:28:09 +0300 From: Baruch Siach To: buildroot@busybox.net Date: Mon, 20 May 2013 09:27:27 +0300 Message-Id: <1369031247-2075-1-git-send-email-baruch@tkos.co.il> X-Mailer: git-send-email 1.7.10.4 X-Scanned-By: MIMEDefang 2.62 on 62.219.50.35 Subject: [Buildroot] [PATCH] Revert "dependencies: check that SSL certificates are installed" X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net This reverts commit d66cd067f3dc3d5e2479e1e8c05f24fd82329f7a. SSL certificates are no always installed in /etc/ssl/certs. For example, on CentOS 5.6 the default OpenSSL certificates directory is /etc/pki/tls/certs, and wget can download using https without any problem. Moreover, the existence of /etc/ssl/certs does not guarantee the presence of a CA certificates bundle even on Debian. On my current Debian testing installation the openssl package itself creates an empty /etc/ssl/certs directory. Signed-off-by: Baruch Siach Acked-by: Thomas Petazzoni --- support/dependencies/dependencies.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index ce4d9e1..0b44c5a 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -200,12 +200,3 @@ if ! perl -e "require Data::Dumper" > /dev/null 2>&1 ; then /bin/echo -e "On Debian/Ubuntu distributions, install the 'perl' package." exit 1 fi - -# Check that we have the SSL certificates to make https:// downloads -# work. -if ! test -d /etc/ssl/certs; then - /bin/echo -e "Your system lacks Common CA certificates for SSL." - /bin/echo -e "This prevents https:// downloads from succeeding." - /bin/echo -e "On Debian/Ubuntu distributions, install 'ca-certificates' package." - exit 1 -fi