OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [update/wip] telephony/siproxd-0.8.0

From: Björn Ketelaars (bjorn.ketelaarshydroxide.nl)
Date: Sun Aug 01 2010 - 13:54:54 CDT


Running this for almost two months on i386. No problems...

On Mon, May 17, 2010 at 12:16 PM, Stephan A. Rickauer
<stephanopenbsd.org>wrote:

> I don't use this myself just yet but will be in the near future. So
> I'd like to get some feedback of those who do use this right now.
> Requires telephony/libosip2-3.3.0 (just sent).
>
> Cheers,
> Stephan
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/telephony/siproxd/Makefile,v
> retrieving revision 1.4
> diff -u -r1.4 Makefile
> --- Makefile 15 Sep 2007 21:03:00 -0000 1.4
> +++ Makefile 17 May 2010 10:13:02 -0000
> -2,8 +2,7
>
> COMMENT= proxy/masquerading daemon for the SIP protocol
>
> -DISTNAME= siproxd-0.5.13
> -PKGNAME= ${DISTNAME}p0
> +DISTNAME= siproxd-0.8.0
> CATEGORIES= telephony net
>
> HOMEPAGE= http://siproxd.sourceforge.net/
> -15,13 +14,14
> PERMIT_PACKAGE_FTP= Yes
> PERMIT_DISTFILES_CDROM= Yes
> PERMIT_DISTFILES_FTP= Yes
> +
> WANTLIB= c pthread
>
> MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
>
> CONFIGURE_STYLE=gnu
>
> -LIB_DEPENDS= osip2,osipparser2::telephony/libosip2
> +LIB_DEPENDS= osip2,osipparser2:libosip2->=3:telephony/libosip2
>
> DOCDIR= ${PREFIX}/share/doc/siproxd
> EXDIR= ${PREFIX}/share/examples/siproxd
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/telephony/siproxd/distinfo,v
> retrieving revision 1.3
> diff -u -r1.3 distinfo
> --- distinfo 5 Apr 2007 17:26:13 -0000 1.3
> +++ distinfo 17 May 2010 10:13:02 -0000
> -1,5 +1,5
> -MD5 (siproxd-0.5.13.tar.gz) = kaVy+A3Vqa9aD38gf9NEeA==
> -RMD160 (siproxd-0.5.13.tar.gz) = xZF+R2Vao2PWxyq1oINs3vACs5o=
> -SHA1 (siproxd-0.5.13.tar.gz) = EIzpcDfhGcCRDhtJ42WEly3NbMs=
> -SHA256 (siproxd-0.5.13.tar.gz) =
> tBniZCz/KupD69MhOeL+NFADNH0J4ajcaiif3AjB980=
> -SIZE (siproxd-0.5.13.tar.gz) = 223109
> +MD5 (siproxd-0.8.0.tar.gz) = o5vCoGocmrthGMo0gumPPA==
> +RMD160 (siproxd-0.8.0.tar.gz) = RHvIiRYy3COnaFr40ulY+17pz7I=
> +SHA1 (siproxd-0.8.0.tar.gz) = 0vI6Aepg42SO/UYTbgK8hNHpNKE=
> +SHA256 (siproxd-0.8.0.tar.gz) =
> GgMG2/XdZfLG13m9RJy6u6jBpMx5ygNOnMg4NsYPhUI=
> +SIZE (siproxd-0.8.0.tar.gz) = 824404
> Index: patches/patch-doc_siproxd_conf_example
> ===================================================================
> RCS file:
> /cvs/ports/telephony/siproxd/patches/patch-doc_siproxd_conf_example,v
> retrieving revision 1.1
> diff -u -r1.1 patch-doc_siproxd_conf_example
> --- patches/patch-doc_siproxd_conf_example 27 Nov 2006 11:16:50 -0000
> 1.1
> +++ patches/patch-doc_siproxd_conf_example 17 May 2010 10:13:02 -0000
> -1,7 +1,7
> $OpenBSD: patch-doc_siproxd_conf_example,v 1.1 2006/11/27 11:16:50 msf Exp
> $
> ---- doc/siproxd.conf.example.orig Mon Jun 19 01:28:42 2006
> -+++ doc/siproxd.conf.example Sun Nov 26 00:15:43 2006
> - -80,15 +80,15 log_calls = 1
> +--- doc/siproxd.conf.example.orig Thu Jan 7 12:44:38 2010
> ++++ doc/siproxd.conf.example Mon May 17 10:43:30 2010
> + -78,8 +78,8 silence_log = 1
> # Secure Enviroment settings:
> # user: uid/gid to switch to after startup
> # chrootjail: path to chroot to (chroot jail)
> -12,18 +12,19
>
> ######################################################################
> # Registration file:
> - # Where to store the current registrations.
> - # An empty value means we do not save registrations. Make sure that
> + -88,7 +88,7 user = nobody
> # the specified directory path does exist!
> + # Note: If running in chroot jail, this path starts relative
> + # to the jail.
> -registration_file = /var/lib/siproxd/siproxd_registrations
> +registration_file = siproxd_registrations
>
> ######################################################################
> # Automatically save current registrations every 'n' seconds
> - -99,7 +99,7 autosave_registrations = 300
> - # PID file:
> - # Where to create the PID file.
> + -101,7 +101,7 autosave_registrations = 300
> # This file holds the PID of the main thread of siproxd.
> + # Note: If running in chroot jail, this path starts relative
> + # to the jail.
> -pid_file = /var/run/siproxd/siproxd.pid
> +pid_file = siproxd.pid
>
> Index: patches/patch-src_Makefile_in
> ===================================================================
> RCS file: /cvs/ports/telephony/siproxd/patches/patch-src_Makefile_in,v
> retrieving revision 1.2
> diff -u -r1.2 patch-src_Makefile_in
> --- patches/patch-src_Makefile_in 27 Nov 2006 11:16:50 -0000 1.2
> +++ patches/patch-src_Makefile_in 17 May 2010 10:13:02 -0000
> -1,12 +1,12
> $OpenBSD: patch-src_Makefile_in,v 1.2 2006/11/27 11:16:50 msf Exp $
> ---- src/Makefile.in.orig Mon Jun 19 01:29:03 2006
> -+++ src/Makefile.in Sat Nov 25 23:57:50 2006
> - -506,7 +506,7 uninstall-am: uninstall-info-am uninstal
> +--- src/Makefile.in.orig Mon May 17 10:41:32 2010
> ++++ src/Makefile.in Mon May 17 10:41:40 2010
> + -675,7 +675,7 uninstall-am: uninstall-info-am uninstall-pkglibLTLIBR
> # count BUILDs - each time increment by one and define the
> # C macro BUILDNO. bind it to a file everybody includes (log.h)
> #
> -log.h: increment_build
> -+log.h:
> ++log.h:
>
> increment_build:
> echo "incrementing BUILD number"
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/telephony/siproxd/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -r1.3 PLIST
> --- pkg/PLIST 31 May 2007 15:51:23 -0000 1.3
> +++ pkg/PLIST 17 May 2010 10:13:02 -0000
> -1,7 +1,7
> comment $OpenBSD: PLIST,v 1.3 2007/05/31 15:51:23 aanriot Exp $
> newgroup _siproxd:574
> newuser _siproxd:574:574:daemon:SIP proxy:/var/empty:/sbin/nologin
> -sbin/siproxd
> +bin sbin/siproxd
> share/doc/siproxd/
> share/doc/siproxd/FAQ
> share/doc/siproxd/KNOWN_BUGS
>
>