debian/0000755000000000000000000000000012146043326007167 5ustar debian/libss7-dev.install0000644000000000000000000000005511051367271012540 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so debian/control0000644000000000000000000000454412146041507010600 0ustar Source: libss7 Priority: optional Section: libs Maintainer: Debian VoIP Team Uploaders: Tzafrir Cohen , Mark Purcell , Kilian Krause Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: http://downloads.asterisk.org/pub/telephony/libss7/ Vcs-Svn: svn://anonscm.debian.org/pkg-voip/libss7/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-voip/libss7/trunk/ Package: libss7-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libss7-1 (= ${binary:Version}) Description: Signalling System 7 (ss7) development files A userspace library that provids SS7 protocol services to applications. It has a working MTP2, MTP3, and ISUP for ITU and ANSI style SS7, however it was written in a manner that will easily allow support for other various national specific variants in the future. For a working reference implementation, see the various link test programs, as well as the Asterisk Open Source PBX. . Development files for the C implementation of the Signalling System 7 (ss7) telephony protocol. Package: libss7-1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Signalling System 7 (ss7) library A userspace library that provids SS7 protocol services to applications. It has a working MTP2, MTP3, and ISUP for ITU and ANSI style SS7, however it was written in a manner that will easily allow support for other various national specific variants in the future. For a working reference implementation, see the various link test programs, as well as the Asterisk Open Source PBX. . C implementation of the Signalling System 7 (ss7) telephony protocol. Package: libss7-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, libss7-1 (= ${binary:Version}) Description: Signalling System 7 (ss7) debugging symbols A userspace library that provids SS7 protocol services to applications. It has a working MTP2, MTP3, and ISUP for ITU and ANSI style SS7, however it was written in a manner that will easily allow support for other various national specific variants in the future. For a working reference implementation, see the various link test programs, as well as the Asterisk Open Source PBX. . Debug symbols for the C implementation of the Signalling System 7 (ss7) telephony protocol. debian/patches/0000755000000000000000000000000012146043326010616 5ustar debian/patches/gcc460000644000000000000000000000237711663645627011477 0ustar Author: Tzafrir Cohen Description: Remove assigned but unused code warningsof GCC 4.6 Bug: https://issues.asterisk.org/jira/browse/SS7-54 --- a/mtp3.c +++ b/mtp3.c @@ -455,12 +455,10 @@ fail: int mtp3_transmit(struct ss7 *ss7, unsigned char userpart, unsigned char sls, struct ss7_msg *m) { unsigned char *sio; - unsigned char *sif; struct mtp2 *winner; int priority = 3; sio = m->buf + MTP2_SIZE; - sif = sio + 1; winner = sls_to_link(ss7, sls); --- a/isup.c +++ b/isup.c @@ -2274,12 +2274,9 @@ static int dump_parm(struct ss7 *ss7, in int x; int len = 0; int totalparms = sizeof(parms)/sizeof(struct parm_func); - char *parmname = "Unknown Parm"; for (x = 0; x < totalparms; x++) { if (parms[x].parm == parm) { - if (parms[x].name) - parmname = parms[x].name; ss7_message(ss7, "\t\t%s:\n", parms[x].name ? parms[x].name : "Unknown"); --- a/parser_debug.c +++ b/parser_debug.c @@ -45,7 +45,6 @@ int main(int argc, char **argv) unsigned int tmp; int ss7type; int res = 0, i = 0, size; - ss7_event *e; if (argc != 3) return -1; @@ -81,7 +80,7 @@ int main(int argc, char **argv) mtp2_receive(ss7->links[0], mybuf, size); - e = ss7_check_event(ss7); + ss7_check_event(ss7); return 0; } debian/patches/series0000644000000000000000000000010312033756605012033 0ustar fix-clang-build.diff spelling-error-in-binary.patch ldconfig gcc46 debian/patches/fix-clang-build.diff0000644000000000000000000000244212033756605014425 0ustar Description: libss7: FTBFS with clang 3.1 Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686546 Index: libss7-1.0.2/Makefile =================================================================== --- libss7-1.0.2.orig/Makefile 2008-08-07 04:49:06.000000000 +1000 +++ libss7-1.0.2/Makefile 2012-10-06 17:05:47.000000000 +1000 @@ -1,4 +1,4 @@ -CC=gcc +CC?=gcc GREP=grep AWK=awk Index: libss7-1.0.2/isup.c =================================================================== --- libss7-1.0.2.orig/isup.c 2008-08-10 02:54:23.000000000 +1000 +++ libss7-1.0.2/isup.c 2012-10-06 17:07:25.000000000 +1000 @@ -1394,7 +1394,7 @@ switch ((parm[1] >> 4) & 0xf) { case 0: - orig_redir_reas = "Unknown/not available"; + redir_reas = "Unknown/not available"; break; case 1: redir_reas = "User busy"; Index: libss7-1.0.2/mtp3.c =================================================================== --- libss7-1.0.2.orig/mtp3.c 2008-08-06 08:27:45.000000000 +1000 +++ libss7-1.0.2/mtp3.c 2012-10-06 17:06:20.000000000 +1000 @@ -614,7 +614,7 @@ int i; for (i = 0; i < ss7->numlinks; i++) { - if ((ss7->mtp2_linkstate[i] == MTP2_LINKSTATE_DOWN)) { + if (ss7->mtp2_linkstate[i] == MTP2_LINKSTATE_DOWN) { mtp2_start(ss7->links[i], 1); ss7->mtp2_linkstate[i] = MTP2_LINKSTATE_ALIGNING; } debian/patches/spelling-error-in-binary.patch0000644000000000000000000000115311771577374016513 0ustar Description: spelling-error-in-binary usr/lib/libss7.so.1.0 requried required Bug-Debian: http://lintian.debian.org/tags/spelling-error-in-binary.html Index: libss7-1.0.2/isup.c =================================================================== --- libss7-1.0.2.orig/isup.c 2008-08-10 02:54:23.000000000 +1000 +++ libss7-1.0.2/isup.c 2012-06-24 21:33:45.000000000 +1000 @@ -407,7 +407,7 @@ hg_str = "ISDN user part not preferred all the way"; break; case 2: - hg_str = "ISDN user part requried all the way"; + hg_str = "ISDN user part required all the way"; break; case 3: hg_str = "spare"; debian/patches/ldconfig0000644000000000000000000000153711101705210012317 0ustar "make install with destdir under fakeroot: ldconfig permission denied" Upstream issue: http://bugs.digium.com/13313 Index: Makefile =================================================================== --- a/Makefile (revision 209) +++ b/Makefile (working copy) @@ -45,10 +45,9 @@ mkdir -p $(INSTALL_PREFIX)$(libdir) mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include install -m 644 libss7.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include - install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(libdir) - ( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 ) + cp -dp *.so* $(INSTALL_PREFIX)$(libdir) install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir) - if test $$(id -u) = 0; then $(LDCONFIG); fi + $(LDCONFIG) 2>/dev/null || : $(STATIC_LIBRARY): $(STATIC_OBJS) ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS) debian/docs0000644000000000000000000000001511051367271010040 0ustar README NEWS* debian/source/0000755000000000000000000000000012146043326010467 5ustar debian/source/format0000644000000000000000000000001411663762363011711 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000157211054162110011115 0ustar It was downloaded from htp://ftp.digum.com/pub/telephony/libss7 Upstream Author: Matthew Fredrickson Copyright Holder: Copyright (C) 2006-2008, Digium, Inc License: * This program is free software, distributed under the terms of * the GNU General Public License Version 2 as published by the * Free Software Foundation. See the LICENSE file included with * this program for more details. * * In addition, when this program is distributed with Asterisk in * any form that would qualify as a 'combined work' or as a * 'derivative work' (but not mere aggregation), you can redistribute * and/or modify the combination under the terms of the license * provided with that copy of Asterisk, instead of the license * terms granted here. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/libss7-1.install0000644000000000000000000000002211051367271012114 0ustar usr/lib/lib*.so.* debian/rules0000755000000000000000000000111312033756605010251 0ustar #!/usr/bin/make -f PKGNAME:=$(shell sed -nre 's/^Package: (.*[0-9])$$/\1/p' debian/control) DEBVERSION:=$(shell head -n 1 debian/changelog \ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/~dfsg$$//') UPVERSIONMAJOR:=$(shell echo $(UPVERSION) | sed -re 's/(^[0-9]\.[0-9]).*/\1/') SHLIBS = $(PKGNAME) (>= $(UPVERSIONMAJOR)) %: dh $@ override_dh_installchangelogs: dh_installchangelogs ChangeLog override_dh_mkshlibs: dh_makeshlibs -V "$(SHLIBS)" override_dh_strip: dh_strip --dbg-package=libss7-dbg debian/clean0000644000000000000000000000001211663762363010201 0ustar version.c debian/compat0000644000000000000000000000000211771577374010407 0ustar 9 debian/backports/0000755000000000000000000000000012146043326011157 5ustar debian/backports/squeeze0000755000000000000000000000022411772111617012567 0ustar #!/bin/sh # Squeeze has an older debhelper: sed -i -e '/^Build-Depends:/s/debhelper (>= 9)/debhelper (>= 8)/' debian/control echo 8 >debian/compat debian/watch0000644000000000000000000000025611201323161010210 0ustar version=3 opts=dversionmangle=s/\~dfsg//,downloadurlmangle=s/.*ref=// \ http://downloads.digium.com/pub/telephony/libss7/releases/libss7-([0-9.]*).tar.gz debian svn-upgrade debian/changelog0000644000000000000000000000260412146043305011040 0ustar libss7 (1.0.2-5) unstable; urgency=low * Upload to unstable * Update Vcs & Standards-Version -- Mark Purcell Sun, 19 May 2013 13:27:58 +1000 libss7 (1.0.2-4) experimental; urgency=low * Fix "FTBFS with clang 3.1" patch from Cyril Roelandt (Closes: #686546) * Cleanup debian/rules -- Mark Purcell Sat, 06 Oct 2012 17:27:40 +1000 libss7 (1.0.2-3) unstable; urgency=low * wheezy polish * Update Standards-Version: 3.9.3 - no changes * debian/compat -> 9 hardening & multiarch * Update Description - fixes extended-description-is-probably-too-short * Fix spelling-error-in-binary usr/lib/libss7.so.1.0 requried required -- Mark Purcell Sun, 24 Jun 2012 21:50:00 +1000 libss7 (1.0.2-2) unstable; urgency=low [ Kilian Krause ] * Add myself to Uploaders * Fix debian/watch [ Mark Purcell ] * Add myself to Uploaders * libss7-dbg -> Section: debug * debian/compat -> 7 [ Tzafrir Cohen ] * A @debian.org address. * Patch gcc46: Fix the gcc 4.6 warnings (Closes: 625375). * Switch to dh. * Swich to dpkg v.3 format. * Standards version: 3.9.2. * Add a symbols file. -- Tzafrir Cohen Fri, 25 Nov 2011 21:06:32 +0200 libss7 (1.0.2-1) unstable; urgency=low [ Tzafrir Cohen ] * Initial release. (Closes: #496263) -- Mark Purcell Tue, 18 Nov 2008 22:31:46 +1100 debian/libss7-1.symbols0000644000000000000000000000426211663763533012162 0ustar libss7.so.1 libss7-1 #MINVER# ansi_sls_next@Base 1.0.2 isup_acm@Base 1.0.2 isup_anm@Base 1.0.2 isup_bla@Base 1.0.2 isup_blo@Base 1.0.2 isup_cgb@Base 1.0.2 isup_cgba@Base 1.0.2 isup_cgu@Base 1.0.2 isup_cgua@Base 1.0.2 isup_con@Base 1.0.2 isup_cpg@Base 1.0.2 isup_cqr@Base 1.0.2 isup_cvr@Base 1.0.2 isup_dump@Base 1.0.2 isup_faa@Base 1.0.2 isup_far@Base 1.0.2 isup_gra@Base 1.0.2 isup_grs@Base 1.0.2 isup_iam@Base 1.0.2 isup_init_call@Base 1.0.2 isup_lpa@Base 1.0.2 isup_new_call@Base 1.0.2 isup_receive@Base 1.0.2 isup_rel@Base 1.0.2 isup_rlc@Base 1.0.2 isup_rsc@Base 1.0.2 isup_set_call_dpc@Base 1.0.2 isup_set_called@Base 1.0.2 isup_set_calling@Base 1.0.2 isup_set_callref@Base 1.0.2 isup_set_charge@Base 1.0.2 isup_set_gen_address@Base 1.0.2 isup_set_gen_digits@Base 1.0.2 isup_set_generic_name@Base 1.0.2 isup_set_jip_digits@Base 1.0.2 isup_set_lspi@Base 1.0.2 isup_set_oli@Base 1.0.2 isup_uba@Base 1.0.2 isup_ubl@Base 1.0.2 isup_ucic@Base 1.0.2 mtp2_dump@Base 1.0.2 mtp2_msu@Base 1.0.2 mtp2_new@Base 1.0.2 mtp2_receive@Base 1.0.2 mtp2_setstate@Base 1.0.2 mtp2_start@Base 1.0.2 mtp2_stop@Base 1.0.2 mtp2_transmit@Base 1.0.2 mtp3_alarm@Base 1.0.2 mtp3_dump@Base 1.0.2 mtp3_noalarm@Base 1.0.2 mtp3_process_event@Base 1.0.2 mtp3_receive@Base 1.0.2 mtp3_start@Base 1.0.2 mtp3_transmit@Base 1.0.2 net_mng_messages@Base 1.0.2 set_routinglabel@Base 1.0.2 ss7_add_link@Base 1.0.2 ss7_check_event@Base 1.0.2 ss7_dump_buf@Base 1.0.2 ss7_dump_msg@Base 1.0.2 ss7_error@Base 1.0.2 ss7_event2str@Base 1.0.2 ss7_get_version@Base 1.0.2 ss7_link_alarm@Base 1.0.2 ss7_link_noalarm@Base 1.0.2 ss7_message@Base 1.0.2 ss7_msg_free@Base 1.0.2 ss7_msg_new@Base 1.0.2 ss7_msg_userpart@Base 1.0.2 ss7_msg_userpart_len@Base 1.0.2 ss7_new@Base 1.0.2 ss7_next_empty_event@Base 1.0.2 ss7_pollflags@Base 1.0.2 ss7_read@Base 1.0.2 ss7_schedule_del@Base 1.0.2 ss7_schedule_event@Base 1.0.2 ss7_schedule_next@Base 1.0.2 ss7_schedule_run@Base 1.0.2 ss7_set_adjpc@Base 1.0.2 ss7_set_debug@Base 1.0.2 ss7_set_error@Base 1.0.2 ss7_set_message@Base 1.0.2 ss7_set_network_ind@Base 1.0.2 ss7_set_pc@Base 1.0.2 ss7_start@Base 1.0.2 ss7_write@Base 1.0.2 testmessage@Base 1.0.2