wok-next rev 21316

updated jabberd2 (2.2.16 -> 2.7.0)
author Hans-G?nter Theisgen
date Tue Dec 10 17:15:57 2019 +0100 (2019-12-10)
parents 32f49bd14509
children d2aca43913dc
files jabberd2/receipt
line diff
     1.1 --- a/jabberd2/receipt	Tue Dec 10 16:53:07 2019 +0100
     1.2 +++ b/jabberd2/receipt	Tue Dec 10 17:15:57 2019 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="jabberd2"
     1.7 -VERSION="2.2.16"
     1.8 +VERSION="2.7.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="XMPP server (real-time communication)"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -12,24 +12,27 @@
    1.13  TARBALL="jabberd-$VERSION.tar.gz"
    1.14  WGET_URL="https://github.com/downloads/Jabberd2/jabberd2/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="expat gsasl gsasl-dev udns udns-dev libidn-dev openssl-dev \
    1.17 -zlib-dev db-dev openldap-dev postgresql mysql sqlite3 sqlite3-dev expat-dev \
    1.18 -cppunit-dev"
    1.19 +BUILD_DEPENDS="cppunit-dev db-dev expat expat-dev gsasl gsasl-dev libidn-dev mysql 
    1.20 +	openldap-dev openssl-dev postgresql sqlite3 sqlite3-dev udns udns-dev zlib-dev"
    1.21  
    1.22 -compile_rules() {
    1.23 -	sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' util/log.c
    1.24 +compile_rules()
    1.25 +{
    1.26 +	sed -i 's|#else /.*|&\nint set_debug_log_from_config(config_t c){}|' \
    1.27 +		util/log.c
    1.28  	CFLAGS="${CFLAGS/-Os/-O2}"
    1.29 -	./configure \
    1.30 -		--sysconfdir=/etc/jabberd \
    1.31 -		--enable-sqlite \
    1.32 +
    1.33 +	./configure				\
    1.34 +		--sysconfdir=/etc/jabberd	\
    1.35 +		--enable-sqlite			\
    1.36  		$CONFIGURE_ARGS &&
    1.37  	make &&
    1.38  	make DESTDIR=$install install
    1.39  }
    1.40  
    1.41 -genpkg_rules() {
    1.42 +genpkg_rules()
    1.43 +{
    1.44  	copy @std
    1.45 -	DEPENDS="expat gsasl udns libidn zlib openssl libkrb5 libcomerr3 perl"
    1.46 +	DEPENDS="expat gsasl libcomerr3 libidn libkrb5 openssl perl udns zlib"
    1.47  	CONFIG_FILES="/etc/jabberd"
    1.48  	TAGS="im instant-messaging server"
    1.49  }