debian/0000755000000000000000000000000012321462331007163 5ustar debian/compat0000644000000000000000000000000212321461255010365 0ustar 9 debian/copyright0000644000000000000000000000350212321461255011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: reConServer Upstream-Contact: reSIProcate developers Source: https://github.com/resiprocate/reConServer Files: * Copyright: 2005-2013, Scott Godin / SIP Spectrum Inc. 2013, Daniel Pocock 2013, Catalin Constantin Usurelu License: BSD License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither the name of the author(s) nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/lintian-overrides0000644000000000000000000000023312321461255012546 0ustar # false positive, maybe because adduser command split over multiple lines reconserver binary: maintainer-script-should-not-use-adduser-system-without-home debian/reconserver.README.Debian0000644000000000000000000000066112321461255013567 0ustar Quick start ----------- After installing the package, the daemon starts. Adapt /etc/reConServer/reConServer.config to your needs Typically, you do the following: a) create an account for reConServer in your SIP proxy. b) add the account details to /etc/reConServer/reConServer.config c) service reconserver restart d) users now dial the number/account assigned to reConServer and they all end up in the same room by default debian/reconserver.dirs0000644000000000000000000000002012321461255012377 0ustar etc/reConServer debian/reconserver.docs0000644000000000000000000000002712321461255012375 0ustar reConServer_readme.txt debian/reconserver.init0000644000000000000000000000376712321461255012426 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: reConServer # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: reConServer SIP Conferencing # Description: reConServer SIP conferencing server from the reSIProcate team ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin NAME=reConServer DESC="SIP Conferencing" DAEMON=/usr/sbin/$NAME USER=recon GROUP=recon PIDFILE="/var/run/$NAME/$NAME.pid" #PIDFILE="/var/run/${NAME}.pid" PIDFILE_DIR=`dirname $PIDFILE` LOG_DIR=/var/log/reConServer KILL_SPEC=TERM/20/KILL/5 . /lib/lsb/init-functions test -x $DAEMON || exit 1 umask 002 # Include defaults if available if [ -f /etc/default/$NAME ] ; then . /etc/default/$NAME fi DAEMON_OPTS="/etc/reConServer/${NAME}.config --Daemonize=true --PidFile=${PIDFILE}" if [ ! -d "$PIDFILE_DIR" ];then mkdir -p "$PIDFILE_DIR" chown $USER:$GROUP "$PIDFILE_DIR" fi if [ ! -d "$LOG_DIR" ];then mkdir -p "$LOG_DIR" chown $USER:$GROUP "$LOG_DIR" fi set -e case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --user $USER --chuid $USER --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --oknodo --user $USER --pidfile $PIDFILE --retry=${KILL_SPEC} --exec $DAEMON echo "$NAME." ;; status) echo -n "Status $DESC: " PID=$(cat $PIDFILE) kill -0 $PID rc=$? # Check exit code if [ "$rc" -ne 0 ] then echo "$NAME is NOT running." exit 7 else echo "$NAME is running with PID: $PID" fi ;; restart|force-reload) echo -n "Restarting $DESC: " #start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON $0 stop #start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS $0 start echo "$NAME." ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|status|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/reconserver.install0000644000000000000000000000004312321461255013111 0ustar reConServer.config etc/reConServer debian/reconserver.manpages0000644000000000000000000000001612321461255013236 0ustar reConServer.8 debian/reconserver.postinst0000644000000000000000000000370012321461255013331 0ustar #!/bin/sh # currently comment out because otherwise it freezes #. /usr/share/debconf/confmodule set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # $1 = version of the package being upgraded. install() { RECONSERVER_GROUP=recon if ! getent group "$RECONSERVER_GROUP" >/dev/null; then addgroup --system "$RECONSERVER_GROUP" || exit 1 fi RECONSERVER_HOME=/var/lib RECONSERVER_USER=recon if ! getent passwd "$RECONSERVER_USER" >/dev/null; then adduser --system \ --home "${RECONSERVER_HOME}" \ --shell /bin/false \ --no-create-home \ --ingroup "$RECONSERVER_GROUP" \ --disabled-password \ --disabled-login \ --gecos "reConServer daemon" \ "$RECONSERVER_USER" || exit 1 fi if [ ! -d ${RECONSERVER_HOME} ]; then #mkdir -p ${RECONSERVER_HOME} || exit 1 #chown ${RECONSERVER_USER}:${RECONSERVER_GROUP} "${RECONSERVER_HOME}" #chmod 0700 "${RECONSERVER_HOME}" echo "Home directory ${RECONSERVER_HOME} not found!" exit 1 fi } case "$1" in configure) install "$2" ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/reconserver.postrm0000644000000000000000000000113312321461255012770 0ustar #!/bin/sh set -e if [ "$1" = "purge" ] ; then # MySQL uses debconf to get user confirmation before # wiping it's lib database directory, a similar # approach might be desirable for reConServer #rm -rf /var/lib/reConServer rm -rf /var/run/reConServer if getent passwd recon >/dev/null; then userdel recon fi if getent group recon >/dev/null; then groupdel recon fi fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/rules0000755000000000000000000000240412321461255010247 0ustar #!/usr/bin/make -f DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk #DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp # Since 1.9.0~beta2-1, the reSIProcate packages have been built # without this flag to we comment it out now too: #CPPFLAGS += -DRESIP_FIXED_POINT # this is just temporary, reSIProcate 1.9.x should not need this: CPPFLAGS += -I/usr/include/sipxtapi # these are also temporary, should be implemented in reSIProcate's build system, for sipXtapi # with librecon: CPPFLAGS += -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFS CPPFLAGS += -DDEFAULT_BRIDGE_MAX_IN_OUTPUTS=20 CXXFLAGS += -fpermissive # reSIProcate ABI is dependent on the compile flags # this should be fixed in v1.9 # for now, we must emulate the compile flags that were used to # build reSIProcate on Debian CPPFLAGS += -DRESIP_TOOLCHAIN_GNU #CPPFLAGS += -DRESIP_OSTYPE_LINUX #CPPFLAGS += -DRESIP_ARCH_X86_64 #CPPFLAGS += -DHAVE_sockaddr_in_len CPPFLAGS += -DUSE_CARES CPPFLAGS += -DUSE_SSL CPPFLAGS += -DUSE_IPV6 #CPPFLAGS += -DHAVE_EPOLL %: dh $@ --builddirectory=. override_dh_install: dh_install sed -i \ -e 's/^KeyboardInput = true/KeyboardInput = false/' \ debian/reconserver/etc/reConServer/reConServer.config debian/source/0000755000000000000000000000000012321461255010467 5ustar debian/source/format0000644000000000000000000000001412321461255011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000302712321461654011046 0ustar reconserver (0.10.3-1) unstable; urgency=medium * New upstream release. * Adds Opus codec support. -- Daniel Pocock Thu, 10 Apr 2014 00:28:02 +0200 reconserver (0.10.2-2) unstable; urgency=high * Fix lintian issues. -- Daniel Pocock Thu, 27 Mar 2014 10:50:40 +0100 reconserver (0.10.2-1) unstable; urgency=high * New upstream release. * Route sipXtapi logging into reConServer.log. * Use new participant-only parameter to direct tones to the correct channel in a B2BUA call. -- Daniel Pocock Wed, 26 Mar 2014 16:25:48 +0100 reconserver (0.10.1-1) unstable; urgency=high * New upstream release * Add versioned dependency on sipxtapi and resiprocate due to bugs in sample rate conversion and non-TURN sockets. -- Daniel Pocock Mon, 24 Mar 2014 16:57:08 +0100 reconserver (0.9.1-4) unstable; urgency=low * Override false positive from lintian * Use preferred method to drop privileges -- Daniel Pocock Mon, 30 Dec 2013 09:01:54 +0100 reconserver (0.9.1-3) unstable; urgency=low * Update for standards version 3.9.5 -- Daniel Pocock Sun, 29 Dec 2013 16:09:58 +0100 reconserver (0.9.1-2) unstable; urgency=low * Remove flag RESIP_FIXED_POINT -- Daniel Pocock Sun, 29 Dec 2013 09:52:14 +0100 reconserver (0.9.1-1) unstable; urgency=low * Initial import (Closes: #718987) -- Daniel Pocock Wed, 23 Oct 2013 12:54:24 -0500 debian/control0000644000000000000000000000171612321462331010573 0ustar Source: reconserver Section: net Priority: extra Maintainer: Debian VoIP Team Uploaders: Daniel Pocock Build-Depends: debhelper (>= 9.0.0), autotools-dev, dpkg-dev (>= 1.16.1~), librecon-1.9-dev (>= 1.9.6), libsipxtapi-dev (>= 3.3.0~test17) Homepage: https://github.com/resiprocate/reConServer Standards-Version: 3.9.5 Vcs-Git: git://git.debian.org/pkg-voip/reconserver.git Vcs-Browser: http://git.debian.org/?p=pkg-voip/reconserver.git;a=summary Package: reconserver Section: net Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, librecon-1.9 (>= 1.9.6), libsipxtapi (>= 3.3.0~test17) Description: lightweight SIP conferencing service reConServer is the SIP conferencing server developed by the reSIProcate community. It provides a lightweight, easy to configure way to run multi-user SIP conferences. It supports audio but not video or text.