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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
slapos
Commits
f1e7365a
Commit
f1e7365a
authored
Apr 16, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provide ZIMBRA_USER ennvar to makefiles
parent
cfab3b9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+10
-4
No files found.
software/zimbra/buildout.cfg
View file @
f1e7365a
...
@@ -219,8 +219,13 @@ update-command = ${:command}
...
@@ -219,8 +219,13 @@ update-command = ${:command}
stop-on-error = True
stop-on-error = True
[environment-base]
# provides existing envvars to the [environment] section
recipe = collective.recipe.environment
[environment]
[environment]
# environment needed for b
oth building and runn
ing the applications.
# environment needed for b
uild
ing the applications.
recipe = collective.recipe.environment
recipe = collective.recipe.environment
ZIMBRA_HOME = ${directories:zimbra-home}
ZIMBRA_HOME = ${directories:zimbra-home}
JAVA_HOME = ${jdk:location}
JAVA_HOME = ${jdk:location}
...
@@ -231,11 +236,13 @@ BZIP2_PREFIX = ${bzip2:location}
...
@@ -231,11 +236,13 @@ BZIP2_PREFIX = ${bzip2:location}
PCRE_PREFIX = ${pcre:location}
PCRE_PREFIX = ${pcre:location}
NCURSES_PREFIX = ${ncurses:location}
NCURSES_PREFIX = ${ncurses:location}
MAKEARGS=-j8
MAKEARGS=-j8
ZIMBRA_USER=${environment-base:USER}
[sh-environment]
[sh-environment]
#
create a shell script (to be sourced) with the environment's content, for debugging purposes
.
#
environment needed for running/debugging the applications, exported to a shell script to be sourced
.
recipe = collective.recipe.template
recipe = collective.recipe.template
output = ${buildout:directory}/environment.sh
input = inline:
input = inline:
export ZIMBRA_HOME="${environment:ZIMBRA_HOME}"
export ZIMBRA_HOME="${environment:ZIMBRA_HOME}"
export JAVA_HOME="${environment:JAVA_HOME}"
export JAVA_HOME="${environment:JAVA_HOME}"
...
@@ -246,9 +253,8 @@ input = inline:
...
@@ -246,9 +253,8 @@ input = inline:
export PCRE_PREFIX="${environment:PCRE_PREFIX}"
export PCRE_PREFIX="${environment:PCRE_PREFIX}"
export NCURSES_PREFIX="${environment:NCURSES_PREFIX}"
export NCURSES_PREFIX="${environment:NCURSES_PREFIX}"
export MAKEARGS="${environment:MAKEARGS}"
export MAKEARGS="${environment:MAKEARGS}"
export ZIMBRA_USER="
`whoami`
"
export ZIMBRA_USER="
${environment:ZIMBRA_USER}
"
output = ${buildout:directory}/environment.sh
[directories]
[directories]
...
...
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