1 |
%define name smeserver-git |
%define name smeserver-git |
2 |
%define version 1.2.0 |
%define version 1.2.0 |
3 |
%define release 3 |
%define release 4 |
4 |
Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. |
Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
18 |
Requires: git |
Requires: git |
19 |
AutoReqProv: no |
AutoReqProv: no |
20 |
Patch1: smeserver-git-1.2.0.bz10464-warn-on-missing-files.patch |
Patch1: smeserver-git-1.2.0.bz10464-warn-on-missing-files.patch |
21 |
|
Patch2: smeserver-git-1.2.0-Set-debugging-disabled.patch |
22 |
|
Patch3: smeserver-git-1.2.0-Add-Update-event-to-createlinks.patch |
23 |
|
|
24 |
%description |
%description |
25 |
smeserver-git enables centralised git repositories on an SME server and enables |
smeserver-git enables centralised git repositories on an SME server and enables |
30 |
host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. |
host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.2.0-4.sme |
34 |
|
- Add Update event to createlinks [SME: 11286 ] |
35 |
|
|
36 |
* Sun Dec 20 2020 BogusDateBot |
* Sun Dec 20 2020 BogusDateBot |
37 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
38 |
- by assuming the date is correct and changing the weekday. |
- by assuming the date is correct and changing the weekday. |
40 |
|
|
41 |
* Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-3.sme |
* Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-3.sme |
42 |
- Initial import to SME10 tree [SME: 11286] |
- Initial import to SME10 tree [SME: 11286] |
43 |
|
- Set-debugging-disabled |
44 |
|
|
45 |
* Tue Nov 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
* Tue Nov 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-2.sme |
46 |
- fix smeserver-git prevents httpd.conf template expansion [SME: 10464] |
- Add Update event to createlinks smeserver-git prevents httpd.conf template expansion [SME: 10464] |
47 |
- now if gitweb is enabled but smeserver-gitweb is not installed a warning is issued |
- now if gitweb is enabled but smeserver-gitweb is not installed a warning is issued |
48 |
instead of an error and template consider it disabled. Same thing if gitweb_theme is enabled |
instead of an error and template consider it disabled. Same thing if gitweb_theme is enabled |
49 |
but smeserver-gitweb-theme is missing. |
but smeserver-gitweb-theme is missing. |
61 |
- removing fragment migrate as it should not be used for that [SME: 9619] |
- removing fragment migrate as it should not be used for that [SME: 9619] |
62 |
|
|
63 |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
64 |
- fix missing ; in migrate fragment 80git to revert db permissions [SME: 9619] |
- Add Update event to createlinks missing ; in migrate fragment 80git to revert db permissions [SME: 9619] |
65 |
|
|
66 |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
67 |
- fix too permissive permissions on db accounts networks and git [SME: 9615] [SME: 9616] |
- Add Update event to createlinks too permissive permissions on db accounts networks and git [SME: 9615] [SME: 9616] |
68 |
|
|
69 |
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
70 |
- commented out back the rewrite rule on HEAD etc to allow CLI git |
- commented out back the rewrite rule on HEAD etc to allow CLI git |
71 |
- fix auth not asked with Location after RewriteRule [SME: 9202] |
- Add Update event to createlinks auth not asked with Location after RewriteRule [SME: 9202] |
72 |
- add trailing slash to root git url if omited |
- add trailing slash to root git url if omited |
73 |
- only using git/repo.git or git/gitweb.cgi/repo.git will ask for auth |
- only using git/repo.git or git/gitweb.cgi/repo.git will ask for auth |
74 |
|
|
75 |
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
76 |
- fix allow to see .git short url with gitweb [SME: 9202] |
- Add Update event to createlinks allow to see .git short url with gitweb [SME: 9202] |
77 |
|
|
78 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.1.0-2.sme |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.1.0-2.sme |
79 |
- apply locale 2016-03-09 patch |
- apply locale 2016-03-09 patch |
140 |
%prep |
%prep |
141 |
%setup |
%setup |
142 |
%patch1 -p1 |
%patch1 -p1 |
143 |
|
%patch2 -p1 |
144 |
|
%patch3 -p1 |
145 |
|
|
146 |
|
|
147 |
mkdir -p root/home/e-smith/files/git/ |
mkdir -p root/home/e-smith/files/git/ |
172 |
/etc/e-smith/events/actions/navigation-conf |
/etc/e-smith/events/actions/navigation-conf |
173 |
fi |
fi |
174 |
chown admin:www /home/e-smith/files/git |
chown admin:www /home/e-smith/files/git |
175 |
/etc/rc7.d/S86httpd-e-smith sighup |
#/etc/rc7.d/S86httpd-e-smith sighup |
176 |
|
|
177 |
# fixing needed permissions |
# fixing needed permissions |
178 |
# fixing previous mess |
# fixing previous mess |