--- misdn-kernel-1.1.9.1.orig/debian/control +++ misdn-kernel-1.1.9.1/debian/control @@ -0,0 +1,42 @@ +Source: misdn-kernel +Section: comm +Priority: extra +Maintainer: Simon Richter +Build-Depends: debhelper (>= 5.0.0), quilt +Standards-Version: 3.7.2 + +Package: misdn-source +Architecture: all +Depends: make, debhelper (>> 4) +Recommends: module-assistant | kernel-package +Conflicts: misdn-kernel-source (<< ${source:Version}) +Replaces: misdn-kernel-source (<< ${source:Version}) +Provides: misdn-kernel-source +Description: Source code for the mISDN modules + The modular ISDN drivers are the bleeding edge implementation of ISDN support + in the Linux kernel. The most prominent new feature is support for ISDN cards + in NT mode, so you can connect an ISDN telephone to your computer. + . + You need this package if you want to compile the mISDN modules to accompany + your custom kernel. If you are using a kernel shipped by Debian, you can also + install the corresponding misdn-kernel-modules-... package. + +Package: linux-headers-misdn +Architecture: all +Description: Header files for the mISDN drivers + The modular ISDN drivers are the bleeding edge implementation of ISDN support + in the Linux kernel. The most prominent new feature is support for ISDN cards + in NT mode, so you can connect an ISDN telephone to your computer. + . + You need this package if you intend to compile userspace applications that + access mISDN specific interfaces. + +Package: misdn-config +Architecture: all +Depends: xsltproc +Description: init-script to auto-configure and load the mISDN kernel drivers + This script makes it easy to configure and activate mISDN compatible + adapter cards. It scans an eyecandy config file named mISDN.conf + for your card and port settings, then it loads the driver modules properly. + The mISDN.conf can also be autogenerated by the mISDN script. + --- misdn-kernel-1.1.9.1.orig/debian/rules +++ misdn-kernel-1.1.9.1/debian/rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +DEBVERSION:=$(shell head -n 1 debian/changelog \ + | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') +UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//') +URLVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/\./_/g') + +UPFILENAME := mISDN-$(URLVERSION).tar.gz +FILENAME := misdn-kernel_$(UPVERSION).orig.tar.gz +URL := http://www.misdn.org/downloads/releases/$(UPFILENAME) + +clean:: clean-check + +clean-check: + dh_testdir + dh_testroot + +build-misdn-source: stamp-source-archive + +.SECONDARY: stamp-source-archive +clean:: + $(RM) stamp-source-archive + +stamp-source-archive: misdn-source.tar.gz + touch $@ + +.SECONDARY: misdn-source.tar.gz +clean:: + $(RM) misdn-source.tar.gz + +misdn-source.tar.gz: misdn-source.tar + $(RM) $@ + gzip -9 $< + +clean:: + $(RM) misdn-source.tar + +misdn-source.tar: stamp-source + tar --transform 's@^source@modules/misdn@' -c source >$@ + +.SECONDARY: stamp-source +clean:: + $(RM) stamp-source + $(RM) -r source + +stamp-source: patch debian/control-template + $(RM) -r source + mkdir -p source + cp drivers/isdn/hardware/mISDN/*.[ch] source/ + cp drivers/isdn/hardware/mISDN/Kconfig.v2.6 source/Kconfig + cp drivers/isdn/hardware/mISDN/Makefile.v2.6 source/Makefile + cp -r include source/ + find source -type d -print0 | xargs -r0 chmod 755 + find source -type f -print0 | xargs -r0 chmod 644 + mkdir -p source/debian + cp debian/control-template source/debian/control.in + cp debian/rules-template source/debian/rules + chmod +x source/debian/rules + cp debian/changelog debian/compat debian/copyright source/debian + touch $@ + +clean:: + dh_clean + +clean:: + debian/rules unpatch + +build-arch: + +build-indep: build-misdn-source + +build: build-arch build-indep + +binary-indep: build-indep + dh_testdir + dh_testroot + dh_clean -k -i + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i + dh_installexamples -i + dh_install -i + dh_installman -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build-arch + +binary: binary-indep binary-arch + +FORCE: + +print-version: + @@echo "Debian version: $(DEBVERSION)" + @@echo "Upstream version: $(UPVERSION)" + +get-orig-source: + @@dh_testdir + @@mkdir -p ../tarballs + @@wget -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL) + +.PHONY: build clean binary-indep binary-arch binary-modules binary-modules-% binary install configure FORCE +.PRECIOUS: stamp-source-modules-% stamp-build-modules-% --- misdn-kernel-1.1.9.1.orig/debian/watch +++ misdn-kernel-1.1.9.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/_/./g" \ +http://www.misdn.org/downloads/releases/mISDN-([\d_]+)\.tar\.gz \ No newline at end of file --- misdn-kernel-1.1.9.1.orig/debian/linux-headers-misdn.install +++ misdn-kernel-1.1.9.1/debian/linux-headers-misdn.install @@ -0,0 +1 @@ +include/linux usr/include --- misdn-kernel-1.1.9.1.orig/debian/rules-template +++ misdn-kernel-1.1.9.1/debian/rules-template @@ -0,0 +1,151 @@ +#!/usr/bin/make -f + +# Overridden by make-kpkg +KSRC ?= /usr/src/linux +KDREV ?= "0test" +MODDIR ?= .. + +KPKG_DEST_DIR = .. + +# In case this is not make-kpkg + +ifeq ($(strip $(KVERS)),) +ifeq ($(strip $(KSRC)),) +$(error Error. I do not know how to determine the kernel version) +else +kversion :=$(shell egrep '^VERSION +=' $(KSRC)/Makefile 2>/dev/null | \ + sed -e 's/[^0-9]*\([0-9]*\)/\1/') +kplevel :=$(shell egrep '^PATCHLEVEL +=' $(KSRC)/Makefile 2>/dev/null | \ + sed -e 's/[^0-9]*\([0-9]*\)/\1/') +ksublevel:=$(shell egrep '^SUBLEVEL +=' $(KSRC)/Makefile 2>/dev/null | \ + sed -e 's/[^0-9]*\([0-9]*\)/\1/') +EXTRA_VERSION:=$(shell egrep '^EXTRAVERSION +=' $(KSRC)/Makefile 2>/dev/null | \ + sed -e 's/EXTRAVERSION[\t ]*=[\t ]*\(.*\)/\1/') +kextra:=$(strip $(EXTRA_VERSION)) +HAVE_NEW_MODLIB:=$(shell egrep '\(INSTALL_MOD_PATH\)' \ + $(KSRC)/Makefile 2>/dev/null ) +FLAVOUR:=$(shell grep ^FLAVOUR $(KSRC)/Makefile 2>/dev/null | \ + perl -ple 's/FLAVOUR[\s:=]+//g') + +ifneq ($(strip $(FLAVOUR)),) +INT_FLAV := -$(FLAVOUR) +FLAV_ARG := FLAVOUR=$(FLAVOUR) +else +INT_FLAV := +FLAV_ARG := +endif + +ifneq ($(strip $(APPEND_TO_VERSION)),) +iatv := $(strip $(APPEND_TO_VERSION)) +EXTRAV_ARG := EXTRAVERSION=${EXTRA_VERSION}${iatv} +else +iatv := +EXTRAV_ARG := +endif + +KVERS = $(kversion).$(kplevel).$(ksublevel)$(kextra)$(iatv)$(INT_FLAV) + +endif +else +ifneq ($(KPKG_EXTRAV_ARG),) +EXTRAV_ARG=$(KPKG_EXTRAV_ARG) +else +# XXX: Ugly hack. +EXTRAV_ARG := KERNELRELEASE=$(KVERS) +endif +endif + +non_epoch_version=$(shell echo $(KVERS)$(EXTRAVERSION) | perl -pe 's/^\d+://') +epoch=$(shell echo $(KVERS) | perl -ne 'm/^(\d+:)/ && print $$1') + +# We also need the package version +pversion = $(shell sed -ne '1s/.*\((.*)\).*/\1/' debian/changelog) +pversion = $(shell sed -ne '1s/.*(\(.*\)).*/\1/p' debian/changelog) + +pmodules = misdn-modules-$(non_epoch_version) + +pwd := $(shell pwd) + +ifdef CONCURRENCY_LEVEL +parallel = -j$(CONCURRENCY_LEVEL) +endif + +include $(KSRC)/.config + +#ifeq ($(CONFIG_PPC64),y) +#ARCH = powerpc +#export ARCH +#endif + +EXTRA_CFLAGS = -I$(pwd)/include + +export EXTRA_CFLAGS + +# CONFIGS way + +CONFIGS+=CONFIG_MISDN_DRV=m +ifneq ($(CONFIG_PPC64),y) +CONFIGS+=CONFIG_MISDN_AVM_FRITZ=m +endif +CONFIGS+=CONFIG_MISDN_HFCPCI=m +CONFIGS+=CONFIG_MISDN_HFCUSB=m +CONFIGS+=CONFIG_MISDN_SPEEDFAX=m +CONFIGS+=CONFIG_MISDN_W6692=m +CONFIGS+=CONFIG_MISDN_HFCMULTI=m +CONFIGS+=CONFIG_MISDN_NETJET=m +CONFIGS+=CONFIG_MISDN_DSP=m +CONFIGS+=CONFIG_MISDN_HFCMINI=m +CONFIGS+=CONFIG_MISDN_XHFC=m +CONFIGS+=EXTRA_CFLAGS=$(EXTRA_CFLAGS) + +kdist: kdist_clean kdist_config kdist_image + +kdist_config: + +kdist_image: + $(MAKE) $(MFLAGS) -f debian/rules $(EXTRAV_ARG) binary-modules + $(MAKE) $(MFLAGS) -f debian/rules clean + +kdist_clean: debian/control + $(MAKE) -C $(KSRC) M=$(pwd) $(EXTRAV_ARG) clean + dh_clean + $(RM) debian/*.substvars + $(RM) debian/control + +M ?= $(pwd) + +build-modules: debian/control + dh_testdir + $(MAKE) -C $(KSRC) \ + M=$M \ + $(parallel) \ + $(EXTRAV_ARG) \ + $(CONFIGS) \ + modules + +binary-modules: build-modules + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) -C $(KSRC) M=$M $(EXTRAV_ARG) \ + INSTALL_MOD_PATH=$(pwd)/debian/$(pmodules) \ + modules_install + dh_installdebconf + dh_installdocs + dh_installchangelogs + dh_fixperms + dh_compress + dh_installmodules + dh_installdeb + dh_gencontrol -- -v$(epoch)$(pversion) + dh_md5sums + dh_builddeb --destdir=$(KPKG_DEST_DIR) + +clean: kdist_clean + +debian/control: debian/control.in + sed -e 's/@@Kernel\-Version@@/$(non_epoch_version)/' \ + debian/control.in > debian/control + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure binary-modules kdist kdist_config kdist_image kdist_clean --- misdn-kernel-1.1.9.1.orig/debian/copyright +++ misdn-kernel-1.1.9.1/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Simon Richter on +Tue, 3 Aug 2004 11:11:56 +0200. + +It was downloaded from http://www.isdn4linux.de + +Upstream Authors: Karsten Keil + Werner Cornelius + Andreas Eversberg + Fritz Elfert + Christian Richter + +Copyright: + +Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Karsten Keil +Copyright (C) 1999 Werner Cornelius +Copyright (C) 2002, 2003 Andreas Eversberg +Copyright (C) 2001 Steve Underwood +Copyright (C) 2005, 2006 Christian Richter +Copyright (C) 2002 Digium, Inc. +Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Fritz Elfert +Copyright (C) 2005, 2006 Cologne Chip AG + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + 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 program; 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'. + --- misdn-kernel-1.1.9.1.orig/debian/patches/misdnversion +++ misdn-kernel-1.1.9.1/debian/patches/misdnversion @@ -0,0 +1,11 @@ +--- a/drivers/isdn/hardware/mISDN/core.c ++++ b/drivers/isdn/hardware/mISDN/core.c +@@ -19,7 +19,7 @@ + #endif + + static char *mISDN_core_revision = "$Revision: 1.40 $"; +-static char *mISDN_core_version = MISDNVERSION ; ++static char *mISDN_core_version = "1_1_9_1" ; + static void (*dt_new_frame) (mISDNstack_t *stack, enum mISDN_dt_type type, struct sk_buff *skb, int duplicate_skb) = NULL; + + LIST_HEAD(mISDN_objectlist); --- misdn-kernel-1.1.9.1.orig/debian/patches/debug_off +++ misdn-kernel-1.1.9.1/debian/patches/debug_off @@ -0,0 +1,21 @@ +From: gkelleter +Date: Fri, 25 Apr 2008 14:32:49 +0000 (+0200) +Subject: fix an skb leak in mISDN_dt_new_frame when debugging is disabled +X-Git-Url: http://git.misdn.org/?p=mISDN.git;a=commitdiff_plain;h=bfb93df53545d8ac2943f906b387289b192bcfe4 + +fix an skb leak in mISDN_dt_new_frame when debugging is disabled +--- + +diff --git a/drivers/isdn/hardware/mISDN/core.c b/drivers/isdn/hardware/mISDN/core.c +index e5fcba6..9e542b2 100644 +--- a/drivers/isdn/hardware/mISDN/core.c ++++ b/drivers/isdn/hardware/mISDN/core.c +@@ -644,6 +644,8 @@ mISDN_dt_new_frame(mISDNstack_t *stack, enum mISDN_dt_type type, struct sk_buff + { + if (dt_enabled) + dt_new_frame(stack, type, skb, duplicate_skb); ++ else if (!duplicate_skb && skb) ++ kfree_skb(skb); + } + + void --- misdn-kernel-1.1.9.1.orig/debian/patches/fix_gt_2.6.18 +++ misdn-kernel-1.1.9.1/debian/patches/fix_gt_2.6.18 @@ -0,0 +1,98 @@ +--- a/drivers/isdn/hardware/mISDN/avm_fritz.c ++++ b/drivers/isdn/hardware/mISDN/avm_fritz.c +@@ -876,7 +876,7 @@ reset_avmpcipnp(fritzpnppci *fc) + static int init_card(fritzpnppci *fc) + { + int cnt = 3; +- u_int shared = SA_SHIRQ; ++ u_int shared = IRQF_SHARED; + u_long flags; + u_char *id = "AVM Fritz!PCI"; + +--- a/drivers/isdn/hardware/mISDN/core.h ++++ b/drivers/isdn/hardware/mISDN/core.h +@@ -32,6 +32,9 @@ + #define DEBUG_SYSFS 0x4000 + #define DEBUG_THREADS 0x8000 + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) ++#define IRQF_SHARED SA_SHIRQ ++#endif /* < 2.6.18 */ + + /* from udevice.c */ + extern int init_mISDNdev(int); +--- a/drivers/isdn/hardware/mISDN/hfc_multi.c ++++ b/drivers/isdn/hardware/mISDN/hfc_multi.c +@@ -119,7 +119,7 @@ + #define bugtest \ + if (hc->irq) free_irq(hc->irq, hc); \ + hc->irq = 0; \ +- if (request_irq(hc->pci_dev->irq, hfcmulti_interrupt, SA_SHIRQ, "HFC-multi", hc)) { \ ++ if (request_irq(hc->pci_dev->irq, hfcmulti_interrupt, IRQF_SHARED, "HFC-multi", hc)) { \ + printk(KERN_WARNING "mISDN: Could not get interrupt %d.\n", hc->pci_dev->irq); \ + hc->irq = hc->pci_dev->irq; } + #endif +@@ -3299,7 +3299,7 @@ init_card(hfc_multi_t *hc) + disable_hwirq(hc); + spin_unlock_irqrestore(&hc->lock, flags); + +- if (request_irq(hc->pci_dev->irq, hfcmulti_interrupt, SA_SHIRQ, "HFC-multi", hc)) { ++ if (request_irq(hc->pci_dev->irq, hfcmulti_interrupt, IRQF_SHARED, "HFC-multi", hc)) { + printk(KERN_WARNING "mISDN: Could not get interrupt %d.\n", hc->pci_dev->irq); + return(-EIO); + } +--- a/drivers/isdn/hardware/mISDN/hfc_pci.c ++++ b/drivers/isdn/hardware/mISDN/hfc_pci.c +@@ -1693,7 +1693,7 @@ static int init_card(hfc_pci_t *hc) + spin_lock_irqsave(&hc->lock, flags); + disable_hwirq(hc); + spin_unlock_irqrestore(&hc->lock, flags); +- if (request_irq(hc->irq, hfcpci_interrupt, SA_SHIRQ, "HFC PCI", hc)) { ++ if (request_irq(hc->irq, hfcpci_interrupt, IRQF_SHARED, "HFC PCI", hc)) { + printk(KERN_WARNING "mISDN: couldn't get interrupt %d\n", hc->irq); + return(-EIO); + } +--- a/drivers/isdn/hardware/mISDN/hfcs_mini.c ++++ b/drivers/isdn/hardware/mISDN/hfcs_mini.c +@@ -1587,7 +1587,7 @@ setup_instance(hfcsmini_hw * hw) + printk(KERN_WARNING "%s %s: requesting IRQ %d\n", + hw->card_name, __FUNCTION__, hw->irq); + +- if (request_irq(hw->irq, hfcsmini_interrupt, SA_SHIRQ, "HFC-S mini", hw)) { ++ if (request_irq(hw->irq, hfcsmini_interrupt, IRQF_SHARED, "HFC-S mini", hw)) { + printk(KERN_WARNING "%s %s: couldn't get interrupt %d\n", + hw->card_name, __FUNCTION__, hw->irq); + +--- a/drivers/isdn/hardware/mISDN/netjet.c ++++ b/drivers/isdn/hardware/mISDN/netjet.c +@@ -1544,7 +1544,7 @@ nj_init_card (netjet_t *card) + nj_disable_hwirq(card); + spin_unlock_irqrestore(&card->lock, flags); + +- if (request_irq(card->irq, nj_interrupt, SA_SHIRQ, "NETjet", card)) { ++ if (request_irq(card->irq, nj_interrupt, IRQF_SHARED, "NETjet", card)) { + printk(KERN_WARNING "mISDN: couldn't get interrupt %d\n", + card->irq); + return (-EIO); +--- a/drivers/isdn/hardware/mISDN/sedl_fax.c ++++ b/drivers/isdn/hardware/mISDN/sedl_fax.c +@@ -338,7 +338,7 @@ static int init_card(sedl_fax *sf) + { + int cnt = 3; + u_long flags; +- u_int shared = SA_SHIRQ; ++ u_int shared = IRQF_SHARED; + void *irq_func = speedfax_pci_interrupt; + + if (sf->subtyp == SEDL_SPEEDFAX_ISA) { +--- a/drivers/isdn/hardware/mISDN/xhfc_su.c ++++ b/drivers/isdn/hardware/mISDN/xhfc_su.c +@@ -2031,7 +2031,7 @@ xhfc_pci_probe(struct pci_dev *pdev, con + } + + /* init interrupt engine */ +- if (request_irq(pi->irq, xhfc_interrupt, SA_SHIRQ, "XHFC", pi)) { ++ if (request_irq(pi->irq, xhfc_interrupt, IRQF_SHARED, "XHFC", pi)) { + printk(KERN_WARNING "%s %s: couldn't get interrupt %d\n", + pi->name, __FUNCTION__, pi->irq); + pi->irq = 0; --- misdn-kernel-1.1.9.1.orig/debian/patches/series +++ misdn-kernel-1.1.9.1/debian/patches/series @@ -0,0 +1,5 @@ +#hfcmulti_c90 +#hfcmulti_bigendian +perms_dev_mISDN +misdnversion +#fix_gt_2.6.18 --- misdn-kernel-1.1.9.1.orig/debian/patches/perms_dev_mISDN +++ misdn-kernel-1.1.9.1/debian/patches/perms_dev_mISDN @@ -0,0 +1,22 @@ +--- a/config/mISDN ++++ b/config/mISDN +@@ -92,8 +92,8 @@ L1OIP_ondemand='' + L1OIP_id='' + + DEVNODE_user='root' +-DEVNODE_group='root' +-DEVNODE_mode='0644' ++DEVNODE_group='dialout' ++DEVNODE_mode='660' + + declare -a SCAN_card + declare -a SCAN_opts +@@ -440,7 +440,7 @@ Options: debug=, options= + ${TAB}hfcmulti + ${TAB}mISDN_dsp +-${TAB}mISDN" ++${TAB}mISDN" + local FOOTER="" + local i=0 j=0 MAIN="" + --- misdn-kernel-1.1.9.1.orig/debian/patches/hfcmulti_c90 +++ misdn-kernel-1.1.9.1/debian/patches/hfcmulti_c90 @@ -0,0 +1,33 @@ +Index: misdn-kernel-1.1.7/drivers/isdn/hardware/mISDN/hfc_multi.c +=================================================================== +--- misdn-kernel-1.1.7.orig/drivers/isdn/hardware/mISDN/hfc_multi.c 2007-11-09 11:15:52.000000000 +0100 ++++ misdn-kernel-1.1.7/drivers/isdn/hardware/mISDN/hfc_multi.c 2007-11-29 21:06:06.000000000 +0100 +@@ -1191,13 +1191,13 @@ + } else + led |= 1<pci_iobase + 4); +- outl(leddw, hc->pci_iobase); ++ outl(led, hc->pci_iobase); + HFC_outb(hc, R_BRG_PCM_CFG, V_PCM_CLK); + #endif + } +@@ -3630,10 +3630,9 @@ + printk(KERN_WARNING "%s: remove instance from list\n", __FUNCTION__); + + #if 1 +- u_long flags2; +- spin_lock_irqsave(&HFCM_obj.lock,flags2); ++ spin_lock_irqsave(&HFCM_obj.lock,flags); + list_del(&hc->list); +- spin_unlock_irqrestore(&HFCM_obj.lock,flags2); ++ spin_unlock_irqrestore(&HFCM_obj.lock,flags); + #endif + + if (debug & DEBUG_HFCMULTI_INIT) --- misdn-kernel-1.1.9.1.orig/debian/patches/hfcmulti_bigendian +++ misdn-kernel-1.1.9.1/debian/patches/hfcmulti_bigendian @@ -0,0 +1,14 @@ +Index: misdn-kernel-1.1.7/drivers/isdn/hardware/mISDN/hfc_multi.c +=================================================================== +--- misdn-kernel-1.1.7.orig/drivers/isdn/hardware/mISDN/hfc_multi.c 2007-11-29 21:36:48.000000000 +0100 ++++ misdn-kernel-1.1.7/drivers/isdn/hardware/mISDN/hfc_multi.c 2007-11-29 21:37:04.000000000 +0100 +@@ -4528,9 +4528,6 @@ + if (debug & DEBUG_HFCMULTI_INIT) + printk(KERN_DEBUG "%s: init entered\n", __FUNCTION__); + +-#ifdef __BIG_ENDIAN +-#error "not running on big endian machines now" +-#endif + strcpy(tmpstr, hfcmulti_revision); + /* get interrupt function pointer */ + hfc_interrupt = symbol_get(ztdummy_extern_interrupt); --- misdn-kernel-1.1.9.1.orig/debian/misdn-config.dirs +++ misdn-kernel-1.1.9.1/debian/misdn-config.dirs @@ -0,0 +1,2 @@ +usr/sbin/ +usr/lib/mISDN/ --- misdn-kernel-1.1.9.1.orig/debian/compat +++ misdn-kernel-1.1.9.1/debian/compat @@ -0,0 +1 @@ +5 --- misdn-kernel-1.1.9.1.orig/debian/changelog +++ misdn-kernel-1.1.9.1/debian/changelog @@ -0,0 +1,147 @@ +misdn-kernel (1.1.9.1-1) UNRELEASED; urgency=low + + * New upstream release + * patches unapplied. + fix_gt_2.6.18 + * patch updated: misdnversion + + -- Victor Seva Thu, 26 Mar 2009 16:33:33 +0100 + +misdn-kernel (1.1.8-1) UNRELEASED; urgency=low + + * New upstream release + * added new misdn-config package + * added patch to use perms compatible with asterisk + * added patch to get rid of MISDNVERSION + * added CONFIGS variable to rules-template. Removed exports + * patches unapplied. + hfcmulti_c90 + hfcmulti_bigendian + * added patch to fix builds with kernels > 2.6.18 + + -- Victor Seva Wed, 04 Jun 2008 19:31:22 +0200 + +misdn-kernel (1.1.7-2) UNRELEASED; urgency=low + + [ Kilian Krause ] + * debian/rules: + - Minor cleanups. + - Add get-orig-source and print-version targets. + + [ Victor Seva ] + * Added debian/watch + + -- Kilian Krause Fri, 30 Nov 2007 11:32:24 +0100 + +misdn-kernel (1.1.7-1) experimental; urgency=low + + * New upstream release + + -- Simon Richter Thu, 29 Nov 2007 13:41:34 +0100 + +misdn-kernel (1.1.6-1) experimental; urgency=low + + * New upstream release + * Add missing dependency misdn-source -> debhelper + + -- Simon Richter Sun, 04 Nov 2007 02:03:05 +0100 + +misdn-kernel (1.1.5-1) experimental; urgency=low + + * New upstream release, experimental packages due to popular demand. + + -- Simon Richter Tue, 14 Aug 2007 23:54:25 +0200 + +misdn-kernel (0.0.0+cvs20061029-4) unstable; urgency=low + + * Updated to new kernel ABI + + -- Simon Richter Mon, 27 Nov 2006 16:31:25 +0100 + +misdn-kernel (0.0.0+cvs20061029-3) unstable; urgency=low + + * Fix control file generation and parsing to avoid building modules for + flavours that have "modules: false" set, and to avoid the substring match + "mips" in "mipsel" (Closes: #385813) + + -- Simon Richter Wed, 1 Nov 2006 21:54:52 +0100 + +misdn-kernel (0.0.0+cvs20061029-2) unstable; urgency=low + + * Adapted toplevel debian/rules to also use $KPKG_DEST_DIR. Interestingly + enough, it worked during my testing here. + + -- Simon Richter Wed, 1 Nov 2006 20:20:04 +0100 + +misdn-kernel (0.0.0+cvs20061029-1) unstable; urgency=low + + * New upstream release + * Using $KPKG_DEST_DIR instead of $MODDIR as the output directory + (Closes: #395245) + + -- Simon Richter Wed, 1 Nov 2006 13:33:54 +0100 + +misdn-kernel (0.0.0+cvs20060902-1) unstable; urgency=low + + * New upstream snapshot + * Updated to kernel 2.6.17-2 (Closes: #352121, #343700) + * Fix building with module-assistant, should also work with make-kpkg + (Closes: #296167, #305197) + * Modules are built for standard kernels (Closes: #304511) + * Reactivated HFC-S USB, as it appears to be fixed (Closes: #363241) + * Activated new NetJet driver + + -- Simon Richter Sat, 2 Sep 2006 20:34:39 +0200 + +misdn-kernel (0.0.0+cvs20060214-1) unstable; urgency=low + + * Updated to 2.6.16 + * New upstream "release" + + -- Simon Richter Tue, 21 Mar 2006 16:33:47 +0100 + +misdn-kernel (0.0.0+cvs20051212-1) unstable; urgency=low + + * Reworked the build scripting, a lot. + * New version (now using "mqueue" branch) + * Switched to new kernel packages, dropping sarge support (sorry). + * Disabled HFC-USB support for this version, APIs in flux + + -- Simon Richter Sun, 12 Feb 2006 01:12:50 +0100 + +misdn-kernel (0.0.0+cvs20050408-2) unstable; urgency=low + + * Bumped build-dep to point to a newer kernel + * Cleaned up debian/rules + + -- Simon Richter Sat, 30 Apr 2005 00:43:23 +0200 + +misdn-kernel (0.0.0+cvs20050408-1) unstable; urgency=low + + * New upstream version + * Allow building against 2.6.8 kernel in sarge + + -- Simon Richter Fri, 8 Apr 2005 16:30:27 +0200 + +misdn-kernel (0.0.0+cvs20050402-1) unstable; urgency=low + + * Moved to 2.6.10 (Closes: #302448) + * New upstream version + + -- Simon Richter Sat, 2 Apr 2005 01:13:07 +0200 + +misdn-kernel (0.0.0+cvs20041116-1) unstable; urgency=low + + * New upstream version + * Moved to 2.6.9 + * Corrected build dependencies (Closes: #281273) + * Fixed dependency of misdn-kernel-source (Closes: #281716) + + -- Simon Richter Tue, 16 Nov 2004 15:30:28 +0100 + +misdn-kernel (0.0.0+cvs20041018-1) unstable; urgency=low + + * Initial Release (Closes: #263085). + + -- Simon Richter Mon, 18 Aug 2004 11:11:56 +0200 + --- misdn-kernel-1.1.9.1.orig/debian/control-template +++ misdn-kernel-1.1.9.1/debian/control-template @@ -0,0 +1,21 @@ +Source: misdn-kernel +Section: comm +Priority: extra +Maintainer: Simon Richter +Standards-Version: 3.7.2 + +Package: misdn-modules-@@Kernel-Version@@ +Architecture: any +Provides: misdn-modules +Depends: bc, pciutils +Description: mISDN modules for Linux (kernel @@Kernel-Version@@) + The modular ISDN drivers are the bleeding edge implementation of ISDN support + in the Linux kernel. The most prominent new feature is support for ISDN cards + in NT mode, so you can connect an ISDN telephone to your computer. + . + This package contains the compiled kernel modules for @@Kernel-Version@@ + . + If you have compiled your own kernel, you will most likely need to build your + own mISDN modules. The misdn-source package has been provided for use with + module-assistant or make-kpkg to produce a version of misdn-kernel-module for + your kernel. --- misdn-kernel-1.1.9.1.orig/debian/misdn-config.install +++ misdn-kernel-1.1.9.1/debian/misdn-config.install @@ -0,0 +1,2 @@ +config/mISDN usr/sbin/ +config/*.xsl usr/lib/mISDN/ --- misdn-kernel-1.1.9.1.orig/debian/misdn-source.install +++ misdn-kernel-1.1.9.1/debian/misdn-source.install @@ -0,0 +1 @@ +misdn-source.tar.gz usr/src