--- rpms/smeserver-git/contribs9/smeserver-git.spec 2016/06/23 03:36:42 1.7 +++ rpms/smeserver-git/contribs9/smeserver-git.spec 2017/02/02 03:42:56 1.10 @@ -1,6 +1,6 @@ %define name smeserver-git %define version 1.1.0 -%define release 6 +%define release 9 Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. Name: %{name} Version: %{version} @@ -20,8 +20,7 @@ AutoReqProv: no Patch1: smeserver-git-1.1.0-fix_missing_group_modify_event_check.patch Patch2: smeserver-git-1.1.0-rewriterules_for_dot_git.patch Patch3: smeserver-git-1.1.0-LocationMatch.patch -Patch4: smeserver-git-1.1.0-db_permissions.patch - +Patch4: smeserver-git-1.1.0-locale-2017-02-02.patch %description smeserver-git enables centralised git repositories on an SME server and enables @@ -32,6 +31,15 @@ installs and enables the git server on t host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. %changelog +* Wed Feb 01 2017 Jean-Philipe Pialasse 1.1.0-9.sme +- apply locale 2017-02-02.patch + +* Fri Jun 24 2016 Jean-Philipe Pialasse 1.1.0-8.sme +- reevrting git db to 644 as default-initialize_database will chown it root:admin + +* 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] @@ -113,6 +121,7 @@ host.com/git. Repositories are then avai %patch3 -p1 %patch4 -p1 + mkdir -p root/home/e-smith/files/git/ %build perl createlinks @@ -143,6 +152,12 @@ fi chown admin:www /home/e-smith/files/git /etc/rc7.d/S86httpd-e-smith sighup +# fixing needed permissions +# fixing previous mess +chmod 644 /home/e-smith/db/git +chmod 640 /home/e-smith/db/accounts +chmod 640 /home/e-smith/db/networks + %postun if [ $1 -eq 0 ] ; then echo "---------------------------------------------------------"