wok-6.x diff kamailio/receipt @ rev 25498
Up dropbear (2022.83)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 15 12:09:07 2022 +0000 (23 months ago) |
parents | 2a0479881723 |
children |
line diff
1.1 --- a/kamailio/receipt Sun Feb 13 13:09:42 2022 +0000 1.2 +++ b/kamailio/receipt Thu Dec 15 12:09:07 2022 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="kamailio" 1.7 -VERSION="5.3.2" 1.8 +VERSION="5.5.4" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Open Source SIP Server." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,10 +11,10 @@ 1.13 TARBALL="$PACKAGE-${VERSION}_src.tar.gz" 1.14 WGET_URL="${WEB_SITE}pub/kamailio/$VERSION/src/$TARBALL" 1.15 1.16 -DEPENDS="curl expat libldap libssl libpostgresqlclient libxml2 1.17 +DEPENDS="curl expat libldap libpostgresqlclient libssl libxml2 1.18 net-snmp pcre radiusclient-ng" 1.19 -BUILD_DEPENDS="bison curl-dev expat-dev flex libxml2-dev 1.20 - net-snmp-dev openldap-dev openssl-dev pcre-dev 1.21 +BUILD_DEPENDS="bash bison curl-dev expat-dev flex glibc-dev libxml2-dev 1.22 + net-snmp-dev openldap-dev openssl-dev pcre-dev 1.23 postgresql-dev python-dev radiusclient-ng-dev" 1.24 1.25 CONFIG_FILES="/etc/kamailio" 1.26 @@ -31,15 +31,18 @@ 1.27 { 1.28 sed -i 's|uname -m|echo i486|' \ 1.29 src/Makefile.defs 1.30 + patch --strip=0 --input=$stuff/patches/Makefile.defs-5.5.4 1.31 1.32 - make \ 1.33 - PREFIX="/usr" \ 1.34 + make cfg \ 1.35 + prefix=/usr \ 1.36 + RUNBASEDIR=/ \ 1.37 include_modules="acc_radius app_python auth_radius \ 1.38 db_postgres ldap presence_conference presence_dialoginfo presence_mwi \ 1.39 -presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" \ 1.40 - cfg && 1.41 - make all && 1.42 - make DESTDIR=$DESTDIR install 1.43 +presence_profile presence_reginfo presence_xml snmpstats xmpp dialplan" && 1.44 + make all \ 1.45 + prefix=/usr && 1.46 + make install \ 1.47 + prefix=/usr 1.48 } 1.49 1.50 # Rules to gen a SliTaz package suitable for Tazpkg. 1.51 @@ -49,7 +52,7 @@ 1.52 1.53 cp -a $install/* $fs 1.54 mv $fs/usr/etc $fs 1.55 - ln -s /etc $fs/usr/etc 1.56 + ln -s /etc $fs/usr/etc 1.57 } 1.58 1.59 # Pre and post install commands for Tazpkg. 1.60 @@ -64,7 +67,7 @@ 1.61 1.62 if ! grep -q $user $1/etc/passwd 1.63 then 1.64 - echo -n "Adding user/group $user..." 1.65 + echo -n "Adding user and group $user..." 1.66 chroot $1/ addgroup -S $group 1.67 chroot $1/ adduser -s /bin/false -S -D -H -G $group $user 1.68 status 1.69 @@ -74,6 +77,6 @@ 1.70 1.71 post_remove() 1.72 { 1.73 - echo "Removing user/group kamailio" 1.74 + echo "Removing user and group kamailio" 1.75 chroot "$1/" deluser kamailio 1.76 }