Bump buildroot to 2019.02
This commit is contained in:
@@ -4,29 +4,30 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PROSODY_VERSION = 0.9.14
|
||||
PROSODY_VERSION = 0.11.2
|
||||
PROSODY_SITE = https://prosody.im/downloads/source
|
||||
PROSODY_LICENSE = MIT
|
||||
PROSODY_LICENSE_FILES = COPYING
|
||||
PROSODY_DEPENDENCIES = openssl libidn
|
||||
PROSODY_DEPENDENCIES = host-luainterpreter luainterpreter libidn openssl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
||||
PROSODY_DEPENDENCIES += lua
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUAJIT),y)
|
||||
PROSODY_DEPENDENCIES += luajit
|
||||
endif
|
||||
PROSODY_CFLAGS = $(TARGET_CFLAGS) -fPIC -std=c99 \
|
||||
$(if BR2_TOOLCHAIN_USES_MUSL,-DWITHOUT_MALLINFO)
|
||||
|
||||
PROSODY_CONF_OPTS = \
|
||||
--with-lua-bin=$(HOST_DIR)/bin \
|
||||
--with-lua=$(STAGING_DIR)/usr \
|
||||
--lua-version=$(LUAINTERPRETER_ABIVER) \
|
||||
--c-compiler=$(TARGET_CC) \
|
||||
--cflags="$(TARGET_CFLAGS) -fPIC" \
|
||||
--cflags="$(PROSODY_CFLAGS)" \
|
||||
--linker=$(TARGET_CC) \
|
||||
--ldflags="$(TARGET_LDFLAGS) -shared" \
|
||||
--sysconfdir=/etc/prosody \
|
||||
--prefix=/usr
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUAJIT),y)
|
||||
PROSODY_CONF_OPTS += --runwith=luajit
|
||||
endif
|
||||
|
||||
define PROSODY_CONFIGURE_CMDS
|
||||
cd $(@D) && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
@@ -58,15 +59,4 @@ endef
|
||||
|
||||
PROSODY_POST_INSTALL_TARGET_HOOKS += PROSODY_REMOVE_CERT_GENERATOR
|
||||
|
||||
# 1. Enable posix functionality
|
||||
# 2. Log to syslog
|
||||
# 3. Specify pid file write location
|
||||
# 4. Enable virtual host example.com
|
||||
define PROSODY_TWEAK_DEFAULT_CONF
|
||||
$(INSTALL) -D package/prosody/prosody.cfg.lua \
|
||||
$(TARGET_DIR)/etc/prosody/prosody.cfg.lua
|
||||
endef
|
||||
|
||||
PROSODY_POST_INSTALL_TARGET_HOOKS += PROSODY_TWEAK_DEFAULT_CONF
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user