This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to 2.4.54 for security issues, bugs and improvements
- Loading branch information
reporter4u
committed
Jun 10, 2022
1 parent
bf82bf5
commit d4e6c40
Showing
12 changed files
with
147 additions
and
103 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 5 additions & 10 deletions
15
httpd-2.4.1-corelimit.patch → httpd-2.4.43-corelimit.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
httpd-2.4.17-socket-activation.patch → httpd-2.4.43-socket-activation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
diff --git a/Makefile.in b/Makefile.in | ||
index bd8045c..d6733a5 100644 | ||
--- a/Makefile.in | ||
+++ b/Makefile.in | ||
@@ -4,8 +4,15 @@ CLEAN_SUBDIRS = test | ||
|
||
PROGRAM_NAME = $(progname) | ||
PROGRAM_SOURCES = modules.c | ||
-PROGRAM_LDADD = buildmark.o $(HTTPD_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(HTTPD_LIBS) $(EXTRA_LIBS) $(AP_LIBS) $(LIBS) | ||
+PROGRAM_LDADD = buildmark.o $(HTTPD_LDFLAGS) \ | ||
+ $(PROGRAM_LDDEPS) \ | ||
+ $(HTTPD_LIBS) $(EXTRA_LIBS) $(AP_LIBS) $(LIBS) | ||
PROGRAM_PRELINK = $(COMPILE) -c $(top_srcdir)/server/buildmark.c | ||
+PROGRAM_LDDEPS = \ | ||
+ $(BUILTIN_LIBS) \ | ||
+ $(MPM_LIB) \ | ||
+ -Wl,--whole-archive,server/.libs/libmain.a,--no-whole-archive \ | ||
+ os/$(OS_DIR)/libos.la | ||
PROGRAM_DEPENDENCIES = \ | ||
server/libmain.la \ | ||
$(BUILTIN_LIBS) \ | ||
diff --git a/server/Makefile.in b/server/Makefile.in | ||
index 8111877..f00bb3f 100644 | ||
--- a/server/Makefile.in | ||
+++ b/server/Makefile.in | ||
@@ -12,7 +12,7 @@ LTLIBRARY_SOURCES = \ | ||
connection.c listen.c util_mutex.c \ | ||
mpm_common.c mpm_unix.c mpm_fdqueue.c \ | ||
util_charset.c util_cookies.c util_debug.c util_xml.c \ | ||
- util_filter.c util_pcre.c util_regex.c exports.c \ | ||
+ util_filter.c util_pcre.c util_regex.c \ | ||
scoreboard.c error_bucket.c protocol.c core.c request.c ssl.c provider.c \ | ||
eoc_bucket.c eor_bucket.c core_filters.c \ | ||
util_expr_parse.c util_expr_scan.c util_expr_eval.c | ||
diff --git a/server/main.c b/server/main.c | ||
index 7da7aa2..e63d2eb 100644 | ||
--- a/server/main.c | ||
+++ b/server/main.c | ||
@@ -857,17 +857,3 @@ int main(int argc, const char * const argv[]) | ||
return !OK; | ||
} | ||
|
||
-#ifdef AP_USING_AUTOCONF | ||
-/* This ugly little hack pulls any function referenced in exports.c into | ||
- * the web server. exports.c is generated during the build, and it | ||
- * has all of the APR functions specified by the apr/apr.exports and | ||
- * apr-util/aprutil.exports files. | ||
- */ | ||
-const void *ap_suck_in_APR(void); | ||
-const void *ap_suck_in_APR(void) | ||
-{ | ||
- extern const void *ap_ugly_hack; | ||
- | ||
- return ap_ugly_hack; | ||
-} | ||
-#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
diff --git a/docs/conf/extra/httpd-autoindex.conf.in b/docs/conf/extra/httpd-autoindex.conf.in | ||
index 51b02ed..93a2b87 100644 | ||
--- a/docs/conf/extra/httpd-autoindex.conf.in | ||
+++ b/docs/conf/extra/httpd-autoindex.conf.in | ||
@@ -21,7 +21,7 @@ IndexOptions FancyIndexing HTMLTable VersionSort | ||
Alias /icons/ "@exp_iconsdir@/" | ||
|
||
<Directory "@exp_iconsdir@"> | ||
- Options Indexes MultiViews | ||
+ Options Indexes MultiViews FollowSymlinks | ||
AllowOverride None | ||
Require all granted | ||
</Directory> | ||
@@ -37,6 +37,7 @@ AddIconByType (TXT,/icons/text.gif) text/* | ||
AddIconByType (IMG,/icons/image2.gif) image/* | ||
AddIconByType (SND,/icons/sound2.gif) audio/* | ||
AddIconByType (VID,/icons/movie.gif) video/* | ||
+AddIconByType /icons/bomb.gif application/x-coredump | ||
|
||
AddIcon /icons/binary.gif .bin .exe | ||
AddIcon /icons/binhex.gif .hqx | ||
@@ -53,7 +54,6 @@ AddIcon /icons/dvi.gif .dvi | ||
AddIcon /icons/uuencoded.gif .uu | ||
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl | ||
AddIcon /icons/tex.gif .tex | ||
-AddIcon /icons/bomb.gif core | ||
|
||
AddIcon /icons/back.gif .. | ||
AddIcon /icons/hand.right.gif README | ||
diff --git a/docs/conf/magic b/docs/conf/magic | ||
index bc891d9..6402b59 100644 | ||
--- a/docs/conf/magic | ||
+++ b/docs/conf/magic | ||
@@ -383,3 +383,16 @@ | ||
4 string moov video/quicktime | ||
4 string mdat video/quicktime | ||
|
||
+AddIconByType /icons/bomb.gif application/x-coredump | ||
+ | ||
+#------------------------------------------------------------------------------ | ||
+# application/x-coredump for LE/BE ELF | ||
+# | ||
+0 string \177ELF | ||
+>5 byte 1 | ||
+>16 leshort 4 application/x-coredump | ||
+ | ||
+0 string \177ELF | ||
+>5 byte 2 | ||
+>16 beshort 4 application/x-coredump | ||
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
|
||
Summary: Apache HTTP Server | ||
Name: httpd24u | ||
Version: 2.4.53 | ||
Version: 2.4.54 | ||
Release: 1%{?dist} | ||
URL: https://httpd.apache.org/ | ||
Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 | ||
|
@@ -67,19 +67,19 @@ Source53: httpd.logrotate-legacy | |
# build/scripts patches | ||
Patch1: httpd-2.4.1-apctl.patch | ||
Patch2: httpd-2.4.43-apxs.patch | ||
Patch3: httpd-2.4.1-deplibs.patch | ||
Patch3: httpd-2.4.43-deplibs.patch | ||
Patch6: httpd-2.4.3-apctl-systemd.patch | ||
Patch8: httpd-2.4.35-layout-legacy.patch | ||
#Patch8: httpd-2.4.35-layout-legacy.patch | ||
# Needed for socket activation and mod_systemd patch | ||
Patch19: httpd-2.4.53-detect-systemd.patch | ||
# Features/functional changes | ||
Patch23: httpd-2.4.33-export.patch | ||
Patch24: httpd-2.4.1-corelimit.patch | ||
Patch23: httpd-2.4.53-export.patch | ||
Patch24: httpd-2.4.43-corelimit.patch | ||
Patch25: httpd-2.4.43-selinux.patch | ||
Patch26: httpd-2.4.43-gettid.patch | ||
Patch27: httpd-2.4.2-icons.patch | ||
Patch30: httpd-2.4.4-cachehardmax.patch | ||
Patch34: httpd-2.4.17-socket-activation.patch | ||
Patch27: httpd-2.4.53-icons.patch | ||
Patch30: httpd-2.4.43-cachehardmax.patch | ||
Patch34: httpd-2.4.43-socket-activation.patch | ||
Patch41: httpd-2.4.43-r1861793+.patch | ||
|
||
Patch65: httpd-2.4.51-r1894152.patch | ||
|
@@ -827,6 +827,9 @@ exit $rv | |
|
||
|
||
%changelog | ||
* Thu Jun 09 2022 Reporter4u <[email protected]> - 2.4.54-1 | ||
- Latest upstream | ||
|
||
* Mon Mar 14 2022 Reporter4u <[email protected]> - 2.4.53-1 | ||
- Updated to 2.4.53 from Upstream | ||
|
||
|