/[smecontribs]/rpms/smeserver-git/contribs10/smeserver-git.spec
ViewVC logotype

Diff of /rpms/smeserver-git/contribs10/smeserver-git.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by brianr, Sun Dec 20 15:41:33 2020 UTC Revision 1.8 by jpp, Mon Aug 1 02:40:00 2022 UTC
# Line 1  Line 1 
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 7
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}
# Line 14  Packager: Marco Hess <marco.hess@through Line 14  Packager: Marco Hess <marco.hess@through
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
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    
27  %description  %description
28  smeserver-git enables centralised git repositories on an SME server and enables  smeserver-git enables centralised git repositories on an SME server and enables
# Line 28  installs and enables the git server on t Line 33  installs and enables the git server on t
33  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.
34    
35  %changelog  %changelog
36    * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-7.sme
37    - update to httpd 2.4 syntax [SME: 12048]
38    
39    * Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.2.0-5.sme
40    - apply locale 2021-08-22.patch
41    
42    * Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.2.0-4.sme
43    - Add Update event to createlinks [SME: 11286 ]
44    
45    * Sun Dec 20 2020 BogusDateBot
46    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
47    -  by assuming the date is correct and changing the weekday.
48    -  Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or ....
49    
50    * Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-3.sme
51    - Initial import to SME10 tree [SME: 11286]
52    - Set-debugging-disabled
53    
54  * 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
55  - fix smeserver-git prevents httpd.conf template expansion  [SME: 10464]  - Add Update event to createlinks smeserver-git prevents httpd.conf template expansion  [SME: 10464]
56  - 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
57  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
58  but smeserver-gitweb-theme is missing.    but smeserver-gitweb-theme is missing.
59    
60  * 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
61  - new sources with unix formated line returns  - new sources with unix formated line returns
# Line 47  but smeserver-gitweb-theme is missing. Line 70  but smeserver-gitweb-theme is missing.
70  - 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]
71    
72  * 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
73  - 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]
74    
75  * 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
76  - 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]
77    
78  * 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
79  - 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
80  - fix auth not asked with Location after RewriteRule [SME: 9202]  - Add Update event to createlinks auth not asked with Location after RewriteRule [SME: 9202]
81  - add trailing slash to root git url if omited  - add trailing slash to root git url if omited
82  - 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
83    
84  * 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
85  - 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]
86    
87  * 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
88  - apply locale 2016-03-09 patch  - apply locale 2016-03-09 patch
# Line 91  but smeserver-gitweb-theme is missing. Line 114  but smeserver-gitweb-theme is missing.
114  - 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
115    to test on these locations so we generate the right paths.    to test on these locations so we generate the right paths.
116        
117  * 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
118      Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or ....
119  - 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.
120        
121  * 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
122      Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or ....
123  - 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
124    to reference rmtree.    to reference rmtree.
125  - 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
126    name can be created again.    name can be created again.
127    
128  * 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
129      Sun May 21 2013 --> Sun May 19 2013 or Tue May 21 2013 or Sun May 26 2013 or ....
130  - Changed the repository-delete script to ensure the SME Git database  - Changed the repository-delete script to ensure the SME Git database
131    permissions are Ok for use by GitWeb after a delete.    permissions are Ok for use by GitWeb after a delete.
132  - 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
# Line 123  but smeserver-gitweb-theme is missing. Line 149  but smeserver-gitweb-theme is missing.
149  %prep  %prep
150  %setup  %setup
151  %patch1 -p1  %patch1 -p1
152    %patch2 -p1
153    %patch3 -p1
154    %patch4 -p1
155    %patch5 -p1
156    
157  mkdir -p root/home/e-smith/files/git/  mkdir -p root/home/e-smith/files/git/
158  %build  %build
# Line 153  if [ $1 -eq 1 ] ; then Line 182  if [ $1 -eq 1 ] ; then
182    /etc/e-smith/events/actions/navigation-conf    /etc/e-smith/events/actions/navigation-conf
183  fi  fi
184  chown admin:www /home/e-smith/files/git  chown admin:www /home/e-smith/files/git
185  /etc/rc7.d/S86httpd-e-smith sighup  #/etc/rc7.d/S86httpd-e-smith sighup
186    
187  # fixing needed  permissions  # fixing needed  permissions
188  # fixing previous mess  # fixing previous mess


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed