Skip to contentSkip to conversation

apache: enable support for nghttp2

PATCH New Ryan Coe 3 participants 3 messages Dec 29, 2018 – Dec 30, 2018

lore
Share & tools
lore

Ryan Coe

author
#0 lore raw

PATCH 1/1 apache: enable support for nghttp2

---
 package/apache/apache.mk | 9 +++++++++
 1 file changed, 9 insertions(+)
package/apache/apache.mk +9 -0
index 283c3cbd50..a95ac69f31 100644
@@ -63,6 +63,15 @@ else
 APACHE_CONF_OPTS += --disable-lua
 endif
 
+ifeq ($(BR2_PACKAGE_NGHTTP2),y)
+APACHE_CONF_OPTS += \
+	--enable-http2 \
+	--with-nghttp2=$(STAGING_DIR)/usr
+APACHE_DEPENDENCIES += nghttp2
+else
+APACHE_CONF_OPTS += --disable-http2
+endif
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 APACHE_DEPENDENCIES += openssl
 APACHE_CONF_OPTS += \
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 apache: enable support for nghttp2

Hello,

(Also a question for Bernd below)

Quoted 4 lines · Ryan Coe
---
 package/apache/apache.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

Applied to master, thanks. I just noticed that Apache modules are installed in $(TARGET_DIR)/usr/modules/. It's not a really great path, as it's not apache specific. Can we make this $(TARGET_DIR)/usr/lib/apache/modules/ or something like that ?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 apache: enable support for nghttp2

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,
(Also a question for Bernd below)

Quoted 4 lines · Ryan Coe

---
package/apache/apache.mk | 9 +++++++++

1 file changed, 9 insertions(+)
Quoted 4 lines

Applied to master, thanks. I just noticed that Apache modules are installed in $(TARGET_DIR)/usr/modules/. It's not a really great path, as it's not apache specific. Can we make this $(TARGET_DIR)/usr/lib/apache/modules/ or something like that ?

FYI, Debian installs into /usr/lib/apache2/modules/ (but that is presumably for legacy reasons with apache 1.x).

Signature · 1 line
Bye, Peter Korsgaard