/[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.2 by unnilennium, Fri Jun 10 07:19:52 2016 UTC Revision 1.8 by unnilennium, Fri Jun 24 11:49:15 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 15  %define release 21
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 12  Group: SMEserver/addon Line 12  Group: SMEserver/addon
12  Source: smeserver-gitweb-%{version}.tar.gz  Source: smeserver-gitweb-%{version}.tar.gz
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  * Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4  * Fri Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-21.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
48    - revert unecessary previous  patch
49    
50    * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-17.sme
51    -  fix short url to repo not working  [SME: 9202]
52    
53    * Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.0.0-16
54  - backport SME9 changes [SME: 9217]  - backport SME9 changes [SME: 9217]
55  - Removed chmod 644 /home/e-smith/db/networks from spec file as  - Removed chmod 644 /home/e-smith/db/networks from spec file as
56    it is no longer required for gitweb.conf    it is no longer required for gitweb.conf
# Line 63  HTTP access to https://git.host.com prov Line 86  HTTP access to https://git.host.com prov
86    
87  %prep  %prep
88  %setup  %setup
89    %patch1 -p1
90    %patch2 -p1
91    %patch3 -p1
92    %patch4 -p1
93    %patch5 -p1
94    %patch6 -p1
95    %patch7 -p1
96    
97  %build  %build
98    
99  %install  %install
# Line 75  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