wok rev 24696

updated kamailio (5.3.2 -> 5.5.4)
author Hans-G?nter Theisgen
date Sun Mar 13 17:05:22 2022 +0100 (2022-03-13)
parents aba2c5ca9a66
children da39e47234a2
files kamailio/description.txt kamailio/receipt kamailio/stuff/patches/Makefile.defs-5.5.4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kamailio/description.txt	Sun Mar 13 17:05:22 2022 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +Kamailio is an open source implementation of a SIP Signaling Server.
     1.5 +SIP is an open standard protocol specified by the IETF.
     1.6 +The core specification document is RFC3261.
     1.7 +
     1.8 +The Kamailio SIP server is designed for scalability, targeting large
     1.9 +deployments (e.g. for IP telephony operators or carriers, which have
    1.10 +a large subscriber base or route a big volume of calls), but can be
    1.11 +also used in enterprises or for personal needs to provide VoIP,
    1.12 +Instant Messaging and Presence.
    1.13 +Kamailio is well known for its flexibility, robustness, strong
    1.14 +security and the extensive number of features.
     2.1 --- a/kamailio/receipt	Sun Mar 13 15:13:28 2022 +0000
     2.2 +++ b/kamailio/receipt	Sun Mar 13 17:05:22 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="kamailio"
     2.7 -VERSION="5.3.2"
     2.8 +VERSION="5.5.4"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Open Source SIP Server."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -11,10 +11,10 @@
    2.13  TARBALL="$PACKAGE-${VERSION}_src.tar.gz"
    2.14  WGET_URL="${WEB_SITE}pub/kamailio/$VERSION/src/$TARBALL"
    2.15  
    2.16 -DEPENDS="curl expat libldap libssl libpostgresqlclient libxml2 
    2.17 +DEPENDS="curl expat libldap libpostgresqlclient libssl libxml2
    2.18  	net-snmp pcre radiusclient-ng"
    2.19 -BUILD_DEPENDS="bison curl-dev expat-dev flex libxml2-dev 
    2.20 -	net-snmp-dev openldap-dev openssl-dev pcre-dev 
    2.21 +BUILD_DEPENDS="bash bison curl-dev expat-dev flex glibc-dev libxml2-dev
    2.22 +	net-snmp-dev openldap-dev openssl-dev pcre-dev
    2.23  	postgresql-dev python-dev radiusclient-ng-dev"
    2.24  
    2.25  CONFIG_FILES="/etc/kamailio"
    2.26 @@ -31,15 +31,18 @@
    2.27  {
    2.28  	sed -i 's|uname -m|echo i486|' \
    2.29  		src/Makefile.defs
    2.30 +	patch	--strip=0 --input=$stuff/patches/Makefile.defs-5.5.4
    2.31  
    2.32 -	make			\
    2.33 -		PREFIX="/usr"	\
    2.34 +	make	cfg		\
    2.35 +		prefix=/usr	\
    2.36 +		RUNBASEDIR=/	\
    2.37  		include_modules="acc_radius app_python auth_radius \
    2.38  db_postgres ldap presence_conference presence_dialoginfo presence_mwi \
    2.39 -presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" \
    2.40 -		cfg &&
    2.41 -	make all &&
    2.42 -	make DESTDIR=$DESTDIR install
    2.43 +presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" &&
    2.44 +	make	all		\
    2.45 +		prefix=/usr &&
    2.46 +	make	install		\
    2.47 +		prefix=/usr
    2.48  }
    2.49  
    2.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.51 @@ -49,7 +52,7 @@
    2.52  
    2.53  	cp -a $install/*	$fs
    2.54  	mv $fs/usr/etc		$fs
    2.55 -	ln -s /etc $fs/usr/etc
    2.56 +	ln -s /etc		$fs/usr/etc
    2.57  }
    2.58  
    2.59  # Pre and post install commands for Tazpkg.
    2.60 @@ -64,7 +67,7 @@
    2.61  	
    2.62  	if ! grep -q $user $1/etc/passwd
    2.63  	  then
    2.64 -		echo -n "Adding user/group $user..."
    2.65 +		echo -n "Adding user and group $user..."
    2.66  		chroot $1/ addgroup -S $group
    2.67  		chroot $1/ adduser -s /bin/false -S -D -H -G $group $user
    2.68  		status
    2.69 @@ -74,6 +77,6 @@
    2.70  
    2.71  post_remove()
    2.72  {
    2.73 -	echo "Removing user/group kamailio"
    2.74 +	echo "Removing user and group kamailio"
    2.75  	chroot "$1/" deluser kamailio
    2.76  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/kamailio/stuff/patches/Makefile.defs-5.5.4	Sun Mar 13 17:05:22 2022 +0100
     3.3 @@ -0,0 +1,11 @@
     3.4 +--- src/Makefile.defs.original
     3.5 ++++ src/Makefile.defs
     3.6 +@@ -1893,7 +1893,7 @@
     3.7 + 	endif
     3.8 + 	ifeq ($(CC_NAME), gcc)
     3.9 + 		# link librt for glibc <= 2.17
    3.10 +-		GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' )
    3.11 ++		GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' -e 's|\..*||' )
    3.12 + 		ifeq ($(shell [ $(GLIBCVER) -le 217 ] && echo librt), librt)
    3.13 + 			LIBS+=-lrt
    3.14 + 		endif