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

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

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


Revision 1.9 - (show annotations) (download)
Fri Jun 24 12:15:34 2016 UTC (7 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-gitweb-1_0_0-22_el5_sme, HEAD
Changes since 1.8: +2 -2 lines
* Fri Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-22.sme
- fix one more linefeed [SME: 9217]

1 %define name smeserver-gitweb
2 %define version 1.0.0
3 %define release 22
4 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 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 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>
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 * 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
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]
55 - Removed chmod 644 /home/e-smith/db/networks from spec file as
56 it is no longer required for gitweb.conf
57 - Changed the trypass function in 60ExportAuthHook to dynamically
58 check for the location of pwauth so this becomes universal for
59 SME8 and SME9.
60 - Remove runtime access to NetworkDB [SME: 9217]
61 - Some trailing whitespace cleanup
62
63 * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-15
64 - pwauth is in /usr/lib/httpd/modules/pwauth for this SME.
65
66 * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-14
67 - Fixed test in user authorisation check for perl 5.8.
68
69 * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-13
70 - Backport changes from 1.1.
71 - Fixed user authorisation for repositories viewable from internet
72
73 * Fri Jan 24 2014 Marco Hess <marco.hess@through-ip.com> 1.0.0-12
74 - Added support for displaying a clone URL.
75
76 * Mon Jul 23 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-3
77 - Setup default config parameters for gitweb as a service
78 - Removed HTTP template as this is shared with smeserver-git
79 - Added require on gitweb rpm
80
81 * Sun Jun 17 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-2
82 - Remove all smeserver-git related files in order to split the packages
83
84 * Sun Apr 29 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-1
85 - initial release
86
87 %prep
88 %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
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
102 rm -f %{name}-%{version}-filelist
103 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %post
109 echo "Expanding gitweb.conf template ..."
110 /sbin/e-smith/expand-template /etc/gitweb.conf
111 echo "Expanding GitWeb home page text template ..."
112 /sbin/e-smith/expand-template /etc/e-smith/web/common/gitweb/home_text.html
113 echo "Expanding web server template ..."
114 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
115 /etc/rc7.d/S86httpd-e-smith sighup
116
117 %files -f %{name}-%{version}-filelist
118 %defattr(-,root,root)

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