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 12 |
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} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
Distribution: SME Server |
9 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
10 |
URL: http://www.through-ip.com |
URL: https://wiki.koozali.org/Git |
11 |
Group: SMEserver/addon |
Group: SMEserver/addon |
12 |
Source: smeserver-git-%{version}.tar.gz |
Source: smeserver-git-%{version}.tar.gz |
13 |
Packager: Marco Hess <marco.hess@through-ip.com> |
Packager: Marco Hess <marco.hess@through-ip.com> |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
18 |
|
Requires: e-smith-apache >= 2.6.0-19 |
19 |
Requires: git |
Requires: git |
20 |
AutoReqProv: no |
AutoReqProv: no |
21 |
Patch1: smeserver-git-1.2.0.bz10464-warn-on-missing-files.patch |
Patch1: smeserver-git-1.2.0.bz10464-warn-on-missing-files.patch |
22 |
Patch2: smeserver-git-1.2.0-Set-debugging-disabled.patch |
Patch2: smeserver-git-1.2.0-Set-debugging-disabled.patch |
23 |
|
Patch3: smeserver-git-1.2.0-Add-Update-event-to-createlinks.patch |
24 |
|
Patch4: smeserver-git-1.2.0-locale-2021-08-22.patch |
25 |
|
Patch5: smeserver-git-1.2.0-bz12048-httpd24.patch |
26 |
|
Patch6: smeserver-git-1.2.0-bz11665-debug.patch |
27 |
|
Patch7: smeserver-git-1.2.0-bz12163.patch |
28 |
|
Patch8: smeserver-git-1.2.0-bz9629.patch |
29 |
|
Patch9: smeserver-git-1.2.0-locale-2024-09-05.patch |
30 |
|
|
31 |
%description |
%description |
32 |
smeserver-git enables centralised git repositories on an SME server and enables |
smeserver-git enables centralised git repositories on an SME server and enables |
35 |
to the repositories based on the existing SME users and groups. The package |
to the repositories based on the existing SME users and groups. The package |
36 |
installs and enables the git server on the current host like in |
installs and enables the git server on the current host like in |
37 |
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. |
38 |
|
Originally brought by Marco Hess http://www.through-ip.com |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 1.2.0-12.sme |
42 |
|
- apply locale 2024-09-05.patch |
43 |
|
|
44 |
|
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-11.sme |
45 |
|
- fix system and domaine name not taken into account in manager [SME: 9629] |
46 |
|
|
47 |
|
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-10.sme |
48 |
|
- fix not allowing dot in repo name [SME: 12163] |
49 |
|
|
50 |
|
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme |
51 |
|
- fix debug loglevel [SME: 11665] |
52 |
|
|
53 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme |
54 |
|
- update to httpd 2.4 syntax [SME: 12048] |
55 |
|
fix Argument for 'Require all' must be 'granted' or 'denied' |
56 |
|
|
57 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.2.0-5.sme |
58 |
|
- apply locale 2021-08-22.patch |
59 |
|
|
60 |
|
* Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.2.0-4.sme |
61 |
|
- Add Update event to createlinks [SME: 11286 ] |
62 |
|
|
63 |
* Sun Dec 20 2020 BogusDateBot |
* Sun Dec 20 2020 BogusDateBot |
64 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
65 |
- by assuming the date is correct and changing the weekday. |
- by assuming the date is correct and changing the weekday. |
70 |
- Set-debugging-disabled |
- Set-debugging-disabled |
71 |
|
|
72 |
* 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 |
73 |
- fix smeserver-git prevents httpd.conf template expansion [SME: 10464] |
- Add Update event to createlinks smeserver-git prevents httpd.conf template expansion [SME: 10464] |
74 |
- 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 |
75 |
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 |
76 |
but smeserver-gitweb-theme is missing. |
but smeserver-gitweb-theme is missing. |
77 |
|
|
78 |
* Tue Nov 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-0.sme |
* Tue Nov 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-0.sme |
79 |
- new sources with unix formated line returns |
- new sources with unix formated line returns |
88 |
- 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] |
89 |
|
|
90 |
* 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 |
91 |
- 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] |
92 |
|
|
93 |
* 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 |
94 |
- 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] |
95 |
|
|
96 |
* 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 |
97 |
- 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 |
98 |
- fix auth not asked with Location after RewriteRule [SME: 9202] |
- Add Update event to createlinks auth not asked with Location after RewriteRule [SME: 9202] |
99 |
- add trailing slash to root git url if omited |
- add trailing slash to root git url if omited |
100 |
- 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 |
101 |
|
|
102 |
* 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 |
103 |
- 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] |
104 |
|
|
105 |
* 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 |
106 |
- apply locale 2016-03-09 patch |
- apply locale 2016-03-09 patch |
168 |
%setup |
%setup |
169 |
%patch1 -p1 |
%patch1 -p1 |
170 |
%patch2 -p1 |
%patch2 -p1 |
171 |
|
%patch3 -p1 |
172 |
|
%patch4 -p1 |
173 |
|
%patch5 -p1 |
174 |
|
%patch6 -p1 |
175 |
|
%patch7 -p1 |
176 |
|
%patch8 -p1 |
177 |
|
%patch9 -p1 |
178 |
|
|
179 |
mkdir -p root/home/e-smith/files/git/ |
mkdir -p root/home/e-smith/files/git/ |
180 |
%build |
%build |
204 |
/etc/e-smith/events/actions/navigation-conf |
/etc/e-smith/events/actions/navigation-conf |
205 |
fi |
fi |
206 |
chown admin:www /home/e-smith/files/git |
chown admin:www /home/e-smith/files/git |
207 |
/etc/rc7.d/S86httpd-e-smith sighup |
#/etc/rc7.d/S86httpd-e-smith sighup |
208 |
|
|
209 |
# fixing needed permissions |
# fixing needed permissions |
210 |
# fixing previous mess |
# fixing previous mess |