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
Jean-Paul Smets
slapos
Commits
6c2daae9
Commit
6c2daae9
authored
May 22, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zimbra-unpack-all section
parent
36d5dedb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
6 deletions
+79
-6
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+79
-6
No files found.
software/zimbra/buildout.cfg
View file @
6c2daae9
...
...
@@ -237,7 +237,7 @@ LD_LIBRARY_PATH = ${:ZIMBRA_HOME}/bdb/lib:${:ZIMBRA_HOME}/mysql/lib
BZIP2_PREFIX = ${bzip2:location}
PCRE_PREFIX = ${pcre:location}
NCURSES_PREFIX = ${ncurses:location}
MAKEARGS=-j
8
MAKEARGS=-j
4
ZIMBRA_USER=${environment-base:USER}
...
...
@@ -272,7 +272,7 @@ 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
PACKAGES = /home/marco/zbuild/amd64
update-command = ${:command}
command =
rm -rf ${:ZIMBRA_HOME}
...
...
@@ -309,11 +309,13 @@ command =
[zimbra-unpack-ldap]
# extract binaries and scripts from the .deb packages
# export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-ldap"
# TODO:
# sudo setcap 'cap_net_bind_service=+ep' /home/marco/zbuild/zimbra-home/openldap/sbin/slapd
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
PACKAGES = /home/marco/zbuild/amd64
update-command = ${:command}
command =
rm -rf ${:ZIMBRA_HOME}
...
...
@@ -344,19 +346,19 @@ command =
mkdir -p data/ldap/config
mkdir -p data/ldap/mdb/db
# TODO:
# sudo setcap 'cap_net_bind_service=+ep' /home/marco/zbuild/zimbra-home/openldap/sbin/slapd
[zimbra-unpack-mta]
# extract binaries and scripts from the .deb packages
# export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-mta"
# TODO:
# sudo setcap 'cap_net_bind_service=+ep' zimbra-home/postfix/libexec/master
recipe = plone.recipe.command
stop-on-error = True
PACKAGE_LIST = zimbra-core zimbra-mta
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/
ZimbraBuild/
amd64
PACKAGES = /home/marco/zbuild/amd64
update-command = ${:command}
command =
rm -rf ${:ZIMBRA_HOME}
...
...
@@ -399,8 +401,79 @@ command =
chmod 1777 data/tmp
# TODO
# touch postfix/conf/main.cf
# ln -s /home/marco/zbuild/zimbra-home/postfix/conf/aliases /etc/aliases
# see also
# http://www.zimbra.com/docs/ne/6.0.6/multi_server_install/multi-server_install.5.06.html
[zimbra-unpack-all]
# extract binaries and scripts from the .deb packages
# export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-ldap zimbra-mta zimbra-store"
# TODO:
# sudo setcap 'cap_net_bind_service=+ep' /home/marco/zbuild/zimbra-home/openldap/sbin/slapd
# sudo setcap 'cap_net_bind_service=+ep' /home/marco/zbuild/zimbra-home/postfix/libexec/master
recipe = plone.recipe.command
stop-on-error = True
PACKAGE_LIST = zimbra-core zimbra-ldap zimbra-mta zimbra-store
ZIMBRA_HOME = ${environment:ZIMBRA_HOME}
PACKAGES = /home/marco/zbuild/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 altermime-* altermime
ln -sf amavisd-* amavisd
ln -sf bdb-* bdb
ln -sf cbpolicyd-* cbpolicyd
ln -sf clamav-* clamav
ln -sf curl-* curl
ln -sf cyrus-sasl-* cyrus-sasl
ln -sf dspam* dspam
ln -sf heimdal-* heimdal
ln -sf jdk* java
ln -sf libtool* libtool
ln -sf libmemcached* libmemcached
ln -sf mysql* mysql
ln -sf opendkim* opendkim
ln -sf openldap-* openldap
ln -sf openssl-* openssl
ln -sf postfix* postfix
ln -sf rsync-* rsync
ln -sf tcmalloc-* tcmalloc
ln -sf jetty-distribution-* jetty
ln -sf jetty-distribution-* mailboxd
ln -sf zeromq* zeromq
mkdir -p data/tmp
chmod 1777 data/tmp
mkdir backup ssl .ssh zmstat
mkdir -p data/ldap/config
mkdir -p data/ldap/mdb/db
mkdir -p data/amavisd/db
mkdir -p data/amavisd/tmp
mkdir -p data/amavisd/var
mkdir -p data/amavisd/quarantine
mkdir -p data/clamav/db
mkdir -p data/postfix/spool/pid
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