[Pkg-voip-commits] r6847 - in /misdnv2user/trunk/debian: control patches/00list patches/01_layer2_hang.dpatch patches/01_layer2_hang.patch patches/series rules

dorchain-guest at alioth.debian.org dorchain-guest at alioth.debian.org
Tue Mar 3 13:54:20 UTC 2009


Author: dorchain-guest
Date: Tue Mar  3 13:54:20 2009
New Revision: 6847

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6847
Log:
Moved to quilt patch system

Added:
    misdnv2user/trunk/debian/patches/01_layer2_hang.patch
    misdnv2user/trunk/debian/patches/series
Removed:
    misdnv2user/trunk/debian/patches/00list
    misdnv2user/trunk/debian/patches/01_layer2_hang.dpatch
Modified:
    misdnv2user/trunk/debian/control
    misdnv2user/trunk/debian/rules

Modified: misdnv2user/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/debian/control?rev=6847&op=diff
==============================================================================
--- misdnv2user/trunk/debian/control (original)
+++ misdnv2user/trunk/debian/control Tue Mar  3 13:54:20 2009
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Uploaders: Joerg Dorchain <joerg at dorchain.net>
-Build-Depends: debhelper (>= 7), dpatch
+Build-Depends: debhelper (>= 7), quilt
 Standards-Version: 3.7.3
 Homepage: http://isdn.eversberg.eu/download/lcr-1.3/
 Vcs-Svn: svn://svn.debian.org/pkg-voip/misdnv2user/trunk

Added: misdnv2user/trunk/debian/patches/01_layer2_hang.patch
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/debian/patches/01_layer2_hang.patch?rev=6847&op=file
==============================================================================
--- misdnv2user/trunk/debian/patches/01_layer2_hang.patch (added)
+++ misdnv2user/trunk/debian/patches/01_layer2_hang.patch Tue Mar  3 13:54:20 2009
@@ -1,0 +1,33 @@
+Author: <joerg at Redstar.dorchain.net>
+Description: prevents layer2 hangs
+From: Andreas Eversberg <jolly at eversberg.eu>
+Subject: Re: L2 sometimes stays up forever
+To: 'Michael Bussmann' <i4l at mb-net.net>, isdn4linux at listserv.isdn4linux.de
+Message-Id: <200901120919.n0C9JhOt017535 at mail.ibsd.net>
+Date: Mon, 12 Jan 2009 10:18:49 +0100
+
+you can try this.
+
+Hi,
+
+I noticed that L2 doesn't go down depending on which side closed
+the
+connection.
+
+A hfc-pci ISDN card (TE mode) is connected to a PABX.  There's
+one more
+device connected to the bus (Telephone).  The PC is running
+lcr-1.3 with
+asterisk (Debian 1:1.4.21.2~dfsg-1~MBbpo40+1 (own backport to
+etch)) and
+mISDN from current git.
+--- a/lib/dss1user.c.orig	2009-01-13 10:01:26.015471013 +0100
++++ b/lib/dss1user.c	2009-01-13 10:02:05.224793579 +0100
+@@ -1047,6 +1047,7 @@
+ 		/* ETS 300-102 5.3.5 */
+ 		newl3state(pc, 0);
+ 		mISDN_l3up(pc, MT_RELEASE, l3m);
++		l3dss1_message(pc, MT_RELEASE_COMPLETE);
+ 		release_l3_process(pc);
+ 	} else {
+ 		if (l3m->call_state) {

Added: misdnv2user/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/debian/patches/series?rev=6847&op=file
==============================================================================
--- misdnv2user/trunk/debian/patches/series (added)
+++ misdnv2user/trunk/debian/patches/series Tue Mar  3 13:54:20 2009
@@ -1,0 +1,1 @@
+01_layer2_hang.patch

Modified: misdnv2user/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/debian/rules?rev=6847&op=diff
==============================================================================
--- misdnv2user/trunk/debian/rules (original)
+++ misdnv2user/trunk/debian/rules Tue Mar  3 13:54:20 2009
@@ -41,15 +41,16 @@
 
 patch: patch-stamp
 patch-stamp:
-	dpatch apply-all
-	dpatch cat-all >$@
+	quilt push -a || test $$? = 2
+	touch $@
+
 unpatch:
-	dpatch deapply-all
-	rm -rf patch-stamp debian/patched
+	quilt pop -a -R || test $$? = 2
+	rm -rf .pc patch-stamp
 
 build: build-stamp
 
-build-stamp: configure-stamp  
+build-stamp: patch-stamp configure-stamp  
 	dh_testdir
 
 	# Add here commands to compile the package.
@@ -126,4 +127,4 @@
 	@@[ -d ../tarballs/. ] || mkdir -p ../tarballs
 	@@wget -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL)
 
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch




More information about the Pkg-voip-commits mailing list