debian/0000775000000000000000000000000013242743637007203 5ustar debian/captagent.init0000664000000000000000000000367612770450752012050 0ustar #! /bin/sh # ### BEGIN INIT INFO # Provides: captagent # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Required-Start: $local_fs $network # Required-Stop: # Short-Description: captagent - the Open Source Homer Capture Agent # Description: Homer captagent is an Open Source Capture Programm released # under GPLv3, able to handle thousands of call setups per second. ### END INIT INFO cap=/usr/bin/captagent prog=captagent pidfile=/var/run/$prog.pid lockfile=/var/lock/$prog RETVAL=0 start() { if [ -e $pidfile ]; then echo "[FAILED] Captagent is already running with PID: `cat $pidfile`" else echo -n "Starting $prog: " # there is something at end of this output which is needed to # report proper [ OK ] status in CentOS scripts start-stop-daemon --start --quiet --pidfile $pidfile --exec $cap -- $OPTIONS || echo "Failed" RETVAL=$? echo [ $RETVAL = 0 ] && touch $lockfile fi } stop() { echo -n "Stopping $prog: " #killproc $cap if [ -e $pidfile ]; then start-stop-daemon --oknodo --stop --quiet --pidfile $pidfile --signal 9 || echo "Failed" RETVAL=$? echo [ $RETVAL = 0 ] && rm -f $lockfile $pidfile else RETVAL=1 echo [ $RETVAL = 1 ] && rm -f $lockfile $pidfile echo "[FAILED] Captagent is not running" fi } status() { RETVAL=0 if [ -e $pidfile ]; then echo "[OK] Captagent is running with PID: `cat $pidfile`" else echo "[FAILED] Captagent is not running" RETVAL=1 fi return $RETVAL } [ -z "$CONFIG" ] && CONFIG=/etc/captagent/captagent.xml OPTIONS="-d -f $CONFIG" # See how we were called. case "$1" in start) start ;; stop) stop ;; status) status ;; restart) stop start ;; condrestart) if [ -f $pidfile ] ; then stop start fi ;; *) echo $"Usage: $prog {start|stop|restart|condrestart|status|help}" exit 1 esac exit $RETVAL debian/changelog0000644000000000000000000000130113242743637011046 0ustar captagent (6.1.0.20-3build1) bionic; urgency=medium * No-change rebuild to pick up the shared flex library. -- Matthias Klose Tue, 20 Feb 2018 07:00:47 +0000 captagent (6.1.0.20-3) unstable; urgency=high * Update Build-Deps for default-libmysqlclient-dev. (Closes: #845827) -- Daniel Pocock Sun, 15 Jan 2017 21:09:31 +0100 captagent (6.1.0.20-2) unstable; urgency=high * Add libfl-dev to build-deps. (Closes: #846415) -- Daniel Pocock Sat, 17 Dec 2016 17:50:25 +0100 captagent (6.1.0.20-1) unstable; urgency=low * Initial packaging. (Closes: #837165) -- Daniel Pocock Fri, 09 Sep 2016 16:05:30 +0200 debian/compat0000664000000000000000000000000212770450752010377 0ustar 9 debian/control0000664000000000000000000000235213036753373010607 0ustar Source: captagent Section: comm Priority: optional Maintainer: Debian VoIP Team Uploaders: Daniel Pocock , Konstantin S. Vishnivetsky Build-Depends: debhelper (>= 9.0.0), debconf, autotools-dev, dh-autoreconf, bison, flex, libfl-dev, libexpat-dev, libjson-c-dev, default-libmysqlclient-dev, libpcap-dev Standards-Version: 3.9.6 Homepage: http://sipcapture.org Vcs-Git: git://anonscm.debian.org/git/pkg-voip/captagent.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-voip/captagent.git Package: captagent Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends} Description: HOMER SIP capture agent HOMER5 a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling. . This package provides the agent for collecting data on any SIP server and forwarding it to the HOMER server for analysis. debian/copyright0000664000000000000000000001145712770450752011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: captagent Upstream-Contact: Source: https://github.com/sipcapture/captagent Files: * Copyright: 2012-2015, Homer Project 2012-2015, Alexandr Dubovikov 2012-2015, Konstantin S. Vishnivetsky 2007, Jan Andres License: GPL-3+ Files: src/modules/database/hash/* Copyright: 2007-2014, Troy D. Hanson http://troydhanson.github.com/uthash/ License: BSD-1 Files: src/modules/interface/http/civetweb.c Copyright: 2004-2013, Sergey Lyubka 2013-2014, Civetweb developers 2013-2014, Steve Reid License: MIT Files: src/modules/interface/http/civetweb.h Copyright: 2004-2013, Sergey Lyubka 2013-2014, Civetweb developers License: MIT Files: m4/as-ac-expand.m4 Copyright: 2003-2005, Thomas Vander Stichele License: Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Files: debian/* Copyright: 2012-2015, Konstantin S. Vishnivetsky 2016, Daniel Pocock https://danielpocock.com License: GPL-3+ Files: src/md5.c Copyright: 1999-2002, Aladdin Enterprises License: Zlib Files: src/y.tab.h Copyright: 1984, 1989-1990, 2000-2011, Free Software Foundation, Inc License: GPL-3+ Files: compile Copyright: 1999-2013, Free Software Foundation, Inc. License: GPL-2+ License: BSD-1 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: Zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. License: GPL-3+ On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: GPL-2+ On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/docs0000664000000000000000000000005612770450752010055 0ustar AUTHORS COPYING LICENSE NEWS README README.md debian/install0000664000000000000000000000010112770450752010562 0ustar usr/bin/captagent usr/lib/*/captagent/modules/*.so etc/captagent debian/rules0000775000000000000000000000104212770450752010256 0ustar #!/usr/bin/make -f # -*- makefile -*- DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp override_dh_auto_build: dh_auto_build --parallel # force building in the pkgroot or it won't build %: dh $@ --with autoreconf --builddirectory=. override_dh_auto_install: dh_auto_install --destdir=debian/tmp debian/source/0000775000000000000000000000000012770450752010501 5ustar debian/source/format0000664000000000000000000000001412770450752011707 0ustar 3.0 (quilt) debian/source/options0000664000000000000000000000002512770450752012114 0ustar compression = "gzip" debian/watch0000664000000000000000000000033512770450752010233 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/captagent-$1\.tar\.gz/ \ https://github.com/sipcapture/captagent/tags .*/v?(\d\S*)\.tar\.gz