Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] apache: enable support for nghttp2
@ 2018-12-29  1:39 Ryan Coe
  2018-12-30 15:46 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Coe @ 2018-12-29  1:39 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
---
 package/apache/apache.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/apache/apache.mk b/package/apache/apache.mk
index 283c3cbd50..a95ac69f31 100644
--- a/package/apache/apache.mk
+++ b/package/apache/apache.mk
@@ -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 += \
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] apache: enable support for nghttp2
  2018-12-29  1:39 [Buildroot] [PATCH 1/1] apache: enable support for nghttp2 Ryan Coe
@ 2018-12-30 15:46 ` Thomas Petazzoni
  2018-12-30 22:41   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2018-12-30 15:46 UTC (permalink / raw)
  To: buildroot

Hello,

(Also a question for Bernd below)

On Fri, 28 Dec 2018 17:39:09 -0800, Ryan Coe wrote:
> Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] apache: enable support for nghttp2
  2018-12-30 15:46 ` Thomas Petazzoni
@ 2018-12-30 22:41   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-12-30 22:41 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Hello,
 > (Also a question for Bernd below)

 > On Fri, 28 Dec 2018 17:39:09 -0800, Ryan Coe wrote:
 >> Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
 >> ---
 >> 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 ?

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

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-30 22:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-29  1:39 [Buildroot] [PATCH 1/1] apache: enable support for nghttp2 Ryan Coe
2018-12-30 15:46 ` Thomas Petazzoni
2018-12-30 22:41   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox