--- iaxmodem-1.2.0~dfsg.orig/debian/compat +++ iaxmodem-1.2.0~dfsg/debian/compat @@ -0,0 +1 @@ +5 --- iaxmodem-1.2.0~dfsg.orig/debian/iaxmodem.postrm +++ iaxmodem-1.2.0~dfsg/debian/iaxmodem.postrm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +if [ "$1" = "purge" ]; then + rm -rf /var/log/iaxmodem +fi + +#DEBHELPER# --- iaxmodem-1.2.0~dfsg.orig/debian/README.Debian +++ iaxmodem-1.2.0~dfsg/debian/README.Debian @@ -0,0 +1,20 @@ +iaxmodem for Debian +------------------- + +This version of IAXmodem is statically linked against the modified versions +of libiax2 and spandsp that ship with IAXmodem. + +The shared libraries packaged in Debian can't be used, unfortunately. + + +Note: Upgrading iaxmodem +------------------------ + +When upgrading iaxmodem, you'll need to stop your fax server (HylaFax, or +any other fax server) before restarting iaxmodem. + +iaxmodem instances won't stop as long as there is a fax server connected to +them, hence you need to stop the fax server to be able to stop iaxmodem and +start the new version. + + -- Julien BLACHE , Sun, 23 Jul 2006 21:59:37 +0200 --- iaxmodem-1.2.0~dfsg.orig/debian/iaxmodem.logrotate +++ iaxmodem-1.2.0~dfsg/debian/iaxmodem.logrotate @@ -0,0 +1,13 @@ +/var/log/iaxmodem/* { + weekly + missingok + rotate 3 + compress + delaycompress + notifempty + olddir old + sharedscripts + postrotate + killall -HUP iaxmodem + endscript +} --- iaxmodem-1.2.0~dfsg.orig/debian/rules +++ iaxmodem-1.2.0~dfsg/debian/rules @@ -0,0 +1,159 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Include dpatch rules +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +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[0-9]*$$//') + +FILENAME := iaxmodem_$(UPVERSION)~dfsg.orig.tar.gz +UPFILENAME := iaxmodem_$(UPVERSION).orig.tar.gz +URL := http://heanet.dl.sourceforge.net/iaxmodem/iaxmodem-$(UPVERSION).tar.gz + +autotools-stamp: + rm -f ./lib/libiax2/config.sub ./lib/libiax2/config.guess + ln -s /usr/share/misc/config.sub ./lib/libiax2/config.sub + ln -s /usr/share/misc/config.guess ./lib/libiax2/config.guess + + rm -f ./lib/spandsp/config/config.sub ./lib/spandsp/config/config.guess + ln -s /usr/share/misc/config.sub ./lib/spandsp/config/config.sub + ln -s /usr/share/misc/config.guess ./lib/spandsp/config/config.guess + + touch autotools-stamp + + +configure-stamp: patch-stamp autotools-stamp + dh_testdir + + # Check that problematic files have been removed prior to packaging + ( [ ! -e lib/spandsp/src/spandsp/mmx.h ] && \ + [ ! -d lib/spandsp/src/msvc ] && [ ! -f lib/spandsp/libspandsp.vcproj ] && \ + [ ! -d lib/spandsp/autom4te.cache ] && [ ! -d lib/libiax2/autom4te.cache ] ) || \ + (echo "WARNING: sources are not clean!"; false) + + # Add here commands to configure the package. + (cd lib/libiax2 && ./configure $(confflags) --disable-shared) + (cd lib/spandsp && ./configure $(confflags) --disable-shared) + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -C ./lib/libiax2 + $(MAKE) -C ./lib/spandsp + + ./build static + + touch build-stamp + +clean: real-clean unpatch +real-clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp autotools-stamp + + # Add here commands to clean up after the build process. + [ ! -f lib/libiax2/Makefile ] || $(MAKE) -C ./lib/libiax2 distclean + rm -f ./lib/libiax2/config.sub ./lib/libiax2/config.guess + + [ ! -f lib/spandsp/Makefile ] || $(MAKE) -C ./lib/spandsp distclean + rm -rf ./lib/spandsp/autom4te.cache + rm -f ./lib/spandsp/config/config.sub ./lib/spandsp/config/config.guess + + rm -f iaxmodem iaxmodem.o + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/iaxmodem. + cp iaxmodem debian/iaxmodem/usr/bin + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_installexamples +# dh_install + dh_installlogrotate + # start before hylafax (20), stop after hylafax (20) and before asterisk (21) + dh_installinit -- defaults 19 20 + dh_installman iaxmodem.1 +# dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +print-version: + @@echo "Debian version: $(DEBVERSION)" + @@echo "Upstream version: $(UPVERSION)" + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + @@echo Downloading $(UPFILENAME) from $(URL) ... + @@wget -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL) + @@echo Repacking as DFSG-free... + @@rm -rf ../tarballs/iaxmodem-$(UPVERSION).tmp + @@mkdir -p ../tarballs/iaxmodem-$(UPVERSION).tmp/;cd ../tarballs/iaxmodem-$(UPVERSION).tmp && \ + tar xfz ../$(UPFILENAME) && \ + for file in lib/spandsp/src/spandsp/mmx.h lib/spandsp/src/msvc/\ + lib/spandsp/libspandsp.vcproj lib/libiax2/autom4te.cache/ \ + lib/spandsp/autom4te.cache/ lib/libiax2/CVS lib/libiax2/src/CVS; \ + do rm -rf iaxmodem-$(UPVERSION)/$$file; done && tar cfz ../$(FILENAME) * + @@echo Cleaning up... + @@$(RM) -rf ../tarballs/iaxmodem-$(UPVERSION).tmp + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch real-clean --- iaxmodem-1.2.0~dfsg.orig/debian/iaxmodem.docs +++ iaxmodem-1.2.0~dfsg/debian/iaxmodem.docs @@ -0,0 +1,3 @@ +FAQ +README +TODO --- iaxmodem-1.2.0~dfsg.orig/debian/iaxmodem.init +++ iaxmodem-1.2.0~dfsg/debian/iaxmodem.init @@ -0,0 +1,85 @@ +#! /bin/sh +# +### BEGIN INIT INFO +# Provides: iaxmodem +# Required-Start: $syslog $local_fs $network +# Required-Stop: $syslog $local_fs $network +# Should-Start: asterisk +# Should-Stop: asterisk +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Software modem with IAX2 connectivity +# Description: Use this software modem with Asterisk or another +# IPBX with IAX2 connectivity to send and receive +# faxes over VoIP. +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/iaxmodem +NAME=iaxmodem +DESC=iaxmodem + +test -x $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME.pid \ + --exec $DAEMON + echo "$NAME." + ;; + reload) + echo -n "Reloading $DESC: " + if [ -e /var/run/$NAME.pid ]; then + kill -HUP $(cat /var/run/$NAME.pid) + echo "$NAME." + else + echo "$NAME not running!" + exit 1 + fi + ;; + restart|force-reload) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + sleep 1 + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + status) + if [ -s /var/run/$NAME.pid ]; then + RUNNING=$(cat /var/run/$NAME.pid) + if [ -d /proc/$RUNNING ]; then + if [ $(readlink /proc/$RUNNING/exe) = $DAEMON ]; then + echo "$NAME is running." + exit 0 + fi + fi + + # No such PID, or executables don't match + echo "$NAME is not running, but pidfile existed." + rm /var/run/$NAME.pid + exit 1 + else + rm -f /var/run/$NAME.pid + echo "$NAME not running." + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- iaxmodem-1.2.0~dfsg.orig/debian/control +++ iaxmodem-1.2.0~dfsg/debian/control @@ -0,0 +1,23 @@ +Source: iaxmodem +Section: comm +Priority: optional +Maintainer: Debian VoIP Team +Uploaders: Julien BLACHE +Build-Depends: debhelper (>= 5), dpatch, libtiff4-dev, autotools-dev +Build-Conflicts: libiax-dev, libspandsp-dev +Standards-Version: 3.8.0 +Homepage: http://iaxmodem.sourceforge.net/ +Vcs-Svn: svn://svn.debian.org/pkg-voip/iaxmodem/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/iaxmodem/?op=log + +Package: iaxmodem +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: software modem with IAX2 connectivity + IAXmodem is a software modem written in C that uses an IAX channel (commonly + provided by an Asterisk PBX system) instead of a traditional phone line and + uses a DSP library instead of DSP hardware chipsets. + . + IAXmodem was originally conceived to function as a fax modem usable with + HylaFAX, and it does that well. However IAXmodem also has been known to + function with mgetty+sendfax and efax. --- iaxmodem-1.2.0~dfsg.orig/debian/copyright +++ iaxmodem-1.2.0~dfsg/debian/copyright @@ -0,0 +1,102 @@ +This package was debianized by Julien BLACHE for +Linbox (http://www.linbox.com/en) on Mon, 27 Feb 2006 19:33:17 +0100. + +It was downloaded from: http://iaxmodem.sf.net + + +IAXmodem uses modified copies of libiax2 and spandsp. + + +IAXmodem +-------- +Copyright Holder: Lee Howard + +License: + +IAXmodem is released under the term of the GNU General Public License, +version 2 or above. On Debian systems, the complete text of the license can +be found in the /usr/share/common-licenses/GPL file. + + +The following files have their own copyright statements and license: + + compat/daemon.c: + /* + * Copyright (c) 2007 Albert Lee . + * + * 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. + */ + + + compat/timers.c: + Copyright (C) 1991-1994,1996-2002,2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + This file is released under the terms of the GNU Lesser General Public + License, version 2.1 or later. On Debian systems, the complete text of + the license can be found in the /usr/share/common-licenses/LGPL file. + + +libiax2 +------- +Copyright Holder: Mark Spencer + +License from the README file: + +libiax: An implementation of the Inter-Asterisk eXchange protocol distributed +under the terms of the GNU Lesser General Public License + +The following files are marked as being released under the LGPL: + src/frame.h + src/iax-client.c + src/iax.c + src/iax.h + src/iax2-parser.c + src/iax2-parser.h + src/iax2.h + src/jitterbuf.c + src/jitterbuf.h + src/winpoop.h + +The following files are marked as being released under the GPL: + src/answer.h + src/miniphone.c + src/options.c + src/options.h + src/ring10.h + src/winiphone.c + +The following files are in the public domain: + src/md5.c + src/md5.h + +On Debian systems, the complete text of the licenses can be found in the +/usr/share/common-licenses/LGPL and /usr/share/common-licenses/GPL files. + + +spandsp +------- +Copyright Holder: Steve Underwood + +License: + +spandsp is released under the term of the GNU General Public License, +version 2 or above. On Debian systems, the complete text of the license can +be found in the /usr/share/common-licenses/GPL file. --- iaxmodem-1.2.0~dfsg.orig/debian/iaxmodem.examples +++ iaxmodem-1.2.0~dfsg/debian/iaxmodem.examples @@ -0,0 +1,2 @@ +config.ttyIAX +iaxmodem-cfg.ttyIAX --- iaxmodem-1.2.0~dfsg.orig/debian/iaxmodem.dirs +++ iaxmodem-1.2.0~dfsg/debian/iaxmodem.dirs @@ -0,0 +1,4 @@ +usr/bin +etc/iaxmodem +var/log/iaxmodem/old + --- iaxmodem-1.2.0~dfsg.orig/debian/changelog +++ iaxmodem-1.2.0~dfsg/debian/changelog @@ -0,0 +1,310 @@ +iaxmodem (1.2.0~dfsg-1ubuntu1) oneiric; urgency=low + + * Fix FTBFS with ld --as-needed. LP: #771116. + + -- Matthias Klose Thu, 15 Sep 2011 13:07:04 +0200 + +iaxmodem (1.2.0~dfsg-1) unstable; urgency=low + + * New upstream release. + + * debian/rules: + + Check that lib/spandsp/src/spandsp/mmx.h does not exist prior to build; + just in case the header would reappear in the future. + + * debian/patches/01_seteuid_setegid_ordering.dpatch: + + Removed; merged upstream. + * debian/patches/11_build_configure-stamp.dpatch: + + Updated; do not link unneeded libraries. + * debian/patches/10_replacement_spandsp_mmx_h.dpatch: + + Removed; not needed as the header is not shipped anymore and is not + needed for a successful build. + + -- Julien BLACHE Sun, 22 Feb 2009 11:56:35 +0100 + +iaxmodem (1.1.1~dfsg-3) unstable; urgency=low + + * debian/iaxmodem.init: + + Added status action (closes: #498219). + * debian/watch: + + Changed URL to use Debian QA redirector for SourceForge. + + -- Julien BLACHE Sun, 15 Feb 2009 18:10:00 +0100 + +iaxmodem (1.1.1~dfsg-2) unstable; urgency=low + + * debian/patches/01_seteuid_setegid_ordering.dpatch: + + Added; call setegid() before seteuid() when dropping privileges, otherwise + setegid() will fail once we're no longer root. + + -- Julien BLACHE Wed, 30 Jul 2008 19:43:58 +0200 + +iaxmodem (1.1.1~dfsg-1) unstable; urgency=low + + * New upstream release. + + * debian/control: + + Bump Standards-Version to 3.8.0 (no changes). + + -- Julien BLACHE Sat, 19 Jul 2008 21:32:25 +0200 + +iaxmodem (1.1.0~dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Tue, 12 Feb 2008 15:29:42 +0100 + +iaxmodem (1.0.0~dfsg-2) unstable; urgency=low + + * debian/iaxmodem.postrm: + + Remove /var/log/iaxmodem on purge. + + -- Julien BLACHE Mon, 31 Dec 2007 18:44:13 +0100 + +iaxmodem (1.0.0~dfsg-1) unstable; urgency=low + + * New upstream release. + + Just a renamed 0.3.2 as far as Linux is concerned. + * debian/control: + + Bump Standards-Version to 3.7.3 (no changes). + + -- Julien BLACHE Fri, 07 Dec 2007 18:41:23 +0100 + +iaxmodem (0.3.2~dfsg-2) unstable; urgency=low + + * debian/rules: + + Fix parallel builds. + + -- Julien BLACHE Sun, 02 Dec 2007 12:26:21 +0100 + +iaxmodem (0.3.2~dfsg-1) unstable; urgency=low + + [ Julien BLACHE ] + * debian/copyright: + + Updated; New files appeared in compat/. + + [ Faidon Liambotis ] + * New upstream release. + * debian/patches/11_build_configure-stamp.dpatch: + + Updated. + + -- Julien BLACHE Fri, 12 Oct 2007 18:42:10 +0200 + +iaxmodem (0.3.1~dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Sun, 05 Aug 2007 10:58:34 +0200 + +iaxmodem (0.3.0~dfsg-2) unstable; urgency=low + + * debian/rules: + + Do not ignore make distclean errors. + * debian/compat, debian/control: + + Upgrade to DH_COMPAT 5. + + -- Julien BLACHE Thu, 02 Aug 2007 18:33:04 +0200 + +iaxmodem (0.3.0~dfsg-1) unstable; urgency=low + + * New upstream release. + + Now supports V.17 reception; see changelog for details. + + -- Julien BLACHE Tue, 15 May 2007 09:43:53 +0200 + +iaxmodem (0.2.1~dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Sat, 24 Feb 2007 12:38:11 +0100 + +iaxmodem (0.2.0~dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Wed, 3 Jan 2007 17:03:02 +0100 + +iaxmodem (0.1.16~dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Thu, 23 Nov 2006 09:20:43 +0100 + +iaxmodem (0.1.15~dfsg-1) unstable; urgency=low + + * New upstream release. + * debian/rules: + + Use new ~dfsg versionning scheme. + + Do not remove config.* in get-orig-source. + * debian/patches/11_build_configure-stamp.dpatch: + + Updated. + * debian/iaxmodem.init: + + Added LSB header. + + -- Julien BLACHE Sat, 28 Oct 2006 10:54:55 +0200 + +iaxmodem (0.1.14.dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Tue, 1 Aug 2006 09:07:22 +0200 + +iaxmodem (0.1.13.dfsg-1) unstable; urgency=low + + * New upstream release. + + Fixes iaxmodem always reporting a busy state under some circumstances. + + -- Julien BLACHE Tue, 25 Jul 2006 09:09:13 +0200 + +iaxmodem (0.1.12.dfsg-1) unstable; urgency=low + + * New upstream release. + + Fixes iaxmodem lock-up under some circumstances when sending faxes. + * debian/patches/01_manpage_fixes.dpatch: + + Removed; merged upstream. + + -- Julien BLACHE Sun, 23 Jul 2006 21:51:37 +0200 + +iaxmodem (0.1.10.dfsg-1) unstable; urgency=low + + * New upstream release. + * debian/patches/11_build_configure-stamp.dpatch: + + Updated. + * debian/patches/01_manpage_fixes.dpatch: + + Added; fix path and name of the configuration files in the manpage + (closes: #377037). + + -- Julien BLACHE Sat, 8 Jul 2006 12:26:18 +0200 + +iaxmodem (0.1.9.dfsg-1) unstable; urgency=low + + * New upstream release. + * debian/patches/11_iax2_CORE-2006-0327.dpatch: + + Removed; merged upstream. + * debian/patches/11_build_configure-stamp.dpatch: + + Added; do not build libraries if configure-stamp exists (debian/rules + takes care of that). + + -- Julien BLACHE Mon, 12 Jun 2006 17:49:03 +0200 + +iaxmodem (0.1.8.dfsg-2) unstable; urgency=low + + * debian/patches/11_iax2_CORE-2006-0327.dpatch: + + Added; Fix IAXclient truncated frames vulnerabilities; see CORE-2006-0327 + (stollen from iaxclient). + + -- Julien BLACHE Mon, 12 Jun 2006 10:52:16 +0200 + +iaxmodem (0.1.8.dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Sat, 3 Jun 2006 16:03:35 +0200 + +iaxmodem (0.1.7.dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Thu, 25 May 2006 20:54:17 +0200 + +iaxmodem (0.1.6.dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Julien BLACHE Thu, 25 May 2006 10:06:20 +0200 + +iaxmodem (0.1.5.dfsg-1) unstable; urgency=low + + * New upstream release. + + Fix typo in x86-64 asm code (closes: #366076). + * debian/control: + + Bumped Standards-Version to 3.7.2 (no changes). + + -- Julien BLACHE Sat, 6 May 2006 12:45:24 +0200 + +iaxmodem (0.1.4.dfsg-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + Bumped Standards-Version to 3.7.0 (no changes). + + -- Julien BLACHE Wed, 3 May 2006 08:33:42 +0200 + +iaxmodem (0.1.3.dfsg-1) unstable; urgency=low + + [ Julien BLACHE ] + * New upstream release. + * debian/rules: + + Remove CVS dirs from the tarball (libiax2). + * debian/iaxmodem.logrotate: + + Use olddir to avoid rotating already rotated logfiles. + + [ Kilian Krause ] + * debian/rules: + + Add get-orig-source target with proper DFSG-repacking. + + -- Julien BLACHE Tue, 11 Apr 2006 13:09:24 +0200 + +iaxmodem (0.1.2.dfsg-1) unstable; urgency=low + + * New upstream release. + * debian/control: + + Set Maintainer: to Debian VoIP Team, add myself as uploader. + * debian/rules: + + Use dpatch. + + Detect non-Debian sources. + * debian/patches/10_replacement_spandsp_mmx_h.dpatch: + + Use a replacement spandsp/mmx.h header. + + -- Julien BLACHE Tue, 21 Mar 2006 15:29:58 +0100 + +iaxmodem (0.1.1-2) unstable; urgency=low + + * Source package cleanup + + Remove lib/spandsp/src/msvc + + Replace lib/spandsp/src/spandsp/mmx.h with a dummy file, + disabling MMX and SSE2. + * debian/copyright: + + List GPL and LGPL files for libiax2. + + -- Julien BLACHE Fri, 17 Mar 2006 15:21:44 +0100 + +iaxmodem (0.1.1-1) unstable; urgency=low + + * New upstream release. + + iaxmodem now waits for Asterisk (integrates previous patch). + * build: + + build with -std=c99 -D_GNU_SOURCE to fix the lrintf() warning, which + is a real problem on 64bit architectures. + + -- Julien BLACHE Thu, 16 Mar 2006 13:39:05 +0100 + +iaxmodem (0.1.0-3) unstable; urgency=low + + * iaxmodem.c: + + Do not exit if modem is free and we can't register. This allows us to + for Asterisk to come up at startup (and allows for restarts of Asterisk). + * debian/rules: + + Start before HylaFax and Asterisk, stop after HylaFax but before Asterisk. + * debian/README.Debian: + + Changing HylaFax initscripts' priorities is no longer needed. + + -- Julien BLACHE Tue, 14 Mar 2006 15:13:51 +0100 + +iaxmodem (0.1.0-2) unstable; urgency=low + + * debian/rules: + + The init script must run after asterisk. + * debian/README.Debian: + + Instructions to make the HylaFax init scripts run after iaxmodem. + + -- Julien BLACHE Sun, 12 Mar 2006 21:00:01 +0100 + +iaxmodem (0.1.0-1) unstable; urgency=low + + * Initial Release (closes: #354560). + + This package has been contributed to Debian by Linbox (http://www.linbox.com). + + -- Julien BLACHE Thu, 2 Mar 2006 18:05:16 +0100 + --- iaxmodem-1.2.0~dfsg.orig/debian/watch +++ iaxmodem-1.2.0~dfsg/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=dversionmangle=s/\~dfsg// \ +http://sf.net/iaxmodem/iaxmodem-([\d\.]*)\.tar\.gz.+ + --- iaxmodem-1.2.0~dfsg.orig/debian/patches/11_build_configure-stamp.dpatch +++ iaxmodem-1.2.0~dfsg/debian/patches/11_build_configure-stamp.dpatch @@ -0,0 +1,66 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 11_build_configure-stamp.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The build script should not build the libraries if configure-stamp exists +## DP: debian/rules takes care of that. +## DP: Do not link unneeded libraries: +## DP: - -lutil is only needed if legacy PTYs are used +## DP: - -ltiff is not needed at all (pulled in for spandsp, but +## DP: tiff-dependent code in spandsp is not used by iaxmodem and not +## DP: linked in the final binary) + +@DPATCH@ +diff -urNad iaxmodem-1.2.0~dfsg~/build iaxmodem-1.2.0~dfsg/build +--- iaxmodem-1.2.0~dfsg~/build 2009-02-21 19:57:52.000000000 +0100 ++++ iaxmodem-1.2.0~dfsg/build 2009-02-22 11:41:49.107062425 +0100 +@@ -16,12 +16,13 @@ + } + + PTYUSE="-DUSE_UNIX98_PTY" ++LLIBS= + if [ "$1" = "-bsdptys" ]; then + PTYUSE="" ++ LLIBS="-lutil" + shift + fi + +-LLIBS="-lutil" + if [ "`uname`" = "SunOS" ]; then + PATH=$PATH:/usr/sfw/bin; export PATH + MAKE="gmake"; export MAKE +@@ -31,23 +32,20 @@ + fi + + if [ "$1" = "static" ]; then +- cd lib/libiax2 && \ +- ./configure --disable-shared && \ +- ${MAKE-make} && \ +- cd ../spandsp && \ +- ./configure --disable-shared && \ +- if [ "`uname`" = "SunOS" ]; then +- grep -v HAVE_TGMATH_H src/config.h > src/config.h.new && \ +- mv -f src/config.h.new src/config.h && \ +- grep -v HAVE_TGMATH_H config-h.in > config-h.in.new && \ +- mv -f config-h.in.new config-h.in +- fi && \ +- ${MAKE-make} && \ +- cd ../.. && \ ++ if [ ! -e configure-stamp ]; then ++ cd lib/libiax2 && \ ++ ./configure --disable-shared && \ ++ ${MAKE-make} && \ ++ cd ../spandsp && \ ++ ./configure --disable-shared && \ ++ ${MAKE-make} && \ ++ cd ../.. || exit 1 ++ fi ++ + getVersions && \ + gcc -Wall -g $PTYUSE $CFLAGS -DMODEMVER=\"$MODEMVER\" -DDSPVER=\"$DSPVER\" -DIAXVER=\"$IAXVER\" -DSTATICLIBS \ + -std=c99 -Ilib/libiax2/src -Ilib/spandsp/src -c -o iaxmodem.o iaxmodem.c && \ +- gcc -lm $LLIBS -ltiff -o iaxmodem iaxmodem.o lib/spandsp/src/.libs/libspandsp.a lib/libiax2/src/.libs/libiax.a ++ gcc -o iaxmodem iaxmodem.o lib/spandsp/src/.libs/libspandsp.a lib/libiax2/src/.libs/libiax.a $LLIBS -lm + else + getVersions && \ + gcc -Wall -g $PTYUSE -DMODEMVER=\"$MODEMVER\" -DDSPVER=\"$DSPVER\" -DIAXVER=\"$IAXVER\" \ --- iaxmodem-1.2.0~dfsg.orig/debian/patches/00list +++ iaxmodem-1.2.0~dfsg/debian/patches/00list @@ -0,0 +1,2 @@ +11_build_configure-stamp +