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
f49e69b6
Commit
f49e69b6
authored
Feb 21, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copy downloaded policy files to build tree
parent
ea623c87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+18
-3
No files found.
software/zimbra/buildout.cfg
View file @
f49e69b6
...
...
@@ -35,6 +35,7 @@ parts =
slapos-cookbook
directories
jdk
jdk-policy
ant
autoconf
automake
...
...
@@ -64,12 +65,14 @@ slapos.cookbook =
[jdk-download]
# hack to download java bypassing javascript requirement
# hack to download java
and policy files,
bypassing javascript requirement
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
web-dirname = 7u13-b20
filename = jdk-7u13-linux-x64.tar.gz
policy-filename = UnlimitedJCEPolicyJDK7.zip
zimbra-filename = jdk1.7.0_13.tgz
zimbra-target = ${zimbra-sources:location}/ThirdPartyBuilds/x86_64/java
stop-on-error = True
update = true
command =
...
...
@@ -77,16 +80,28 @@ command =
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \
"http://download.oracle.com/otn-pub/java/jdk/${:web-dirname}/${:filename}" \
-O ${:location}/${:filename}
mkdir -p ${zimbra-sources:location}/ThirdPartyBuilds/x86_64/java
cp ${:location}/${:filename} ${zimbra-sources:location}/ThirdPartyBuilds/x86_64/java/${:zimbra-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" \
http://download.oracle.com/otn-pub/java/jce/7/${:policy-filename} \
-O ${:location}/${:policy-filename}
[jdk]
# Uncompress the downloaded JDK
recipe = hexagonit.recipe.download
url = ${jdk-download:location}/${jdk-download:filename}
strip-top-level-dir = True
[jdk-policy]
# Uncompress the downloaded JDK
recipe = hexagonit.recipe.download
url = ${jdk-download:location}/${jdk-download:policy-filename}
destination = ${jdk-download:zimbra-target}/jce
strip-top-level-dir = True
[ant]
recipe = hexagonit.recipe.download
url = http://mirrors.linsrv.net/apache//ant/binaries/${:filename}
...
...
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