Commit Graph

54 Commits

Author SHA1 Message Date
Luboš Uhliarik
f05a6ad3bd Resolves: #1564219 - SELinux prevents httpd from starting when mod_fcgid
is installed
2018-05-02 16:16:54 +02:00
Paul Howarth
d3cc1770da BR: gcc 2018-02-20 11:03:33 +00:00
Fedora Release Engineering
45bc66a65b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 02:58:54 +00:00
Paul Howarth
03b907b249 Spec clean-up
- Drop SELinux policy module: all supported targets have it in base policy now
- Update README.SELinux to current types and ship it
- Use forward-looking conditionals
- One build requirement per line
- Drop legacy Group: tag
2018-01-26 19:59:25 +00:00
Fedora Release Engineering
f53669c26f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 03:27:19 +00:00
Fedora Release Engineering
e9911ab55c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 22:04:27 +00:00
Fedora Release Engineering
242aac2ab9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 21:33:17 +00:00
Paul Howarth
5ddebcb75c Spec clean-up
- Use /usr/bin/sed rather than /bin/sed for fixconf script on modern releases
- Drop %defattr, redundant since rpm 4.4
- Use %license where possible
2016-03-04 11:12:52 +00:00
Fedora Release Engineering
a41cccf100 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 08:34:47 +00:00
Dennis Gilmore
c505202494 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 20:51:30 +00:00
Peter Robinson
ac72b5d011 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 09:56:37 +00:00
Dennis Gilmore
e0c6bb4c17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 05:44:39 -05:00
Paul Howarth
f60afd1966 Tidy up .gitignore and changelog 2014-01-23 14:51:24 +00:00
Joe Orton
39ad1ae2cf fix _httpd_mmn expansion in absence of httpd-devel 2014-01-23 10:53:28 +00:00
Paul Howarth
4323f1aa08 Update to 2.3.9
- New upstream release 2.3.9
  - SECURITY: Fix possible heap buffer overwrite (CVE-2013-4365)
  - Add experimental cmake-based build system for Windows
  - Correctly parse quotation and escaped spaces in FcgidWrapper and the AAA
    Authenticator/Authorizor/Access directives' command line argument, as
    currently documented (PR#51194)
  - Honor quoted FcgidCmdOptions arguments (notably for InitialEnv
    assignments) (PR#51657)
  - Conform script response parsing with mod_cgid and ensure no response body
    is sent when ap_meets_conditions() determines that request conditions are
    met
  - Improve logging in access control hook functions
  - Avoid making internal sub-requests and processing Location headers when in
    FCGI_AUTHORIZER mode, as the auth hook functions already treat Location
    headers returned by scripts as an error since redirections are not
    meaningful in this mode
  - Revert fix for PR#53693, added in 2.3.8 but undocumented
  - Fix issues with a minor optimization added in 2.3.8
2013-10-08 12:14:24 +01:00
Dennis Gilmore
d1ebc0ae73 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 06:30:56 -05:00
Dennis Gilmore
9be11fc827 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 01:20:23 -06:00
Dennis Gilmore
36fa391b01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 21:21:03 -05:00
Paul Howarth
de68b0307c Move tmpfiles.d config from %{_sysconfdir} to %{_prefix}/lib 2012-07-04 07:49:54 +01:00
Paul Howarth
bbe05fc8de Make %files list more explicit 2012-05-02 09:48:03 +01:00
Joe Orton
c8f59ce6c9 use 10- prefix for conf file in conf.modules.d w/2.4
- use _httpd_confdir throughout, if available
2012-05-02 08:29:49 +01:00
Paul Howarth
fa7284a27f Update to 2.3.7
- New upstream release 2.3.7
  - Introduce FcgidWin32PreventOrphans directive on Windows to use OS Job
    Control Objects to terminate all running fcgi's when the worker process
    has been abruptly terminated (PR: 51078)
  - Periodically clean out the brigades that are pulling in the request body
    for handoff to the fcgid child (PR: 51749)
  - Resolve crash during graceful restarts (PR: 50309)
  - Solve latency/congestion of resolving effective user file access rights
    when no such info is desired, for config-related filename stats (PR: 51020)
  - Fix regression in 2.3.6 that broke process controls when using
    vhost-specific configuration
  - Account for first process in class in the spawn score
- Drop patch for CVE-2012-1181, now included in upstream release
2012-04-23 12:34:22 +01:00
Paul Howarth
62b43fb3b1 Fix compatibility with httpd 2.4 in F-18/RHEL-7 onwards
- Fix compatibility with httpd 2.4 in F-18/RHEL-7 onwards
- Use /run rather than /var/run from F-15/RHEL-7 onwards
2012-03-27 21:14:19 +01:00
Paul Howarth
8a1a0a690b Add CVE reference (CVE-2012-1181) to previous update 2012-03-16 09:03:52 +00:00
Paul Howarth
5893884a65 Fix for #783742
Fix regression in 2.3.6 that broke process controls when using vhost-specific
configuration (upstream issue 49902, #783742)
2012-01-22 11:42:05 +00:00
Paul Howarth
19557d9f7d Nobody else likes macros for commands 2012-01-06 14:07:57 +00:00
Dennis Gilmore
a7810e5afc - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 13:51:17 -06:00
Paul Howarth
ddc537476b Fix for /var/run on tmpfs (#656625)
- Add /etc/tmpfiles.d/mod_fcgid.conf for builds on Fedora 15 onwards to
  support running with /var/run on tmpfs (#656625)
2010-12-01 14:47:59 +00:00
Paul Howarth
b969a41714 Update to 2.3.6
- New upstream release 2.3.6 (see CHANGES-FCGID for full details)
  - Fix possible stack buffer overwrite (CVE-2010-3872)
  - Change the default for FcgidMaxRequestLen from 1GB to 128K; administrators
    should change this to an appropriate value based on site requirements
  - Correct a problem that resulted in FcgidMaxProcesses being ignored in some
    situations
  - Return 500 instead of segfaulting when the application returns no output
- Don't include SELinux policy for RHEL-5 builds since RHEL >= 5.5 includes it
- Explicitly require /bin/sed for fixconf script
2010-11-05 14:23:42 +00:00
Paul Howarth
7753b75025 SELinux policy module not needed for RHEL-6 onwards 2010-06-08 20:32:02 +00:00
Paul Howarth
e80146b051 Update to 2.3.5 2010-01-27 14:29:32 +00:00
Paul Howarth
3588d09123 Add fixes from upstream svn for a number of issues, most notably that the
fixconf script had an error in the regexp, which resulted in a prefix
    of 'FcgidFcgid' on the updated directives
2009-10-21 13:30:53 +00:00
Paul Howarth
a391ec8309 - Update to 2.3.4
- Upstream moved to apache.org
- License changed to ASL 2.0
- Configuration directives have all been renamed - use fixconf.sed script
    to fix if necessary
- Lots of documentation changes
- Renumber sources
- Don't defer to mod_fastcgi if both are present
- Build SELinux policy module for EL-5; support in EL-5.3 is incomplete and
    will be fixed in EL-5.5 (#519369)
- Drop aliases httpd_sys_content_r{a,o,w}_t ->
    httpd_fastcgi_content_r{a,o,w}_t from pre-2.5 SElinux policy module as
    these types aren't defined there
- Drop gawk buildreq
2009-10-12 15:04:41 +00:00
Jesse Keating
a87f4f1f9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 14:45:26 +00:00
Paul Howarth
40c4f35dec Don't use /etc/httpd/run as basis of "run" directory as its DAC permissions
are not permissive enough in F-11 onwards; instead, revert to
    /var/run/mod_fcgid and tweak default config accordingly (#502273)
2009-05-26 15:52:47 +00:00
Paul Howarth
7847f60cb2 Follow link /etc/httpd/run and make our "run" directory a subdir of
wherever that leads (#501123)
2009-05-17 08:40:06 +00:00
Paul Howarth
34e81f9c69 EL-5.3 has fastcgi policy merged into httpd policy 2009-04-07 09:32:25 +00:00
Paul Howarth
882d2d3dc2 Update documentation for MoinMoin, Rails (#476658), and SELinux 2009-02-26 12:50:40 +00:00
Jesse Keating
023f8a9382 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 02:04:08 +00:00
Paul Howarth
29bfc1ab15 - SELinux policy module no longer built for Fedora 8 onwards as it is
obsoleted by the main selinux-policy package
- Conflicts for selinux-policy packages older than the releases where
    mod_fcgid policy was incorporated have been added for Fedora 8, 9, and
    10 versions, to ensure that SELinux support will work if installed
2008-11-12 12:05:01 +00:00
Paul Howarth
7db27df3bb Clean up SELinux policy Try to determine supported SELinux policy types by
reading /etc/selinux/config
2008-10-22 23:29:48 +00:00
Paul Howarth
ab94cf9fd0 Merge fastcgi SELinux policy with system script policy 2008-10-22 10:31:34 +00:00
Paul Howarth
9906fbf7c2 - Tweak selinux-policy version detection macro to work with current Rawhide 2008-07-24 16:04:55 +00:00
Paul Howarth
cc5e4d5619 Rebuild with gcc 4.3.0 for Fedora 9 2008-02-14 14:45:39 +00:00
Paul Howarth
b159474f91 Update SELinux policy to fix occasional failures on restarts (move shared
memory file into /var/run/mod_fcgid directory)
2008-01-14 11:46:12 +00:00
Paul Howarth
407b04f705 Update SELinux policy to support file transition to httpd_tmp_t for
temporary files
2008-01-03 18:17:11 +00:00
Paul Howarth
bfb6f5c72f Update to version 2.2 Make sure docs are encoded as UTF-8 2007-09-15 16:01:29 +00:00
jorton
971d4747dd - rebuild for fixed 32-bit APR (#254241) 2007-09-03 08:30:33 +00:00
Paul Howarth
760e07ba25 - Update source URL to point to downloads.sf.net rather than dl.sf.net
- Upstream released new tarball without changing version number, though the
    only change was in arch/win32/fcgid_pm_win.c, which is not used to
    build the RPM package
- Clarify license as GPL (unspecified/any version)
- Unexpand tabs in spec
- Add buildreq of gawk
- Add buildreq of pkgconfig, a missing dependency of both apr-devel and
    apr-util-devel on FC5
2007-08-23 09:32:38 +00:00
Paul Howarth
1f1b1ebd62 Major update of SELinux policy, supporting accessing data on NFS/CIFS
shares and a new boolean, httpd_fastcgi_can_sendmail, to allow
    connections to SMTP servers
Fix for SELinux policy on Fedora 7, which didn't work due to changes in the
    permissions macros in the underlying selinux-policy package
Add RHEL5 with SELinux support
Rename README.Fedora to README.RPM
2007-06-15 16:56:23 +00:00