/
ea-apache24.spec
3003 lines (2407 loc) · 118 KB
/
ea-apache24.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%define contentdir %{_datadir}/apache2
%define docroot /var/www
%define suexec_caller nobody
%define mmn 20120211
%define oldmmnisa %{mmn}-%{__isa_name}-%{__isa_bits}
%define mmnisa %{mmn}%{__isa_name}%{__isa_bits}
%define vstring cPanel
%define ea_openssl_ver 1.1.1d-1
# Drop automatic provides for module DSOs
%{?filter_setup:
%filter_provides_in %{_libdir}/apache2/modules/.*\.so$
%filter_setup
}
# Don't build HTTP2 module if we're 32bit
%ifarch x86_64
%global with_http2 1
%else
%global with_http2 0
%endif
Summary: Apache HTTP Server
Name: ea-apache24
Version: 2.4.59
# Doing release_prefix this way for Release allows for OBS-proof versioning, See EA-4544 for more details
%define release_prefix 1
Release: %{release_prefix}%{?dist}.cpanel
Vendor: cPanel, Inc.
URL: http://httpd.apache.org/
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
Source1: centos-noindex.tar.gz
Source3: httpd.sysconf
Source5: apache2.tmpfiles
Source6: httpd.init
Source10: httpd.conf
Source11: autoindex.conf
# Source21: reuse this as needed
Source22: cgid.conf
Source23: manual.conf
Source43: cperror.conf
Source44: brotli.conf
%if %{with_http2}
Source53: http2.conf
%endif
# Documentation
Source30: README.confd
Source40: htcacheclean.init
Source41: htcacheclean.sysconf
# Systemd service file
Source42: httpd.service
Source45: htcacheclean.service
# Common pre/post scripts
Source46: pkg.preinst
Source47: pkg.ea-apache24.postinst
Source48: pkg.prerm
# build/scripts patches
Patch1: 0001-Apachectl-additions-and-options.patch
Patch3: 0002-Remove-libs-dependency-in-AP_LIBS.patch
Patch5: 0003-Add-cPanel-layout.patch
# Features/functional changes
Patch24: 0004-Bump-coresize-limit-if-coredumpdirectory-is-configur.patch
Patch25: 0005-Add-SELinux-support.patch
Patch27: 0006-Update-Icon-configuration-in-autoindex.conf.patch
Patch30: 0007-Update-CacheMaxExpire-to-have-a-hard-option.patch
# Bug fixes
# cPanel-specific patches
Patch301: 0008-Update-Apachectl-to-reference-cpanel.config-Addition.patch
Patch302: 0009-Update-suexec-to-allow-trusted-scripts.patch
Patch303: 0010-Update-suexec-to-work-with-cPanel-Mailman-installati.patch
Patch304: 0011-Update-suexec-to-allow-execution-for-httpusergroup-m.patch
Patch305: 0012-Update-apxs-to-automatically-generate-module-conf-fi.patch
Patch306: 0013-Add-SymlinkProtect-and-SymlinkProtectRoot-functional.patch
# cPanel Performance Patches
Patch401: 0014-Increase-random-seed-size.patch
Patch403: 0015-Downgrade-loglevel-for-long-lost-pid-warnings.patch
# cPanel Security Patches
# removed: fixed upstream Patch500: 0017-Apply-mod_ratelimit-fix-from-trunk.patch
Patch500: 0016-Ensure-that-Paths-configured-as-Aliases-are-exempt-f.patch
# Performance Patches
Patch601: 0017-Optimize-finding-a-module.-ap_find_linked_module-was.patch
Patch701: 0018-Update-apxs-to-use-the-correct-path-for-top_builddir.patch
Patch801: 0019-Add-instructions-to-install-elinks.patch
Patch902: 0020-Change-Accept-mutex-from-DEBUG-to-INFO-so-techs-can-.patch
License: ASL 2.0
Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?rhel} < 8
BuildRequires: ea-openssl11 >= %{ea_openssl_ver}, ea-openssl11-devel >= %{ea_openssl_ver}
Requires: ea-openssl11 >= %{ea_openssl_ver}
%else
# In C8 we use system openssl. See DESIGN.md in ea-openssl11 git repo for details
BuildRequires: openssl, openssl-devel
Requires: openssl
%endif
BuildRequires: autoconf, perl, pkgconfig, findutils, xmlto
BuildRequires: zlib-devel, libselinux-devel, lua-devel
BuildRequires: ea-apr-devel >= 1.6.3-1, ea-apr-util-devel >= 1.6.1-1
BuildRequires: pcre-devel >= 5.0
BuildRequires: ea-libxml2 ea-libxml2-devel
%if %{with_http2}
BuildRequires: ea-nghttp2 ea-libnghttp2
%endif
%if 0%{?rhel} >=7
BuildRequires: systemd-devel
%endif
Requires: ea-apr%{?_isa} >= 1.7.0-1
Requires: ea-apr-util%{?_isa} >= 1.6.1-1
Requires: system-logos >= 7.92.1-1
Requires: ea-apache24-mpm
Requires: ea-apache24-mod_ssl
Requires: ea-documentroot
Requires: ea-apache24-tools
Requires: ea-apache24-config
Requires: ea-apache24-config-runtime
Requires: ea-apache24-mod_bwlimited
Requires: ea-apache24-mod_proxy_wstunnel
Requires: ea-apache24-mod_headers
Obsoletes: httpd-suexec
Conflicts: httpd-mmn
Provides: ea-webserver
Provides: ea-apache24-suexec = %{version}-%{release}
Provides: ea-apache24-mmn = %{mmn}, ea-apache24-mmn = %{mmnisa}
%if 0%{?rhel} >=7
Requires(preun): systemd-units
Requires(postun): systemd-units
Requires(post): systemd-units
%endif
%if 0%{?rhel} < 8
# This is apparently a syntax error
# 20120211-x86-64
Provides: ea-apache24-mmn = %{oldmmnisa}
%endif
Requires: ea-apache24-tools = %{version}-%{release}
Requires: ea-apache24-mod_proxy_http
Requires: ea-apache24-mod_proxy
Requires: ea-cpanel-tools
%if 0%{?rhel} < 8
Requires: elinks
%endif
Requires(post): chkconfig
%description
The Apache HTTP Server is a powerful, efficient, and extensible
web server.
%package devel
Group: Development/Libraries
Summary: Development interfaces for the Apache HTTP server
Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel, httpd-devel
Requires: ea-apr-devel >= 1.6.3-1, ea-apr-util-devel, pkgconfig
Requires: ea-apache24 = %{version}-%{release}
%description devel
The ea-apache24-devel package contains the APXS binary and other files
that you need to build Dynamic Shared Objects (DSOs) for the
Apache HTTP Server.
If you are installing the Apache HTTP server and you want to be
able to compile or develop additional modules for Apache, you need
to install this package.
%package manual
Group: Documentation
Summary: Documentation for the Apache HTTP server
Requires: ea-apache24 = %{version}-%{release}
Obsoletes: secureweb-manual, apache-manual, httpd-manual
BuildArch: noarch
%description manual
The ea-apache24-manual package contains the complete manual and
reference guide for the Apache HTTP server. The information can
also be found at http://httpd.apache.org/docs/2.4/.
%if %{with_http2}
%package -n ea-apache24-mod_http2
Group: System Environment/Daemons
Summary: HTTP2 module for Apache HTTP Server
BuildRequires: ea-libnghttp2-devel
%if 0%{?rhel} < 8
BuildRequires: ea-openssl11 >= %{ea_openssl_ver}, ea-openssl11-devel >= %{ea_openssl_ver}
Requires: ea-openssl11 >= %{ea_openssl_ver}
%else
# In C8 we use system openssl. See DESIGN.md in ea-openssl11 git repo for details
BuildRequires: openssl, openssl-devel
Requires: openssl
%endif
Requires: ea-nghttp2
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Conflicts: ea-apache24-mod_mpm_itk, ea-apache24-mod_mpm_prefork
%description -n ea-apache24-mod_http2
This module sets up http2
%endif
%package tools
Group: System Environment/Daemons
Summary: Tools for use with the Apache HTTP Server
%description tools
The ea-apache24-tools package contains tools which can be used with
the Apache HTTP Server.
%package -n ea-apache24-mod_mpm_event
Group: System Environment/Daemons
Summary: Threaded event Multi-Processing Module for Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Provides: ea-apache24-mpm = threaded
Conflicts: ea-apache24-mpm = forked, ea-apache24-mod_mpm_worker, ea-apache24-mod_mpm_prefork
Conflicts: ea-apache24-mod_cgi
Requires: ea-apache24-mod_cgid
%description -n ea-apache24-mod_mpm_event
The Event MPM provides a threaded model for workers, with the additional
feature that all keepalive connections are handled by a single thread.
%package -n ea-apache24-mod_mpm_prefork
Group: System Environment/Daemons
Summary: Prefork Multi-Processing Module for Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Provides: ea-apache24-mpm = forked
Conflicts: ea-apache24-mpm = threaded, ea-apache24-mod_mpm_worker, ea-apache24-mod_mpm_event
Conflicts: ea-apache24-mod_cgid, ea-apache24-mod_http2
Requires: ea-apache24-mod_cgi
%description -n ea-apache24-mod_mpm_prefork
The traditional forked worker model.
%package -n ea-apache24-mod_mpm_worker
Group: System Environment/Daemons
Summary: Threaded worker Multi-Processing Module for Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Provides: ea-apache24-mpm = threaded
Conflicts: ea-apache24-mpm = forked, ea-apache24-mod_mpm_event, ea-apache24-mod_mpm_prefork
Conflicts: ea-apache24-mod_cgi
Requires: ea-apache24-mod_cgid
%description -n ea-apache24-mod_mpm_worker
The Worker MPM provides a threaded worker model.
%package -n ea-apache24-mod_allowmethods
Group: System Environment/Daemons
Summary: HTTP request method restriction module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_allowmethods
The mod_allowmethods module makes it easy to restrict what HTTP
methods can used on an server.
%package -n ea-apache24-mod_asis
Group: System Environment/Daemons
Summary: As-is provider module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_asis
The mod_asis module provides the handler send-as-is which causes
Apache HTTP Server to send the document without adding most of the
usual HTTP headers.
%package -n ea-apache24-mod_auth_digest
Group: System Environment/Daemons
Summary: HTTP Digest Authentication module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-authn, ea-apache24-authz
%description -n ea-apache24-mod_auth_digest
The mod_auth_digest module implements HTTP Digest Authentication
(RFC2617), and provides an alternative to mod_auth_basic where the
password is not transmitted as cleartext. However, this does not lead
to a significant security advantage over basic authentication. On the
other hand, the password storage on the server is much less secure
with digest authentication than with basic authentication. Therefore,
using basic auth and encrypting the whole connection using mod_ssl is
a much better alternative.
mod_auth_digest requires at least one authentication provider module,
and one authorization provider module.
%package -n ea-apache24-mod_authn_anon
Group: System Environment/Daemons
Summary: Anonymous-user authentication module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Provides: ea-apache24-authn = anon
%description -n ea-apache24-mod_authn_anon
The mod_authn_anon module provides authentication front-ends such as
mod_auth_basic to authenticate users similar to anonymous-ftp sites,
i.e. have a 'magic' user id 'anonymous' and the email address as a
password. These email addresses can be logged.
Combined with other (database) access control methods, this allows for
effective user tracking and customization according to a user profile
while still keeping the site open for 'unregistered' users. One
advantage of using Auth-based user tracking is that, unlike
magic-cookies and funny URL pre/postfixes, it is completely browser
independent and it allows users to share URLs.
%package -n ea-apache24-mod_authn_dbd
Group: System Environment/Daemons
Summary: DBD-based authentication module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_dbd = 0:%{version}-%{release}
Provides: ea-apache24-authn = dbd
%description -n ea-apache24-mod_authn_dbd
The mod_authn_dbd module provides authentication front-ends such as
mod_auth_digest and mod_auth_basic to authenticate users by looking up
users in SQL tables. Similar functionality is provided by, for
example, mod_authn_file.
%package -n ea-apache24-mod_authn_dbm
Group: System Environment/Daemons
Summary: DBM-based authentication module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_dbd = 0:%{version}-%{release}
Provides: ea-apache24-authn = dbm
%description -n ea-apache24-mod_authn_dbm
The mod_authn_dbm module provides authentication front-ends such as
mod_auth_digest and mod_auth_basic to authenticate users by looking up
users in dbm password files. Similar functionality is provided by
mod_authn_file.
%package -n ea-apache24-mod_authn_socache
Group: System Environment/Daemons
Summary: Shared-memory authentication caching module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-authn
%description -n ea-apache24-mod_authn_socache
The mod_authn_socache module maintains a cache of authentication
credentials, so that a new backend lookup is not required for every
authenticated request.
%package -n ea-apache24-mod_authnz_ldap
Group: System Environment/Daemons
Summary: LDAP authentication/authorization module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_ldap = 0:%{version}-%{release}
Provides: ea-apache24-authn = ldap, ea-apache24-authz = ldap
%description -n ea-apache24-mod_authnz_ldap
The mod_authnz_ldap module allows authentication front-ends such as
mod_auth_basic to authenticate users through an LDAP directory.
%package -n ea-apache24-mod_authz_dbd
Group: System Environment/Daemons
Summary: DBD-based group authorization module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_dbd = 0:%{version}-%{release}
Provides: ea-apache24-authz = dbd
%description -n ea-apache24-mod_authz_dbd
The mod_authz_dbd module provides authorization capabilities so that
authenticated users can be allowed or denied access to portions of the
web site by group membership. Similar functionality is provided by
mod_authz_groupfile and mod_authz_dbm, with the exception that this
module queries a SQL database to determine whether a user is a member
of a group.
%package -n ea-apache24-mod_authz_dbm
Group: System Environment/Daemons
Summary: DBM-based group authorization module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Provides: ea-apache24-authz = dbm
%description -n ea-apache24-mod_authz_dbm
The mod_authz_dbm module provides authorization capabilities so that
authenticated users can be allowed or denied access to portions of the
web site by group membership. Similar functionality is provided by
mod_authz_groupfile.
%package -n ea-apache24-mod_authz_owner
Group: System Environment/Daemons
Summary: Ownership-based authorization module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Provides: ea-apache24-authz = owner
%description -n ea-apache24-mod_authz_owner
The mod_authz_owner module authorizes access to files by comparing the
userid used for HTTP authentication (the web userid) with the
file-system owner or group of the requested file. The supplied
username and password must be already properly verified by an
authentication module, such as mod_auth_basic or mod_auth_digest.
%package -n ea-apache24-mod_brotli
Group: System Environment/Daemons
Summary: Compress content via Brotli before it is delivered to the client
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-brotli
BuildRequires: ea-brotli-devel
%description -n ea-apache24-mod_brotli
The mod_brotli module provides the BROTLI_COMPRESS output filter that allows
output from your server to be compressed using the brotli compression format
before being sent to the client over the network.
%package -n ea-apache24-mod_buffer
Group: System Environment/Daemons
Summary: Request buffering module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_buffer
The mod_buffer module provides the ability to buffer the input and
output filter stacks.
Under certain circumstances, content generators might create content
in small chunks. In order to promote memory reuse, in memory chunks
are always 8k in size, regardless of the size of the chunk
itself. When many small chunks are generated by a request, this can
create a large memory footprint while the request is being processed,
and an unnecessarily large amount of data on the wire. The addition of
a buffer collapses the response into the fewest chunks possible.
When httpd is used in front of an expensive content generator,
buffering the response may allow the backend to complete processing
and release resources sooner, depending on how the backend is
designed.
%package -n ea-apache24-mod_cache
Group: System Environment/Daemons
Summary: Content caching module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_cache
The mod_cache module implements an RFC 2616 compliant HTTP content
caching filter, with support for the caching of content negotiated
responses containing the Vary header.
RFC 2616 compliant caching provides a mechanism to verify whether
stale or expired content is still fresh, and can represent a
significant performance boost when the origin server supports
conditional requests by honouring the If-None-Match HTTP request
header. Content is only regenerated from scratch when the content has
changed, and not when the cached entry expires.
As a filter, mod_cache can be placed in front of content originating
from any handler, including flat files (served from a slow disk cached
on a fast disk), the output of a CGI script or dynamic content
generator, or content proxied from another server.
In the default configuration, mod_cache inserts the caching filter as
far forward as possible within the filter stack, utilising the quick
handler to bypass all per request processing when returning content to
the client. In this mode of operation, mod_cache may be thought of as
a caching proxy server bolted to the front of the webserver, while
running within the webserver itself.
%package -n ea-apache24-mod_cache_disk
Group: System Environment/Daemons
Summary: Disk-based caching module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_cache = 0:%{version}-%{release}
%description -n ea-apache24-mod_cache_disk
The mod_cache_disk module implements a disk based storage manager for
mod_cache.
The headers and bodies of cached responses are stored separately on
disk, in a directory structure derived from the md5 hash of the cached
URL.
Multiple content negotiated responses can be stored concurrently,
however the caching of partial content is not yet supported by this
module.
Atomic cache updates to both header and body files are achieved
without the need for locking by storing the device and inode numbers
of the body file within the header file. This has the side effect that
cache entries manually moved into the cache will be ignored.
The htcacheclean tool is provided to list cached URLs, remove cached
URLs, or to maintain the size of the disk cache within size and/or
inode limits. The tool can be run on demand, or can be daemonized to
offer continuous monitoring of directory sizes.
%package -n ea-apache24-mod_cache_socache
Group: System Environment/Daemons
Summary: Shared-memory caching module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_cache = 0:%{version}-%{release}
%description -n ea-apache24-mod_cache_socache
The mod_cache_socache module implements a shared object cache
(socache) based storage manager for mod_cache.
The headers and bodies of cached responses are combined, and stored
underneath a single key in the shared object cache. A number of
implementations of shared object caches are available to choose from.
Multiple content negotiated responses can be stored concurrently,
however the caching of partial content is not yet supported by this
module.
%package -n ea-apache24-mod_cgi
Group: System Environment/Daemons
Summary: CGI module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mpm = forked
Conflicts: ea-apache24-mod_cgid, ea-apache24-mod_mpm_event, ea-apache24-mod_mpm_worker
Provides: ea-apache24-cgi
%description -n ea-apache24-mod_cgi
The mod_cgi module adds a handler for executing CGI scripts. This
module is meant for a forked MPM; for threaded MPMs, mod_cgid should
be used.
%package -n ea-apache24-mod_cgid
Group: System Environment/Daemons
Summary: CGI module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mpm = threaded
Conflicts: ea-apache24-mod_cgi, ea-apache24-mod_mpm_prefork
Provides: ea-apache24-cgi
%description -n ea-apache24-mod_cgid
The mod_cgid module adds a handler for executing CGI scripts. This
module is meant for threaded MPMs; for forked MPMs, mod_cgi should be
used.
%package -n ea-apache24-mod_charset_lite
Group: System Environment/Daemons
Summary: Character set conversion module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_charset_lite
The mod_charset_lite module allows the server to change the character
set of responses before sending them to the client.
%package -n ea-apache24-mod_data
Group: System Environment/Daemons
Summary: RFC2379 data URL generation module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_data
The mod_data module provides the ability to convert a response into an
RFC2397 data URL.
Data URLs can be embedded inline within web pages using something like
the mod_include module, to remove the need for clients to make
separate connections to fetch what may potentially be many small
images. Data URLs may also be included into pages generated by
scripting languages such as PHP.
%package -n ea-apache24-mod_dav
Group: System Environment/Daemons
Summary: DAV module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_dav
The mod_dav module provides class 1 and class 2 WebDAV ('Web-based
Distributed Authoring and Versioning') functionality for Apache. This
extension to the HTTP protocol allows creating, moving, copying, and
deleting resources and collections on a remote web server.
%package -n ea-apache24-mod_dav_fs
Group: System Environment/Daemons
Summary: DAV filesystem provider module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_dav = 0:%{version}-%{release}
%description -n ea-apache24-mod_dav_fs
The mod_dav_fs module acts as a support module for mod_dav and
provides access to resources located in the file system. The formal
name of this provider is filesystem.
%package -n ea-apache24-mod_dav_lock
Group: System Environment/Daemons
Summary: Generic DAV locking module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_dav = 0:%{version}-%{release}
%description -n ea-apache24-mod_dav_lock
The mod_dav_lock module implements a generic locking API which can be
used by any backend provider of mod_dav. Without a backend provider
which makes use of it, however, it should not be loaded into the
server.
%package -n ea-apache24-mod_dbd
Group: System Environment/Daemons
Summary: Database connection module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_dbd
The mod_dbd module manages SQL database connections using APR. It
provides database connections on request to modules requiring SQL
database functions, and takes care of managing databases with optimal
efficiency and scalability for both threaded and non-threaded MPMs.
%package -n ea-apache24-mod_deflate
Group: System Environment/Daemons
Summary: Compression filter module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_deflate
The mod_deflate module provides the DEFLATE output filter that allows
output from your server to be compressed before being sent to the
client over the network.
%package -n ea-apache24-mod_dialup
Group: System Environment/Daemons
Summary: Bandwidth rate limiting module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_dialup
It is a module that sends static content at a bandwidth rate limit,
defined by the various old modem standards.
%package -n ea-apache24-mod_dumpio
Group: System Environment/Daemons
Summary: Debug logging module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_dumpio
The mod_dumpio module allows for the logging of all input received by
Apache and/or all output sent by Apache to be logged (dumped) to the
error.log file.
The data logging is done right after SSL decoding (for input) and
right before SSL encoding (for output). As can be expected, this can
produce extreme volumes of data, and should only be used when
debugging problems.
%package -n ea-apache24-mod_env
Group: System Environment/Daemons
Summary: Environment variable module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_env
The mod_env module allows for control of internal environment
variables that are used by various Apache HTTP Server modules. These
variables are also provided to CGI scripts as native system
environment variables, and available for use in SSI pages. Environment
variables may be passed from the shell which invoked the httpd
process. Alternatively, environment variables may be set or unset
within the configuration process.
%package -n ea-apache24-mod_expires
Group: System Environment/Daemons
Summary: Client-side cache control module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_expires
The mod_expires module controls the setting of the Expires HTTP header
and the max-age directive of the Cache-Control HTTP header in server
responses. The expiration date can set to be relative to either the
time the source file was last modified, or to the time of the client
access.
%package -n ea-apache24-mod_ext_filter
Group: System Environment/Daemons
Summary: Generic filter module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_ext_filter
The mod_ext_filter module presents a simple and familiar programming
model for filters. With this module, a program which reads from stdin
and writes to stdout (i.e., a Unix-style filter command) can be a
filter for Apache.
%package -n ea-apache24-mod_file_cache
Group: System Environment/Daemons
Summary: Static file caching module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_file_cache
The mod_file_cache module provides two techniques for caching
frequently requested static files. Through configuration directives,
you can direct mod_file_cache to either open then mmap() a file, or to
pre-open a file and save the open file handle. Both techniques reduce
server load when processing requests for these files by doing part of
the work (specifically, the file I/O) for serving the file when the
server is started rather than during each request.
This cannot be used for speeding up CGI programs or other files which
are served by special content handlers. It can only be used for
regular files which are usually served by the Apache core content
handler.
%package -n ea-apache24-mod_headers
Group: System Environment/Daemons
Summary: Header control module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_headers
The mod_headers module provides directives to control and modify HTTP
request and response headers. Headers can be merged, replaced or
removed.
%package -n ea-apache24-mod_heartbeat
Group: System Environment/Daemons
Summary: Status reporting module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_watchdog = 0:%{version}-%{release}
%description -n ea-apache24-mod_heartbeat
The mod_heartbeat module sends multicast messages to a
mod_heartmonitor listener that advertises the servers current
connection count. Usually, mod_heartmonitor will be running on a proxy
server with mod_lbmethod_heartbeat loaded, which allows ProxyPass to
use the "heartbeat" lbmethod inside of ProxyPass.
mod_heartbeat itself is loaded on the origin server(s) that serve
requests through the proxy server(s).
%package -n ea-apache24-mod_heartmonitor
Group: System Environment/Daemons
Summary: Heartbeat monitoring module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_watchdog = 0:%{version}-%{release}
%description -n ea-apache24-mod_heartmonitor
The mod_heartmonitor module listens for server status messages
generated by mod_heartbeat enabled origin servers and makes their
status available to mod_lbmethod_heartbeat. This allows ProxyPass to
use the "heartbeat" lbmethod inside of ProxyPass.
This module uses the services of mod_slotmem_shm when available
instead of flat-file storage. No configuration is required to use
mod_slotmem_shm.
%package -n ea-apache24-mod_imagemap
Group: System Environment/Daemons
Summary: Server-side imagemap module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_imagemap
The mod_imagemap module processes .map files, thereby replacing the
functionality of the imagemap CGI program. Any directory or document
type configured to use the handler imap-file (using either AddHandler
or SetHandler) will be processed by this module.
%package -n ea-apache24-mod_info
Group: System Environment/Daemons
Summary: Extension providing a comprehensive overview of server configuration (NOT RECOMMENDED FOR SHARED SERVERS)
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_info
The mod_info module adds a server-info handler to the apache configuration,
allowing a detailed description of the current server configuration state.
It is not appropriate for shared hosting systems.
%package -n ea-apache24-mod_lbmethod_bybusyness
Group: System Environment/Daemons
Summary: Busyness load-balancing module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy_balancer = 0:%{version}-%{release}
Provides: ea-apache24-lbmethod = bybusyness
%description -n ea-apache24-mod_lbmethod_bybusyness
The mod_lbmethod_bybusyness module keeps track of how many requests
each worker is currently assigned at present. A new request is
automatically assigned to the worker with the lowest number of active
requests. This is useful in the case of workers that queue incoming
requests independently of Apache, to ensure that queue length stays
even and a request is always given to the worker most likely to
service it the fastest and reduce latency.
%package -n ea-apache24-mod_lbmethod_byrequests
Group: System Environment/Daemons
Summary: Request load-balancing module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy_balancer = 0:%{version}-%{release}
Provides: ea-apache24-lbmethod = byrequests
%description -n ea-apache24-mod_lbmethod_byrequests
The mod_lbmethod_byrequests module distributes requests among the
various workers to ensure that each gets their configured share of the
number of requests.
%package -n ea-apache24-mod_lbmethod_bytraffic
Group: System Environment/Daemons
Summary: Traffic load-balancing module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy_balancer = 0:%{version}-%{release}
Provides: ea-apache24-lbmethod = bytraffic
%description -n ea-apache24-mod_lbmethod_bytraffic
The mod_lbmethod_bytraffic module distributes requests among the
various workers to ensure that each gets their configured share of the
number of requests. In contrast to mod_lbmethod_byrequests, which has
a similar balancing logic, bytraffic weights each request by the
number of bytes in the request.
%package -n ea-apache24-mod_lbmethod_heartbeat
Group: System Environment/Daemons
Summary: Heartbeat load-balancing module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy_balancer = 0:%{version}-%{release}
Requires: ea-apache24-mod_heartmonitor = 0:%{version}-%{release}
Provides: ea-apache24-lbmethod = heartbeat
%description -n ea-apache24-mod_lbmethod_heartbeat
The mod_lbmethod_heartbeat module uses the services of
mod_heartmonitor to balance between origin servers that are providing
heartbeat info via the mod_heartbeat module.
This load balancing algorithm favors servers with more ready (idle)
capacity over time, but does not select the server with the most ready
capacity every time. Servers that have 0 active clients are penalized,
with the assumption that they are not fully initialized.
%package -n ea-apache24-mod_ldap
Group: System Environment/Daemons
Summary: LDAP connection-handling module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apr-util-ldap
%description -n ea-apache24-mod_ldap
The mod_ldap module was created to improve the performance of websites
relying on backend connections to LDAP servers. In addition to the
functions provided by the standard LDAP libraries, this module adds an
LDAP connection pool and an LDAP shared memory cache.
%package -n ea-apache24-mod_log_debug
Group: System Environment/Daemons
Summary: Debug logging module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_log_debug
The mod_log_debug module provides a LogMessage directive which may be
used to log arbitrary data.
%package -n ea-apache24-mod_log_forensic
Group: System Environment/Daemons
Summary: Forensic logging module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_log_forensic
The mod_log_forensic module provides for forensic logging of client
requests. Logging is done before and after processing a request, so
the forensic log contains two log lines for each request. The forensic
logger is very strict, which means:
- The format is fixed. You cannot modify the logging format at
runtime.
- If it cannot write its data, the child process exits immediately
and may dump core (depending on your CoreDumpDirectory
configuration).
The check_forensic script may be helpful in evaluating the forensic
log output.
%package -n ea-apache24-mod_lua
Group: System Environment/Daemons
Summary: Lua language extension module for the Apache HTTP Server (NOT RECOMMENDED FOR SHARED SERVERS)
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_lua
The mod_lua module allows the server to be extended with scripts
written in the Lua programming language. The extension points (hooks)
available with mod_lua include many of the hooks available to natively
compiled Apache HTTP Server modules, such as mapping requests to
files, generating dynamic responses, access control, authentication,
and authorization
%package -n ea-apache24-mod_macro
Group: System Environment/Daemons
Summary: Configuration macro module for the Apache HTTP Server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_macro
The mod_macro module provides macros within Apache httpd runtime
configuration files, to ease the process of creating numerous similar
configuration blocks. When the server starts up, the macros are
expanded using the provided parameters, and the result is processed as
along with the rest of the configuration file.
%package -n ea-apache24-mod_mime_magic
Group: System Environment/Daemons
Summary: MIME-type autosensing module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_mime_magic
The mod_mime_magic module determines the MIME type of files in the
same way the Unix file(1) command works: it looks at the first few
bytes of the file. It is intended as a "second line of defense" for
cases that mod_mime cannot resolve.
%package -n ea-apache24-mod_proxy
Group: System Environment/Daemons
Summary: Proxy server module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
%description -n ea-apache24-mod_proxy
The mod_proxy module implements a proxy/gateway for Apache HTTP
Server, supporting a number of popular protocols as well as several
different load balancing algorithms. Third-party modules can add
support for additional protocols and load balancing algorithms.
%package -n ea-apache24-mod_proxy_ajp
Group: System Environment/Daemons
Summary: Apache JServ Protocol 1.3 proxy module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy = 0:%{version}-%{release}
%description -n ea-apache24-mod_proxy_ajp
The mod_proxy_ajp module provides proxy support for the Apache JServ
Protocol version 1.3.
%package -n ea-apache24-mod_proxy_balancer
Group: System Environment/Daemons
Summary: Load-balancing module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy = 0:%{version}-%{release}
Requires: ea-apache24-lbmethod
%description -n ea-apache24-mod_proxy_balancer
The mod_proxy_balancer module provides load balancing support for
HTTP, FTP and AJP13 protocols. Load balancing scheduler algorithms
are not provided by this module but by the mod_lbmethod_* modules.
%package -n ea-apache24-mod_proxy_connect
Group: System Environment/Daemons
Summary: CONNECT HTTP method proxy module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy = 0:%{version}-%{release}
%description -n ea-apache24-mod_proxy_connect
The mod_proxy_connect module provides support for the CONNECT HTTP
method. This method is mainly used to tunnel SSL requests through
proxy servers.
%package -n ea-apache24-mod_proxy_express
Group: System Environment/Daemons
Summary: Dynamic reverse-proxy module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy = 0:%{version}-%{release}
%description -n ea-apache24-mod_proxy_express
The mod_proxy_express module creates dynamically configured mass
reverse proxies, by mapping the Host: header of the HTTP request to a
server name and backend URL stored in a DBM file. This allows for easy
use of a huge number of reverse proxies with no configuration
changes. It is much less feature-full than mod_proxy_balancer, which
also provides dynamic growth, but is intended to handle much, much
larger numbers of backends. It is ideally suited as a front-end HTTP
switch.
%package -n ea-apache24-mod_proxy_fcgi
Group: System Environment/Daemons
Summary: FastCGI proxy module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy = 0:%{version}-%{release}
%description -n ea-apache24-mod_proxy_fcgi
The mod_proxy_fcgi module provides support for the FastCGI
protocol. Unlike mod_fcgid and mod_fastcgi, mod_proxy_fcgi has no
provision for starting the application process; fcgistarter is
provided (on some platforms) for that purpose. Alternatively, external
launching or process management may be available in the FastCGI
application framework in use.
%package -n ea-apache24-mod_proxy_fdpass
Group: System Environment/Daemons
Summary: File descriptor-passing proxy module for the Apache HTTP server
Requires: ea-apache24 = 0:%{version}-%{release}, ea-apache24-mmn = %{mmnisa}
Requires: ea-apache24-mod_proxy = 0:%{version}-%{release}
%description -n ea-apache24-mod_proxy_fdpass
The mod_proxy_fdpass module provides support for the passing the
socket of the client to another process.
mod_proxy_fdpass uses the ability of AF_UNIX domain sockets to pass an
open file descriptor to allow another process to finish handling a
request.
The module has a proxy_fdpass_flusher provider interface, which allows
another module to optionally send the response headers, or even the
start of the response body. The default flush provider disables
keep-alive, and sends the response headers, letting the external
process just send a response body.
At this time the only data passed to the external process is the
client socket. To receive a client socket, call recvfrom with an