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

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

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


Revision 1.7 - (hide annotations) (download)
Wed Jun 22 18:02:09 2016 UTC (8 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-gitweb-1_0_0-20_el5_sme
Changes since 1.6: +11 -6 lines
* Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-20.sme
- port to SME8 SME9 fixes
- fix 500 error after auth on remote access  [SME: 9614]
- check all trusted networks [SME: 9578]
- fix git db readable by everybody [SME: 9615]

1 vip-ire 1.1 %define name smeserver-gitweb
2     %define version 1.0.0
3 unnilennium 1.7 %define release 20
4 vip-ire 1.1 Summary: GitWeb is a web based Git repository viewer on SME Server
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     Distribution: SME Server
9     License: GNU GPL version 2
10     URL: http://www.through-ip.com
11     Group: SMEserver/addon
12     Source: smeserver-gitweb-%{version}.tar.gz
13 unnilennium 1.2 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
15 unnilennium 1.4 Patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch
16 unnilennium 1.6 Patch4: smeserver-gitweb-1.0.0-defineURI.patch
17     Patch5: smeserver-gitweb-1.0.0-fix_remote_auth.patch
18 unnilennium 1.7 Patch6: smeserver-gitweb-1.0.0-checktrusted_networks.patch
19     Patch7: smeserver-gitweb-1.0.0-fix_group_check.patch
20 vip-ire 1.1 Packager: Marco Hess <marco.hess@through-ip.com>
21     BuildArchitectures: noarch
22     BuildRoot: /var/tmp/%{name}-%{version}
23     BuildRequires: e-smith-devtools
24     Requires: e-smith-release >= 8.0
25     Requires: smeserver-git
26     Requires: gitweb
27     Requires: highlight
28     AutoReqProv: no
29    
30     %description
31     HTTP access to https://git.host.com provides a gitweb view of the repositories.
32    
33     %changelog
34 unnilennium 1.7 * 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 unnilennium 1.6 * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-19.sme
41     - fix auth from remote IP [SME: 9202]
42     - revert and improved URI patch for SME8 path
43    
44 unnilennium 1.5 * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-18.sme
45     - revert unecessary previous patch
46    
47 unnilennium 1.4 * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-17.sme
48 unnilennium 1.3 - fix short url to repo not working [SME: 9202]
49    
50 unnilennium 1.4 * Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.0.0-16
51 unnilennium 1.2 - backport SME9 changes [SME: 9217]
52     - Removed chmod 644 /home/e-smith/db/networks from spec file as
53     it is no longer required for gitweb.conf
54     - Changed the trypass function in 60ExportAuthHook to dynamically
55     check for the location of pwauth so this becomes universal for
56     SME8 and SME9.
57     - Remove runtime access to NetworkDB [SME: 9217]
58     - Some trailing whitespace cleanup
59    
60 vip-ire 1.1 * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-15
61     - pwauth is in /usr/lib/httpd/modules/pwauth for this SME.
62    
63     * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-14
64     - Fixed test in user authorisation check for perl 5.8.
65    
66     * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-13
67     - Backport changes from 1.1.
68     - Fixed user authorisation for repositories viewable from internet
69    
70     * Fri Jan 24 2014 Marco Hess <marco.hess@through-ip.com> 1.0.0-12
71     - Added support for displaying a clone URL.
72    
73     * Mon Jul 23 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-3
74     - Setup default config parameters for gitweb as a service
75     - Removed HTTP template as this is shared with smeserver-git
76     - Added require on gitweb rpm
77    
78     * Sun Jun 17 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-2
79     - Remove all smeserver-git related files in order to split the packages
80    
81     * Sun Apr 29 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-1
82     - initial release
83    
84     %prep
85     %setup
86 unnilennium 1.3 %patch1 -p1
87     %patch2 -p1
88     %patch3 -p1
89 unnilennium 1.6 %patch4 -p1
90     %patch5 -p1
91 unnilennium 1.7 %patch6 -p1
92     %patch7 -p1
93 unnilennium 1.3
94 vip-ire 1.1 %build
95    
96     %install
97     rm -rf $RPM_BUILD_ROOT
98     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
99     rm -f %{name}-%{version}-filelist
100     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
101    
102     %clean
103     rm -rf $RPM_BUILD_ROOT
104    
105     %post
106     echo "Expanding gitweb.conf template ..."
107     /sbin/e-smith/expand-template /etc/gitweb.conf
108     echo "Expanding GitWeb home page text template ..."
109     /sbin/e-smith/expand-template /etc/e-smith/web/common/gitweb/home_text.html
110     echo "Expanding web server template ..."
111     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
112     /etc/rc7.d/S86httpd-e-smith sighup
113    
114     %files -f %{name}-%{version}-filelist
115     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed