Bump buildroot to 2019.02
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
APACHE_VERSION = 2.4.35
|
||||
APACHE_VERSION = 2.4.38
|
||||
APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
|
||||
APACHE_SITE = http://archive.apache.org/dist/httpd
|
||||
APACHE_LICENSE = Apache-2.0
|
||||
@@ -40,7 +40,6 @@ APACHE_CONF_OPTS = \
|
||||
--without-suexec-bin \
|
||||
--enable-mods-shared=all \
|
||||
--with-mpm=$(APACHE_MPM) \
|
||||
--disable-lua \
|
||||
--disable-luajit
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||
@@ -57,6 +56,22 @@ APACHE_CONF_OPTS += \
|
||||
--disable-proxy-html
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA),y)
|
||||
APACHE_CONF_OPTS += --enable-lua
|
||||
APACHE_DEPENDENCIES += lua
|
||||
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 += \
|
||||
@@ -86,4 +101,17 @@ define APACHE_CLEANUP_TARGET
|
||||
endef
|
||||
APACHE_POST_INSTALL_TARGET_HOOKS += APACHE_CLEANUP_TARGET
|
||||
|
||||
define APACHE_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/apache/S50apache \
|
||||
$(TARGET_DIR)/etc/init.d/S50apache
|
||||
endef
|
||||
|
||||
define APACHE_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/apache/apache.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/apache.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/apache.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/apache.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user