Commit 1d6a771c authored by Marco Mariani's avatar Marco Mariani

added setcap to zimbra-unpack-ldap

parent 6c2daae9
...@@ -291,7 +291,7 @@ command = ...@@ -291,7 +291,7 @@ command =
ln -sf cyrus-sasl-* cyrus-sasl ln -sf cyrus-sasl-* cyrus-sasl
ln -sf heimdal-* heimdal ln -sf heimdal-* heimdal
ln -sf jdk* java ln -sf jdk* java
ln -sf mysql-standard-* mysql ln -sf mysql-* mysql
ln -sf openldap-* openldap ln -sf openldap-* openldap
ln -sf openssl-* openssl ln -sf openssl-* openssl
ln -sf rsync-* rsync ln -sf rsync-* rsync
...@@ -335,7 +335,7 @@ command = ...@@ -335,7 +335,7 @@ command =
ln -sf heimdal-* heimdal ln -sf heimdal-* heimdal
ln -sf jdk* java ln -sf jdk* java
ln -sf libtool* libtool ln -sf libtool* libtool
ln -sf mysql-standard-* mysql ln -sf mysql-* mysql
ln -sf openldap-* openldap ln -sf openldap-* openldap
ln -sf openssl-* openssl ln -sf openssl-* openssl
ln -sf rsync-* rsync ln -sf rsync-* rsync
...@@ -346,6 +346,8 @@ command = ...@@ -346,6 +346,8 @@ command =
mkdir -p data/ldap/config mkdir -p data/ldap/config
mkdir -p data/ldap/mdb/db mkdir -p data/ldap/mdb/db
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/openldap/sbin/slapd
...@@ -382,7 +384,7 @@ command = ...@@ -382,7 +384,7 @@ command =
ln -sf dspam* dspam ln -sf dspam* dspam
ln -sf heimdal-* heimdal ln -sf heimdal-* heimdal
ln -sf libmemcached* libmemcached ln -sf libmemcached* libmemcached
ln -sf mysql* mysql ln -sf mysql-* mysql
ln -sf opendkim* opendkim ln -sf opendkim* opendkim
ln -sf openldap-* openldap ln -sf openldap-* openldap
ln -sf openssl-* openssl ln -sf openssl-* openssl
...@@ -399,6 +401,7 @@ command = ...@@ -399,6 +401,7 @@ command =
mkdir -p data/postfix/spool/pid mkdir -p data/postfix/spool/pid
mkdir -p data/tmp mkdir -p data/tmp
chmod 1777 data/tmp chmod 1777 data/tmp
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
...@@ -421,8 +424,6 @@ command = ...@@ -421,8 +424,6 @@ command =
# extract binaries and scripts from the .deb packages # extract binaries and scripts from the .deb packages
# export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-ldap zimbra-mta zimbra-store" # export ZIMBRA_INSTALLED_PKGS="zimbra-core zimbra-ldap zimbra-mta zimbra-store"
# TODO: # 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 recipe = plone.recipe.command
stop-on-error = True stop-on-error = True
PACKAGE_LIST = zimbra-core zimbra-ldap zimbra-mta zimbra-store PACKAGE_LIST = zimbra-core zimbra-ldap zimbra-mta zimbra-store
...@@ -466,6 +467,7 @@ command = ...@@ -466,6 +467,7 @@ command =
mkdir -p data/tmp mkdir -p data/tmp
chmod 1777 data/tmp chmod 1777 data/tmp
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
mkdir backup ssl .ssh zmstat mkdir backup ssl .ssh zmstat
mkdir -p data/ldap/config mkdir -p data/ldap/config
mkdir -p data/ldap/mdb/db mkdir -p data/ldap/mdb/db
...@@ -476,4 +478,7 @@ command = ...@@ -476,4 +478,7 @@ command =
mkdir -p data/clamav/db mkdir -p data/clamav/db
mkdir -p data/postfix/spool/pid mkdir -p data/postfix/spool/pid
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/openldap/sbin/slapd
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment