1 |
%define name smeserver-gitweb |
%define name smeserver-gitweb |
2 |
%define version 1.1.0 |
%define version 1.1.0 |
3 |
%define release 3 |
%define release 5 |
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} |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
Patch1: smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch |
Patch1: smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch |
23 |
Patch2: smeserver-gitweb-1.1.0-remove_runtime_access_to_networks_db.patch |
Patch2: smeserver-gitweb-1.1.0-remove_runtime_access_to_networks_db.patch |
24 |
patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch |
Patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch |
25 |
|
Patch4: smeserver-gitweb-1.1.0-defineURI.patch |
26 |
|
|
27 |
|
|
28 |
%description |
%description |
29 |
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. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
33 |
|
- fix short url to repo not working [SME: 9202] |
34 |
|
|
35 |
|
* Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4 |
36 |
|
- Removed chmod 644 /home/e-smith/db/networks from spec file as |
37 |
|
it is no longer required for gitweb.conf |
38 |
|
|
39 |
* Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-3 |
* Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-3 |
40 |
- Changed the trypass function in 60ExportAuthHook to dynamically |
- Changed the trypass function in 60ExportAuthHook to dynamically |
41 |
check for the location of pwauth so this becomes universal for |
check for the location of pwauth so this becomes universal for |
71 |
%patch1 -p1 |
%patch1 -p1 |
72 |
%patch2 -p1 |
%patch2 -p1 |
73 |
%patch3 -p1 |
%patch3 -p1 |
74 |
|
%patch4 -p1 |
75 |
|
|
76 |
%build |
%build |
77 |
|
|
78 |
%install |
%install |
88 |
echo "Ensuring git database is accessible to GitWeb ..." |
echo "Ensuring git database is accessible to GitWeb ..." |
89 |
touch /home/e-smith/db/git |
touch /home/e-smith/db/git |
90 |
chmod 644 /home/e-smith/db/git |
chmod 644 /home/e-smith/db/git |
|
echo "Ensuring networks database is accessible to GitWeb ..." |
|
|
chmod 644 /home/e-smith/db/networks |
|
91 |
echo "Expanding gitweb.conf template ..." |
echo "Expanding gitweb.conf template ..." |
92 |
/sbin/e-smith/expand-template /etc/gitweb.conf |
/sbin/e-smith/expand-template /etc/gitweb.conf |
93 |
echo "Expanding GitWeb home page text template ..." |
echo "Expanding GitWeb home page text template ..." |