[Lunar-commits] <moonbase-other> sun-jdk: remove circular dependency

v4hn me at v4hn.de
Sat Jul 28 19:45:37 CEST 2012


commit ddda6796518b2e8f69ad7f9c7f0305eedf7e8e94
Author: v4hn <me at v4hn.de>
Date: Sat, 28 Jul 2012 10:45:37 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/ddda6796518b2e8f69ad7f9c7f0305eedf7e8e94

sun-jdk: remove circular dependency
---
  compilers/sun-jdk/DEPENDS                                    +0/-3     
  compilers/sun-jdk/PRE_BUILD                                  +4/-0     
  2 files changed, 4 insertions (+), 3 deletions (-)

--- a/compilers/sun-jdk/DEPENDS
+++ b/compilers/sun-jdk/DEPENDS
@@ -1,4 +1 @@
 depends unzip
-# the download location redirects to HTTPS protocol
-# and we need to make sure wget verifies the certificate
-depends ca-certificates
--- a/compilers/sun-jdk/PRE_BUILD
+++ b/compilers/sun-jdk/PRE_BUILD
@@ -10,6 +10,10 @@ fi &&
 JDK_ARCHIVE=jdk-$VERSION-linux-$bits.tar.gz &&
 JDK_POLICY=UnlimitedJCEPolicyJDK7.zip &&
 
+if ! module_installed ca-certificates; then
+   message "${PROBLEM_COLOR}If the following downloads fail, please make sure you build wget with SSL support and and got ca-certificates installed${DEFAULT_COLOR}"
+fi
+
 wget -c --header "Cookie: gpw_e24=a" http://download.oracle.com/otn-pub/java/jdk/$FVERSION/$JDK_ARCHIVE &&
 wget -c --header "Cookie: gpw_e24=a" http://download.oracle.com/otn-pub/java/jce/7/$JDK_POLICY &&
 




More information about the Lunar-commits mailing list