# HG changeset patch # User Hans-G?nter Theisgen # Date 1647187522 -3600 # Node ID ce6b8763dcf8375aec218fcd098323c9609bff92 # Parent aba2c5ca9a669ed7674d40297d241974debfe00f updated kamailio (5.3.2 -> 5.5.4) diff -r aba2c5ca9a66 -r ce6b8763dcf8 kamailio/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kamailio/description.txt Sun Mar 13 17:05:22 2022 +0100 @@ -0,0 +1,11 @@ +Kamailio is an open source implementation of a SIP Signaling Server. +SIP is an open standard protocol specified by the IETF. +The core specification document is RFC3261. + +The Kamailio SIP server is designed for scalability, targeting large +deployments (e.g. for IP telephony operators or carriers, which have +a large subscriber base or route a big volume of calls), but can be +also used in enterprises or for personal needs to provide VoIP, +Instant Messaging and Presence. +Kamailio is well known for its flexibility, robustness, strong +security and the extensive number of features. diff -r aba2c5ca9a66 -r ce6b8763dcf8 kamailio/receipt --- a/kamailio/receipt Sun Mar 13 15:13:28 2022 +0000 +++ b/kamailio/receipt Sun Mar 13 17:05:22 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="kamailio" -VERSION="5.3.2" +VERSION="5.5.4" CATEGORY="network" SHORT_DESC="Open Source SIP Server." MAINTAINER="pascal.bellard@slitaz.org" @@ -11,10 +11,10 @@ TARBALL="$PACKAGE-${VERSION}_src.tar.gz" WGET_URL="${WEB_SITE}pub/kamailio/$VERSION/src/$TARBALL" -DEPENDS="curl expat libldap libssl libpostgresqlclient libxml2 +DEPENDS="curl expat libldap libpostgresqlclient libssl libxml2 net-snmp pcre radiusclient-ng" -BUILD_DEPENDS="bison curl-dev expat-dev flex libxml2-dev - net-snmp-dev openldap-dev openssl-dev pcre-dev +BUILD_DEPENDS="bash bison curl-dev expat-dev flex glibc-dev libxml2-dev + net-snmp-dev openldap-dev openssl-dev pcre-dev postgresql-dev python-dev radiusclient-ng-dev" CONFIG_FILES="/etc/kamailio" @@ -31,15 +31,18 @@ { sed -i 's|uname -m|echo i486|' \ src/Makefile.defs + patch --strip=0 --input=$stuff/patches/Makefile.defs-5.5.4 - make \ - PREFIX="/usr" \ + make cfg \ + prefix=/usr \ + RUNBASEDIR=/ \ include_modules="acc_radius app_python auth_radius \ db_postgres ldap presence_conference presence_dialoginfo presence_mwi \ -presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" \ - cfg && - make all && - make DESTDIR=$DESTDIR install +presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" && + make all \ + prefix=/usr && + make install \ + prefix=/usr } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -49,7 +52,7 @@ cp -a $install/* $fs mv $fs/usr/etc $fs - ln -s /etc $fs/usr/etc + ln -s /etc $fs/usr/etc } # Pre and post install commands for Tazpkg. @@ -64,7 +67,7 @@ if ! grep -q $user $1/etc/passwd then - echo -n "Adding user/group $user..." + echo -n "Adding user and group $user..." chroot $1/ addgroup -S $group chroot $1/ adduser -s /bin/false -S -D -H -G $group $user status @@ -74,6 +77,6 @@ post_remove() { - echo "Removing user/group kamailio" + echo "Removing user and group kamailio" chroot "$1/" deluser kamailio } diff -r aba2c5ca9a66 -r ce6b8763dcf8 kamailio/stuff/patches/Makefile.defs-5.5.4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kamailio/stuff/patches/Makefile.defs-5.5.4 Sun Mar 13 17:05:22 2022 +0100 @@ -0,0 +1,11 @@ +--- src/Makefile.defs.original ++++ src/Makefile.defs +@@ -1893,7 +1893,7 @@ + endif + ifeq ($(CC_NAME), gcc) + # link librt for glibc <= 2.17 +- GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' ) ++ GLIBCVER=$(shell ldd --version | head -1 | sed -e 's/^.* //' -e 's/\.//' -e 's|\..*||' ) + ifeq ($(shell [ $(GLIBCVER) -le 217 ] && echo librt), librt) + LIBS+=-lrt + endif