Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ekaterina
slapos
Commits
251f9c43
Commit
251f9c43
authored
Feb 22, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed jdk and policy file setup
parent
f49e69b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+16
-8
No files found.
software/zimbra/buildout.cfg
View file @
251f9c43
...
@@ -35,7 +35,8 @@ parts =
...
@@ -35,7 +35,8 @@ parts =
slapos-cookbook
slapos-cookbook
directories
directories
jdk
jdk
jdk-policy
jdk-sources
jdk-sources-policy
ant
ant
autoconf
autoconf
automake
automake
...
@@ -71,8 +72,6 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -71,8 +72,6 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
web-dirname = 7u13-b20
web-dirname = 7u13-b20
filename = jdk-7u13-linux-x64.tar.gz
filename = jdk-7u13-linux-x64.tar.gz
policy-filename = UnlimitedJCEPolicyJDK7.zip
policy-filename = UnlimitedJCEPolicyJDK7.zip
zimbra-filename = jdk1.7.0_13.tgz
zimbra-target = ${zimbra-sources:location}/ThirdPartyBuilds/x86_64/java
stop-on-error = True
stop-on-error = True
update = true
update = true
command =
command =
...
@@ -80,8 +79,6 @@ command =
...
@@ -80,8 +79,6 @@ command =
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \
"http://download.oracle.com/otn-pub/java/jdk/${:web-dirname}/${:filename}" \
"http://download.oracle.com/otn-pub/java/jdk/${:web-dirname}/${:filename}" \
-O ${:location}/${:filename}
-O ${:location}/${:filename}
mkdir -p ${:zimbra-target}
cp ${:location}/${:filename} ${:zimbra-target}/${:zimbra-filename}
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \
http://download.oracle.com/otn-pub/java/jce/7/${:policy-filename} \
http://download.oracle.com/otn-pub/java/jce/7/${:policy-filename} \
-O ${:location}/${:policy-filename}
-O ${:location}/${:policy-filename}
...
@@ -94,11 +91,22 @@ url = ${jdk-download:location}/${jdk-download:filename}
...
@@ -94,11 +91,22 @@ url = ${jdk-download:location}/${jdk-download:filename}
strip-top-level-dir = True
strip-top-level-dir = True
[jdk-policy]
[jdk-sources]
# Uncompress the downloaded JDK
# copy the jdk tarball inside the build tree
recipe = plone.recipe.command
zimbra-target = ${zimbra-sources:location}/ThirdPartyBuilds/x86_64/java
zimbra-filename = jdk1.7.0_13.tgz
update-command = ${:command}
command =
mkdir -p ${:zimbra-target}
cp ${jdk-download:location}/${jdk-download:filename} ${:zimbra-target}/${:zimbra-filename}
[jdk-sources-policy]
# copy the java policy inside the build tree
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = ${jdk-download:location}/${jdk-download:policy-filename}
url = ${jdk-download:location}/${jdk-download:policy-filename}
destination = ${jdk-
download
:zimbra-target}/jce
destination = ${jdk-
sources
:zimbra-target}/jce
strip-top-level-dir = True
strip-top-level-dir = True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment