--- rpms/smeserver-git/contribs9/smeserver-git.spec 2016/06/22 17:34:22 1.6 +++ rpms/smeserver-git/contribs9/smeserver-git.spec 2016/06/24 10:27:11 1.8 @@ -1,6 +1,6 @@ %define name smeserver-git %define version 1.1.0 -%define release 5 +%define release 7 Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. Name: %{name} Version: %{version} @@ -32,6 +32,12 @@ installs and enables the git server on t host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. %changelog +* Fri Jun 24 2016 Jean-Philipe Pialasse 1.1.0-7.sme +- removing fragment migrate as it should not be used for that [SME: 9619] + +* Wed Jun 22 2016 Jean-Philipe Pialasse 1.1.0-6.sme +- fix missing ; in migrate fragment 80git to revert db permissions [SME: 9619] + * Wed Jun 22 2016 Jean-Philipe Pialasse 1.1.0-5.sme - fix too permissive permissions on db accounts networks and git [SME: 9615] [SME: 9616] @@ -137,11 +143,15 @@ if [ $1 -eq 1 ] ; then /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /etc/e-smith/events/actions/navigation-conf fi -echo " - Ensuring git repositories configuration database has the right permissions ..." -chmod 660 /home/e-smith/db/git chown admin:www /home/e-smith/files/git /etc/rc7.d/S86httpd-e-smith sighup -echo "---------------------------------------------------------" + +# fixing needed permissions +chown root:www /home/e-smith/db/git +# fixing previous mess +chmod 640 /home/e-smnth/db/git +chmod 640 /home/e-smith/db/accounts +chmod 640 /home/e-smith/db/networks %postun if [ $1 -eq 0 ] ; then