Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
- FIX Issue #55: /etc/httpd/conf/magic broken since version 2.4.54-1
Browse files Browse the repository at this point in the history
- UPDATE httpd-2.4.43-selinux.patch from FC'
  • Loading branch information
reporter4u committed Jul 11, 2022
1 parent ee39308 commit 8b1f9a0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
5 changes: 2 additions & 3 deletions httpd-2.4.53-icons.patch → httpd-2.4.54-icons.patch
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ index 51b02ed..93a2b87 100644
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
diff --git a/docs/conf/magic b/docs/conf/magic
index bc891d9..6402b59 100644
index bc891d9..9a41b44 100644
--- a/docs/conf/magic
+++ b/docs/conf/magic
@@ -383,3 +383,16 @@
@@ -383,3 +383,15 @@
4 string moov video/quicktime
4 string mdat video/quicktime

+AddIconByType /icons/bomb.gif application/x-coredump
+
+#------------------------------------------------------------------------------
+# application/x-coredump for LE/BE ELF
Expand Down
10 changes: 5 additions & 5 deletions httpd-2.4.43-selinux.patch → httpd-2.4.54-selinux.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/configure.in b/configure.in
index c8f9aa2..cb43246 100644
index 74015ca..8c0ee10 100644
--- a/configure.in
+++ b/configure.in
@@ -484,6 +484,11 @@ getloadavg
@@ -508,6 +508,11 @@ getloadavg
dnl confirm that a void pointer is large enough to store a long integer
APACHE_CHECK_VOID_PTR_LEN

Expand All @@ -15,10 +15,10 @@ index c8f9aa2..cb43246 100644
[AC_TRY_RUN(#define _GNU_SOURCE
#include <unistd.h>
diff --git a/server/core.c b/server/core.c
index dc0f17a..7ed9527 100644
index a6fa2fb..cf4cba4 100644
--- a/server/core.c
+++ b/server/core.c
@@ -59,6 +59,10 @@
@@ -65,6 +65,10 @@
#include <unistd.h>
#endif

Expand All @@ -29,7 +29,7 @@ index dc0f17a..7ed9527 100644
/* LimitRequestBody handling */
#define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1)
#define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 1<<30) /* 1GB */
@@ -5015,6 +5019,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte
@@ -5150,6 +5154,28 @@ static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *pte
}
#endif

Expand Down
10 changes: 7 additions & 3 deletions httpd24u.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
Summary: Apache HTTP Server
Name: httpd24u
Version: 2.4.54
Release: 1%{?dist}
Release: 2%{?dist}
URL: https://httpd.apache.org/
Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
Source2: httpd.logrotate
Expand Down Expand Up @@ -75,9 +75,9 @@ Patch19: httpd-2.4.53-detect-systemd.patch
# Features/functional changes
Patch23: httpd-2.4.53-export.patch
Patch24: httpd-2.4.43-corelimit.patch
Patch25: httpd-2.4.43-selinux.patch
Patch25: httpd-2.4.54-selinux.patch
Patch26: httpd-2.4.43-gettid.patch
Patch27: httpd-2.4.53-icons.patch
Patch27: httpd-2.4.54-icons.patch
Patch30: httpd-2.4.43-cachehardmax.patch
Patch34: httpd-2.4.43-socket-activation.patch
Patch41: httpd-2.4.43-r1861793+.patch
Expand Down Expand Up @@ -827,6 +827,10 @@ exit $rv


%changelog
* Mon Jul 11 2022 Reporter4u <[email protected]> - 2.4.54-2
- Update patch httpd-2.4.54-icons.patch from FC
- Update patch httpd-2.4.54-selinux.patch from FC

* Thu Jun 09 2022 Reporter4u <[email protected]> - 2.4.54-1
- Latest upstream

Expand Down

0 comments on commit 8b1f9a0

Please sign in to comment.