1 |
%define name smeserver-gitweb |
%define name smeserver-gitweb |
2 |
%define version 1.1.0 |
%define version 1.1.0 |
3 |
%define release 13 |
%define release 14 |
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} |
26 |
Patch5: smeserver-gitweb-1.1.0-fix_remote_auth.patch |
Patch5: smeserver-gitweb-1.1.0-fix_remote_auth.patch |
27 |
Patch6: smeserver-gitweb-1.1.0-fix_group_check.patch |
Patch6: smeserver-gitweb-1.1.0-fix_group_check.patch |
28 |
Patch7: smeserver-gitweb-1.1.0-checktrusted_networks.patch |
Patch7: smeserver-gitweb-1.1.0-checktrusted_networks.patch |
29 |
|
Patch8: smeserver-gitweb-1.1.0-Add-Update-event-to-createlinks.patch |
30 |
|
|
31 |
%description |
%description |
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 Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.1.0-14.sme |
36 |
|
- Add Update event to createlinks [SME: 11286] |
37 |
|
|
38 |
|
* Fri Mar 26 2021 BogusDateBot |
39 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
40 |
|
by assuming the date is correct and changing the weekday. |
41 |
|
|
42 |
* Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.1.0-13.sme |
* Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.1.0-13.sme |
43 |
- Initial import to SMe10 tree [SME: 11285] |
- Initial import to SME10 tree [SME: 11286] |
44 |
|
|
45 |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-12.sme |
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-12.sme |
46 |
- revert local patch wrongly applied [SME: 10077] |
- revert local patch wrongly applied [SME: 10077] |
52 |
- smeserver-git-1.1.0-locale-2016-06-22.patch |
- smeserver-git-1.1.0-locale-2016-06-22.patch |
53 |
|
|
54 |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
55 |
- fix 500 error after auth on remote access [SME: 9614] |
- Add Update event to createlinks 500 error after auth on remote access [SME: 9614] |
56 |
- check all trusted networks [SME: 9578] |
- check all trusted networks [SME: 9578] |
57 |
- fix git db readable by everybody [SME: 9615] |
- Add Update event to createlinks git db readable by everybody [SME: 9615] |
58 |
|
|
59 |
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
60 |
- fix auth from remote IP [SME: 9202] |
- Add Update event to createlinks auth from remote IP [SME: 9202] |
61 |
|
|
62 |
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
63 |
- fix short url to repo not working [SME: 9202] |
- Add Update event to createlinks short url to repo not working [SME: 9202] |
64 |
|
|
65 |
* Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4 |
* Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4 |
66 |
- Removed chmod 644 /home/e-smith/db/networks from spec file as |
- Removed chmod 644 /home/e-smith/db/networks from spec file as |
105 |
%patch5 -p1 |
%patch5 -p1 |
106 |
%patch6 -p1 |
%patch6 -p1 |
107 |
%patch7 -p1 |
%patch7 -p1 |
108 |
|
%patch8 -p1 |
109 |
|
|
110 |
|
|
111 |
%build |
%build |
112 |
|
perl createlinks |
113 |
|
|
114 |
%install |
%install |
115 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
130 |
/sbin/e-smith/expand-template /etc/e-smith/web/common/gitweb/home_text.html |
/sbin/e-smith/expand-template /etc/e-smith/web/common/gitweb/home_text.html |
131 |
echo "Expanding web server template ..." |
echo "Expanding web server template ..." |
132 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
133 |
/etc/rc7.d/S86httpd-e-smith sighup |
#/etc/rc7.d/S86httpd-e-smith sighup |
134 |
|
|
135 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
136 |
%defattr(-,root,root) |
%defattr(-,root,root) |