mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #6077 from MikePetullo/lede-17.01-lighttpd
lighttpd: CONFIG_LIGHTTPD_SSL includes mod_openssl
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=lighttpd
|
PKG_NAME:=lighttpd
|
||||||
PKG_VERSION:=1.4.48
|
PKG_VERSION:=1.4.48
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=http://download.lighttpd.net/lighttpd/releases-1.4.x
|
PKG_SOURCE_URL:=http://download.lighttpd.net/lighttpd/releases-1.4.x
|
||||||
@@ -21,6 +21,8 @@ PKG_LICENSE_FILES:=COPYING
|
|||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS:=CONFIG_LIGHTTPD_SSL
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/lighttpd/Default
|
define Package/lighttpd/Default
|
||||||
@@ -49,6 +51,8 @@ config LIGHTTPD_SSL
|
|||||||
lighttpd confguration file.
|
lighttpd confguration file.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
BASE_MODULES:=dirlisting indexfile staticfile
|
||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--libdir=/usr/lib/lighttpd \
|
--libdir=/usr/lib/lighttpd \
|
||||||
--sysconfdir=/etc/lighttpd \
|
--sysconfdir=/etc/lighttpd \
|
||||||
@@ -72,6 +76,7 @@ CONFIGURE_VARS+= \
|
|||||||
ifneq ($(strip $(CONFIG_LIGHTTPD_SSL)),)
|
ifneq ($(strip $(CONFIG_LIGHTTPD_SSL)),)
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--with-openssl="$(STAGING_DIR)/usr"
|
--with-openssl="$(STAGING_DIR)/usr"
|
||||||
|
BASE_MODULES+= openssl
|
||||||
else
|
else
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--without-openssl
|
--without-openssl
|
||||||
@@ -117,7 +122,7 @@ define Package/lighttpd/install
|
|||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) ./files/lighttpd.init $(1)/etc/init.d/lighttpd
|
$(INSTALL_BIN) ./files/lighttpd.init $(1)/etc/init.d/lighttpd
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/lighttpd
|
$(INSTALL_DIR) $(1)/usr/lib/lighttpd
|
||||||
for m in dirlisting indexfile staticfile; do \
|
for m in $(BASE_MODULES); do \
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lighttpd/mod_$$$${m}.so $(1)/usr/lib/lighttpd/ ; \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lighttpd/mod_$$$${m}.so $(1)/usr/lib/lighttpd/ ; \
|
||||||
done
|
done
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
|||||||
Reference in New Issue
Block a user