--- rpms/smeserver-gitweb/contribs9/smeserver-gitweb.spec 2016/02/17 23:35:06 1.6 +++ rpms/smeserver-gitweb/contribs9/smeserver-gitweb.spec 2016/06/24 12:08:19 1.13 @@ -1,6 +1,6 @@ %define name smeserver-gitweb %define version 1.1.0 -%define release 4 +%define release 9 Summary: GitWeb is a web based Git repository viewer on SME Server Name: %{name} Version: %{version} @@ -21,12 +21,34 @@ Requires: highlight AutoReqProv: no Patch1: smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch Patch2: smeserver-gitweb-1.1.0-remove_runtime_access_to_networks_db.patch -patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch +Patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch +Patch4: smeserver-gitweb-1.1.0-defineURI.patch +Patch5: smeserver-gitweb-1.1.0-fix_remote_auth.patch +Patch6: smeserver-gitweb-1.1.0-fix_group_check.patch +Patch7: smeserver-gitweb-1.1.0-checktrusted_networks.patch +Patch8: smeserver-git-1.1.0-locale-2016-06-22.patch %description HTTP access to https://git.host.com provides a gitweb view of the repositories. %changelog +* Fri Jun 24 2016 Jean-Philipe Pialasse 1.1.0-9.sme +- removed one missed linefeed + +* Wed Jun 22 2016 Jean-Philipe Pialasse 1.1.0-8.sme +- smeserver-git-1.1.0-locale-2016-06-22.patch + +* Wed Jun 22 2016 Jean-Philipe Pialasse 1.1.0-7.sme +- fix 500 error after auth on remote access [SME: 9614] +- check all trusted networks [SME: 9578] +- fix git db readable by everybody [SME: 9615] + +* Sat Jun 11 2016 Jean-Philipe Pialasse 1.1.0-6.sme +- fix auth from remote IP [SME: 9202] + +* Fri Jun 10 2016 Jean-Philipe Pialasse 1.1.0-5.sme +- fix short url to repo not working [SME: 9202] + * Thu Feb 18 2016 Marco Hess 1.1.0-4 - Removed chmod 644 /home/e-smith/db/networks from spec file as it is no longer required for gitweb.conf @@ -66,6 +88,13 @@ HTTP access to https://git.host.com prov %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 + + %build %install @@ -80,7 +109,8 @@ rm -rf $RPM_BUILD_ROOT %post echo "Ensuring git database is accessible to GitWeb ..." touch /home/e-smith/db/git -chmod 644 /home/e-smith/db/git +chmod 640 /home/e-smith/db/git +chown root:www /home/e-smith/db/git echo "Expanding gitweb.conf template ..." /sbin/e-smith/expand-template /etc/gitweb.conf echo "Expanding GitWeb home page text template ..."