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
Paul Graydon
slapos
Commits
98c461c8
Commit
98c461c8
authored
May 24, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use cp.recipe.cmd instead of plone.recipe.command for bash compatibility
with .bashrc
parent
661e13d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
17 deletions
+26
-17
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+26
-17
No files found.
software/zimbra/buildout.cfg
View file @
98c461c8
...
@@ -271,14 +271,14 @@ zimbra-home = ${buildout:directory}/zimbra-home
...
@@ -271,14 +271,14 @@ zimbra-home = ${buildout:directory}/zimbra-home
[zimbra-unpack-store]
[zimbra-unpack-store]
# extract binaries and scripts from the .deb packages
# extract binaries and scripts from the .deb packages
# export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-store"
recipe = cp.recipe.cmd
recipe = plone.recipe.command
# required to source .bashrc
s
top-on-error = True
s
hell = /bin/bash
PACKAGE_LIST = zimbra-core zimbra-store
PACKAGE_LIST = zimbra-core zimbra-store
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/amd64
PACKAGES = /home/marco/zbuild/amd64
update
-command = ${:comman
d}
update
_cmd = ${:install_cm
d}
comman
d =
install_cm
d =
rm -rf ${:ZIMBRA_HOME}
rm -rf ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
...
@@ -307,19 +307,21 @@ command =
...
@@ -307,19 +307,21 @@ command =
chmod 1777 data/tmp
chmod 1777 data/tmp
mkdir backup ssl .ssh zmstat
mkdir backup ssl .ssh zmstat
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
[zimbra-unpack-ldap]
[zimbra-unpack-ldap]
# extract binaries and scripts from the .deb packages
# extract binaries and scripts from the .deb packages
recipe = plone.recipe.command
recipe = cp.recipe.cmd
stop-on-error = True
# required to source .bashrc
shell = /bin/bash
PACKAGE_LIST = zimbra-core zimbra-ldap
PACKAGE_LIST = zimbra-core zimbra-ldap
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/amd64
PACKAGES = /home/marco/zbuild/amd64
update
-command = ${:comman
d}
update
_cmd = ${:install_cm
d}
comman
d =
install_cm
d =
rm -rf ${:ZIMBRA_HOME}
rm -rf ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
...
@@ -352,19 +354,21 @@ command =
...
@@ -352,19 +354,21 @@ command =
# clear credential cache to spot commands in zmsetup.pl that would require sudo
# clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k
sudo -k
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
[zimbra-unpack-mta]
[zimbra-unpack-mta]
# extract binaries and scripts from the .deb packages
# extract binaries and scripts from the .deb packages
recipe = plone.recipe.command
recipe = cp.recipe.cmd
stop-on-error = True
# required to source .bashrc
shell = /bin/bash
PACKAGE_LIST = zimbra-core zimbra-mta
PACKAGE_LIST = zimbra-core zimbra-mta
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/amd64
PACKAGES = /home/marco/zbuild/amd64
update
-command = ${:comman
d}
update
_cmd = ${:install_cm
d}
comman
d =
install_cm
d =
rm -rf ${:ZIMBRA_HOME}
rm -rf ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
...
@@ -402,6 +406,7 @@ command =
...
@@ -402,6 +406,7 @@ command =
mkdir -p data/amavisd/quarantine
mkdir -p data/amavisd/quarantine
mkdir -p data/clamav/db
mkdir -p data/clamav/db
mkdir -p data/postfix/spool/pid
mkdir -p data/postfix/spool/pid
mkdir -p conf/sa
mkdir -p data/tmp
mkdir -p data/tmp
chmod 1777 data/tmp
chmod 1777 data/tmp
...
@@ -411,6 +416,7 @@ command =
...
@@ -411,6 +416,7 @@ command =
# clear credential cache to spot commands in zmsetup.pl that would require sudo
# clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k
sudo -k
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
...
@@ -426,13 +432,14 @@ command =
...
@@ -426,13 +432,14 @@ command =
[zimbra-unpack-all]
[zimbra-unpack-all]
# extract binaries and scripts from the .deb packages
# extract binaries and scripts from the .deb packages
recipe = plone.recipe.command
recipe = cp.recipe.cmd
stop-on-error = True
# required to source .bashrc
shell = /bin/bash
PACKAGE_LIST = zimbra-core zimbra-ldap zimbra-mta zimbra-store
PACKAGE_LIST = zimbra-core zimbra-ldap zimbra-mta zimbra-store
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/amd64
PACKAGES = /home/marco/zbuild/amd64
update
-command = ${:comman
d}
update
_cmd = ${:install_cm
d}
comman
d =
install_cm
d =
rm -rf ${:ZIMBRA_HOME}
rm -rf ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
...
@@ -475,6 +482,7 @@ command =
...
@@ -475,6 +482,7 @@ command =
mkdir -p data/amavisd/quarantine
mkdir -p data/amavisd/quarantine
mkdir -p data/clamav/db
mkdir -p data/clamav/db
mkdir -p data/postfix/spool/pid
mkdir -p data/postfix/spool/pid
mkdir -p conf/sa
mkdir -p data/tmp
mkdir -p data/tmp
chmod 1777 data/tmp
chmod 1777 data/tmp
...
@@ -486,5 +494,6 @@ command =
...
@@ -486,5 +494,6 @@ command =
# clear credential cache to spot commands in zmsetup.pl that would require sudo
# clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k
sudo -k
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
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