Skip to content
Permalink
ea061cb643
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 32 lines (24 sloc) 999 Bytes
#! /bin/sh
set -xe
PKG=jdk
VERSION=8u181
BUILD=0
PREFIX=/pkg/jdk-$VERSION-$BUILD
if [ -n "$TESTING" ]; then PREFIX=/scratch/local2/$PKG-$VERSION-$BUILD ; fi
mkdir -p $PREFIX
cd $PREFIX
# old bee src: /src/mariux/download/jdk-8u181-linux-x64.tar.gz
BEEHIVE=https://beehive.molgen.mpg.de/ef599e322eee42f6769991dd3e3b1a31/jdk-8u181-linux-x64.tar.gz
wget -O- -nv $BEEHIVE | tar -xz --strip-components=1 -f-
# old bee src: /src/mariux/download/jce_policy-8.zip
BEEHIVE=https://beehive.molgen.mpg.de/b3c7031bc65c28c2340302065e7d00d3/jce_policy-8.zip
wget -O- -nv $BEEHIVE | bsdtar -x -f-
mv UnlimitedJCEPolicyJDK8/US_export_policy.jar \
UnlimitedJCEPolicyJDK8/local_policy.jar \
jre/lib/security/
mv UnlimitedJCEPolicyJDK8/README.txt jre/lib/security/UnlimitedJCEPolicy_README.txt
rmdir UnlimitedJCEPolicyJDK8
cat >$PREFIX/profile <<-EOF
PATH=$PREFIX/bin:\$PATH
if [ -d $PREFIX/.compatlibs ]; then export LD_LIBRARY_PATH=$PREFIX/.compatlibs\${LD_LIBRARY_PATH:+:\$LD_LIBRARY_PATH} ; fi
EOF