/[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.5 by unnilennium, Fri Jun 10 17:13:19 2016 UTC Revision 1.9 by unnilennium, Fri Jun 24 12:15:34 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 18  %define release 22
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 13  Source: smeserver-gitweb-%{version}.tar. Line 13  Source: smeserver-gitweb-%{version}.tar.
13  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
14  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
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
17    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 27  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    * Fri Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-22.sme
35    - fix one more linefeed [SME: 9217]
36    
37    * Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-20.sme
38    - port to SME8 SME9 fixes
39    - fix 500 error after auth on remote access  [SME: 9614]
40    - check all trusted networks [SME: 9578]
41    - fix git db readable by everybody [SME: 9615]
42    
43    * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme
44    - fix auth from remote IP [SME: 9202]
45    - revert and improved URI patch for SME8 path
46    
47  * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-18.sme  * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-18.sme
48  - revert unecessary previous  patch  - revert unecessary previous  patch
49    
# Line 72  HTTP access to https://git.host.com prov Line 89  HTTP access to https://git.host.com prov
89  %patch1 -p1  %patch1 -p1
90  %patch2 -p1  %patch2 -p1
91  %patch3 -p1  %patch3 -p1
92    %patch4 -p1
93    %patch5 -p1
94    %patch6 -p1
95    %patch7 -p1
96    
97  %build  %build
98    
# Line 85  rm -f %{name}-%{version}-filelist Line 106  rm -f %{name}-%{version}-filelist
106  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
107    
108  %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  
109  echo "Expanding gitweb.conf template ..."  echo "Expanding gitweb.conf template ..."
110  /sbin/e-smith/expand-template /etc/gitweb.conf  /sbin/e-smith/expand-template /etc/gitweb.conf
111  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