1 |
%define name smeserver-gitweb |
%define name smeserver-gitweb |
2 |
%define version 1.1.0 |
%define version 1.1.0 |
3 |
%define release 9 |
%define release 11 |
4 |
Summary: GitWeb is a web based Git repository viewer on SME Server |
Summary: GitWeb is a web based Git repository viewer on SME Server |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
32 |
HTTP access to https://git.host.com provides a gitweb view of the repositories. |
HTTP access to https://git.host.com provides a gitweb view of the repositories. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
* Fri Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme |
* Fri Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme |
36 |
- removed one missed linefeed |
- removed one missed linefeed |
37 |
|
|
38 |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme |
109 |
%post |
%post |
110 |
echo "Ensuring git database is accessible to GitWeb ..." |
echo "Ensuring git database is accessible to GitWeb ..." |
111 |
touch /home/e-smith/db/git |
touch /home/e-smith/db/git |
112 |
chmod 640 /home/e-smith/db/git |
chmod 644 /home/e-smith/db/git |
|
chown root:www /home/e-smith/db/git |
|
113 |
echo "Expanding gitweb.conf template ..." |
echo "Expanding gitweb.conf template ..." |
114 |
/sbin/e-smith/expand-template /etc/gitweb.conf |
/sbin/e-smith/expand-template /etc/gitweb.conf |
115 |
echo "Expanding GitWeb home page text template ..." |
echo "Expanding GitWeb home page text template ..." |