/[smecontribs]/rpms/smeserver-gitweb/contribs9/smeserver-gitweb.spec
ViewVC logotype

Diff of /rpms/smeserver-gitweb/contribs9/smeserver-gitweb.spec

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

Revision 1.4 by marcohess, Wed Feb 17 01:10:50 2016 UTC Revision 1.13 by unnilennium, Fri Jun 24 12:08:19 2016 UTC
# Line 1  Line 1 
1  %define name smeserver-gitweb  %define name smeserver-gitweb
2  %define version 1.1.0  %define version 1.1.0
3  %define release 3  %define release 9
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}
# Line 21  Requires: highlight Line 21  Requires: highlight
21  AutoReqProv: no  AutoReqProv: no
22  Patch1: smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch  Patch1: smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch
23  Patch2: smeserver-gitweb-1.1.0-remove_runtime_access_to_networks_db.patch  Patch2: smeserver-gitweb-1.1.0-remove_runtime_access_to_networks_db.patch
24  patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch  Patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch
25    Patch4: smeserver-gitweb-1.1.0-defineURI.patch
26    Patch5: smeserver-gitweb-1.1.0-fix_remote_auth.patch
27    Patch6: smeserver-gitweb-1.1.0-fix_group_check.patch
28    Patch7: smeserver-gitweb-1.1.0-checktrusted_networks.patch
29    Patch8: smeserver-git-1.1.0-locale-2016-06-22.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 Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-9.sme
36    - removed  one missed linefeed
37    
38    * Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme
39    - smeserver-git-1.1.0-locale-2016-06-22.patch
40    
41    * Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme
42    - fix 500 error after auth on remote access  [SME: 9614]
43    - check all trusted networks [SME: 9578]
44    - fix git db readable by everybody [SME: 9615]
45    
46    * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme
47    - fix auth from remote IP [SME: 9202]
48    
49    * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme
50    - fix short url to repo not working  [SME: 9202]
51    
52    * Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4
53    - Removed chmod 644 /home/e-smith/db/networks from spec file as
54      it is no longer required for gitweb.conf
55    
56  * Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-3  * Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-3
57  - Changed the trypass function in 60ExportAuthHook to dynamically  - Changed the trypass function in 60ExportAuthHook to dynamically
58    check for the location of pwauth so this becomes universal for    check for the location of pwauth so this becomes universal for
# Line 62  HTTP access to https://git.host.com prov Line 88  HTTP access to https://git.host.com prov
88  %patch1 -p1  %patch1 -p1
89  %patch2 -p1  %patch2 -p1
90  %patch3 -p1  %patch3 -p1
91    %patch4 -p1
92    %patch5 -p1
93    %patch6 -p1
94    %patch7 -p1
95    %patch8 -p1
96    
97    
98  %build  %build
99    
100  %install  %install
# Line 76  rm -rf $RPM_BUILD_ROOT Line 109  rm -rf $RPM_BUILD_ROOT
109  %post  %post
110  echo "Ensuring git database is accessible to GitWeb ..."  echo "Ensuring git database is accessible to GitWeb ..."
111  touch /home/e-smith/db/git  touch /home/e-smith/db/git
112  chmod 644 /home/e-smith/db/git  chmod 640 /home/e-smith/db/git
113  echo "Ensuring networks database is accessible to GitWeb ..."  chown root:www /home/e-smith/db/git
 chmod 644 /home/e-smith/db/networks  
114  echo "Expanding gitweb.conf template ..."  echo "Expanding gitweb.conf template ..."
115  /sbin/e-smith/expand-template /etc/gitweb.conf  /sbin/e-smith/expand-template /etc/gitweb.conf
116  echo "Expanding GitWeb home page text template ..."  echo "Expanding GitWeb home page text template ..."


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