@ -83,20 +83,20 @@ $(call Package/apache/Default/description)
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 f i l e s
/ e t c / a p a c h e / h t t p d . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - a u t o i n d e x . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - d a v . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - d e f a u l t . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - i n f o . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - l a n g u a g e s . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - m a n u a l . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - m p m . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - m u l t i l a n g - e r r o r d o c . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - s s l . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - u s e r d i r . c o n f
/ e t c / a p a c h e / e x t r a / h t t p d - v h o s t s . c o n f
/ e t c / a p a c h e / m a g i c
/ e t c / a p a c h e / m i m e . t y p e s
/ e t c / a p a c h e 2 / h t t p d . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - a u t o i n d e x . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - d a v . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - d e f a u l t . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - i n f o . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - l a n g u a g e s . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - m a n u a l . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - m p m . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - m u l t i l a n g - e r r o r d o c . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - s s l . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - u s e r d i r . c o n f
/ e t c / a p a c h e 2 / e x t r a / h t t p d - v h o s t s . c o n f
/ e t c / a p a c h e 2 / m a g i c
/ e t c / a p a c h e 2 / m i m e . t y p e s
e n d e f
d e f i n e P a c k a g e / a p a c h e - i c o n s
@ -111,35 +111,40 @@ $(call Package/apache/Default/description)
This package contains the icons from Apache.
e n d e f
TARGET_CFLAGS += $( FPIC) -Wno-error
TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS= 64 -D_GNU_SOURCE
TARGET_LDFLAGS += -lpthread
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default, \
--with-apr= " $( STAGING_DIR) /usr/bin/apr-1-config " \
--with-apr-util= " $( STAGING_DIR) /usr/bin/apu-1-config " \
--with-pcre= " $( STAGING_DIR) /usr/bin/pcre-config " \
$( ADDITIONAL_MODULES) \
--enable-http \
--with-crypto \
--with-sqlit3= " $( STAGING_DIR) /usr " \
--with-openssl= " $( STAGING_DIR) /usr " \
--enable-ssl \
--enable-proxy \
--disable-md \
--disable-disk-cache \
--enable-maintainer-mode \
--with-mpm= prefork \
--with-mpm= worker \
--enable-mime-magic \
--without-suexec-bin \
--sysconfdir= /etc/apache \
ap_cv_void_ptr_lt_long = no \
logfiledir = "/var/log" \
runtimedir = "/var/run" \
EXTRA_LIBS = "-ldl -lpthread -lcrypto -lrt -lssl" \
)
CONFIGURE_ARGS += \
--datadir= /usr/share/apache2 \
--disable-authnz-ldap \
--disable-imagemap \
--disable-ldap \
--disable-luajit \
--enable-authn-alias \
--enable-authn-anon \
--enable-cache \
--enable-cgi \
--enable-cgid \
--enable-dbd \
--enable-disk-cache \
--enable-exception-hook \
--enable-file-cache \
--enable-layout= OpenWrt \
--enable-mem-cache \
--enable-mods-shared= all \
--enable-mpms-shared= all \
--enable-so \
--libexecdir= /usr/lib/apache2 \
--sysconfdir= /etc/apache2 \
--with-apr-util= " $( STAGING_DIR) /usr/bin/apu-1-config " \
--with-apr= " $( STAGING_DIR) /usr/bin/apr-1-config " \
--with-mpm= prefork \
--with-pcre= " $( STAGING_DIR) /usr/bin/pcre-config " \
--with-ssl
CONFIGURE_VARS += \
ap_cv_void_ptr_lt_long = no
d e f i n e B u i l d / P r e p a r e
$( call Build/Prepare/Default)
$( INSTALL_DATA) ./files/openwrt.layout $( PKG_BUILD_DIR) /config.layout
e n d e f
d e f i n e B u i l d / I n s t a l l D e v