--- rpms/smeserver-git/contribs8/smeserver-git.spec 2016/06/22 17:44:19 1.11 +++ rpms/smeserver-git/contribs8/smeserver-git.spec 2017/03/26 00:48:37 1.16 @@ -1,6 +1,6 @@ %define name smeserver-git %define version 1.0.0 -%define release 49 +%define release 54 Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. Name: %{name} Version: %{version} @@ -14,7 +14,7 @@ Patch0: smeserver-git-1.0.0-locale-2016- Patch1: smeserver-git-1.0.0-fix_missing_group_modify_event_check.patch Patch2: smeserver-git-1.0.0-rewriterules_for_dot_git.patch Patch3: smeserver-git-1.0.0-LocationMatch.patch -Patch4: smeserver-git-1.0.0-db_permissions.patch +Patch4: smeserver-git-1.0.0-locale-2017-03-25.patch Packager: Marco Hess BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} @@ -32,6 +32,18 @@ installs and enables the git server on t host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. %changelog +* Sat Mar 25 2017 Jean-Philipe Pialasse 1.0.0-54.sme +- apply locale 2017-03-25 + +* Fri Jun 24 2016 Jean-Philipe Pialasse 1.0.0-53.sme +- reverting git db to 644 as default-initialize_database will chown it root:admin + +* Fri Jun 24 2016 Jean-Philipe Pialasse 1.0.0-51.sme +- remove wrong migrate fragment [SME: 9619] + +* Wed Jun 22 2016 Jean-Philipe Pialasse 1.0.0-50.sme +- fix missing ; in migrate fragment 80git to revert db permissions [SME: 9619] + * Wed Jun 22 2016 Jean-Philipe Pialasse 1.0.0-49.sme - fix too permissive permissions on db accounts networks and git [SME: 9615] [SME: 9616] - ported from SME9 @@ -144,11 +156,14 @@ 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 664 /home/e-smith/db/git chown admin:www /home/e-smith/files/git /etc/rc7.d/S86httpd-e-smith sighup echo "---------------------------------------------------------" +# 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