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

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

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


Revision 1.3 - (show annotations) (download)
Fri Mar 26 17:59:01 2021 UTC (3 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-gitweb-1_1_0-14_el7_sme, HEAD
Changes since 1.2: +17 -7 lines
* Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.1.0-14.sme
- Add Update event to createlinks [SME: 11286]

1 %define name smeserver-gitweb
2 %define version 1.1.0
3 %define release 14
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 Packager: Marco Hess <marco.hess@through-ip.com>
14 BuildArchitectures: noarch
15 BuildRoot: /var/tmp/%{name}-%{version}
16 BuildRequires: e-smith-devtools
17 Requires: e-smith-release >= 9.0
18 Requires: smeserver-git
19 Requires: gitweb
20 Requires: highlight
21 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 Patch4: smeserver-gitweb-1.1.0-defineURI.patch
26 Patch5: smeserver-gitweb-1.1.0-fix_remote_auth.patch
27 Patch6: smeserver-gitweb-1.1.0-fix_group_check.patch
28 Patch7: smeserver-gitweb-1.1.0-checktrusted_networks.patch
29 Patch8: smeserver-gitweb-1.1.0-Add-Update-event-to-createlinks.patch
30
31 %description
32 HTTP access to https://git.host.com provides a gitweb view of the repositories.
33
34 %changelog
35 * Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.1.0-14.sme
36 - Add Update event to createlinks [SME: 11286]
37
38 * Fri Mar 26 2021 BogusDateBot
39 - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
40 by assuming the date is correct and changing the weekday.
41
42 * Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.1.0-13.sme
43 - Initial import to SME10 tree [SME: 11286]
44
45 * Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-12.sme
46 - revert local patch wrongly applied [SME: 10077]
47
48 * Fri Jun 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-11.sme
49 - removed one missed linefeed
50
51 * Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-8.sme
52 - smeserver-git-1.1.0-locale-2016-06-22.patch
53
54 * Wed Jun 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme
55 - Add Update event to createlinks 500 error after auth on remote access [SME: 9614]
56 - check all trusted networks [SME: 9578]
57 - Add Update event to createlinks git db readable by everybody [SME: 9615]
58
59 * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme
60 - Add Update event to createlinks auth from remote IP [SME: 9202]
61
62 * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme
63 - Add Update event to createlinks short url to repo not working [SME: 9202]
64
65 * Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4
66 - Removed chmod 644 /home/e-smith/db/networks from spec file as
67 it is no longer required for gitweb.conf
68
69 * Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-3
70 - Changed the trypass function in 60ExportAuthHook to dynamically
71 check for the location of pwauth so this becomes universal for
72 SME8 and SME9.
73
74 * Wed Feb 17 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-2
75 - Remove runtime access to NetworkDB [SME: 9217]
76 - Some trailing whitespace cleanup
77
78 * Thu Feb 11 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-1
79 - Remove unused line feeds from auth_error messages [SME: 9217]
80
81 * Fri Jan 30 2015 Marco Hess <marco.hess@through-ip.com> 1.1.0-0
82 - Split spec package to version 1.1 for SME9
83 - Fixed user authorisation for repositories viewable from internet
84
85 * Fri Jan 24 2014 Marco Hess <marco.hess@through-ip.com> 1.0.0-12
86 - Added support for displaying a clone URL.
87
88 * Mon Jul 23 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-3
89 - Setup default config parameters for gitweb as a service
90 - Removed HTTP template as this is shared with smeserver-git
91 - Added require on gitweb rpm
92
93 * Sun Jun 17 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-2
94 - Remove all smeserver-git related files in order to split the packages
95
96 * Sun Apr 29 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-1
97 - initial release
98
99 %prep
100 %setup
101 %patch1 -p1
102 %patch2 -p1
103 %patch3 -p1
104 %patch4 -p1
105 %patch5 -p1
106 %patch6 -p1
107 %patch7 -p1
108 %patch8 -p1
109
110
111 %build
112 perl createlinks
113
114 %install
115 rm -rf $RPM_BUILD_ROOT
116 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
117 rm -f %{name}-%{version}-filelist
118 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
119
120 %clean
121 rm -rf $RPM_BUILD_ROOT
122
123 %post
124 echo "Ensuring git database is accessible to GitWeb ..."
125 touch /home/e-smith/db/git
126 chmod 644 /home/e-smith/db/git
127 echo "Expanding gitweb.conf template ..."
128 /sbin/e-smith/expand-template /etc/gitweb.conf
129 echo "Expanding GitWeb home page text template ..."
130 /sbin/e-smith/expand-template /etc/e-smith/web/common/gitweb/home_text.html
131 echo "Expanding web server template ..."
132 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
133 #/etc/rc7.d/S86httpd-e-smith sighup
134
135 %files -f %{name}-%{version}-filelist
136 %defattr(-,root,root)

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