wok rev 25307

updated siproxd (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Wed Jul 20 10:52:20 2022 +0100 (21 months ago)
parents 06ab40a45b3e
children ed0aff8c6cc0
files siproxd/description.txt siproxd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/siproxd/description.txt	Wed Jul 20 10:52:20 2022 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +Siproxd is a proxy/masquerading daemon for the SIP protocol.
     1.5 +It handles registrations of SIP clients on a private IP
     1.6 +network and performs rewriting of the SIP message bodies to
     1.7 +make SIP connections work via a masquerading firewall (NAT).
     1.8 +It allows SIP software clients (like kphone, linphone) or
     1.9 +SIP hardware clients (Voice over IP phones which are
    1.10 +SIP-compatible, such as those from Cisco, Grandstream or
    1.11 +Snom) to work behind an IP masquerading firewall or NAT
    1.12 +router.
    1.13 +
    1.14 +SIP (Session Initiation Protocol, RFC3261) is the protocol
    1.15 +of choice for most VoIP (Voice over IP) phones to initiate
    1.16 +communication.
    1.17 +By itself, SIP does not work via masquerading firewalls as
    1.18 +the transferred data contains IP addresses and port numbers.
    1.19 +There do exist other solutions to traverse NAT existing
    1.20 +(like STUN, or SIP aware NAT routers), but such a solution
    1.21 +has its disadvantages or may not be applicable to a given
    1.22 +situation.
    1.23 +Siproxd does not aim to be a replacement for these solutions,
    1.24 +however in some situations siproxd may bring advantages.
     2.1 --- a/siproxd/receipt	Wed Jul 20 10:39:41 2022 +0100
     2.2 +++ b/siproxd/receipt	Wed Jul 20 10:52:20 2022 +0100
     2.3 @@ -1,18 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="siproxd"
     2.7 -VERSION="0.8.2"
     2.8 +VERSION="0.8.3"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="A masquerading SIP Proxy Server."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="http://siproxd.sourceforge.net/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WEB_SITE="http://siproxd.sourceforge.net/"
    2.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.18 -CONFIG_FILES="/etc/siproxd"
    2.19  
    2.20  DEPENDS="osip"
    2.21 -BUILD_DEPENDS="osip-dev libtool"
    2.22 +BUILD_DEPENDS="libtool osip-dev sqlite-dev"
    2.23 +
    2.24 +CONFIG_FILES="/etc/siproxd"
    2.25  
    2.26  # What is the latest version available today?
    2.27  current_version()
    2.28 @@ -25,22 +27,27 @@
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	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
    2.33 -	./configure --prefix=/usr --mandir=/usr/share/man \
    2.34 -		--sysconfdir=/etc/siproxd \
    2.35 -		--localstatedir=/var \
    2.36 -	$CONFIGURE_ARGS &&
    2.37 +	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&/' \
    2.38 +		src/plugins.c
    2.39 +
    2.40 +	./configure				\
    2.41 +		--prefix=/usr			\
    2.42 +		--mandir=/usr/share/man		\
    2.43 +		--sysconfdir=/etc/siproxd	\
    2.44 +		--localstatedir=/var		\
    2.45 +		$CONFIGURE_ARGS &&
    2.46  	make &&
    2.47 -	make DESTDIR=$DESTDIR install
    2.48 +	make install DESTDIR=$DESTDIR
    2.49  }
    2.50  
    2.51  # Rules to gen a SliTaz package suitable for Tazpkg.   
    2.52  genpkg_rules()                                      
    2.53  {
    2.54 -	mkdir -p $fs/usr $install/usr/share
    2.55 -	cp -a $src/doc $install/usr/share
    2.56 -	rm -f $install/usr/share/doc/Makefile*
    2.57 -	cp -a $install/etc $fs
    2.58 -	cp -a $install/usr/sbin $fs/usr
    2.59 -	cp -a $install/usr/lib $fs/usr
    2.60 +	mkdir -p $install/usr/share
    2.61 +
    2.62 +	cp -a $src/doc		$install/usr/share
    2.63 +	rm -f			$install/usr/share/doc/Makefile*
    2.64 +	cook_copy_folders	etc
    2.65 +	cook_copy_folders	lib
    2.66 +	cook_copy_folders	sbin
    2.67  }