--- libpri-1.4.10.orig/debian/control +++ libpri-1.4.10/debian/control @@ -0,0 +1,31 @@ +Source: libpri +Priority: optional +Section: libs +Maintainer: Debian VoIP Team +Uploaders: Kilian Krause , Mark Purcell , Tzafrir Cohen , Faidon Liambotis +Build-Depends: debhelper (>= 7), cdbs, dpatch +Standards-Version: 3.8.1 +Homepage: http://www.asterisk.org/ +Vcs-Svn: svn://svn.debian.org/pkg-voip/libpri/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/libpri/?op=log + +Package: libpri-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libpri1.4 (= ${binary:Version}) +Description: Primary Rate ISDN specification development files + Development files for the C implementation of the Primary Rate ISDN + specification. + . + It was based on the Bellcore specification SR-NWT-002343 for National + ISDN. As of May 12, 2001, it has been tested work with NI-2, Nortel + DMS-100, and Lucent 5E Custom protocols on switches from Nortel and Lucent. + +Package: libpri1.4 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Primary Rate ISDN specification library + C implementation of the Primary Rate ISDN specification. It was + based on the Bellcore specification SR-NWT-002343 for National ISDN. As of + May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and Lucent + 5E Custom protocols on switches from Nortel and Lucent --- libpri-1.4.10.orig/debian/rules +++ libpri-1.4.10/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +# makefile.mk doesn't use upstream Makefile CFLAGS (-fPIC etc) +#include /usr/share/cdbs/1/class/makefile.mk + +FILENAME := libpri_$(DEB_UPSTREAM_VERSION).orig.tar.gz +URL := http://downloads.digium.com/pub/libpri/releases/libpri-$(DEB_UPSTREAM_VERSION).tar.gz + +export DEB_BUILD_OPTIONS = noopt + +clean:: + [ ! -f Makefile ] || $(MAKE) clean + +build/libpri-dev:: + $(MAKE) + +install/libpri-dev:: + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/ + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + @@echo Downloading $(FILENAME) from $(URL) ... + @@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL) --- libpri-1.4.10.orig/debian/watch +++ libpri-1.4.10/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\~dfsg//,downloadurlmangle=s/.*ref=// \ + http://downloads.digium.com/pub/telephony/libpri/releases/ libpri-([0-9.]*)\.tar\.gz debian svn-upgrade --- libpri-1.4.10.orig/debian/libpri-dev.install +++ libpri-1.4.10/debian/libpri-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so --- libpri-1.4.10.orig/debian/copyright +++ libpri-1.4.10/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Mark Purcell on +Wed, 2 Jul 2003 20:23:13 +1000. + +It was downloaded from htp://ftp.digum.com/pub/libpri + +Copyright Holder: + + * Copyright (C) 2001-2005, 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. + * + * 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. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. --- libpri-1.4.10.orig/debian/compat +++ libpri-1.4.10/debian/compat @@ -0,0 +1 @@ +7 --- libpri-1.4.10.orig/debian/libpri1.4.install +++ libpri-1.4.10/debian/libpri1.4.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libpri-1.4.10.orig/debian/changelog +++ libpri-1.4.10/debian/changelog @@ -0,0 +1,354 @@ +libpri (1.4.10-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * New upstream release. + - (Closes: #492867): "libpri - new upstream version" + - bug fixes related to handling of BRI PTMP links + + -- Mark Purcell Fri, 24 Apr 2009 00:37:46 +1000 + +libpri (1.4.9-2) unstable; urgency=low + + * Upload to unstable + - pkg-voip transition discussed on debian-release + * Drop oldstable Conflicts: libpri1.2 + + -- Mark Purcell Thu, 02 Apr 2009 22:03:13 +1100 + +libpri (1.4.9-1) experimental; urgency=low + + [ Tzafrir Cohen ] + * New upstream version. + * Dropping bristuff for now. + * NEW package libpri1.4 SONAME is now 1.4 . Changed package name accordingly + + [ Victor Seva ] + * debian/rules: Update upstream's URL. + + [ Mark Purcell ] + * Update debian/watch + * Switch back to cdbs (allows -j2 and others) + * debian/compact -> 7 + * Update debian/copyright GPL-2 only + * Upload to experimental while we coordinate transition debian-release & NEW + + -- Mark Purcell Sun, 22 Mar 2009 22:00:07 +1100 + +libpri (1.4.3-3) unstable; urgency=low + + [ Tzafrir Cohen ] + * Fix layer 2 startup bugs (e.g. resume from cable disconnect) on BRI lines: + - When getting a SABME/UA after sending one, don't reset state. + - Don't further process an unassigned TEI event. + * Bump standards version to 3.8.0 . + + [ Victor Seva ] + * debian/rules: fix get-orig-source to actually work + + -- Faidon Liambotis Sun, 19 Oct 2008 20:12:39 +0300 + +libpri (1.4.3-2) unstable; urgency=low + + * Update to bristuff 0.4.0-RC1 + - fixed "call reference exceeds 127 on BRI spans" bug in libpri + which caused a deadlock in chan_zap. + - fixed "t303 not stopped" bug in libpri. + * Add Junghanns.NET GmbH to the copyright holders in debian/copyright. + * Refer to /usr/share/common-licenses/GPL-2 to avoid ambiguity vs. GPLv3. + + -- Faidon Liambotis Wed, 21 May 2008 03:33:52 +0300 + +libpri (1.4.3-1) unstable; urgency=low + + [ Mark Purcell ] + * New upstream release + + [ Tzafrir Cohen ] + * Watching downloads.digium.com directly again. + + -- Mark Purcell Tue, 22 Apr 2008 22:49:51 +1000 + +libpri (1.4.2-2) unstable; urgency=low + + [ Faidon Liambotis ] + * Fix debian/watch by using a pkg-voip wrapper to avoid upstream's silly + redirections. (Closes: #449956) + * Bump Standards-Version to 3.7.3, no changed needed. + * Remove Jose Carlos Garcia Sogo and Santiago Garcia Mantinan from + Uploaders. + + [ Tzafrir Cohen ] + * Reset T303 timer on ALERTING and PROGRESS response to setup, from + bristuff 0.4.0-test6-xr2 (Closes: #473550). + + -- Faidon Liambotis Tue, 01 Apr 2008 07:04:33 +0300 + +libpri (1.4.2-1) unstable; urgency=low + + [ Kilian Krause ] + * Add Homepage field as added in dpkg-dev 1.14.6. + + [ Tzafrir Cohen ] + * New upstream release. + * Update bristuff to new upstream release. + * Update makefile patches to new upstream. + * Do build bristuffed version as well with -Werror . + * Fix an uninitialized variable there. + * BRI overlap digits were ignored - regression from 1.2 (Closes: #448118). + + [ Faidon Liambotis ] + * Include since doesn't include it anymore. + Fixes FTBFS (Closes: #453161). + + -- Faidon Liambotis Thu, 29 Nov 2007 10:32:50 +0000 + +libpri (1.4.1-2) unstable; urgency=low + + * Enable -O2 optimizations, following Policy 10.1. (Closes: #359186) + * Conflict with libpri1.2 versions prior to 1.4.0-2 to ease transition for + testing and unstable users. (Closes: #437804) + + -- Faidon Liambotis Wed, 15 Aug 2007 01:11:16 +0300 + +libpri (1.4.1-1) unstable; urgency=low + + * New Upstream Release + + [ Tzafrir Cohen ] + * Re-Adding bristuff. + * Which requires re-applying and fixing libname.dpatch . + + [ Faidon Liambotis ] + * Add myself to Uploaders. + * Add XS-Vcs-Svn and XS-Vcs-Browser to debian/control. + * Switch to dh_install from the deprecated dh_movefiles. + * Use ${binary:Version} instead of ${Source-Version}. + * Loosen up shlibs: we want to create shlibs that are >= 1.4, not the + specific version of libpri 1.4 (e.g. 1.4.1). + * Conflict/Replace libpri1.2 from etch since we're providing the same files. + + [ Mark Purcell ] + * Bump package name to match soname libpri1.0 + + -- Mark Purcell Sat, 04 Aug 2007 09:41:50 +0100 + +libpri (1.4.0-2) unstable; urgency=low + + * unstable release + + -- Mark Purcell Sun, 18 Mar 2007 21:41:16 +0000 + +libpri (1.4.0-1) experimental; urgency=low + + [ Tzafrir Cohen ] + * A new package for branch 1.4. + * Bristuff disabled. + * Standard version updated to 3.7.2. No change required. + + [ Mark Purcell ] + * Update debian/watch for 1.4 series + + -- Mark Purcell Sun, 18 Mar 2007 21:36:25 +0000 + +libpri (1.2.4-1) unstable; urgency=low + + * New upstream release. + * bristuff-0.3.0-PRE-1v + + -- Mark Purcell Tue, 24 Oct 2006 22:21:29 +0100 + +libpri (1.2.3-1) unstable; urgency=low + + * New upstream release. + + [ Tzafrir Cohen ] + * Patches have been applied upstream + * Makefile.dpatch: Remove unused fix from patches + * bristuff 0.3.0-PRE1p + + [ Mark Purcell ] + * Cleanup bristuff.dpatch for Upstream 1.2.3. + + -- Mark Purcell Wed, 14 Jun 2006 12:11:36 +1000 + +libpri (1.2.2-3) unstable; urgency=low + + * Use CURDIR rather than PWD to make sure we can build with sudo. + + -- Kilian Krause Sun, 16 Apr 2006 22:55:59 +0000 + +libpri (1.2.2-2) unstable; urgency=low + + * bristuff 0.3.0-PRE-1k + * some changes to the libname patch (don't change links in the build dir) + * we no longer need to symlink manually (right?) + + -- Tzafrir Cohen Wed, 08 Feb 2006 00:39:46 +0200 + +libpri (1.2.2-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * bristuff 0.3.0-PRE-1f + + [ Kilian Krause ] + * New upstream release. + * New ABI since 1.2.1 without chaning SONAME. Adjusting at least the package + name accordingly nevertheless. (Closes: #341109) + * Add GNU/kFreeBSD patch to run ldconfig (Closes: #338388) + + -- Kilian Krause Sun, 5 Feb 2006 11:42:46 +0100 + +libpri (1.2.1-2) unstable; urgency=low + + * bristuff 0.3.0-PRE-1d + * bristuff is built by default, but as a separate library: + libpri-bristuffed.so.1 , /usr/include/bristuffed/pri.h . Thus the default + libpri is unmodified. + + -- Tzafrir Cohen Sat, 31 Dec 2005 15:28:25 +0200 + +libpri (1.2.1-1) unstable; urgency=low + + * New upstream release + * Disable bristuff for new upstream + + -- Mark Purcell Wed, 7 Dec 2005 21:25:46 +0000 + +libpri (1.2.0-release-2) unstable; urgency=low + + * bristuff 0.3.0-PRE-1 + + -- Tzafrir Cohen Wed, 23 Nov 2005 02:26:50 +0200 + +libpri (1.2.0-release-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Thu, 17 Nov 2005 17:44:28 +0000 + +libpri (1.2.0-rc2-1) experimental; urgency=low + + * New upstream release + + -- Mark Purcell Sun, 13 Nov 2005 18:21:12 +0000 + +libpri (1.2.0-rc1-1) unstable; urgency=low + + * New upstream release + * Copyright audit to debian/copyright + + -- Mark Purcell Wed, 9 Nov 2005 20:01:55 +0000 + +libpri (1.2.0-beta2-1) experimental; urgency=low + + * New upstream release + * Update Makefile.patch + + -- Mark Purcell Tue, 1 Nov 2005 21:46:25 +0000 + +libpri (1.2.0-0beta1-1) experimental; urgency=low + + * New upstream release + * Disable bristuff for experimental upload + * lintian cleanup debian/copyright + + -- Mark Purcell Tue, 30 Aug 2005 20:36:41 +0100 + +libpri (1.0.9-4) unstable; urgency=low + + * Import bristuff-0.2.0-RC8l.dpatch + + -- Santiago Ruano Rincon Sat, 30 Jul 2005 11:30:30 -0500 + +libpri (1.0.9-3) unstable; urgency=low + + * Import bristuff_2.0.0-RC8j + + -- Mark Purcell Thu, 14 Jul 2005 12:35:29 +0100 + +libpri (1.0.9-2) unstable; urgency=low + + * With bristuff_2.0.0-RC8h enabled + + -- Mark Purcell Sat, 2 Jul 2005 09:32:21 +0100 + +libpri (1.0.9-1) unstable; urgency=low + + * New upstream release + * Temp disable BRI stuff to enable 1.0.9 upload + + -- Mark Purcell Sat, 2 Jul 2005 09:03:34 +0100 + +libpri (1.0.7-1) unstable; urgency=low + + * New upstream release + * debian/watch to svn-upgrade + + -- Mark Purcell Fri, 25 Mar 2005 10:36:08 +0000 + +libpri (1.0.6-1) unstable; urgency=low + + * New upstream version. (libpri 1.0.6, bristuff RC7k) + * Upgraded Standards-Version to 3.6.1 after converting changelog to UTF8. + + -- Kilian Krause Sat, 5 Mar 2005 13:33:10 +0100 + +libpri (1.0.4-2) unstable; urgency=low + + * Debian VoIP import. + * debian/patches/Makefile.dpatch, debian/patches/q931.dpatch: imported from + old diff. + * debian/patches/bristuff.dpatch: Added bristuff RC7f from junghanns.net + (needs disabled q931.dpatch for now) (Closes: #294184) + + -- Kilian Krause Thu, 24 Feb 2005 01:25:11 +0100 + +libpri (1.0.4-1) unstable; urgency=low + + * New upstream release (Closes: Bug#288447) + * Apply amd64 patch from Andreas Jochens (Closes: Bug#287442) + + -- Mark Purcell Sun, 6 Feb 2005 11:09:04 +0000 + +libpri (1.0.2-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Sat, 6 Nov 2004 12:17:41 +1100 + +libpri (1.0.1-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Thu, 7 Oct 2004 13:03:22 +1000 + +libpri (1.0.0-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Fri, 24 Sep 2004 22:28:02 +1000 + +libpri (0.6.0+1.0RC1-1) unstable; urgency=low + + * New upstream release (Closes: Bug#254501) + + -- Mark Purcell Tue, 20 Jul 2004 19:14:24 +1000 + +libpri (0.6.0-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Thu, 22 Apr 2004 23:59:18 +1000 + +libpri (0.5.2-1) unstable; urgency=low + + * New Upstream Release (Closes: Bug#200188) + + -- Mark Purcell Thu, 5 Feb 2004 16:01:49 +1100 + +libpri (0.3.2-1) unstable; urgency=low + + * Initial Release. + + -- Mark Purcell Wed, 2 Jul 2003 20:23:13 +1000 + --- libpri-1.4.10.orig/debian/docs +++ libpri-1.4.10/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- libpri-1.4.10.orig/debian/patches/enable-gcc-optimizations.dpatch +++ libpri-1.4.10/debian/patches/enable-gcc-optimizations.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## enable-gcc-optimizations.dpatch by Faidon Liambotis +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Don't discard CFLAGS of the environment +## DP: debian/rules passes at least the optimization level + +@DPATCH@ +diff -urNad libpri-1.4.9~/Makefile libpri-1.4.9/Makefile +--- libpri-1.4.9~/Makefile 2008-08-07 04:20:51.000000000 +1000 ++++ libpri-1.4.9/Makefile 2009-03-22 22:07:25.000000000 +1100 +@@ -43,7 +43,7 @@ + DYNAMIC_LIBRARY:=libpri.so.$(SONAME) + STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o version.o + DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo version.lo +-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) ++CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) + INSTALL_PREFIX=$(DESTDIR) + INSTALL_BASE=/usr + libdir?=$(INSTALL_BASE)/lib --- libpri-1.4.10.orig/debian/patches/00list +++ libpri-1.4.10/debian/patches/00list @@ -0,0 +1 @@ +enable-gcc-optimizations --- libpri-1.4.10.orig/debian/backports/etch +++ libpri-1.4.10/debian/backports/etch @@ -0,0 +1,10 @@ +#!/bin/sh + +# Etch has an older debhelper: +sed -i -e '/^Build-Depends:/s/\(debhelper\) ([^)]*),/\1,/' debian/control +echo 5 >debian/compat + +# The version of CDBS +sed -i -e \ + '/^include.*debhelper.mk/aDEB_DH_INSTALL_SOURCEDIR=$(CURDIR)/debian/tmp' \ + debian/rules