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
Xavier Thompson
slapos
Commits
cd6a91dd
Commit
cd6a91dd
authored
May 10, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
section zimbra-unpack-ldap
envvar ZIMBRA_INSTALLED_PKGS update-command = install-command
parent
954355ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
1 deletion
+44
-1
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+44
-1
No files found.
software/zimbra/buildout.cfg
View file @
cd6a91dd
...
...
@@ -267,11 +267,13 @@ zimbra-home = ${buildout:directory}/zimbra-home
[zimbra-unpack-store]
# extract binaries and scripts from the .deb packages
# export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-store"
recipe = plone.recipe.command
stop-on-error = True
PACKAGE_LIST = zimbra-core zimbra-store
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/ZimbraBuild/amd64
update-command = ${:command}
command =
rm -rf ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
...
...
@@ -288,12 +290,12 @@ command =
ln -sf curl-* curl
ln -sf cyrus-sasl-* cyrus-sasl
ln -sf heimdal-* heimdal
ln -sf jdk* java
ln -sf mysql-standard-* mysql
ln -sf openldap-* openldap
ln -sf openssl-* openssl
ln -sf rsync-* rsync
ln -sf tcmalloc-* tcmalloc
ln -sf jdk* java
ln -sf jetty-distribution-* jetty
ln -sf jetty-distribution-* mailboxd
...
...
@@ -301,3 +303,44 @@ command =
chmod 1777 data/tmp
mkdir backup ssl .ssh zmstat
[zimbra-unpack-ldap]
# extract binaries and scripts from the .deb packages
# export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-ldap"
recipe = plone.recipe.command
stop-on-error = True
PACKAGE_LIST = zimbra-core zimbra-ldap
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/ZimbraBuild/amd64
update-command = ${:command}
command =
rm -rf ${:ZIMBRA_HOME}
mkdir ${:ZIMBRA_HOME}
cd ${:ZIMBRA_HOME}
for pkg_name in ${:PACKAGE_LIST}; do
echo "Unpacking $pkg_name..."
ar x ${:PACKAGES}/$pkg_name*.deb
tar xvf data.tar.gz --strip=5 >/dev/null
rm data.tar.gz
rm control.tar.gz
done
ln -sf bdb-* bdb
ln -sf curl-* curl
ln -sf cyrus-sasl-* cyrus-sasl
ln -sf heimdal-* heimdal
ln -sf jdk* java
ln -sf libtool* libtool
ln -sf mysql-standard-* mysql
ln -sf openldap-* openldap
ln -sf openssl-* openssl
ln -sf rsync-* rsync
ln -sf tcmalloc-* tcmalloc
mkdir -p data/tmp
chmod 1777 data/tmp
mkdir -p data/ldap/config
mkdir -p data/ldap/mdb/db
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