1 |
%define name smeserver-git |
%define name smeserver-git |
2 |
%define version 1.2.0 |
%define version 1.2.0 |
3 |
%define release 2 |
%define release 3 |
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 |
|
|
23 |
%description |
%description |
24 |
smeserver-git enables centralised git repositories on an SME server and enables |
smeserver-git enables centralised git repositories on an SME server and enables |
29 |
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. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Sun Dec 20 2020 BogusDateBot |
33 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
34 |
|
- by assuming the date is correct and changing the weekday. |
35 |
|
- Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or .... |
36 |
|
|
37 |
|
* Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-3.sme |
38 |
|
- Initial import to SME10 tree [SME: 11286] |
39 |
|
- Set-debugging-disabled |
40 |
|
|
41 |
* 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 |
42 |
- fix smeserver-git prevents httpd.conf template expansion [SME: 10464] |
- fix smeserver-git prevents httpd.conf template expansion [SME: 10464] |
43 |
- 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 |
101 |
- git version 1.8 has shifted the location of some executables. Modified the scripts |
- git version 1.8 has shifted the location of some executables. Modified the scripts |
102 |
to test on these locations so we generate the right paths. |
to test on these locations so we generate the right paths. |
103 |
|
|
104 |
* Sun May 21 2013 Marco Hess <marco.hess@through-ip.com> 1.0.0-33 |
* Tue May 21 2013 Marco Hess <marco.hess@through-ip.com> 1.0.0-33 |
105 |
|
Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or .... |
106 |
- Set permissions on git repository databaase for GitWeb access also on upgrade install. |
- Set permissions on git repository databaase for GitWeb access also on upgrade install. |
107 |
|
|
108 |
* Sun May 21 2013 Marco Hess <marco.hess@through-ip.com> 1.0.0-32 |
* Tue May 21 2013 Marco Hess <marco.hess@through-ip.com> 1.0.0-32 |
109 |
|
Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or .... |
110 |
- Fixed a problem in the repository delete script where File::Path is needed |
- Fixed a problem in the repository delete script where File::Path is needed |
111 |
to reference rmtree. |
to reference rmtree. |
112 |
- Also cleanup the entry from the database so that repositories of the same |
- Also cleanup the entry from the database so that repositories of the same |
113 |
name can be created again. |
name can be created again. |
114 |
|
|
115 |
* Sun May 21 2013 Marco Hess <marco.hess@through-ip.com> 1.0.0-31 |
* Tue May 21 2013 Marco Hess <marco.hess@through-ip.com> 1.0.0-31 |
116 |
|
Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or .... |
117 |
- Changed the repository-delete script to ensure the SME Git database |
- Changed the repository-delete script to ensure the SME Git database |
118 |
permissions are Ok for use by GitWeb after a delete. |
permissions are Ok for use by GitWeb after a delete. |
119 |
- Ensure that on 64-bit systems we use /usr/lib64/httpd/modules/pwauth |
- Ensure that on 64-bit systems we use /usr/lib64/httpd/modules/pwauth |
136 |
%prep |
%prep |
137 |
%setup |
%setup |
138 |
%patch1 -p1 |
%patch1 -p1 |
139 |
|
%patch2 -p1 |
140 |
|
|
141 |
|
|
142 |
mkdir -p root/home/e-smith/files/git/ |
mkdir -p root/home/e-smith/files/git/ |
167 |
/etc/e-smith/events/actions/navigation-conf |
/etc/e-smith/events/actions/navigation-conf |
168 |
fi |
fi |
169 |
chown admin:www /home/e-smith/files/git |
chown admin:www /home/e-smith/files/git |
170 |
/etc/rc7.d/S86httpd-e-smith sighup |
#/etc/rc7.d/S86httpd-e-smith sighup |
171 |
|
|
172 |
# fixing needed permissions |
# fixing needed permissions |
173 |
# fixing previous mess |
# fixing previous mess |