@ -8,7 +8,7 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := apache
PKG_NAME := apache
PKG_VERSION := 2.4.27
PKG_VERSION := 2.4.28
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE_NAME := httpd
PKG_SOURCE_NAME := httpd
PKG_MAINTAINER := Thomas Heil <heil@terminal-consulting.de>
PKG_MAINTAINER := Thomas Heil <heil@terminal-consulting.de>
@ -16,12 +16,23 @@ PKG_LICENSE:=Apache License
PKG_SOURCE := $( PKG_SOURCE_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE := $( PKG_SOURCE_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := @APACHE/httpd/
PKG_SOURCE_URL := @APACHE/httpd/
PKG_HASH := 71fcc128238a690515bd8174d5330a5309161ef314a326ae45c7c15ed139c13a
PKG_HASH := c1197a3a62a4ab5c584ab89b249af38cf28b4adee9c0106b62999fd29f920666
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_SOURCE_NAME) -$( PKG_VERSION)
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_SOURCE_NAME) -$( PKG_VERSION)
PKG_INSTALL := 1
PKG_INSTALL := 1
PKG_CONFIG_DEPENDS := \
CONFIG_APACHE_HTTP2
ADDITIONAL_MODULES :=
i f e q ( $( CONFIG_APACHE_HTTP 2) , y )
ADDITIONAL_MODULES += --enable-http2
e n d i f
i f n e q ( $( CONFIG_APACHE_HTTP 2) , y )
ADDITIONAL_MODULES += --enable-http2= no
e n d i f
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / a p a c h e / D e f a u l t
d e f i n e P a c k a g e / a p a c h e / D e f a u l t
@ -38,9 +49,13 @@ define Package/apache/Default/description
Server, it has grown to be the most popular web server on the Internet.
Server, it has grown to be the most popular web server on the Internet.
e n d e f
e n d e f
d e f i n e P a c k a g e / a p a c h e / c o n f i g
source " $( SOURCE) /Config.in "
e n d e f
d e f i n e P a c k a g e / a p a c h e
d e f i n e P a c k a g e / a p a c h e
$( call Package /apache /Default )
$( call Package /apache /Default )
DEPENDS:= +libapr +libaprutil +libpcre +libopenssl +unixodbc +zlib
DEPENDS:= +libapr +libaprutil +libpcre +libopenssl +unixodbc +zlib +APACHE_HTTP2:libnghttp2
e n d e f
e n d e f
d e f i n e P a c k a g e / a p a c h e / d e s c r i p t i o n
d e f i n e P a c k a g e / a p a c h e / d e s c r i p t i o n
@ -90,13 +105,14 @@ endef
TARGET_CFLAGS += $( FPIC)
TARGET_CFLAGS += $( FPIC)
TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS= 64 -D_GNU_SOURCE
TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS= 64 -D_GNU_SOURCE
TARGET_LDFLAGS += -lpthread
TARGET_LDFLAGS += -lpthread
d e f i n e B u i l d / C o n f i g u r e
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default, \
$( call Build/Configure/Default, \
--with-apr= " $( STAGING_DIR) /usr/bin/apr-1-config " \
--with-apr= " $( STAGING_DIR) /usr/bin/apr-1-config " \
--with-apr-util= " $( STAGING_DIR) /usr/bin/apu-1-config " \
--with-apr-util= " $( STAGING_DIR) /usr/bin/apu-1-config " \
--with-pcre= " $( STAGING_DIR) /usr/bin/pcre-config " \
--with-pcre= " $( STAGING_DIR) /usr/bin/pcre-config " \
$( ADDITIONAL_MODULES) \
--enable-http \
--enable-http \
--with-crypto \
--with-crypto \
--with-sqlit3= " $( STAGING_DIR) /usr " \
--with-sqlit3= " $( STAGING_DIR) /usr " \