summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-10-23 20:38:47 +0000
committer Eric Hameleers <alien@slackware.com>2015-10-23 20:38:47 +0000
commit2b87a1bdb4865f8fa415a6fe1db01b27e3f4e92b (patch)
tree8bf23149246648ad782a287384d35d68be51f2ac
parent2a740fc9cd8020b85fd2f9d655c4c2a4818bf479 (diff)
downloadasb-2b87a1bdb4865f8fa415a6fe1db01b27e3f4e92b.tar.gz
asb-2b87a1bdb4865f8fa415a6fe1db01b27e3f4e92b.tar.xz
openjdk: BUILDING.txt: update for icedtea-2.6.2
-rw-r--r--openjdk/build/BUILDING.txt13
-rw-r--r--openjdk7/build/BUILDING.txt55
2 files changed, 64 insertions, 4 deletions
diff --git a/openjdk/build/BUILDING.txt b/openjdk/build/BUILDING.txt
index def1f66b..423489b2 100644
--- a/openjdk/build/BUILDING.txt
+++ b/openjdk/build/BUILDING.txt
@@ -7,15 +7,15 @@
#
# In icedtea you can choose between "default" and "zero" versions
# of the VM. The zero vm is meant for ARM based systems.
-# Use this command to find out the hash of the hopspot.zip
+# Use this command to find out the hash of the hotspot.zip
# grep default hotspot.map
#
# -----------------------------------------------------------------------------
# Check ICEDTEA_BRANCH value in Makefile.in:
ICEDTEA_MAJOR="icedtea7"
-ICEDTEA_BRANCH="2.6.1"
-ICEDTEA_VERSION="2.6.1"
+ICEDTEA_BRANCH="2.6.2"
+ICEDTEA_VERSION="2.6.2"
DROPURL="http://icedtea.classpath.org/download/drops"
SUPPURL="${DROPURL}/${ICEDTEA_MAJOR}/${ICEDTEA_BRANCH}"
@@ -23,6 +23,9 @@ SUPPURL="${DROPURL}/${ICEDTEA_MAJOR}/${ICEDTEA_BRANCH}"
wget -c http://icedtea.classpath.org/download/source/icedtea-${ICEDTEA_VERSION}.tar.xz
wget -c http://icedtea.classpath.org/download/source/icedtea-${ICEDTEA_VERSION}.tar.xz.sig
+# Extract Makefile.in:
+tar -O -xvf icedtea-${ICEDTEA_VERSION}.tar.xz icedtea-${ICEDTEA_VERSION}/Makefile.in > Makefile.in
+
# Get supporting sources:
wget ${SUPPURL}/openjdk.tar.bz2 -O openjdk_icedtea-${ICEDTEA_VERSION}.tar.bz2
wget ${SUPPURL}/corba.tar.bz2 -O corba_icedtea-${ICEDTEA_VERSION}.tar.bz2
@@ -39,10 +42,12 @@ rmdir icedtea-${ICEDTEA_VERSION}
egrep '^CACAO_VERSION|^JAMVM_VERSION' Makefile.in
CACAO_HASH=$(grep '^CACAO_VERSION' Makefile.in |tr -d ' ' |cut -d= -f2)
JAMVM_HASH=$(grep '^JAMVM_VERSION' Makefile.in |tr -d ' ' |cut -d= -f2)
-wget ${DROPURL}/cacao/${CACAO_HASH}.tar.xz -O cacao_icedtea-${ICEDTEA_VERSION}.tar.xz
+wget ${DROPURL}/cacao/cacao-${CACAO_HASH}.tar.xz -O cacao_icedtea-${ICEDTEA_VERSION}.tar.xz
wget ${DROPURL}/jamvm/jamvm-${JAMVM_HASH}.tar.gz -O jamvm_icedtea-${ICEDTEA_VERSION}.tar.gz
echo ==========================================================================
+gpg --verify icedtea-${ICEDTEA_VERSION}.tar.xz.sig 2>&1 |grep -e "^gpg: .* signature from"
+echo ""
JDKU=$(grep ^JDK_UPDATE_VERSION Makefile.in | tr -d ' ' | cut -f2 -d=)
JDKB=$(grep ^BUILD_VERSION Makefile.in | tr -d ' ' | cut -f2 -d=)
echo "** Icedtea ${ICEDTEA_VERSION} will build OpenJDK update $JDKU build $JDKB"
diff --git a/openjdk7/build/BUILDING.txt b/openjdk7/build/BUILDING.txt
new file mode 100644
index 00000000..423489b2
--- /dev/null
+++ b/openjdk7/build/BUILDING.txt
@@ -0,0 +1,55 @@
+# You can run this script in the sources/ subdirectory to download the sources.
+
+# -----------------------------------------------------------------------------
+#
+# These source URLs are constructed from reading the Makefile.in of icedtea:
+# egrep '(^OPENJDK_VERSION|^JDK_UPDATE_VERSION|^BUILD_VERSION|^CORBA_CHANGESET|^HOTSPOT_CHANGESET|^JAXP_CHANGESET|^JAXWS_CHANGESET|^JDK_CHANGESET|^LANGTOOLS_CHANGESET|^OPENJDK_CHANGESET|^CACAO_VERSION|^CACAO_BASE_URL|^JAMVM_VERSION|^JAMVM_BASE_URL|^ICEDTEA_MAJOR|^ICEDTEA_BRANCH|^ICEDTEA_PREFIX|^ICEDTEA_HG_URL|^DROP_URL)' Makefile.in
+#
+# In icedtea you can choose between "default" and "zero" versions
+# of the VM. The zero vm is meant for ARM based systems.
+# Use this command to find out the hash of the hotspot.zip
+# grep default hotspot.map
+#
+# -----------------------------------------------------------------------------
+
+# Check ICEDTEA_BRANCH value in Makefile.in:
+ICEDTEA_MAJOR="icedtea7"
+ICEDTEA_BRANCH="2.6.2"
+ICEDTEA_VERSION="2.6.2"
+DROPURL="http://icedtea.classpath.org/download/drops"
+SUPPURL="${DROPURL}/${ICEDTEA_MAJOR}/${ICEDTEA_BRANCH}"
+
+# Get icedtea:
+wget -c http://icedtea.classpath.org/download/source/icedtea-${ICEDTEA_VERSION}.tar.xz
+wget -c http://icedtea.classpath.org/download/source/icedtea-${ICEDTEA_VERSION}.tar.xz.sig
+
+# Extract Makefile.in:
+tar -O -xvf icedtea-${ICEDTEA_VERSION}.tar.xz icedtea-${ICEDTEA_VERSION}/Makefile.in > Makefile.in
+
+# Get supporting sources:
+wget ${SUPPURL}/openjdk.tar.bz2 -O openjdk_icedtea-${ICEDTEA_VERSION}.tar.bz2
+wget ${SUPPURL}/corba.tar.bz2 -O corba_icedtea-${ICEDTEA_VERSION}.tar.bz2
+wget ${SUPPURL}/jaxp.tar.bz2 -O jaxp_icedtea-${ICEDTEA_VERSION}.tar.bz2
+wget ${SUPPURL}/jdk.tar.bz2 -O jdk_icedtea-${ICEDTEA_VERSION}.tar.bz2
+wget ${SUPPURL}/langtools.tar.bz2 -O langtools_icedtea-${ICEDTEA_VERSION}.tar.bz2
+wget ${SUPPURL}/jaxws.tar.bz2 -O jaxws_icedtea-${ICEDTEA_VERSION}.tar.bz2
+wget ${SUPPURL}/hotspot.tar.bz2 -O hotspot_icedtea-${ICEDTEA_VERSION}.tar.bz2
+
+# Get these hash values from Makefile.in:
+tar xvf icedtea-${ICEDTEA_VERSION}.tar.xz icedtea-${ICEDTEA_VERSION}/Makefile.in
+mv icedtea-${ICEDTEA_VERSION}/Makefile.in .
+rmdir icedtea-${ICEDTEA_VERSION}
+egrep '^CACAO_VERSION|^JAMVM_VERSION' Makefile.in
+CACAO_HASH=$(grep '^CACAO_VERSION' Makefile.in |tr -d ' ' |cut -d= -f2)
+JAMVM_HASH=$(grep '^JAMVM_VERSION' Makefile.in |tr -d ' ' |cut -d= -f2)
+wget ${DROPURL}/cacao/cacao-${CACAO_HASH}.tar.xz -O cacao_icedtea-${ICEDTEA_VERSION}.tar.xz
+wget ${DROPURL}/jamvm/jamvm-${JAMVM_HASH}.tar.gz -O jamvm_icedtea-${ICEDTEA_VERSION}.tar.gz
+
+echo ==========================================================================
+gpg --verify icedtea-${ICEDTEA_VERSION}.tar.xz.sig 2>&1 |grep -e "^gpg: .* signature from"
+echo ""
+JDKU=$(grep ^JDK_UPDATE_VERSION Makefile.in | tr -d ' ' | cut -f2 -d=)
+JDKB=$(grep ^BUILD_VERSION Makefile.in | tr -d ' ' | cut -f2 -d=)
+echo "** Icedtea ${ICEDTEA_VERSION} will build OpenJDK update $JDKU build $JDKB"
+echo ==========================================================================
+