Bug#453104: 1.1.7.2 debianization

2008-04-10 Thread Simon Richter
Hi,

On Wed, Apr 09, 2008 at 04:12:01PM +0200, Pau Tallada Crespí wrote:

  Hmm, are there any real changes to the codebase in that release? I
  remember something like only userspace changing.

 I don't know. A diff shows something about isdn_compat and some code to 
 convert to ulaw/alaw o something.

Ah okay, then a new version makes sense indeed. From the comments on the
I4L mailing list during the last weeks it was clear that this branch had
been abandoned, and all changes were taking place in a new branch that
so far only had two different cards working.

 Uhm, I understand. I read that misdn is a rewrite of the old isdn4linux, for 
 2.6 kernels. But misdn was not ready and isdn4linux was ported also to 2.6.
 So, what is the correct way to handle isdn cards on linux 2.6? For instance, 
 with asterisk.

If you only need TE functionality, then i4l and CAPI is the way to go.

For NT mode, mISDN is the only real option, but it cannot be properly
supported by a distribution yet, as the ABI keeps on changing, and
package dependencies cannot express this properly, so we will leave
users with broken systems a lot.

  Fortunately mISDN is already being rewritten so it doesn't need that
  system anymore.

 Another rewrite?

Yes, at least partially. The biggest changes are:

 - Hardware drivers will be loaded by hotplug
 - The app is responsible for setting up the entire ISDN stack, so it is
   no longer necessary to pass protocol and layermask parameters
 - The userspace interface is likely to drop access to the lower layers
   because the only user so far was NT mode, and we can move that code
   to the kernel as well.

   Simon




Bug#453104: 1.1.7.2 debianization

2008-04-09 Thread Simon Richter
Hi,

On Tue, Apr 08, 2008 at 09:42:43AM +0200, Pau Tallada Crespí wrote:

 This packaging is based on 1.1.6 packages from Debian. The changes I've added 
 are as follows:

Hmm, are there any real changes to the codebase in that release? I
remember something like only userspace changing.

  - Added misdn-init package which contains sbin/misdn-init script and its 
 dependencies.

The mISDN init system is a huge abomination. My fear is that if we add
this to Debian now, we are going to support whatever broken scripts
people attach to this system for a long time (actually that is the
reason why mISDN is currently blocked from testing -- it is not release
quality code).

Fortunately mISDN is already being rewritten so it doesn't need that
system anymore.

  - Changed module config environment variables from Y to M. This change 
 prevents the module fron hanging up CPU upon loading.

Yuck, that should not really do anything. Will investigate.

   Simon




Bug#453104: 1.1.7.2 debianization

2008-04-09 Thread Pau Tallada Crespí
El Wednesday 09 April 2008 12:38:43 Simon Richter va escriure:
 Hi,

 On Tue, Apr 08, 2008 at 09:42:43AM +0200, Pau Tallada Crespí wrote:
  This packaging is based on 1.1.6 packages from Debian. The changes I've
  added are as follows:

 Hmm, are there any real changes to the codebase in that release? I
 remember something like only userspace changing.

I don't know. A diff shows something about isdn_compat and some code to 
convert to ulaw/alaw o something.

   - Added misdn-init package which contains sbin/misdn-init script and its
  dependencies.

 The mISDN init system is a huge abomination. My fear is that if we add
 this to Debian now, we are going to support whatever broken scripts
 people attach to this system for a long time (actually that is the
 reason why mISDN is currently blocked from testing -- it is not release
 quality code).

Uhm, I understand. I read that misdn is a rewrite of the old isdn4linux, for 
2.6 kernels. But misdn was not ready and isdn4linux was ported also to 2.6.
So, what is the correct way to handle isdn cards on linux 2.6? For instance, 
with asterisk.

 Fortunately mISDN is already being rewritten so it doesn't need that
 system anymore.

Another rewrite?

   - Changed module config environment variables from Y to M. This change
  prevents the module fron hanging up CPU upon loading.

 Yuck, that should not really do anything. Will investigate.

Yes, it also seemed strange to me. But on bug 456594, another person points to 
the same variables, and makes similar changes to them.

Simon

Thank you very much for your response!

-- 
Pau Tallada Crespí

RunSolutions
  Open Source IT Consulting




Bug#453104: 1.1.7.2 debianization

2008-04-08 Thread Pau Tallada Crespí
Hi!

I've packaged version 1.1.7.2 (latest upstream).
I'm attaching the debian directory.
Upstream source is available at
http://www.misdn.org/downloads/releases/mISDN-1_1_7_2.tar.gz

This packaging is based on 1.1.6 packages from Debian. The changes I've added 
are as follows:
 - Added misdn-init package which contains sbin/misdn-init script and its 
dependencies.
 - Changed module config environment variables from Y to M. This change 
prevents the module fron hanging up CPU upon loading.

Feel free to adapt it at your convenience.

Thanks!

-- 
Pau Tallada Crespí

RunSolutions
  Open Source IT Consulting





debian.tar.gz
Description: application/tgz