#!/bin/bash SVN_USER=svn hvconfig_pre() { groupadd -f ${SVN_USER} hv_useradd -c SvnServer -d /dev/null -g ${SVN_USER} -s /bin/false ${SVN_USER} } hvbuild() { ${HVMAKE} # Build perl bindings (needed by git-svn) ${HVMAKE} swig-pl ${HVMAKE} install ${HVMAKE} install-swig-pl } hvbuild_post() { # Creating repositories directory mkdir -p /srv/svn chown ${SVN_USER}:${SVN_USER} /srv/svn }