/[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.1 by vip-ire, Thu Feb 5 13:28:43 2015 UTC Revision 1.6 by marcohess, Wed Feb 17 23:35:06 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 0  %define release 4
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 19  Requires: smeserver-git Line 19  Requires: smeserver-git
19  Requires: gitweb  Requires: gitweb
20  Requires: highlight  Requires: highlight
21  AutoReqProv: no  AutoReqProv: no
22    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
24    patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch
25    
26  %description  %description
27  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.
28    
29  %changelog  %changelog
30    * Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4
31    - Removed chmod 644 /home/e-smith/db/networks from spec file as
32      it is no longer required for gitweb.conf
33    
34    * Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-3
35    - Changed the trypass function in 60ExportAuthHook to dynamically
36      check for the location of pwauth so this becomes universal for
37      SME8 and SME9.
38    
39    * Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-2
40    - Remove runtime access to NetworkDB [SME: 9217]
41    - Some trailing whitespace cleanup
42    
43    * Thu Feb 11 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-1
44    - Remove unused line feeds from auth_error messages [SME: 9217]
45    
46  * Fri Jan 30 2015 Marco Hess <marco.hess@through-ip.com> 1.1.0-0  * Fri Jan 30 2015 Marco Hess <marco.hess@through-ip.com> 1.1.0-0
47  - Split spec package to version 1.1 for SME9  - Split spec package to version 1.1 for SME9
48  - Fixed user authorisation for repositories viewable from internet  - Fixed user authorisation for repositories viewable from internet
# Line 44  HTTP access to https://git.host.com prov Line 63  HTTP access to https://git.host.com prov
63    
64  %prep  %prep
65  %setup  %setup
66    %patch1 -p1
67    %patch2 -p1
68    %patch3 -p1
69  %build  %build
70    
71  %install  %install
# Line 59  rm -rf $RPM_BUILD_ROOT Line 81  rm -rf $RPM_BUILD_ROOT
81  echo "Ensuring git database is accessible to GitWeb ..."  echo "Ensuring git database is accessible to GitWeb ..."
82  touch /home/e-smith/db/git  touch /home/e-smith/db/git
83  chmod 644 /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  
84  echo "Expanding gitweb.conf template ..."  echo "Expanding gitweb.conf template ..."
85  /sbin/e-smith/expand-template /etc/gitweb.conf  /sbin/e-smith/expand-template /etc/gitweb.conf
86  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