Browse code

httpd-itk spec; version 2.4.7.04-13

= authored on 01/10/2023 13:28:50
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,193 @@
1
+# RPM package does not allow '-' in version, but mpm-itk project is
2
+# using '-' in their versioning scheme.
3
+%global ver 2.4.7-04
4
+
5
+Summary: MPM Itk for Apache HTTP Server
6
+Name:    httpd-itk
7
+Version: %( echo %ver | tr '-' '.' )
8
+Release: 13%{?dist}
9
+URL:     http://mpm-itk.sesse.net/
10
+License: ASL 2.0
11
+
12
+Source0: http://mpm-itk.sesse.net/mpm-itk-%{ver}.tar.gz
13
+Source1: README.Fedora
14
+
15
+%if 0%{?el7}
16
+BuildRequires: httpd-devel >= 2.4.6-21.el7
17
+Requires:      httpd >= 2.4.6-21.el7
18
+%else
19
+BuildRequires: httpd-devel >= 2.4.7
20
+Requires:      httpd >= 2.4.7
21
+%endif
22
+BuildRequires: gcc
23
+BuildRequires: libcap-devel
24
+BuildRequires: make
25
+
26
+%description
27
+The Apache HTTP Server is a powerful, efficient, and extensible web server.
28
+
29
+This package contain mpm-itk which is an MPM (Multi-Processing Module) for the
30
+Apache web server. Mpm-itk allows you to run each of your vhost under a separate
31
+uid and gid — in short, the scripts and configuration files for one vhost no
32
+longer have to be readable for all the other vhosts.
33
+
34
+In summary it is Apache module (opposite CGI solutions like suexec), fast and
35
+allow safely use non-thread-aware code software (like many PHP extensions f.e.)
36
+
37
+%prep
38
+%setup -q -n mpm-itk-%{ver}
39
+
40
+%build
41
+%configure
42
+make %{?_smp_mflags}
43
+
44
+%install
45
+rm -rf %{buildroot}
46
+
47
+install -m 644 %{SOURCE1} .
48
+install -D .libs/mpm_itk.so %{buildroot}/%{_httpd_moddir}/mod_mpm_itk.so
49
+install -d %{buildroot}/%{_httpd_modconfdir}/
50
+
51
+cat > %{buildroot}/%{_httpd_modconfdir}/00-mpm-itk.conf << EOF
52
+# ITK MPM (Multi-Processing Module). Mpm-itk allows you to run each of your
53
+# vhost under a separate uid and gid - in short, the scripts and configuration
54
+# files for one vhost no longer have to be readable for all the other vhosts.
55
+#LoadModule mpm_itk_module modules/mod_mpm_itk.so
56
+EOF
57
+
58
+%files
59
+%doc README CHANGES README.Fedora
60
+%{_httpd_moddir}/mod_mpm_itk.so
61
+%config(noreplace) %{_httpd_modconfdir}/00-mpm-itk.conf
62
+
63
+%changelog
64
+* Sat Sep 9 2023 Lukasz Posadowski <mail [at] lukaszposadowski.pl> - 2.4.7.04-13
65
+- Rebuilt for Fedora 38, CentOS 9 Stream, RHEL7, RHEL8 and RHEL9
66
+- Cleaning up SPEC file
67
+
68
+* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-12
69
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
70
+
71
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-11
72
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
73
+
74
+* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-10
75
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
76
+
77
+* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-9
78
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
79
+
80
+* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-8
81
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
82
+
83
+* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-7
84
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
85
+
86
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-6
87
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
88
+
89
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-5
90
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
91
+
92
+* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-4
93
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
94
+
95
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.04-3
96
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
97
+
98
+* Thu Apr 13 2017 Pavel Alexeev <Pahan@Hubbitus.info> - 2.4.7.04-2
99
+- Add BR libcap-devel to compile with Linux capabilities support (fix bz#1432881).
100
+
101
+* Sun Mar 05 2017 Pavel Alexeev <Pahan@Hubbitus.info> - 2.4.7.04-1
102
+- Update to version 2.4.7-04 to solve problem https://lists.err.no/pipermail/mpm-itk/2015-September/000925.html. By mail request of Marco Matarazzo.
103
+
104
+* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.01-8
105
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
106
+
107
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7.01-7
108
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
109
+
110
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7.01-6
111
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
112
+
113
+* Fri Mar 06 2015 Pavel Alexeev <Pahan@Hubbitus.info> - 2.4.7.01-5
114
+- Fix build issue on EL7 (rhbz# 1188159). Big thanks to Athmane Madjoudj <athmane@fedoraproject.org> for the work.
115
+
116
+* Mon Sep 8 2014 Pavel Alexeev <Pahan@Hubbitus.info> - 2.4.7.01-4
117
+- Fix service name in README.Fedora - bz#1133247.
118
+
119
+* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7.01-3
120
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
121
+
122
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7.01-2
123
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
124
+
125
+* Sat Nov 30 2013 Pavel Alexeev <Pahan@Hubbitus.info> - 2.4.7.01.1
126
+- Owesome! Httpd 2.4.7 pushed. It shoud not require any hack anymore.
127
+- Major update to 2.4.7-01.
128
+- Apache from 2.4 version have modularity structure, so many changes:
129
+	- Mpm may be build without apache source tree!
130
+	- Exclude apache sources, turn mpm-itk tarball into regular source0.
131
+	- So drop all black magic!
132
+	- Instal it as module, retire separate systemd service files and related stuff.
133
+	- Rewrite README.Fedora.
134
+
135
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.22-10
136
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
137
+
138
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.22-9
139
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
140
+
141
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.22-8
142
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
143
+
144
+* Sun Mar 18 2012 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.22-7
145
+- Add separate self own systemd service file and update instruction how to use it (bz#804349).
146
+
147
+* Thu Mar 8 2012 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.22-5
148
+- Up apr and upr-utils required BR to 1.3 (http://centos.org/modules/newbb/print.php?form=1&topic_id=35915&forum=37&order=ASC&start=0).
149
+	Do not build for El5 untill this requirement will be met.
150
+
151
+* Wed Mar 7 2012 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.22-4
152
+- Port pcre patch from httpd.
153
+
154
+* Thu Mar 1 2012 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.22-3
155
+- Add source1 - README.Fedora.
156
+
157
+* Thu Feb 23 2012 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.22-2
158
+- Some minor fixes due to Fedora Review. Thanks to Nikos Roussos.
159
+
160
+* Sat Feb 18 2012 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.22-1
161
+- Version 2.2.22
162
+- Move content fo README.Fedora in separate file instead of store in SPEC.
163
+
164
+* Tue Sep 13 2011 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.21-1
165
+- New version
166
+
167
+* Sat Sep 10 2011 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.20-1
168
+- Security upstream update
169
+
170
+* Wed Jul 6 2011 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.19-1
171
+- Update to 2.2.19 version follow to upstream.
172
+- Drop outdated patch httpd-2.2.0-authnoprov.patch
173
+
174
+* Wed Mar 23 2011 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.17-4
175
+- Follow the main httpd package:
176
+	o Drop merged upstream Patch21: httpd-2.2.11-xfsz.patch
177
+	o Update httpd-2.2.11-corelimit.patch and httpd-2.2.11-selinux.patch.
178
+
179
+* Sat Oct 30 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.17-3
180
+- Follow upstream new version 2.2.17 - https://admin.fedoraproject.org/updates/httpd-2.2.17-1.fc13.1
181
+
182
+* Wed Jul 28 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.16-2
183
+- Update to Apache 2.2.16 version.
184
+
185
+* Sun Apr 04 2010 Pavel Alexeev <Pahan@Hubbitus.info> - 2.2.15-1
186
+- Initial spec. Based on httpd.spec in Fedora rawhide. Joe Orton has asked
187
+	initially add MPM-ITK support into main httpd package (BUG#479575) -
188
+	he dismiss enhancment request. After that he was asked (with proposed
189
+	patch) to provide httpd-source package he also dismiss it (BUG#597772).
190
+	Pride is a mortal sin. But I can not get it to do something.
191
+	So, instead just base on always current version of Fedora httpd, I have to
192
+	do it again from begining and doubling... I'll try it do as best as
193
+	possible in this situation.