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

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

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

Revision 1.6 by unnilennium, Sat Jun 11 15:26:57 2016 UTC Revision 1.7 by unnilennium, Wed Jun 22 18:02:09 2016 UTC
# Line 1  Line 1 
1  %define name smeserver-gitweb  %define name smeserver-gitweb
2  %define version 1.0.0  %define version 1.0.0
3  %define release 19  %define release 20
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 15  Patch2: smeserver-gitweb-1.1.0-remove_ru Line 15  Patch2: smeserver-gitweb-1.1.0-remove_ru
15  Patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch  Patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch
16  Patch4: smeserver-gitweb-1.0.0-defineURI.patch  Patch4: smeserver-gitweb-1.0.0-defineURI.patch
17  Patch5: smeserver-gitweb-1.0.0-fix_remote_auth.patch  Patch5: smeserver-gitweb-1.0.0-fix_remote_auth.patch
18    Patch6: smeserver-gitweb-1.0.0-checktrusted_networks.patch
19    Patch7: smeserver-gitweb-1.0.0-fix_group_check.patch
20  Packager: Marco Hess <marco.hess@through-ip.com>  Packager: Marco Hess <marco.hess@through-ip.com>
21  BuildArchitectures: noarch  BuildArchitectures: noarch
22  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
# Line 29  AutoReqProv: no Line 31  AutoReqProv: no
31  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.
32    
33  %changelog  %changelog
34    * Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-20.sme
35    - port to SME8 SME9 fixes
36    - fix 500 error after auth on remote access  [SME: 9614]
37    - check all trusted networks [SME: 9578]
38    - fix git db readable by everybody [SME: 9615]
39    
40  * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme  * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme
41  - fix auth from remote IP [SME: 9202]  - fix auth from remote IP [SME: 9202]
42  - revert and improved URI patch for SME8 path  - revert and improved URI patch for SME8 path
# Line 80  HTTP access to https://git.host.com prov Line 88  HTTP access to https://git.host.com prov
88  %patch3 -p1  %patch3 -p1
89  %patch4 -p1  %patch4 -p1
90  %patch5 -p1  %patch5 -p1
91    %patch6 -p1
92    %patch7 -p1
93    
94  %build  %build
95    
# Line 93  rm -f %{name}-%{version}-filelist Line 103  rm -f %{name}-%{version}-filelist
103  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
104    
105  %post  %post
 echo "Ensuring git database is accessible to GitWeb ..."  
 touch /home/e-smith/db/git  
 chmod 644 /home/e-smith/db/git  
 #echo "Ensuring networks database is accessible to GitWeb ..."  
 #chmod 644 /home/e-smith/db/networks  
106  echo "Expanding gitweb.conf template ..."  echo "Expanding gitweb.conf template ..."
107  /sbin/e-smith/expand-template /etc/gitweb.conf  /sbin/e-smith/expand-template /etc/gitweb.conf
108  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