# HG changeset patch # User Hans-G?nter Theisgen # Date 1658310740 -3600 # Node ID 36ebaf6cbb620d739094e00b218fd96b397a0acb # Parent 06ab40a45b3edd2b80ec6b391a0cfda81340e388 updated siproxd (0.8.2 -> 0.8.3) diff -r 06ab40a45b3e -r 36ebaf6cbb62 siproxd/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/siproxd/description.txt Wed Jul 20 10:52:20 2022 +0100 @@ -0,0 +1,21 @@ +Siproxd is a proxy/masquerading daemon for the SIP protocol. +It handles registrations of SIP clients on a private IP +network and performs rewriting of the SIP message bodies to +make SIP connections work via a masquerading firewall (NAT). +It allows SIP software clients (like kphone, linphone) or +SIP hardware clients (Voice over IP phones which are +SIP-compatible, such as those from Cisco, Grandstream or +Snom) to work behind an IP masquerading firewall or NAT +router. + +SIP (Session Initiation Protocol, RFC3261) is the protocol +of choice for most VoIP (Voice over IP) phones to initiate +communication. +By itself, SIP does not work via masquerading firewalls as +the transferred data contains IP addresses and port numbers. +There do exist other solutions to traverse NAT existing +(like STUN, or SIP aware NAT routers), but such a solution +has its disadvantages or may not be applicable to a given +situation. +Siproxd does not aim to be a replacement for these solutions, +however in some situations siproxd may bring advantages. diff -r 06ab40a45b3e -r 36ebaf6cbb62 siproxd/receipt --- a/siproxd/receipt Wed Jul 20 10:39:41 2022 +0100 +++ b/siproxd/receipt Wed Jul 20 10:52:20 2022 +0100 @@ -1,18 +1,20 @@ # SliTaz package receipt. PACKAGE="siproxd" -VERSION="0.8.2" +VERSION="0.8.3" CATEGORY="network" SHORT_DESC="A masquerading SIP Proxy Server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://siproxd.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://siproxd.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -CONFIG_FILES="/etc/siproxd" DEPENDS="osip" -BUILD_DEPENDS="osip-dev libtool" +BUILD_DEPENDS="libtool osip-dev sqlite-dev" + +CONFIG_FILES="/etc/siproxd" # What is the latest version available today? current_version() @@ -25,22 +27,27 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's/.*const ident.*/#undef lt_preloaded_symbols\n#define lt_preloaded_symbols lt_libltdl_LTX_preloaded_symbols\nextern const lt_dlsymlist lt_preloaded_symbols[];\n&/' src/plugins.c - ./configure --prefix=/usr --mandir=/usr/share/man \ - --sysconfdir=/etc/siproxd \ - --localstatedir=/var \ - $CONFIGURE_ARGS && + sed -i 's/.*const ident.*/#undef lt_preloaded_symbols\n#define lt_preloaded_symbols lt_libltdl_LTX_preloaded_symbols\nextern const lt_dlsymlist lt_preloaded_symbols[];\n&/' \ + src/plugins.c + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc/siproxd \ + --localstatedir=/var \ + $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr $install/usr/share - cp -a $src/doc $install/usr/share - rm -f $install/usr/share/doc/Makefile* - cp -a $install/etc $fs - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/lib $fs/usr + mkdir -p $install/usr/share + + cp -a $src/doc $install/usr/share + rm -f $install/usr/share/doc/Makefile* + cook_copy_folders etc + cook_copy_folders lib + cook_copy_folders sbin }