apache: Update to 2.4.37 6854/head
authorRosen Penev <rosenp@gmail.com>
Fri, 24 Aug 2018 01:05:06 +0000 (18:05 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 6 Nov 2018 17:36:54 +0000 (09:36 -0800)
Fixes at least:

CVE-2017-15710
CVE-2017-15715
CVE-2018-1283
CVE-2018-1312

Added CPE ID for proper CVE tracking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/apache/Makefile
net/apache/patches/001-Makefile_in.patch
net/apache/patches/003-logdir_fix.patch
net/apache/patches/010-reproducible-builds.patch

index 9b13383469eef097c07a2b3276e9b99be2a16ae8..900f866f2d1c05dcf8c7e5511220cf54c3b24882 100644 (file)
@@ -8,21 +8,23 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=apache
-PKG_VERSION:=2.4.28
-PKG_RELEASE:=2
+PKG_VERSION:=2.4.37
+PKG_RELEASE:=1
 PKG_SOURCE_NAME:=httpd
-PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
-PKG_LICENSE:=Apache License
 
 PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@APACHE/httpd/
-PKG_HASH:=c1197a3a62a4ab5c584ab89b249af38cf28b4adee9c0106b62999fd29f920666
+PKG_HASH:=3498dc5c6772fac2eb7307dc7963122ffe243b5e806e0be4fb51974ff759d726
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_NAME)-$(PKG_VERSION)
 
+PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
+PKG_LICENSE:=Apache License
+PKG_CPE_ID:=cpe:/a:apache:http_server
+
 PKG_INSTALL:=1
 
-PKG_CONFIG_DEPENDS := \
+PKG_CONFIG_DEPENDS:= \
        CONFIG_APACHE_HTTP2
 
 ADDITIONAL_MODULES:=
@@ -40,7 +42,7 @@ define Package/apache/Default
   CATEGORY:=Network
   SUBMENU:=Web Servers/Proxies
   TITLE:=The Apache Web Server
-  URL:=http://httpd.apache.org/
+  URL:=https://httpd.apache.org/
 endef
 
 define Package/apache/Default/description
@@ -103,7 +105,7 @@ $(call Package/apache/Default/description)
  This package contains the icons from Apache.
 endef
 
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += $(FPIC) -Wno-error
 TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
 TARGET_LDFLAGS += -lpthread
 
index 0bccfd3bd23f41ce6abda4761fb60249e6a09212..4daf14f448f062905ffa7d8a99dfdec6dd24e5e9 100644 (file)
@@ -1,6 +1,6 @@
 --- a/server/Makefile.in
 +++ b/server/Makefile.in
-@@ -26,7 +26,10 @@ gen_test_char: $(gen_test_char_OBJECTS)
+@@ -29,7 +29,10 @@ gen_test_char: $(gen_test_char_OBJECTS)
        $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
  
  test_char.h: gen_test_char
index fd22410d7c76fbb519966d8142c9e3eccc92217a..19fcbf7d6b9702dcf8c45356bfc3552283587243 100644 (file)
@@ -26,7 +26,7 @@ Index: httpd-2.4.25/config.layout
      proxycachedir: ${localstatedir}/proxy
  </Layout>
  
-@@ -150,7 +150,7 @@
+@@ -174,7 +174,7 @@
      includedir:    ${prefix}/include
      localstatedir: /var${prefix}
      runtimedir:    ${localstatedir}/run
index 7a5324b62526b4b57b2a65ad5a1f3cfca3efb9f6..0289da1cbec7158942320cab62a89b88e10deb43 100644 (file)
@@ -31,7 +31,7 @@ Index: apache2/server/Makefile.in
  
  CLEAN_TARGETS = gen_test_char test_char.h \
        ApacheCoreOS2.def httpd.exp export_files \
-@@ -80,8 +81,8 @@ httpd.exp: exports.c export_vars.h
+@@ -85,8 +86,8 @@ httpd.exp: exports.c export_vars.h
        @echo "#! ." > $@
        @echo "* This file was AUTOGENERATED at build time." >> $@
        @echo "* Please do not edit by hand." >> $@