@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := prosody
PKG_VERSION := 0.11.2
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://prosody.im/downloads/source
@ -30,7 +30,7 @@ define Package/prosody
SUBMENU:= Instant Messaging
DEPENDS:= +luafilesystem +libidn +luaexpat +luasec +libopenssl +libidn +liblua +luabitop
TITLE:= XMPP server
URL:= http://prosody.im/
URL:= https ://prosody.im/
USERID:= prosody = 54:prosody= 54
e n d e f
@ -44,10 +44,10 @@ define Package/prosody/conffiles
/ e t c / p r o s o d y / p r o s o d y . c f g . l u a
e n d e f
TARGET_CFLAGS += $( FPIC)
TARGET_LDFLAGS += -L$( STAGING_DIR) /usr/lib
TARGET_CFLAGS += $( FPIC) -std= gnu99
TARGET_LDFLAGS += -shared
MAKE_FLAGS += LD = " $( TARGET_CC) "
d e f i n e B u i l d / C o n f i g u r e
# this is *NOT* GNU autoconf stuff
@ -57,17 +57,11 @@ define Build/Configure
--with-lua-include= " $( STAGING_DIR) /usr/include " \
--with-lua-lib= " $( STAGING_DIR) /usr/lib " \
--cflags= " $( TARGET_CFLAGS) " \
--ldflags= " $( TARGET_LDFLAGS) -llua -lm -ldl -shared " \
--ldflags= " $( TARGET_LDFLAGS) " \
--c-compiler= " $( CC) " \
--linker= " $( LD) " \
--datadir= "/etc/prosody/data" \
)
e n d e f
# LDFLAGS="$(TARGET_LDFLAGS) -llua -lm -ldl" \
MAKE_FLAGS += \
CFLAGS = " $( TARGET_CFLAGS) $( TARGET_CPPFLAGS) -std=gnu99 " \
PREFIX = "/usr" \
d e f i n e P a c k a g e / p r o s o d y / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/init.d
@ -124,7 +118,7 @@ define Package/prosody/postinst
paxctl -v /usr/bin/ > /dev/null 2>& 1
[ $$ ? -ne 0 ] && {
cp /usr/bin/lua /tmp
paxctl -c -m /tmp/lua > /dev/null 2>& 1
paxctl -c -m /tmp/lua > /dev/null 2>& 1
cp -f /tmp/lua /usr/bin/lua
}
}